[2026-09-23 00:00:33] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:33] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:33] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:00:38] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:38] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:00:38] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:00:39] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:00:39] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:00:39] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:00:39] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:00: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:00: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-09-23 00: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-09-23 00:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:00:39] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:00:39] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:01:11] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:11] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:11] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:01:11] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:01: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-09-23 00:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:01: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-09-23 00:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:01:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:01:11] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:01:11] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:01:33] local.INFO: TCP Data received {"connection_id":189915,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:33] local.INFO: Processing buffer {"connection_id":189915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:33] local.INFO: IMEI packet received {"connection_id":189915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":189915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:01:36] local.INFO: TCP Data received {"connection_id":189914,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:01:36] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:01:36] local.INFO: IMEI packet received {"connection_id":189914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":189914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:01:38] local.INFO: TCP Data received {"connection_id":189915,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:38] local.INFO: Processing buffer {"connection_id":189915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:01:38] local.INFO: IMEI packet received {"connection_id":189915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":189915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:01:39] local.INFO: TCP Data received {"connection_id":189915,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:39] local.INFO: Processing buffer {"connection_id":189915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:01:39] local.INFO: Packet analysis {"connection_id":189915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:01:39] local.INFO: Extracted packet for processing {"connection_id":189915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:01: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-09-23 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:01: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-09-23 00:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":189915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:01:39] local.INFO: GPS data processed {"connection_id":189915,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:01:39] local.INFO: Acknowledgment sent {"connection_id":189915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:02:11] local.INFO: TCP Data received {"connection_id":189915,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:11] local.INFO: Processing buffer {"connection_id":189915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:11] local.INFO: Packet analysis {"connection_id":189915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:11] local.INFO: Extracted packet for processing {"connection_id":189915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:02: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-09-23 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:02: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-09-23 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":189915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:02:11] local.INFO: GPS data processed {"connection_id":189915,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:02:11] local.INFO: Acknowledgment sent {"connection_id":189915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:02:11] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:02:11] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:02:11] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:02:38] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:38] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:38] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:02:43] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:43] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:02:43] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:02:44] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:44] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:44] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:44] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:02:44] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:02:44] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:02:49] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:49] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:02:49] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:49] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:02: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-09-23 00:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:02: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-09-23 00:02: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:02:49] 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-09-23 00:02: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-09-23 00:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:02:49] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:02:49] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:03:33] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:33] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:33] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:03:38] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:38] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:03:38] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:03:39] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:03:39] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:03:39] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:03:39] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:03: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-09-23 00:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:03: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-09-23 00:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:03:39] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:03:39] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:04:11] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:04:11] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6087d8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:04:11] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:04:11] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca60"} 
[2026-09-23 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458265963008001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790101719000,"timestamp_ms":1790101719000,"timestamp_seconds":1790101719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6087d8"} 
[2026-09-23 00:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:04: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-09-23 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:04: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-09-23 00:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458265963008001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458265963008001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458265963008001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:04:11] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:04:11] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:04:33] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:33] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:33] local.INFO: IMEI packet received {"connection_id":192758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:04:38] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:38] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:04:38] local.INFO: IMEI packet received {"connection_id":192758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":192758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:04:39] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:39] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:39] local.INFO: Packet analysis {"connection_id":192758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:04:39] local.INFO: Extracted packet for processing {"connection_id":192758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:04: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-09-23 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:04: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-09-23 00:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":192758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:04:39] local.INFO: GPS data processed {"connection_id":192758,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:04:39] local.INFO: Acknowledgment sent {"connection_id":192758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:04:43] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:43] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:04:43] local.INFO: Packet analysis {"connection_id":192758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:04:43] local.INFO: Extracted packet for processing {"connection_id":192758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:04:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":192758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:04:44] local.INFO: GPS data processed {"connection_id":192758,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:04:44] local.INFO: Acknowledgment sent {"connection_id":192758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:05:15] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:15] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:15] local.INFO: Packet analysis {"connection_id":192758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:05:15] local.INFO: Extracted packet for processing {"connection_id":192758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:05: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-09-23 00: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-09-23 00:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":192758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:05:15] local.INFO: GPS data processed {"connection_id":192758,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:05:15] local.INFO: Acknowledgment sent {"connection_id":192758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:05:33] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:33] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:33] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:05:38] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:38] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:05:38] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:05:39] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:39] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:05:39] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:05:39] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:05: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-09-23 00: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-09-23 00: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-09-23 00: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-09-23 00:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:05:39] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:05:39] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:06:11] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:11] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:11] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:06:11] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:06: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-09-23 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:06: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-09-23 00:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:06:11] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:06:11] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:06:33] local.INFO: TCP Data received {"connection_id":189916,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:33] local.INFO: Processing buffer {"connection_id":189916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:33] local.INFO: IMEI packet received {"connection_id":189916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":189916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:06:38] local.INFO: TCP Data received {"connection_id":189916,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:38] local.INFO: Processing buffer {"connection_id":189916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:06:38] local.INFO: IMEI packet received {"connection_id":189916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":189916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:06:39] local.INFO: TCP Data received {"connection_id":189916,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:39] local.INFO: Processing buffer {"connection_id":189916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:06:39] local.INFO: Packet analysis {"connection_id":189916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:06:39] local.INFO: Extracted packet for processing {"connection_id":189916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:06: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-09-23 00:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:06: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-09-23 00: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-09-23 00:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":189916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:06:39] local.INFO: GPS data processed {"connection_id":189916,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:06:39] local.INFO: Acknowledgment sent {"connection_id":189916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:07:11] local.INFO: TCP Data received {"connection_id":189916,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:11] local.INFO: Processing buffer {"connection_id":189916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:11] local.INFO: Packet analysis {"connection_id":189916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:07:11] local.INFO: Extracted packet for processing {"connection_id":189916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:07: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-09-23 00: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-09-23 00:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":189916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:07:11] local.INFO: GPS data processed {"connection_id":189916,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:07:11] local.INFO: Acknowledgment sent {"connection_id":189916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:07:33] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:33] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:33] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:07:36] local.INFO: TCP Data received {"connection_id":189917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:07:36] local.INFO: Processing buffer {"connection_id":189917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:07:36] local.INFO: IMEI packet received {"connection_id":189917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":189917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:07:38] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:38] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:07:38] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:07:39] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:39] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:07:39] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:07:39] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:07: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-09-23 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:07: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-09-23 00: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-09-23 00:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":192760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:07:39] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:07:39] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:08:11] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:11] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:11] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:11] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:08: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-09-23 00: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-09-23 00:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":192760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:08:11] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:08:11] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:08:11] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:08:11] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:08:11] local.INFO: IMEI packet received {"connection_id":192761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":192761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:08:38] local.INFO: TCP Data received {"connection_id":190078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:38] local.INFO: Processing buffer {"connection_id":190078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:38] local.INFO: IMEI packet received {"connection_id":190078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":190078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:08:43] local.INFO: TCP Data received {"connection_id":190078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:43] local.INFO: Processing buffer {"connection_id":190078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:08:43] local.INFO: IMEI packet received {"connection_id":190078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":190078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:08:44] local.INFO: TCP Data received {"connection_id":190078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:44] local.INFO: Processing buffer {"connection_id":190078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:44] local.INFO: Packet analysis {"connection_id":190078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:44] local.INFO: Extracted packet for processing {"connection_id":190078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":190078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:08:44] local.INFO: GPS data processed {"connection_id":190078,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:08:44] local.INFO: Acknowledgment sent {"connection_id":190078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:08:49] local.INFO: TCP Data received {"connection_id":190078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:49] local.INFO: Processing buffer {"connection_id":190078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca651fa0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:08:49] local.INFO: Packet analysis {"connection_id":190078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:49] local.INFO: Extracted packet for processing {"connection_id":190078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca65"} 
[2026-09-23 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:08: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-09-23 00:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790102020000,"timestamp_ms":1790102020000,"timestamp_seconds":1790102020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca651fa0"} 
[2026-09-23 00:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:08: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:08:49] 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-09-23 00:08: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-09-23 00:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266040064001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266040064001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":190078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:08:49] local.INFO: GPS data processed {"connection_id":190078,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:08:49] local.INFO: Acknowledgment sent {"connection_id":190078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:09:33] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:33] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:33] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:09:38] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:38] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:09:38] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:09:39] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:09:39] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:09:39] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:09:39] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:09: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:09: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-09-23 00: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-09-23 00:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:09:39] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:09:39] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:10:10] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:10] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:10] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:10:10] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:10: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-09-23 00:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:10: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-09-23 00: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-09-23 00:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:10:10] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:10:10] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:10:33] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:33] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:33] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:10:38] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:38] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:10:38] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:10:39] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:39] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:10:39] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:10:39] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:10: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:10: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-09-23 00: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-09-23 00:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:10:39] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:10:39] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:11:10] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:10] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:10] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:11:10] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:11: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-09-23 00:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:11: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-09-23 00: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-09-23 00:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:11:10] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:11:10] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:11:33] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:33] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:33] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:11:38] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:38] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:11:38] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:11:39] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:39] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:11:39] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:11:39] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:11: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:11: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-09-23 00: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-09-23 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:11:39] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:11:39] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:12:12] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:12] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:12] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:12:12] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:12: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:12:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:12:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":192763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:12:12] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:12:12] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:12:33] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:33] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:33] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:12:38] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:38] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:12:38] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:12:40] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:40] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:12:40] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:12:40] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:12: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-09-23 00: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-09-23 00:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:12:40] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:12:40] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:13:12] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:12] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:12] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:12] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:13: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-09-23 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:13:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:13:12] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:13:12] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:13:31] local.INFO: TCP Data received {"connection_id":189918,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:13:31] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:13:31] local.INFO: IMEI packet received {"connection_id":189918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":189918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:13:38] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:38] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:38] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:13:43] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:43] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:13:43] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:13:44] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:44] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:44] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:44] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":192764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:13:44] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:13:44] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:13:48] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:48] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca69b768012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:13:48] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:48] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca69"} 
[2026-09-23 00:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266117120001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790102321000,"timestamp_ms":1790102321000,"timestamp_seconds":1790102321,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca69b768"} 
[2026-09-23 00:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:13:48] 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-09-23 00:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266117120001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266117120001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266117120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":192764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:13:49] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:13:49] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:14:11] local.INFO: TCP Data received {"connection_id":189919,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:14:11] local.INFO: Processing buffer {"connection_id":189919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:14:11] local.INFO: IMEI packet received {"connection_id":189919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":189919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:14:33] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:33] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:33] local.INFO: IMEI packet received {"connection_id":190081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":190081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:14:38] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:38] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:14:38] local.INFO: IMEI packet received {"connection_id":190081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":190081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:14:39] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:14:39] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:14:39] local.INFO: Packet analysis {"connection_id":190081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:14:39] local.INFO: Extracted packet for processing {"connection_id":190081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:14: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-09-23 00:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:14: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-09-23 00:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":190081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:14:39] local.INFO: GPS data processed {"connection_id":190081,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:14:39] local.INFO: Acknowledgment sent {"connection_id":190081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:15:11] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:11] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:11] local.INFO: Packet analysis {"connection_id":190081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:15:11] local.INFO: Extracted packet for processing {"connection_id":190081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:15: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-09-23 00:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:15: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-09-23 00: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-09-23 00:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":190081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:15:11] local.INFO: GPS data processed {"connection_id":190081,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:15:11] local.INFO: Acknowledgment sent {"connection_id":190081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:15:33] local.INFO: TCP Data received {"connection_id":189921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:33] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:33] local.INFO: IMEI packet received {"connection_id":189921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":189921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:15:38] local.INFO: TCP Data received {"connection_id":189921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:38] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:15:38] local.INFO: IMEI packet received {"connection_id":189921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":189921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:15:39] local.INFO: TCP Data received {"connection_id":189921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:39] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:15:39] local.INFO: Packet analysis {"connection_id":189921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:15:39] local.INFO: Extracted packet for processing {"connection_id":189921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:15: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:15: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-09-23 00: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-09-23 00:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":189921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:15:39] local.INFO: GPS data processed {"connection_id":189921,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:15:39] local.INFO: Acknowledgment sent {"connection_id":189921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:16:11] local.INFO: TCP Data received {"connection_id":189921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:11] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:11] local.INFO: Packet analysis {"connection_id":189921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:16:11] local.INFO: Extracted packet for processing {"connection_id":189921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:16: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-09-23 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:16: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-09-23 00: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-09-23 00:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":189921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:16:11] local.INFO: GPS data processed {"connection_id":189921,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:16:11] local.INFO: Acknowledgment sent {"connection_id":189921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:16:33] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:33] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:33] local.INFO: IMEI packet received {"connection_id":190082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":190082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:16:38] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:38] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:16:38] local.INFO: IMEI packet received {"connection_id":190082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":190082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:16:39] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:39] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:16:39] local.INFO: Packet analysis {"connection_id":190082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:16:39] local.INFO: Extracted packet for processing {"connection_id":190082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:16: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:16: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-09-23 00: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-09-23 00:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":190082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:16:39] local.INFO: GPS data processed {"connection_id":190082,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:16:39] local.INFO: Acknowledgment sent {"connection_id":190082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:17:11] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:11] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:11] local.INFO: Packet analysis {"connection_id":190082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:17:11] local.INFO: Extracted packet for processing {"connection_id":190082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:17: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-09-23 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:17: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-09-23 00:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":190082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:17:11] local.INFO: GPS data processed {"connection_id":190082,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:17:11] local.INFO: Acknowledgment sent {"connection_id":190082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:17:33] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:33] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:33] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:17:38] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:38] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:17:38] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:17:39] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:39] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:17:39] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:17:39] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:17: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:17: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-09-23 00: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-09-23 00:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:17:39] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:17:39] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:18:11] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:11] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:11] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:11] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 00:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 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-09-23 00:18: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-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:18: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-09-23 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-09-23 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-09-23 00:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:18:11] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:18:11] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:18:38] local.INFO: TCP Data received {"connection_id":189923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:38] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:38] local.INFO: IMEI packet received {"connection_id":189923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":189923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:18:43] local.INFO: TCP Data received {"connection_id":189923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:43] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:18:43] local.INFO: IMEI packet received {"connection_id":189923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":189923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:18:44] local.INFO: TCP Data received {"connection_id":189923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:44] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:44] local.INFO: Packet analysis {"connection_id":189923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:44] local.INFO: Extracted packet for processing {"connection_id":189923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":189923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:18:44] local.INFO: GPS data processed {"connection_id":189923,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:18:44] local.INFO: Acknowledgment sent {"connection_id":189923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:18:49] local.INFO: TCP Data received {"connection_id":189923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:49] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca6e4f30012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:18:49] local.INFO: Packet analysis {"connection_id":189923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:49] local.INFO: Extracted packet for processing {"connection_id":189923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca6e"} 
[2026-09-23 00:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266194176001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790102622000,"timestamp_ms":1790102622000,"timestamp_seconds":1790102622,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca6e4f30"} 
[2026-09-23 00:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:18:49] 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-09-23 00:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266194176001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266194176001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266194176001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":189923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:18:49] local.INFO: GPS data processed {"connection_id":189923,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:18:49] local.INFO: Acknowledgment sent {"connection_id":189923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:19:33] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:33] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:33] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:19:33] local.INFO: TCP Data received {"connection_id":189924,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:19:33] local.INFO: Processing buffer {"connection_id":189924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:19:33] local.INFO: IMEI packet received {"connection_id":189924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":189924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:19:38] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:38] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:19:38] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:19:39] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:19:39] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:19:39] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:19:39] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:19: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:19:39] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:19:39] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:20:11] local.INFO: TCP Data received {"connection_id":191429,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:20:11] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:20:11] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:20:11] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:11] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:11] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:20:11] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:20: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-09-23 00:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:20:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:20:11] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:20:11] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:20:33] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:33] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:33] local.INFO: IMEI packet received {"connection_id":190084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":190084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:20:38] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:38] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:20:38] local.INFO: IMEI packet received {"connection_id":190084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":190084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:20:40] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:40] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:20:40] local.INFO: Packet analysis {"connection_id":190084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:20:40] local.INFO: Extracted packet for processing {"connection_id":190084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:20:40] 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-09-23 00: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-09-23 00:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":190084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:20:40] local.INFO: GPS data processed {"connection_id":190084,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:20:40] local.INFO: Acknowledgment sent {"connection_id":190084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:21:11] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:11] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:11] local.INFO: Packet analysis {"connection_id":190084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:21:11] local.INFO: Extracted packet for processing {"connection_id":190084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:21: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-09-23 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":190084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:21:11] local.INFO: GPS data processed {"connection_id":190084,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:21:11] local.INFO: Acknowledgment sent {"connection_id":190084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:21:33] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:33] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:33] local.INFO: IMEI packet received {"connection_id":189925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":189925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:21:38] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:38] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:21:38] local.INFO: IMEI packet received {"connection_id":189925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":189925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:21:39] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:39] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:21:39] local.INFO: Packet analysis {"connection_id":189925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:21:39] local.INFO: Extracted packet for processing {"connection_id":189925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:21: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":189925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:21:39] local.INFO: GPS data processed {"connection_id":189925,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:21:39] local.INFO: Acknowledgment sent {"connection_id":189925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:22:12] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:12] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:12] local.INFO: Packet analysis {"connection_id":189925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:22:12] local.INFO: Extracted packet for processing {"connection_id":189925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:22: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-09-23 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":189925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:22:12] local.INFO: GPS data processed {"connection_id":189925,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:22:12] local.INFO: Acknowledgment sent {"connection_id":189925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:22:33] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:33] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:33] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:22:38] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:38] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:22:38] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:22:39] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:39] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:22:39] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:22:39] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:22: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-09-23 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:22:39] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:22:39] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:23:10] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:10] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:10] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:23:10] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:23: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-09-23 00:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:23:10] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:23:10] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:23:33] local.INFO: TCP Data received {"connection_id":192768,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:33] local.INFO: Processing buffer {"connection_id":192768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:33] local.INFO: IMEI packet received {"connection_id":192768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":192768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:23:38] local.INFO: TCP Data received {"connection_id":192768,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:38] local.INFO: Processing buffer {"connection_id":192768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:23:38] local.INFO: IMEI packet received {"connection_id":192768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":192768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:23:39] local.INFO: TCP Data received {"connection_id":192768,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:39] local.INFO: Processing buffer {"connection_id":192768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:23:39] local.INFO: Packet analysis {"connection_id":192768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:23:39] local.INFO: Extracted packet for processing {"connection_id":192768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:23: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":192768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:23:39] local.INFO: GPS data processed {"connection_id":192768,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:23:39] local.INFO: Acknowledgment sent {"connection_id":192768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:24:10] local.INFO: TCP Data received {"connection_id":192768,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:24:10] local.INFO: Processing buffer {"connection_id":192768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca72e6f8012d34c18006aa4440000800d12c..."} 
[2026-09-23 00:24:10] local.INFO: Packet analysis {"connection_id":192768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:24:10] local.INFO: Extracted packet for processing {"connection_id":192768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca72"} 
[2026-09-23 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266271232001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790102923000,"timestamp_ms":1790102923000,"timestamp_seconds":1790102923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca72e6f8"} 
[2026-09-23 00:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:24: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-09-23 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266271232001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266271232001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266271232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":192768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:24:10] local.INFO: GPS data processed {"connection_id":192768,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:24:10] local.INFO: Acknowledgment sent {"connection_id":192768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:24:38] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:38] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:38] local.INFO: IMEI packet received {"connection_id":189926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":189926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:24:43] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:43] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:24:43] local.INFO: IMEI packet received {"connection_id":189926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":189926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:24:44] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:44] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:44] local.INFO: Packet analysis {"connection_id":189926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:24:44] local.INFO: Extracted packet for processing {"connection_id":189926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:24:44] 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-09-23 00: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-09-23 00:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":189926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:24:44] local.INFO: GPS data processed {"connection_id":189926,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:24:44] local.INFO: Acknowledgment sent {"connection_id":189926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:24:49] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:49] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:24:49] local.INFO: Packet analysis {"connection_id":189926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:24:49] local.INFO: Extracted packet for processing {"connection_id":189926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":189926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:24:49] local.INFO: GPS data processed {"connection_id":189926,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:24:49] local.INFO: Acknowledgment sent {"connection_id":189926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:25:34] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:34] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:34] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:25:36] local.INFO: TCP Data received {"connection_id":190086,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:25:36] local.INFO: Processing buffer {"connection_id":190086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:25:36] local.INFO: IMEI packet received {"connection_id":190086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":190086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:25:38] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:38] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:25:38] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:25:39] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:39] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:39] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:25:39] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:25: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-09-23 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:25:39] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:25:39] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:25:43] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:43] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:25:43] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:25:43] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:25:44] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:25:44] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:26:11] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:26:11] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:26:11] local.INFO: IMEI packet received {"connection_id":191432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":191432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:26:15] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:15] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:15] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:26:15] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:26:15] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:26:15] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:26:33] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:33] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:33] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:26:38] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:38] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:26:38] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:26:39] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:39] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:26:39] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:26:39] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:26: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-09-23 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":192770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:26:39] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:26:39] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:27:11] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:11] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:11] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:27:11] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:27: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-09-23 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":192770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:27:11] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:27:11] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:27:33] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:33] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:33] local.INFO: IMEI packet received {"connection_id":189927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":189927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:27:38] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:38] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:27:38] local.INFO: IMEI packet received {"connection_id":189927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":189927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:27:39] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:39] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:27:39] local.INFO: Packet analysis {"connection_id":189927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:27:39] local.INFO: Extracted packet for processing {"connection_id":189927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":189927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:27:39] local.INFO: GPS data processed {"connection_id":189927,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:27:39] local.INFO: Acknowledgment sent {"connection_id":189927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:28:12] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:12] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:12] local.INFO: Packet analysis {"connection_id":189927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:28:12] local.INFO: Extracted packet for processing {"connection_id":189927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:28: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-09-23 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:28:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:28:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":189927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:28:12] local.INFO: GPS data processed {"connection_id":189927,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:28:12] local.INFO: Acknowledgment sent {"connection_id":189927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:28:33] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:33] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:33] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:28:38] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:38] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:28:38] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:28:39] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:39] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:28:39] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:28:39] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:28: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-09-23 00:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:28:39] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:28:39] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:29:12] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:12] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca777ec0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:12] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:29:12] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca77"} 
[2026-09-23 00:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266348288001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790103224000,"timestamp_ms":1790103224000,"timestamp_seconds":1790103224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca777ec0"} 
[2026-09-23 00:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266348288001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266348288001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266348288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:29:12] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:29:12] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:29:38] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:38] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:38] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:29:43] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:43] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:29:43] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:29:45] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:45] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:45] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:29:45] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:29:45] 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-09-23 00: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-09-23 00:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":192771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:29:45] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:29:45] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:29:52] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:52] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:29:52] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:29:52] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:29:52] 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-09-23 00:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":192771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:29:52] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:29:52] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:30:36] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:36] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:36] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:30:38] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:38] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:30:38] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:30:39] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:39] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:39] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:30:39] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:30: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-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:30:39] 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-09-23 00: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-09-23 00:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:30:39] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:30:39] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:30:44] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:44] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:30:44] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:30:44] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:30:44] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:30:44] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:31:15] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:15] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:15] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:31:15] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:31:15] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:31:15] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:31:33] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:33] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:33] local.INFO: IMEI packet received {"connection_id":190089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":190089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:31:38] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:38] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:31:38] local.INFO: IMEI packet received {"connection_id":190089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":190089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:31:39] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:39] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:31:39] local.INFO: Packet analysis {"connection_id":190089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:31:39] local.INFO: Extracted packet for processing {"connection_id":190089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:31:39] 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-09-23 00: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-09-23 00:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":190089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:31:39] local.INFO: GPS data processed {"connection_id":190089,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:31:39] local.INFO: Acknowledgment sent {"connection_id":190089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:31:41] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:31:41] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:31:41] local.INFO: IMEI packet received {"connection_id":189928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":189928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:32:11] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:32:11] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:32:11] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:32:11] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:11] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:11] local.INFO: Packet analysis {"connection_id":190089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:32:11] local.INFO: Extracted packet for processing {"connection_id":190089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:32: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-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:32:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":190089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:32:11] local.INFO: GPS data processed {"connection_id":190089,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:32:11] local.INFO: Acknowledgment sent {"connection_id":190089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:32:33] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:33] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:33] local.INFO: IMEI packet received {"connection_id":189929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":189929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:32:38] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:38] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:32:38] local.INFO: IMEI packet received {"connection_id":189929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":189929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:32:39] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:39] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:32:39] local.INFO: Packet analysis {"connection_id":189929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:32:39] local.INFO: Extracted packet for processing {"connection_id":189929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:32: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-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:32:39] 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-09-23 00: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-09-23 00:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":189929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:32:39] local.INFO: GPS data processed {"connection_id":189929,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:32:39] local.INFO: Acknowledgment sent {"connection_id":189929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:33:11] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:11] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:11] local.INFO: Packet analysis {"connection_id":189929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:33:11] local.INFO: Extracted packet for processing {"connection_id":189929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 00:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 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-09-23 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 00:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":189929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:33:11] local.INFO: GPS data processed {"connection_id":189929,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:33:11] local.INFO: Acknowledgment sent {"connection_id":189929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:33:33] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:33] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:33] local.INFO: IMEI packet received {"connection_id":189931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":189931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:33:38] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:38] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:33:38] local.INFO: IMEI packet received {"connection_id":189931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":189931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:33:39] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:39] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:33:39] local.INFO: Packet analysis {"connection_id":189931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:33:39] local.INFO: Extracted packet for processing {"connection_id":189931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:33: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-09-23 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:33:39] 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-09-23 00: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-09-23 00:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":189931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:33:39] local.INFO: GPS data processed {"connection_id":189931,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:33:39] local.INFO: Acknowledgment sent {"connection_id":189931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:34:12] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:34:12] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca7c1688012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:34:12] local.INFO: Packet analysis {"connection_id":189931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:34:12] local.INFO: Extracted packet for processing {"connection_id":189931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca7c"} 
[2026-09-23 00:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266425344001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790103525000,"timestamp_ms":1790103525000,"timestamp_seconds":1790103525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca7c1688"} 
[2026-09-23 00:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:34: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-09-23 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 00:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266425344001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266425344001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266425344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":189931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:34:12] local.INFO: GPS data processed {"connection_id":189931,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:34:12] local.INFO: Acknowledgment sent {"connection_id":189931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:34:38] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:38] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:38] local.INFO: IMEI packet received {"connection_id":189932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":189932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:34:43] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:43] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:34:43] local.INFO: IMEI packet received {"connection_id":189932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":189932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:34:44] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:44] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:44] local.INFO: Packet analysis {"connection_id":189932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:34:44] local.INFO: Extracted packet for processing {"connection_id":189932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:34:44] 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-09-23 00:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":189932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:34:44] local.INFO: GPS data processed {"connection_id":189932,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:34:44] local.INFO: Acknowledgment sent {"connection_id":189932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:34:49] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:49] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:34:49] local.INFO: Packet analysis {"connection_id":189932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:34:49] local.INFO: Extracted packet for processing {"connection_id":189932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":189932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:34:49] local.INFO: GPS data processed {"connection_id":189932,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:34:49] local.INFO: Acknowledgment sent {"connection_id":189932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:35:33] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:33] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:33] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:35:38] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:38] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:35:38] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:35:39] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:35:39] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:35:39] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:35:39] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:35: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:35:39] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:35:39] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:36:10] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:10] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:10] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:36:10] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:36: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-09-23 00: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-09-23 00:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:36:11] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:36:11] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:36:33] local.INFO: TCP Data received {"connection_id":190090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:33] local.INFO: Processing buffer {"connection_id":190090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:33] local.INFO: IMEI packet received {"connection_id":190090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":190090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:36:38] local.INFO: TCP Data received {"connection_id":190090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:38] local.INFO: Processing buffer {"connection_id":190090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:36:38] local.INFO: IMEI packet received {"connection_id":190090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":190090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:36:39] local.INFO: TCP Data received {"connection_id":190090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:39] local.INFO: Processing buffer {"connection_id":190090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:36:39] local.INFO: Packet analysis {"connection_id":190090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:36:39] local.INFO: Extracted packet for processing {"connection_id":190090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:36: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-09-23 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:36:39] local.INFO: GPS data processed {"connection_id":190090,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:36:39] local.INFO: Acknowledgment sent {"connection_id":190090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:37:11] local.INFO: TCP Data received {"connection_id":190090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:11] local.INFO: Processing buffer {"connection_id":190090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:11] local.INFO: Packet analysis {"connection_id":190090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:37:11] local.INFO: Extracted packet for processing {"connection_id":190090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:37: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-09-23 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:37:11] local.INFO: GPS data processed {"connection_id":190090,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:37:11] local.INFO: Acknowledgment sent {"connection_id":190090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:37:26] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:37:26] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:37:26] local.INFO: IMEI packet received {"connection_id":192774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":192774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:37:33] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:33] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:33] local.INFO: IMEI packet received {"connection_id":191440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:37:38] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:38] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:37:38] local.INFO: IMEI packet received {"connection_id":191440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":191440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:37:39] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:39] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:37:39] local.INFO: Packet analysis {"connection_id":191440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:37:39] local.INFO: Extracted packet for processing {"connection_id":191440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:37: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-09-23 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":191440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:37:39] local.INFO: GPS data processed {"connection_id":191440,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:37:39] local.INFO: Acknowledgment sent {"connection_id":191440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:38:12] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:12] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:12] local.INFO: Packet analysis {"connection_id":191440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:38:12] local.INFO: Extracted packet for processing {"connection_id":191440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:38: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:38:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:38:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":191440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:38:12] local.INFO: GPS data processed {"connection_id":191440,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:38:12] local.INFO: Acknowledgment sent {"connection_id":191440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:38:33] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:33] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:33] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:38:38] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:38] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:38:38] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:38:40] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:40] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:38:40] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:38:40] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:38: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:38:40] 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-09-23 00: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-09-23 00:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:38:40] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:38:40] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:39:11] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:39:11] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca80ae50012d34c18006aa4440000800d12a..."} 
[2026-09-23 00:39:11] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:39:11] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca80"} 
[2026-09-23 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790103826000,"timestamp_ms":1790103826000,"timestamp_seconds":1790103826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca80ae50"} 
[2026-09-23 00:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:39: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-09-23 00:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266502400001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266502400001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266502400001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:39:11] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:39:11] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:39:38] local.INFO: TCP Data received {"connection_id":189935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:38] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:38] local.INFO: IMEI packet received {"connection_id":189935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":189935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:39:43] local.INFO: TCP Data received {"connection_id":189935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:43] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:39:43] local.INFO: IMEI packet received {"connection_id":189935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":189935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:39:44] local.INFO: TCP Data received {"connection_id":189935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:44] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:44] local.INFO: Packet analysis {"connection_id":189935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:39:44] local.INFO: Extracted packet for processing {"connection_id":189935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":189935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:39:44] local.INFO: GPS data processed {"connection_id":189935,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:39:44] local.INFO: Acknowledgment sent {"connection_id":189935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:39:49] local.INFO: TCP Data received {"connection_id":189935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:49] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:39:49] local.INFO: Packet analysis {"connection_id":189935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:39:49] local.INFO: Extracted packet for processing {"connection_id":189935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:39:49] 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-09-23 00: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-09-23 00:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":189935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:39:49] local.INFO: GPS data processed {"connection_id":189935,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:39:49] local.INFO: Acknowledgment sent {"connection_id":189935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:40:35] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:35] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:35] local.INFO: IMEI packet received {"connection_id":192776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":192776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:40:38] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:38] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:40:38] local.INFO: IMEI packet received {"connection_id":192776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":192776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:40:39] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:39] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:39] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:40:39] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:40: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-09-23 00: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-09-23 00:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:40:39] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:40:39] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:40:44] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:44] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:40:44] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:40:44] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:40:44] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:40:44] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:41:16] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:16] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:16] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:41:16] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:41:16] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:41:16] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:41:33] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:33] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:33] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:41:38] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:38] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:41:38] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:41:40] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:40] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:41:40] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:41:40] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:41: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-09-23 00:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:41:40] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:41:40] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:42:11] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:11] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:11] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:42:11] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:42: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-09-23 00: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-09-23 00:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:42:11] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:42:11] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:42:33] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:33] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:33] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:42:38] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:38] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:42:38] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:42:41] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:41] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:42:41] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:42:41] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:42: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-09-23 00: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-09-23 00:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:42:41] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:42:41] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:43:12] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:12] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:12] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:12] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:43:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:43:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:43:12] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:43:12] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:43:12] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:43:12] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:43:12] local.INFO: IMEI packet received {"connection_id":190096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":190096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:43:38] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:38] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:38] local.INFO: IMEI packet received {"connection_id":189936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":189936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:43:43] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:43] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:43:43] local.INFO: IMEI packet received {"connection_id":189936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":189936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:43:44] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:44] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:44] local.INFO: Packet analysis {"connection_id":189936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:44] local.INFO: Extracted packet for processing {"connection_id":189936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":189936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:43:44] local.INFO: GPS data processed {"connection_id":189936,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:43:44] local.INFO: Acknowledgment sent {"connection_id":189936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:43:48] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:48] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca854618012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:43:48] local.INFO: Packet analysis {"connection_id":189936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:48] local.INFO: Extracted packet for processing {"connection_id":189936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca85"} 
[2026-09-23 00:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266579456001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790104127000,"timestamp_ms":1790104127000,"timestamp_seconds":1790104127,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca854618"} 
[2026-09-23 00:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:43:48] 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-09-23 00:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266579456001,"66":25843,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266579456001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266579456001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":189936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:43:48] local.INFO: GPS data processed {"connection_id":189936,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:43:48] local.INFO: Acknowledgment sent {"connection_id":189936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:44:33] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:33] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:33] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:44:39] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:39] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:44:39] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:44:40] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:44:40] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:44:40] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:44:40] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":192777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:44:40] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:44:40] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:45:12] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:12] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:12] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:45:12] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":192777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:45:12] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:45:12] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:45:33] local.INFO: TCP Data received {"connection_id":189937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:33] local.INFO: Processing buffer {"connection_id":189937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:33] local.INFO: IMEI packet received {"connection_id":189937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":189937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:45:38] local.INFO: TCP Data received {"connection_id":189937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:38] local.INFO: Processing buffer {"connection_id":189937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:45:38] local.INFO: IMEI packet received {"connection_id":189937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":189937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:45:39] local.INFO: TCP Data received {"connection_id":189937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:39] local.INFO: Processing buffer {"connection_id":189937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:45:39] local.INFO: Packet analysis {"connection_id":189937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:45:39] local.INFO: Extracted packet for processing {"connection_id":189937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 00:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 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-09-23 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:45:39] 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-09-23 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-09-23 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-09-23 00:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":189937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:45:39] local.INFO: GPS data processed {"connection_id":189937,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:45:39] local.INFO: Acknowledgment sent {"connection_id":189937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:46:10] local.INFO: TCP Data received {"connection_id":189937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:10] local.INFO: Processing buffer {"connection_id":189937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:10] local.INFO: Packet analysis {"connection_id":189937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:46:10] local.INFO: Extracted packet for processing {"connection_id":189937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":189937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:46:10] local.INFO: GPS data processed {"connection_id":189937,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:46:10] local.INFO: Acknowledgment sent {"connection_id":189937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:46:33] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:33] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:33] local.INFO: IMEI packet received {"connection_id":190098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":190098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:46:38] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:38] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:46:38] local.INFO: IMEI packet received {"connection_id":190098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":190098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:46:40] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:40] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:46:40] local.INFO: Packet analysis {"connection_id":190098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:46:40] local.INFO: Extracted packet for processing {"connection_id":190098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":190098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:46:40] local.INFO: GPS data processed {"connection_id":190098,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:46:40] local.INFO: Acknowledgment sent {"connection_id":190098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:47:11] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:11] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:11] local.INFO: Packet analysis {"connection_id":190098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:11] local.INFO: Extracted packet for processing {"connection_id":190098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 00:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 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-09-23 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 00:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":190098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:47:11] local.INFO: GPS data processed {"connection_id":190098,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:47:11] local.INFO: Acknowledgment sent {"connection_id":190098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:47:38] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:38] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:38] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:47:43] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:43] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:47:43] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:47:44] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:44] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:44] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:44] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:47:44] 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-09-23 00:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:47:44] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:47:44] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:47:49] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:49] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:47:49] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:49] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:47: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-09-23 00:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:47: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":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:47:49] 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-09-23 00:47: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-09-23 00:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:47:49] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:47:49] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:48:28] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:48:28] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:48:28] local.INFO: IMEI packet received {"connection_id":192778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":192778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:48:33] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:33] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:33] local.INFO: IMEI packet received {"connection_id":192779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":192779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:48:38] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:38] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:48:38] local.INFO: IMEI packet received {"connection_id":192779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":192779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:48:39] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:48:39] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:48:39] local.INFO: Packet analysis {"connection_id":192779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:48:39] local.INFO: Extracted packet for processing {"connection_id":192779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 00:48:39] 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-09-23 00: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-09-23 00:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":192779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:48:39] local.INFO: GPS data processed {"connection_id":192779,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:48:39] local.INFO: Acknowledgment sent {"connection_id":192779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:49:10] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:49:10] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca89dde0012d34c18006aa4440000800d12b..."} 
[2026-09-23 00:49:10] local.INFO: Packet analysis {"connection_id":192779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:49:10] local.INFO: Extracted packet for processing {"connection_id":192779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca89"} 
[2026-09-23 00:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266656512001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790104428000,"timestamp_ms":1790104428000,"timestamp_seconds":1790104428,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca89dde0"} 
[2026-09-23 00:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00: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-09-23 00: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-09-23 00:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266656512001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266656512001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266656512001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":192779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:49:10] local.INFO: GPS data processed {"connection_id":192779,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:49:10] local.INFO: Acknowledgment sent {"connection_id":192779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:49:11] local.INFO: TCP Data received {"connection_id":190099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:49:11] local.INFO: Processing buffer {"connection_id":190099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:49:11] local.INFO: IMEI packet received {"connection_id":190099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":190099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:49:33] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:33] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:33] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:49:38] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:38] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:49:38] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:49:39] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:49:39] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:49:39] local.INFO: Packet analysis {"connection_id":192780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:49:39] local.INFO: Extracted packet for processing {"connection_id":192780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:49: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-09-23 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":192780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:49:39] local.INFO: GPS data processed {"connection_id":192780,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:49:39] local.INFO: Acknowledgment sent {"connection_id":192780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:50:10] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:10] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:10] local.INFO: Packet analysis {"connection_id":192780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:50:10] local.INFO: Extracted packet for processing {"connection_id":192780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":192780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:50:11] local.INFO: GPS data processed {"connection_id":192780,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:50:11] local.INFO: Acknowledgment sent {"connection_id":192780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:50:33] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:33] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:33] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:50:38] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:38] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:50:38] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:50:39] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:39] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:50:39] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:50:39] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:50: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:50:39] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:50:39] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:51:11] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:11] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:11] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:51:11] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:51: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-09-23 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:51:11] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:51:11] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:51:33] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:33] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:33] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:51:38] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:38] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:51:38] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:51:39] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:39] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:51:39] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:51:39] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:51: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-09-23 00:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:51:39] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:51:39] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:52:11] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:11] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:11] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:11] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:52: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:52:11] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:52:11] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:52:38] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:38] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:38] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:52:43] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:43] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:52:43] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:52:44] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:44] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:44] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:44] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:52:44] 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-09-23 00: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-09-23 00:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:52:44] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:52:44] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:52:49] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:49] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:52:49] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:49] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:52:49] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:52:49] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:53:33] local.INFO: TCP Data received {"connection_id":189942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:33] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:33] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:53:38] local.INFO: TCP Data received {"connection_id":189942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:38] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:53:38] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:53:39] local.INFO: TCP Data received {"connection_id":189942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:53:39] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:53:39] local.INFO: Packet analysis {"connection_id":189942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:53:39] local.INFO: Extracted packet for processing {"connection_id":189942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:53: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-09-23 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":189942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:53:39] local.INFO: GPS data processed {"connection_id":189942,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:53:39] local.INFO: Acknowledgment sent {"connection_id":189942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:54:11] local.INFO: TCP Data received {"connection_id":189942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:11] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca8e75a8012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:11] local.INFO: Packet analysis {"connection_id":189942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:54:11] local.INFO: Extracted packet for processing {"connection_id":189942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca8e"} 
[2026-09-23 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266733568001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790104729000,"timestamp_ms":1790104729000,"timestamp_seconds":1790104729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca8e75a8"} 
[2026-09-23 00:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:54: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-09-23 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266733568001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266733568001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266733568001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":189942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:54:11] local.INFO: GPS data processed {"connection_id":189942,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:54:11] local.INFO: Acknowledgment sent {"connection_id":189942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:54:33] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:33] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:33] local.INFO: IMEI packet received {"connection_id":189943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":189943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:54:38] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:38] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:54:38] local.INFO: IMEI packet received {"connection_id":189943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":189943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:54:39] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:39] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:54:39] local.INFO: Packet analysis {"connection_id":189943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:54:39] local.INFO: Extracted packet for processing {"connection_id":189943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 00:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 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-09-23 00:54: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-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:54: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-09-23 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-09-23 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-09-23 00:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":189943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:54:39] local.INFO: GPS data processed {"connection_id":189943,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:54:39] local.INFO: Acknowledgment sent {"connection_id":189943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:54:46] local.INFO: TCP Data received {"connection_id":190102,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:54:46] local.INFO: Processing buffer {"connection_id":190102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:54:46] local.INFO: IMEI packet received {"connection_id":190102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":190102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:55:10] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:10] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:10] local.INFO: Packet analysis {"connection_id":189943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:55:10] local.INFO: Extracted packet for processing {"connection_id":189943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:55: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-09-23 00: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-09-23 00:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":189943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:55:10] local.INFO: GPS data processed {"connection_id":189943,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:55:10] local.INFO: Acknowledgment sent {"connection_id":189943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:55:11] local.INFO: TCP Data received {"connection_id":189944,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:55:11] local.INFO: Processing buffer {"connection_id":189944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 00:55:11] local.INFO: IMEI packet received {"connection_id":189944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":189944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:55:33] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:33] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:33] local.INFO: IMEI packet received {"connection_id":190103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":190103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:55:38] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:38] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:55:38] local.INFO: IMEI packet received {"connection_id":190103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":190103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:55:39] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:39] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:55:39] local.INFO: Packet analysis {"connection_id":190103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:55:39] local.INFO: Extracted packet for processing {"connection_id":190103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:55: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:55: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-09-23 00: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-09-23 00:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":190103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:55:39] local.INFO: GPS data processed {"connection_id":190103,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:55:39] local.INFO: Acknowledgment sent {"connection_id":190103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:56:11] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:11] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:11] local.INFO: Packet analysis {"connection_id":190103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:56:11] local.INFO: Extracted packet for processing {"connection_id":190103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:56: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:56: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-09-23 00: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-09-23 00:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:56:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":190103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:56:11] local.INFO: GPS data processed {"connection_id":190103,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:56:11] local.INFO: Acknowledgment sent {"connection_id":190103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:56:33] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:33] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:33] local.INFO: IMEI packet received {"connection_id":192782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":192782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:56:38] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:38] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:56:38] local.INFO: IMEI packet received {"connection_id":192782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":192782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:56:39] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:39] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:56:39] local.INFO: Packet analysis {"connection_id":192782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:56:39] local.INFO: Extracted packet for processing {"connection_id":192782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:56: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:56: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-09-23 00: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-09-23 00:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":192782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:56:39] local.INFO: GPS data processed {"connection_id":192782,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:56:39] local.INFO: Acknowledgment sent {"connection_id":192782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:57:10] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:10] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:10] local.INFO: Packet analysis {"connection_id":192782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:10] local.INFO: Extracted packet for processing {"connection_id":192782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:57: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-09-23 00: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-09-23 00:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":192782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:57:10] local.INFO: GPS data processed {"connection_id":192782,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:57:10] local.INFO: Acknowledgment sent {"connection_id":192782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:57:38] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:38] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:38] local.INFO: IMEI packet received {"connection_id":190105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":190105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:57:43] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:43] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:57:43] local.INFO: IMEI packet received {"connection_id":190105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":190105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:57:44] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:44] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:44] local.INFO: Packet analysis {"connection_id":190105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:44] local.INFO: Extracted packet for processing {"connection_id":190105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":190105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:57:44] local.INFO: GPS data processed {"connection_id":190105,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:57:44] local.INFO: Acknowledgment sent {"connection_id":190105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:57:49] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:49] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:57:49] local.INFO: Packet analysis {"connection_id":190105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:49] local.INFO: Extracted packet for processing {"connection_id":190105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 00:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 00:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:57:49] 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-09-23 00:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 00:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":190105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:57:49] local.INFO: GPS data processed {"connection_id":190105,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:57:49] local.INFO: Acknowledgment sent {"connection_id":190105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:58:33] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:33] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:33] local.INFO: IMEI packet received {"connection_id":189945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":189945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:58:38] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:38] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:58:38] local.INFO: IMEI packet received {"connection_id":189945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":189945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:58:40] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:58:40] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:58:40] local.INFO: Packet analysis {"connection_id":189945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:58:40] local.INFO: Extracted packet for processing {"connection_id":189945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:58: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:58: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-09-23 00: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-09-23 00:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":189945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:58:40] local.INFO: GPS data processed {"connection_id":189945,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:58:40] local.INFO: Acknowledgment sent {"connection_id":189945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:59:12] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:59:12] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca930d70012d34c18006aa4440000800d12f..."} 
[2026-09-23 00:59:12] local.INFO: Packet analysis {"connection_id":189945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:59:12] local.INFO: Extracted packet for processing {"connection_id":189945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca93"} 
[2026-09-23 00:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266810624001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790105030000,"timestamp_ms":1790105030000,"timestamp_seconds":1790105030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca930d70"} 
[2026-09-23 00:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:59: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-09-23 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 00:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266810624001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266810624001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:59:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266810624001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":189945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:59:12] local.INFO: GPS data processed {"connection_id":189945,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:59:12] local.INFO: Acknowledgment sent {"connection_id":189945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 00:59:33] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:33] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:33] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 00:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 00:59:38] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:38] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 00:59:38] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 00:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 00:59:39] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:59:39] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 00:59:39] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 00:59:39] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 00: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-09-23 00:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 00:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 00:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 00:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 00:59: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-09-23 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 00:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 00: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-09-23 00:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 00:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 00:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 00:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 00:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 00:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 00:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 00:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 00:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 00:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 00:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 00:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 00:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 00:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 00:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 00:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 00:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 00:59:39] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-23 00:59:39] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:00:10] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:10] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:10] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:00:10] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01: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-09-23 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:00: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-09-23 01: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-09-23 01:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:00:10] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:00:10] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:00:33] local.INFO: TCP Data received {"connection_id":189946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:33] local.INFO: Processing buffer {"connection_id":189946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:33] local.INFO: IMEI packet received {"connection_id":189946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":189946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:00:36] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:00:36] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:00:36] local.INFO: IMEI packet received {"connection_id":190107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":190107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:00:38] local.INFO: TCP Data received {"connection_id":189946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:38] local.INFO: Processing buffer {"connection_id":189946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:00:38] local.INFO: IMEI packet received {"connection_id":189946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":189946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:00:39] local.INFO: TCP Data received {"connection_id":189946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:39] local.INFO: Processing buffer {"connection_id":189946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:00:39] local.INFO: Packet analysis {"connection_id":189946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:00:39] local.INFO: Extracted packet for processing {"connection_id":189946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:00: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-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":189946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:00:39] local.INFO: GPS data processed {"connection_id":189946,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:00:39] local.INFO: Acknowledgment sent {"connection_id":189946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:01:10] local.INFO: TCP Data received {"connection_id":189946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:10] local.INFO: Processing buffer {"connection_id":189946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:10] local.INFO: Packet analysis {"connection_id":189946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:10] local.INFO: Extracted packet for processing {"connection_id":189946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:01: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-09-23 01:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":189946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:01:10] local.INFO: GPS data processed {"connection_id":189946,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:01:10] local.INFO: Acknowledgment sent {"connection_id":189946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:01:16] local.INFO: TCP Data received {"connection_id":189947,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:01:16] local.INFO: Processing buffer {"connection_id":189947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:01:16] local.INFO: IMEI packet received {"connection_id":189947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":189947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:01:38] local.INFO: TCP Data received {"connection_id":190108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:38] local.INFO: Processing buffer {"connection_id":190108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:38] local.INFO: IMEI packet received {"connection_id":190108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":190108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:01:43] local.INFO: TCP Data received {"connection_id":190108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:43] local.INFO: Processing buffer {"connection_id":190108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:01:43] local.INFO: IMEI packet received {"connection_id":190108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":190108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:01:44] local.INFO: TCP Data received {"connection_id":190108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:44] local.INFO: Processing buffer {"connection_id":190108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:44] local.INFO: Packet analysis {"connection_id":190108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:44] local.INFO: Extracted packet for processing {"connection_id":190108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:01:44] 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-09-23 01:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":190108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:01:44] local.INFO: GPS data processed {"connection_id":190108,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:01:44] local.INFO: Acknowledgment sent {"connection_id":190108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:01:48] local.INFO: TCP Data received {"connection_id":190108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:48] local.INFO: Processing buffer {"connection_id":190108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:01:48] local.INFO: Packet analysis {"connection_id":190108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:48] local.INFO: Extracted packet for processing {"connection_id":190108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:01:48] 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-09-23 01:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":190108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:01:48] local.INFO: GPS data processed {"connection_id":190108,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:01:48] local.INFO: Acknowledgment sent {"connection_id":190108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:02:33] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:33] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:33] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:02:38] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:38] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:02:38] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:02:39] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:02:39] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:02:39] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:02:39] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:02: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-09-23 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":192786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:02:39] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:02:39] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:03:12] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:12] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:12] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:03:12] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:03:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":192786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:03:12] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:03:12] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:03:33] local.INFO: TCP Data received {"connection_id":189949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:33] local.INFO: Processing buffer {"connection_id":189949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:33] local.INFO: IMEI packet received {"connection_id":189949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":189949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:03:38] local.INFO: TCP Data received {"connection_id":189949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:38] local.INFO: Processing buffer {"connection_id":189949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:03:38] local.INFO: IMEI packet received {"connection_id":189949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":189949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:03:40] local.INFO: TCP Data received {"connection_id":189949,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:40] local.INFO: Processing buffer {"connection_id":189949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:03:40] local.INFO: Packet analysis {"connection_id":189949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:03:40] local.INFO: Extracted packet for processing {"connection_id":189949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:03:40] 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-09-23 01: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-09-23 01:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":189949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:03:40] local.INFO: GPS data processed {"connection_id":189949,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:03:40] local.INFO: Acknowledgment sent {"connection_id":189949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:04:11] local.INFO: TCP Data received {"connection_id":189949,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:11] local.INFO: Processing buffer {"connection_id":189949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca97a538012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:11] local.INFO: Packet analysis {"connection_id":189949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:04:11] local.INFO: Extracted packet for processing {"connection_id":189949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca97"} 
[2026-09-23 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266887680001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105331000,"timestamp_ms":1790105331000,"timestamp_seconds":1790105331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca97a538"} 
[2026-09-23 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:04: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-09-23 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266887680001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266887680001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266887680001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":189949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:04:11] local.INFO: GPS data processed {"connection_id":189949,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:04:11] local.INFO: Acknowledgment sent {"connection_id":189949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:04:33] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:33] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:33] local.INFO: IMEI packet received {"connection_id":192788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:04:38] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:38] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:04:38] local.INFO: IMEI packet received {"connection_id":192788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":192788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:04:40] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:40] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:04:40] local.INFO: Packet analysis {"connection_id":192788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:04:40] local.INFO: Extracted packet for processing {"connection_id":192788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:04: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-09-23 01: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-09-23 01:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":192788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:04:40] local.INFO: GPS data processed {"connection_id":192788,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:04:40] local.INFO: Acknowledgment sent {"connection_id":192788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:05:11] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:11] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:11] local.INFO: Packet analysis {"connection_id":192788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:05:11] local.INFO: Extracted packet for processing {"connection_id":192788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:05: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-09-23 01: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:05: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-09-23 01: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-09-23 01:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":192788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:05:11] local.INFO: GPS data processed {"connection_id":192788,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:05:11] local.INFO: Acknowledgment sent {"connection_id":192788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:05:33] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:33] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:33] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:05:38] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:38] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:05:38] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:05:40] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:40] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:05:40] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:05:40] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:05: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-09-23 01:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:05: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-09-23 01: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-09-23 01:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:05:40] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:05:40] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:06:11] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:11] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:11] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:11] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:06: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-09-23 01:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:06: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-09-23 01:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:06:11] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:06:11] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:06:38] local.INFO: TCP Data received {"connection_id":189950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:38] local.INFO: Processing buffer {"connection_id":189950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:38] local.INFO: IMEI packet received {"connection_id":189950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":189950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:06:41] local.INFO: TCP Data received {"connection_id":192789,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:06:41] local.INFO: Processing buffer {"connection_id":192789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:06:41] local.INFO: IMEI packet received {"connection_id":192789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":192789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:06:43] local.INFO: TCP Data received {"connection_id":189950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:43] local.INFO: Processing buffer {"connection_id":189950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:06:43] local.INFO: IMEI packet received {"connection_id":189950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":189950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:06:44] local.INFO: TCP Data received {"connection_id":189950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:44] local.INFO: Processing buffer {"connection_id":189950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:44] local.INFO: Packet analysis {"connection_id":189950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:44] local.INFO: Extracted packet for processing {"connection_id":189950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":189950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:06:44] local.INFO: GPS data processed {"connection_id":189950,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:06:44] local.INFO: Acknowledgment sent {"connection_id":189950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:06:49] local.INFO: TCP Data received {"connection_id":189950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:49] local.INFO: Processing buffer {"connection_id":189950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:06:49] local.INFO: Packet analysis {"connection_id":189950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:49] local.INFO: Extracted packet for processing {"connection_id":189950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:06:49] 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-09-23 01:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":189950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:06:49] local.INFO: GPS data processed {"connection_id":189950,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:06:49] local.INFO: Acknowledgment sent {"connection_id":189950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:07:11] local.INFO: TCP Data received {"connection_id":189951,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:07:11] local.INFO: Processing buffer {"connection_id":189951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:07:11] local.INFO: IMEI packet received {"connection_id":189951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":189951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:07:34] local.INFO: TCP Data received {"connection_id":189952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:34] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:34] local.INFO: IMEI packet received {"connection_id":189952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":189952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:07:38] local.INFO: TCP Data received {"connection_id":189952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:38] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:07:38] local.INFO: IMEI packet received {"connection_id":189952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":189952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:07:39] local.INFO: TCP Data received {"connection_id":189952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:07:39] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:07:39] local.INFO: Packet analysis {"connection_id":189952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:07:39] local.INFO: Extracted packet for processing {"connection_id":189952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:07: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-09-23 01: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:07: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-09-23 01: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-09-23 01:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":189952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:07:39] local.INFO: GPS data processed {"connection_id":189952,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:07:39] local.INFO: Acknowledgment sent {"connection_id":189952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:08:10] local.INFO: TCP Data received {"connection_id":189952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:10] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:10] local.INFO: Packet analysis {"connection_id":189952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:08:10] local.INFO: Extracted packet for processing {"connection_id":189952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:08: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-09-23 01: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-09-23 01:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":189952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:08:10] local.INFO: GPS data processed {"connection_id":189952,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:08:10] local.INFO: Acknowledgment sent {"connection_id":189952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:08:33] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:33] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:33] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:08:38] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:38] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:08:38] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:08:39] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:39] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:08:39] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:08:39] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:08: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-09-23 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:08: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-09-23 01:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:08:39] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:08:39] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:09:11] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:09:11] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ca9c3d00012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:09:11] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:09:11] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ca9c"} 
[2026-09-23 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458266964736001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105632000,"timestamp_ms":1790105632000,"timestamp_seconds":1790105632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ca9c3d00"} 
[2026-09-23 01:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:09: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-09-23 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:09: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-09-23 01:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458266964736001,"66":25778,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458266964736001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458266964736001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:09:11] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:09:11] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:09:31] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:31] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:31] local.INFO: IMEI packet received {"connection_id":192790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:09:33] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:33] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:33] local.INFO: IMEI packet received {"connection_id":192790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":192790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:09:38] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:38] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:09:38] local.INFO: IMEI packet received {"connection_id":192790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":192790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:09:39] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:09:39] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:09:39] local.INFO: Packet analysis {"connection_id":192790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:09:39] local.INFO: Extracted packet for processing {"connection_id":192790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:09: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-09-23 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:09: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-09-23 01: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-09-23 01:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":192790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:09:39] local.INFO: GPS data processed {"connection_id":192790,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:09:39] local.INFO: Acknowledgment sent {"connection_id":192790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:10:11] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:11] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:11] local.INFO: Packet analysis {"connection_id":192790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:10:11] local.INFO: Extracted packet for processing {"connection_id":192790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:10: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-09-23 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:10: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-09-23 01:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:10:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":192790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:10:11] local.INFO: GPS data processed {"connection_id":192790,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:10:11] local.INFO: Acknowledgment sent {"connection_id":192790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:10:33] local.INFO: TCP Data received {"connection_id":189955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:33] local.INFO: Processing buffer {"connection_id":189955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:33] local.INFO: IMEI packet received {"connection_id":189955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":189955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:10:38] local.INFO: TCP Data received {"connection_id":189955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:38] local.INFO: Processing buffer {"connection_id":189955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:10:38] local.INFO: IMEI packet received {"connection_id":189955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":189955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:10:39] local.INFO: TCP Data received {"connection_id":189955,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:39] local.INFO: Processing buffer {"connection_id":189955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:10:39] local.INFO: Packet analysis {"connection_id":189955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:10:39] local.INFO: Extracted packet for processing {"connection_id":189955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:10: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-09-23 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:10: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-09-23 01: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-09-23 01:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":189955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:10:39] local.INFO: GPS data processed {"connection_id":189955,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:10:39] local.INFO: Acknowledgment sent {"connection_id":189955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:11:11] local.INFO: TCP Data received {"connection_id":189955,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:11] local.INFO: Processing buffer {"connection_id":189955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:11] local.INFO: Packet analysis {"connection_id":189955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:11:11] local.INFO: Extracted packet for processing {"connection_id":189955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:11: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-09-23 01: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-09-23 01:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":189955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:11:11] local.INFO: GPS data processed {"connection_id":189955,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:11:11] local.INFO: Acknowledgment sent {"connection_id":189955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:11:33] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:33] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:33] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:11:38] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:38] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:11:38] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:11:39] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:39] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:11:39] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:11:39] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 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-09-23 01:11: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-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:11: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-09-23 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-09-23 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-09-23 01:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:11:39] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:11:39] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:12:10] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:10] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:10] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:12:10] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01: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-09-23 01: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:12: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-09-23 01: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-09-23 01:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":192791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:12:10] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:12:10] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:12:31] local.INFO: TCP Data received {"connection_id":191453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:12:31] local.INFO: Processing buffer {"connection_id":191453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:12:31] local.INFO: IMEI packet received {"connection_id":191453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":191453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:12:33] local.INFO: TCP Data received {"connection_id":190110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:33] local.INFO: Processing buffer {"connection_id":190110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:33] local.INFO: IMEI packet received {"connection_id":190110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":190110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:12:38] local.INFO: TCP Data received {"connection_id":190110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:38] local.INFO: Processing buffer {"connection_id":190110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:12:38] local.INFO: IMEI packet received {"connection_id":190110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":190110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:12:39] local.INFO: TCP Data received {"connection_id":190110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:39] local.INFO: Processing buffer {"connection_id":190110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:12:39] local.INFO: Packet analysis {"connection_id":190110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:12:39] local.INFO: Extracted packet for processing {"connection_id":190110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:12: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-09-23 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:12: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-09-23 01: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-09-23 01:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":190110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:12:39] local.INFO: GPS data processed {"connection_id":190110,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:12:39] local.INFO: Acknowledgment sent {"connection_id":190110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:13:11] local.INFO: TCP Data received {"connection_id":191454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:13:11] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:13:11] local.INFO: IMEI packet received {"connection_id":191454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":191454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:13:11] local.INFO: TCP Data received {"connection_id":190110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:11] local.INFO: Processing buffer {"connection_id":190110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:11] local.INFO: Packet analysis {"connection_id":190110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:13:11] local.INFO: Extracted packet for processing {"connection_id":190110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:13: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-09-23 01:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":190110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:13:11] local.INFO: GPS data processed {"connection_id":190110,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:13:11] local.INFO: Acknowledgment sent {"connection_id":190110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:13:33] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:33] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:33] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:13:38] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:38] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:13:38] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:13:39] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:39] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:13:39] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:13:39] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:13: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-09-23 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:13: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-09-23 01:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":192792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:13:39] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:13:39] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:14:11] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:14:11] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa0d4c8012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:14:11] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:14:11] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa0"} 
[2026-09-23 01:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267041792001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790105933000,"timestamp_ms":1790105933000,"timestamp_seconds":1790105933,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa0d4c8"} 
[2026-09-23 01:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:14: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-09-23 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 01:14: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-09-23 01:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267041792001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267041792001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267041792001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":192792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:14:11] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:14:11] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:14:33] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:33] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:33] local.INFO: IMEI packet received {"connection_id":189956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":189956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:14:38] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:38] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:14:38] local.INFO: IMEI packet received {"connection_id":189956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":189956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:14:39] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:14:39] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:14:39] local.INFO: Packet analysis {"connection_id":189956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:14:39] local.INFO: Extracted packet for processing {"connection_id":189956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":189956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:14:39] local.INFO: GPS data processed {"connection_id":189956,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:14:39] local.INFO: Acknowledgment sent {"connection_id":189956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:15:11] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:11] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:11] local.INFO: Packet analysis {"connection_id":189956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:15:11] local.INFO: Extracted packet for processing {"connection_id":189956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 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-09-23 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":189956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:15:11] local.INFO: GPS data processed {"connection_id":189956,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:15:11] local.INFO: Acknowledgment sent {"connection_id":189956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:15:33] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:33] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:33] local.INFO: IMEI packet received {"connection_id":192793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":192793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:15:38] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:38] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:15:38] local.INFO: IMEI packet received {"connection_id":192793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":192793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:15:39] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:39] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:15:39] local.INFO: Packet analysis {"connection_id":192793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:15:39] local.INFO: Extracted packet for processing {"connection_id":192793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":192793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:15:39] local.INFO: GPS data processed {"connection_id":192793,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:15:39] local.INFO: Acknowledgment sent {"connection_id":192793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:16:11] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:11] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:11] local.INFO: Packet analysis {"connection_id":192793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:16:11] local.INFO: Extracted packet for processing {"connection_id":192793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 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-09-23 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 01:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":192793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:16:11] local.INFO: GPS data processed {"connection_id":192793,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:16:11] local.INFO: Acknowledgment sent {"connection_id":192793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:16:33] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:33] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:33] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:16:38] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:38] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:16:38] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:16:39] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:39] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:16:39] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:16:39] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:16:39] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:16:39] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:17:12] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:12] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:12] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:17:12] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:17:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:17:12] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:17:12] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:17:33] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:33] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:33] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:17:38] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:38] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:17:38] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:17:39] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:39] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:17:39] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:17:39] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:17:39] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:17:39] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:18:10] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:10] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:10] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:18:10] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:18: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-09-23 01: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-09-23 01:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:18:10] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:18:10] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:18:33] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:33] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:33] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:18:38] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:38] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:18:38] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:18:39] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:39] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:18:39] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:18:39] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:18:39] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:18:39] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:18:41] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:18:41] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:18:41] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:19:10] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:10] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caa56c90012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:10] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:19:10] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caa5"} 
[2026-09-23 01:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790106234000,"timestamp_ms":1790106234000,"timestamp_seconds":1790106234,"priority":1,"record_length":96,"hex_timestamp":"000001a0caa56c90"} 
[2026-09-23 01:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:19: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-09-23 01: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-09-23 01:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267118848001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267118848001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:19:10] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:19:10] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:19:11] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:19:11] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:19:11] local.INFO: IMEI packet received {"connection_id":190114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":190114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:19:38] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:38] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:38] local.INFO: IMEI packet received {"connection_id":190115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":190115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:19:43] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:43] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:19:43] local.INFO: IMEI packet received {"connection_id":190115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":190115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:19:44] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:44] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:19:44] local.INFO: Packet analysis {"connection_id":190115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:19:44] local.INFO: Extracted packet for processing {"connection_id":190115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:19:44] 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-09-23 01: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-09-23 01:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":190115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:19:44] local.INFO: GPS data processed {"connection_id":190115,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:19:44] local.INFO: Acknowledgment sent {"connection_id":190115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:20:16] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:16] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:16] local.INFO: Packet analysis {"connection_id":190115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:20:16] local.INFO: Extracted packet for processing {"connection_id":190115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":190115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:20:16] local.INFO: GPS data processed {"connection_id":190115,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:20:16] local.INFO: Acknowledgment sent {"connection_id":190115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:20:33] local.INFO: TCP Data received {"connection_id":190116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:33] local.INFO: Processing buffer {"connection_id":190116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:33] local.INFO: IMEI packet received {"connection_id":190116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":190116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:20:38] local.INFO: TCP Data received {"connection_id":190116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:38] local.INFO: Processing buffer {"connection_id":190116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:20:38] local.INFO: IMEI packet received {"connection_id":190116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":190116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:20:39] local.INFO: TCP Data received {"connection_id":190116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:39] local.INFO: Processing buffer {"connection_id":190116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:20:39] local.INFO: Packet analysis {"connection_id":190116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:20:39] local.INFO: Extracted packet for processing {"connection_id":190116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":190116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:20:39] local.INFO: GPS data processed {"connection_id":190116,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:20:39] local.INFO: Acknowledgment sent {"connection_id":190116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:21:11] local.INFO: TCP Data received {"connection_id":190116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:11] local.INFO: Processing buffer {"connection_id":190116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:11] local.INFO: Packet analysis {"connection_id":190116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:21:11] local.INFO: Extracted packet for processing {"connection_id":190116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 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-09-23 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 01:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":190116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:21:11] local.INFO: GPS data processed {"connection_id":190116,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:21:11] local.INFO: Acknowledgment sent {"connection_id":190116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:21:33] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:33] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:33] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:21:38] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:38] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:21:38] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:21:39] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:39] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:21:39] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:21:39] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":192794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:21:39] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:21:39] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:22:11] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:11] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:11] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:22:11] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":192794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:22:11] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:22:11] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:22:33] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:33] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:33] local.INFO: IMEI packet received {"connection_id":191462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:22:38] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:38] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:22:38] local.INFO: IMEI packet received {"connection_id":191462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":191462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:22:39] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:39] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:22:39] local.INFO: Packet analysis {"connection_id":191462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:22:39] local.INFO: Extracted packet for processing {"connection_id":191462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:22:39] local.INFO: GPS data processed {"connection_id":191462,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:22:39] local.INFO: Acknowledgment sent {"connection_id":191462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:23:10] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:10] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:10] local.INFO: Packet analysis {"connection_id":191462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:10] local.INFO: Extracted packet for processing {"connection_id":191462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":191462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:23:10] local.INFO: GPS data processed {"connection_id":191462,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:23:10] local.INFO: Acknowledgment sent {"connection_id":191462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:23:38] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:38] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:38] local.INFO: IMEI packet received {"connection_id":192797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":192797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:23:43] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:43] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:23:43] local.INFO: IMEI packet received {"connection_id":192797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":192797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:23:44] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:44] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:44] local.INFO: Packet analysis {"connection_id":192797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:44] local.INFO: Extracted packet for processing {"connection_id":192797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:23:44] 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-09-23 01: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-09-23 01:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":192797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:23:44] local.INFO: GPS data processed {"connection_id":192797,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:23:44] local.INFO: Acknowledgment sent {"connection_id":192797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:23:50] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:50] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caaa0458012d34c18006aa4440000800d12e..."} 
[2026-09-23 01:23:50] local.INFO: Packet analysis {"connection_id":192797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:50] local.INFO: Extracted packet for processing {"connection_id":192797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caaa"} 
[2026-09-23 01:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:23: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-09-23 01:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267195904001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790106535000,"timestamp_ms":1790106535000,"timestamp_seconds":1790106535,"priority":1,"record_length":96,"hex_timestamp":"000001a0caaa0458"} 
[2026-09-23 01:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:23: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-09-23 01:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267195904001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267195904001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267195904001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":192797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:23:50] local.INFO: GPS data processed {"connection_id":192797,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:23:50] local.INFO: Acknowledgment sent {"connection_id":192797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:24:33] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:33] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:33] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:24:34] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:34] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:34] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:24:36] local.INFO: TCP Data received {"connection_id":190117,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:24:36] local.INFO: Processing buffer {"connection_id":190117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:24:36] local.INFO: IMEI packet received {"connection_id":190117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":190117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:24:38] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:38] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:24:38] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:24:39] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:39] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:39] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:24:39] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":192798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:24:39] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:24:39] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:24:43] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:43] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:24:43] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:24:43] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":192798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:24:44] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:24:44] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:25:09] local.INFO: TCP Data received {"connection_id":190118,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:25:09] local.INFO: Processing buffer {"connection_id":190118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:25:09] local.INFO: IMEI packet received {"connection_id":190118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":190118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:25:16] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:16] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:16] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:25:16] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":192798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:25:16] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:25:16] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:25:33] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:33] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:33] local.INFO: IMEI packet received {"connection_id":190119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":190119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:25:39] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:39] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:25:39] local.INFO: IMEI packet received {"connection_id":190119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":190119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:25:40] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:40] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:25:40] local.INFO: Packet analysis {"connection_id":190119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:25:40] local.INFO: Extracted packet for processing {"connection_id":190119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:25:40] 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-09-23 01: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-09-23 01:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":190119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:25:40] local.INFO: GPS data processed {"connection_id":190119,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:25:40] local.INFO: Acknowledgment sent {"connection_id":190119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:26:11] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:11] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:11] local.INFO: Packet analysis {"connection_id":190119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:26:11] local.INFO: Extracted packet for processing {"connection_id":190119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":190119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:26:11] local.INFO: GPS data processed {"connection_id":190119,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:26:11] local.INFO: Acknowledgment sent {"connection_id":190119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:26:33] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:33] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:33] local.INFO: IMEI packet received {"connection_id":190120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":190120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:26:38] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:38] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:26:38] local.INFO: IMEI packet received {"connection_id":190120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":190120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:26:39] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:39] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:26:39] local.INFO: Packet analysis {"connection_id":190120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:26:39] local.INFO: Extracted packet for processing {"connection_id":190120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":190120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:26:39] local.INFO: GPS data processed {"connection_id":190120,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:26:39] local.INFO: Acknowledgment sent {"connection_id":190120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:27:11] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:11] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:11] local.INFO: Packet analysis {"connection_id":190120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:27:11] local.INFO: Extracted packet for processing {"connection_id":190120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":190120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:27:11] local.INFO: GPS data processed {"connection_id":190120,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:27:11] local.INFO: Acknowledgment sent {"connection_id":190120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:27:33] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:33] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:33] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:27:38] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:38] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:27:38] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:27:39] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:39] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:27:39] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:27:39] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:27:39] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:27:39] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:28:10] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:10] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:10] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:10] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 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-09-23 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:28: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-09-23 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-09-23 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-09-23 01:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:28:10] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:28:10] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:28:38] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:38] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:38] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:28:43] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:43] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:28:43] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:28:44] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:44] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:44] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:44] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:28:44] 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-09-23 01:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":192799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:28:44] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:28:44] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:28:48] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:48] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caae9c20012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:28:48] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:48] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caae"} 
[2026-09-23 01:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267272960001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790106836000,"timestamp_ms":1790106836000,"timestamp_seconds":1790106836,"priority":1,"record_length":96,"hex_timestamp":"000001a0caae9c20"} 
[2026-09-23 01:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:28:48] 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-09-23 01: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-09-23 01:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267272960001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267272960001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267272960001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":192799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:28:48] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:28:48] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:29:33] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:33] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:33] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:29:35] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:35] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:29:35] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:29:36] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:29:36] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:29:36] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:29:36] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:29:36] 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-09-23 01: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-09-23 01:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:29:36] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:29:36] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:30:06] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:06] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:06] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:30:06] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:30: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-09-23 01: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-09-23 01:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:30:07] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:30:07] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:30:30] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:30:30] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:30:30] local.INFO: IMEI packet received {"connection_id":189960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":189960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:30:33] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:33] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:33] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:30:38] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:38] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:30:38] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:30:39] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:39] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:30:39] local.INFO: Packet analysis {"connection_id":192800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:30:39] local.INFO: Extracted packet for processing {"connection_id":192800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:30:39] 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-09-23 01: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-09-23 01:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":192800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:30:39] local.INFO: GPS data processed {"connection_id":192800,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:30:39] local.INFO: Acknowledgment sent {"connection_id":192800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:31:11] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:11] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:11] local.INFO: Packet analysis {"connection_id":192800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:31:11] local.INFO: Extracted packet for processing {"connection_id":192800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":192800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:31:11] local.INFO: GPS data processed {"connection_id":192800,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:31:11] local.INFO: Acknowledgment sent {"connection_id":192800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:31:19] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:31:19] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:31:19] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:31:33] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:33] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:33] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:31:38] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:38] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:31:38] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:31:39] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:39] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:31:39] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:31:39] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:31:39] 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-09-23 01: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-09-23 01:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:31:39] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:31:39] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:32:10] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:10] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:10] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:10] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 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-09-23 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:32:10] 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-09-23 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-09-23 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-09-23 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:32:10] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:32:10] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:32:38] local.INFO: TCP Data received {"connection_id":189961,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:38] local.INFO: Processing buffer {"connection_id":189961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:38] local.INFO: IMEI packet received {"connection_id":189961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":189961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:32:43] local.INFO: TCP Data received {"connection_id":189961,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:43] local.INFO: Processing buffer {"connection_id":189961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:32:43] local.INFO: IMEI packet received {"connection_id":189961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":189961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:32:44] local.INFO: TCP Data received {"connection_id":189961,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:44] local.INFO: Processing buffer {"connection_id":189961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:44] local.INFO: Packet analysis {"connection_id":189961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:44] local.INFO: Extracted packet for processing {"connection_id":189961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:32:44] 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-09-23 01: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-09-23 01:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":189961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:32:44] local.INFO: GPS data processed {"connection_id":189961,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:32:44] local.INFO: Acknowledgment sent {"connection_id":189961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:32:49] local.INFO: TCP Data received {"connection_id":189961,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:49] local.INFO: Processing buffer {"connection_id":189961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:32:49] local.INFO: Packet analysis {"connection_id":189961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:49] local.INFO: Extracted packet for processing {"connection_id":189961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:32: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-09-23 01:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:32: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:32:49] 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-09-23 01:32: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-09-23 01:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":189961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:32:49] local.INFO: GPS data processed {"connection_id":189961,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:32:49] local.INFO: Acknowledgment sent {"connection_id":189961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:33:33] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:33] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:33] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:33:38] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:38] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:33:38] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:33:39] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:33:39] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:33:39] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:33:39] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:33:39] 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-09-23 01: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-09-23 01:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:33:39] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:33:39] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:34:11] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:11] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab333e8012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:11] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:34:11] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab3"} 
[2026-09-23 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267350016001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790107137000,"timestamp_ms":1790107137000,"timestamp_seconds":1790107137,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab333e8"} 
[2026-09-23 01:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 01:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267350016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267350016001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267350016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:34:11] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:34:11] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:34:33] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:33] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:33] local.INFO: IMEI packet received {"connection_id":189962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":189962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:34:36] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:36] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:34:36] local.INFO: IMEI packet received {"connection_id":189962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":189962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:34:37] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:37] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:34:37] local.INFO: Packet analysis {"connection_id":189962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:34:37] local.INFO: Extracted packet for processing {"connection_id":189962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":189962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":189962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:34:37] local.INFO: GPS data processed {"connection_id":189962,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:34:37] local.INFO: Acknowledgment sent {"connection_id":189962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:35:09] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:09] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:09] local.INFO: Packet analysis {"connection_id":189962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:35:09] local.INFO: Extracted packet for processing {"connection_id":189962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":189962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:35:09] local.INFO: GPS data processed {"connection_id":189962,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:35:09] local.INFO: Acknowledgment sent {"connection_id":189962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:35:33] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:33] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:33] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:35:38] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:38] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:35:38] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:35:39] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:39] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:35:39] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:35:39] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:35:39] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:35:39] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:36:10] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:10] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:10] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:36:10] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:36:10] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:36:10] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:36:16] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:36:16] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:36:16] local.INFO: IMEI packet received {"connection_id":192805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":192805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:36:33] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:33] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:33] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:36:38] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:38] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:36:38] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:36:39] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:39] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:36:39] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:36:39] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:36:39] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:36:39] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:37:11] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:11] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:11] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:11] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:37:11] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:37:11] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:37:38] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:38] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:38] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:37:43] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:43] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:37:43] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:37:45] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:45] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:45] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:45] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:37:45] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:37:45] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:37:48] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:48] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:37:48] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:48] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:37:48] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:37:48] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:38:33] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:33] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:33] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:38:38] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:38] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:38:38] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:38:39] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:38:39] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:38:39] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:38:39] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:38:39] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:38:39] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:39:10] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:10] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cab7cbb0012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:10] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:39:10] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cab7"} 
[2026-09-23 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267427072001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790107438000,"timestamp_ms":1790107438000,"timestamp_seconds":1790107438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cab7cbb0"} 
[2026-09-23 01:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 01:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267427072001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267427072001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267427072001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:39:10] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:39:10] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:39:34] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:34] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:34] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:39:37] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:37] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:39:37] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:39:39] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:39] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:39:39] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:39:39] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:39:39] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:39:39] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:40:11] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:11] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:11] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:40:11] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:40:11] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:40:11] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:40:33] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:33] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:33] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:40:38] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:38] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:40:38] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:40:39] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:39] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:40:39] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:40:39] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:40:39] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:40:39] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:41:11] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:11] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:11] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:11] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:41:11] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:41:11] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:41:38] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:38] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:38] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:41:43] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:43] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:41:43] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:41:44] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:44] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:44] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:44] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:41:44] 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-09-23 01:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":192807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:41:44] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:41:44] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:41:48] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:48] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:41:48] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:48] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:41:48] 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-09-23 01: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-09-23 01:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":192807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:41:48] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:41:48] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:41:51] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:41:51] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:41:51] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:42:11] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:42:11] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:42:11] local.INFO: IMEI packet received {"connection_id":191472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":191472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:42:33] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:33] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:33] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:42:38] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:38] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:42:38] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:42:39] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:42:39] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:42:39] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:42:39] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:42:39] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:42:39] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:43:10] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:10] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:10] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:43:10] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:43: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-09-23 01: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-09-23 01:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:43:10] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:43:10] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:43:33] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:33] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:33] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:43:38] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:38] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:43:38] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:43:39] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:39] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:43:39] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:43:39] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":192809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:43:39] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:43:39] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:44:10] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:44:10] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cabc6378012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:44:10] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:44:10] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cabc"} 
[2026-09-23 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267504128001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790107739000,"timestamp_ms":1790107739000,"timestamp_seconds":1790107739,"priority":1,"record_length":96,"hex_timestamp":"000001a0cabc6378"} 
[2026-09-23 01:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:44: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-09-23 01: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-09-23 01:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267504128001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267504128001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267504128001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":192809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:44:10] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:44:10] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:44:33] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:33] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:33] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:44:38] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:38] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:44:38] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:44:39] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:44:39] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:44:39] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:44:39] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:44:39] 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-09-23 01: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-09-23 01:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":192810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:44:39] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:44:39] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:45:10] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:10] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:10] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:45:10] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":192810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:45:10] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:45:10] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:45:33] local.INFO: TCP Data received {"connection_id":189965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:33] local.INFO: Processing buffer {"connection_id":189965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:33] local.INFO: IMEI packet received {"connection_id":189965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":189965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:45:38] local.INFO: TCP Data received {"connection_id":189965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:38] local.INFO: Processing buffer {"connection_id":189965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:45:38] local.INFO: IMEI packet received {"connection_id":189965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":189965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:45:39] local.INFO: TCP Data received {"connection_id":189965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:39] local.INFO: Processing buffer {"connection_id":189965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:45:39] local.INFO: Packet analysis {"connection_id":189965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:45:39] local.INFO: Extracted packet for processing {"connection_id":189965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 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-09-23 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:45:39] 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-09-23 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-09-23 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-09-23 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":189965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:45:39] local.INFO: GPS data processed {"connection_id":189965,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:45:39] local.INFO: Acknowledgment sent {"connection_id":189965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:46:10] local.INFO: TCP Data received {"connection_id":189965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:10] local.INFO: Processing buffer {"connection_id":189965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:10] local.INFO: Packet analysis {"connection_id":189965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:46:10] local.INFO: Extracted packet for processing {"connection_id":189965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":189965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:46:10] local.INFO: GPS data processed {"connection_id":189965,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:46:10] local.INFO: Acknowledgment sent {"connection_id":189965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:46:33] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:33] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:33] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:46:38] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:38] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:46:38] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:46:39] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:39] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:46:39] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:46:39] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:46:39] 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-09-23 01: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-09-23 01:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":192811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:46:39] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:46:39] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:47:10] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:10] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:10] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:47:10] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":192811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:47:10] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:47:10] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:47:33] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:33] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:33] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:47:38] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:38] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:47:38] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:47:39] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:39] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:47:39] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:47:39] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:47:39] 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-09-23 01: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-09-23 01:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:47:39] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:47:39] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:47:46] local.INFO: TCP Data received {"connection_id":189966,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:47:46] local.INFO: Processing buffer {"connection_id":189966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:47:46] local.INFO: IMEI packet received {"connection_id":189966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":189966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:48:10] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:10] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:10] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:48:10] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:48:10] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:48:10] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:48:11] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:48:11] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:48:11] local.INFO: IMEI packet received {"connection_id":190130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":190130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:48:33] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:33] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:33] local.INFO: IMEI packet received {"connection_id":190131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":190131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:48:38] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:38] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:48:38] local.INFO: IMEI packet received {"connection_id":190131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":190131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:48:39] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:39] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:48:39] local.INFO: Packet analysis {"connection_id":190131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:48:39] local.INFO: Extracted packet for processing {"connection_id":190131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:48:39] 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-09-23 01: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-09-23 01:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":190131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:48:39] local.INFO: GPS data processed {"connection_id":190131,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:48:39] local.INFO: Acknowledgment sent {"connection_id":190131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:49:11] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:11] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:11] local.INFO: Packet analysis {"connection_id":190131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:49:11] local.INFO: Extracted packet for processing {"connection_id":190131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":190131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:49:11] local.INFO: GPS data processed {"connection_id":190131,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:49:11] local.INFO: Acknowledgment sent {"connection_id":190131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:49:33] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:33] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:33] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:49:38] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:38] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:49:38] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:49:39] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:39] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac0fb40012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:49:39] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:49:39] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac0"} 
[2026-09-23 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267581184001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108040000,"timestamp_ms":1790108040000,"timestamp_seconds":1790108040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac0fb40"} 
[2026-09-23 01:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:49:39] 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-09-23 01: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-09-23 01:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267581184001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267581184001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267581184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:49:39] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:49:39] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:50:10] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:10] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:10] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:50:10] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:50:10] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:50:10] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:50:33] local.INFO: TCP Data received {"connection_id":189968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:33] local.INFO: Processing buffer {"connection_id":189968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:33] local.INFO: IMEI packet received {"connection_id":189968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":189968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:50:38] local.INFO: TCP Data received {"connection_id":189968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:38] local.INFO: Processing buffer {"connection_id":189968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:50:38] local.INFO: IMEI packet received {"connection_id":189968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":189968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:50:39] local.INFO: TCP Data received {"connection_id":189968,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:39] local.INFO: Processing buffer {"connection_id":189968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:50:39] local.INFO: Packet analysis {"connection_id":189968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:50:39] local.INFO: Extracted packet for processing {"connection_id":189968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":189968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:50:39] local.INFO: GPS data processed {"connection_id":189968,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:50:39] local.INFO: Acknowledgment sent {"connection_id":189968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:51:10] local.INFO: TCP Data received {"connection_id":189968,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:10] local.INFO: Processing buffer {"connection_id":189968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:10] local.INFO: Packet analysis {"connection_id":189968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:51:10] local.INFO: Extracted packet for processing {"connection_id":189968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 01:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 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-09-23 01:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:51: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-09-23 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-09-23 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-09-23 01:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":189968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:51:10] local.INFO: GPS data processed {"connection_id":189968,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:51:10] local.INFO: Acknowledgment sent {"connection_id":189968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:51:33] local.INFO: TCP Data received {"connection_id":190133,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:33] local.INFO: Processing buffer {"connection_id":190133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:33] local.INFO: IMEI packet received {"connection_id":190133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":190133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:51:38] local.INFO: TCP Data received {"connection_id":190133,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:38] local.INFO: Processing buffer {"connection_id":190133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:51:38] local.INFO: IMEI packet received {"connection_id":190133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":190133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:51:39] local.INFO: TCP Data received {"connection_id":190133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:39] local.INFO: Processing buffer {"connection_id":190133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:51:39] local.INFO: Packet analysis {"connection_id":190133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:51:39] local.INFO: Extracted packet for processing {"connection_id":190133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":190133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:51:39] local.INFO: GPS data processed {"connection_id":190133,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:51:39] local.INFO: Acknowledgment sent {"connection_id":190133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:52:10] local.INFO: TCP Data received {"connection_id":190133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:10] local.INFO: Processing buffer {"connection_id":190133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:10] local.INFO: Packet analysis {"connection_id":190133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:52:10] local.INFO: Extracted packet for processing {"connection_id":190133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":190133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:52:10] local.INFO: GPS data processed {"connection_id":190133,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:52:10] local.INFO: Acknowledgment sent {"connection_id":190133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:52:33] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:33] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:33] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:52:38] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:38] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:52:38] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:52:39] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:39] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:52:39] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:52:39] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:52:39] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:52:39] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:53:10] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:10] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:10] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:53:10] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:53: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-09-23 01: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-09-23 01:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:53:10] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:53:10] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:53:33] local.INFO: TCP Data received {"connection_id":189971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:33] local.INFO: Processing buffer {"connection_id":189971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:33] local.INFO: IMEI packet received {"connection_id":189971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":189971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:53:38] local.INFO: TCP Data received {"connection_id":189971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:38] local.INFO: Processing buffer {"connection_id":189971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:53:38] local.INFO: IMEI packet received {"connection_id":189971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":189971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:53:39] local.INFO: TCP Data received {"connection_id":189971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:39] local.INFO: Processing buffer {"connection_id":189971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:53:39] local.INFO: Packet analysis {"connection_id":189971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:53:39] local.INFO: Extracted packet for processing {"connection_id":189971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":189971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:53:39] local.INFO: GPS data processed {"connection_id":189971,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:53:39] local.INFO: Acknowledgment sent {"connection_id":189971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:53:51] local.INFO: TCP Data received {"connection_id":189970,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:53:51] local.INFO: Processing buffer {"connection_id":189970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:53:51] local.INFO: IMEI packet received {"connection_id":189970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":189970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:54:11] local.INFO: TCP Data received {"connection_id":189971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:11] local.INFO: Processing buffer {"connection_id":189971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:11] local.INFO: Packet analysis {"connection_id":189971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:54:11] local.INFO: Extracted packet for processing {"connection_id":189971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":189971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:54:11] local.INFO: GPS data processed {"connection_id":189971,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:54:11] local.INFO: Acknowledgment sent {"connection_id":189971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:54:16] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:54:16] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:54:16] local.INFO: IMEI packet received {"connection_id":192814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":192814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:54:33] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:33] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:33] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:54:38] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:38] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:54:38] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:54:39] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:39] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cac59308012d34c18006aa4440000800d12f..."} 
[2026-09-23 01:54:39] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:54:39] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cac5"} 
[2026-09-23 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267658240001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108341000,"timestamp_ms":1790108341000,"timestamp_seconds":1790108341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cac59308"} 
[2026-09-23 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267658240001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267658240001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267658240001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:54:39] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:54:39] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:55:10] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:10] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:10] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:55:10] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:55:10] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:55:10] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:55:33] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:33] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:33] local.INFO: IMEI packet received {"connection_id":191479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:55:38] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:38] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:55:38] local.INFO: IMEI packet received {"connection_id":191479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":191479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:55:39] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:39] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:55:39] local.INFO: Packet analysis {"connection_id":191479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:55:39] local.INFO: Extracted packet for processing {"connection_id":191479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:55:39] 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-09-23 01: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-09-23 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":191479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:55:39] local.INFO: GPS data processed {"connection_id":191479,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:55:39] local.INFO: Acknowledgment sent {"connection_id":191479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:56:10] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:10] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:10] local.INFO: Packet analysis {"connection_id":191479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:56:10] local.INFO: Extracted packet for processing {"connection_id":191479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":191479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:56:10] local.INFO: GPS data processed {"connection_id":191479,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:56:10] local.INFO: Acknowledgment sent {"connection_id":191479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:56:33] local.INFO: TCP Data received {"connection_id":190134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:33] local.INFO: Processing buffer {"connection_id":190134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:33] local.INFO: IMEI packet received {"connection_id":190134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":190134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:56:38] local.INFO: TCP Data received {"connection_id":190134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:38] local.INFO: Processing buffer {"connection_id":190134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:56:38] local.INFO: IMEI packet received {"connection_id":190134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":190134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:56:39] local.INFO: TCP Data received {"connection_id":190134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:39] local.INFO: Processing buffer {"connection_id":190134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:56:39] local.INFO: Packet analysis {"connection_id":190134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:56:39] local.INFO: Extracted packet for processing {"connection_id":190134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:56:39] 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-09-23 01: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-09-23 01:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":190134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:56:39] local.INFO: GPS data processed {"connection_id":190134,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:56:39] local.INFO: Acknowledgment sent {"connection_id":190134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:57:11] local.INFO: TCP Data received {"connection_id":190134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:11] local.INFO: Processing buffer {"connection_id":190134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:11] local.INFO: Packet analysis {"connection_id":190134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:57:11] local.INFO: Extracted packet for processing {"connection_id":190134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":190134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:57:11] local.INFO: GPS data processed {"connection_id":190134,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:57:11] local.INFO: Acknowledgment sent {"connection_id":190134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:57:33] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:33] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:33] local.INFO: IMEI packet received {"connection_id":191481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":191481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:57:38] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:38] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:57:38] local.INFO: IMEI packet received {"connection_id":191481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":191481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:57:39] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:39] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:57:39] local.INFO: Packet analysis {"connection_id":191481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:57:39] local.INFO: Extracted packet for processing {"connection_id":191481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:57:39] 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-09-23 01: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-09-23 01:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":191481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:57:39] local.INFO: GPS data processed {"connection_id":191481,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:57:39] local.INFO: Acknowledgment sent {"connection_id":191481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:58:10] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:10] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:10] local.INFO: Packet analysis {"connection_id":191481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:58:10] local.INFO: Extracted packet for processing {"connection_id":191481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":191481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:58:10] local.INFO: GPS data processed {"connection_id":191481,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:58:10] local.INFO: Acknowledgment sent {"connection_id":191481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:58:33] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:33] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:33] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:58:38] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:38] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:58:38] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:58:39] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:39] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:58:39] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:58:39] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:58:39] 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-09-23 01: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-09-23 01:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":192815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:58:39] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:58:39] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:59:10] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:59:10] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caca2ad0012d34c18006aa4440000800d12d..."} 
[2026-09-23 01:59:10] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:59:10] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caca"} 
[2026-09-23 01:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01: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-09-23 01:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267735296001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790108642000,"timestamp_ms":1790108642000,"timestamp_seconds":1790108642,"priority":1,"record_length":96,"hex_timestamp":"000001a0caca2ad0"} 
[2026-09-23 01:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 01:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01: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-09-23 01:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267735296001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267735296001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267735296001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":192815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:59:10] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:59:10] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:59:38] local.INFO: TCP Data received {"connection_id":189974,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:38] local.INFO: Processing buffer {"connection_id":189974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:38] local.INFO: IMEI packet received {"connection_id":189974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 01:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":189974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 01:59:41] local.INFO: TCP Data received {"connection_id":189974,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:41] local.INFO: Processing buffer {"connection_id":189974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 01:59:41] local.INFO: IMEI packet received {"connection_id":189974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 01:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":189974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 01:59:42] local.INFO: TCP Data received {"connection_id":189974,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:42] local.INFO: Processing buffer {"connection_id":189974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:42] local.INFO: Packet analysis {"connection_id":189974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 01:59:42] local.INFO: Extracted packet for processing {"connection_id":189974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 01:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 01:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 01:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":189974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:59:42] local.INFO: GPS data processed {"connection_id":189974,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:59:42] local.INFO: Acknowledgment sent {"connection_id":189974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:59:43] local.INFO: TCP Data received {"connection_id":189974,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:43] local.INFO: Processing buffer {"connection_id":189974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 01:59:43] local.INFO: Packet analysis {"connection_id":189974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 01:59:43] local.INFO: Extracted packet for processing {"connection_id":189974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 01:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 01:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 01:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 01:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 01:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 01:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 01:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 01:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 01:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 01:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 01:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 01:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 01:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 01:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 01:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 01:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 01:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 01:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 01:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 01:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 01:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 01:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 01:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":189974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 01:59:43] local.INFO: GPS data processed {"connection_id":189974,"processed":1,"errors":0,"total":1} 
[2026-09-23 01:59:43] local.INFO: Acknowledgment sent {"connection_id":189974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 01:59:43] local.INFO: TCP Data received {"connection_id":189973,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:59:43] local.INFO: Processing buffer {"connection_id":189973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 01:59:43] local.INFO: IMEI packet received {"connection_id":189973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 01:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":189973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:00:11] local.INFO: TCP Data received {"connection_id":189975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:11] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:11] local.INFO: IMEI packet received {"connection_id":189975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":189975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:00:12] local.INFO: TCP Data received {"connection_id":189975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:12] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:12] local.INFO: IMEI packet received {"connection_id":189975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":189975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:00:14] local.INFO: TCP Data received {"connection_id":189974,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:14] local.INFO: Processing buffer {"connection_id":189974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:14] local.INFO: Packet analysis {"connection_id":189974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:00:14] local.INFO: Extracted packet for processing {"connection_id":189974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:00: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-09-23 02:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":189974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:00:14] local.INFO: GPS data processed {"connection_id":189974,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:00:14] local.INFO: Acknowledgment sent {"connection_id":189974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:00:16] local.INFO: TCP Data received {"connection_id":189975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:16] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:00:16] local.INFO: IMEI packet received {"connection_id":189975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":189975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:00:33] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:33] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:33] local.INFO: IMEI packet received {"connection_id":190136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":190136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:00:38] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:38] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:00:38] local.INFO: IMEI packet received {"connection_id":190136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":190136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:00:39] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:39] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:00:39] local.INFO: Packet analysis {"connection_id":190136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:00:39] local.INFO: Extracted packet for processing {"connection_id":190136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:00: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-09-23 02: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-09-23 02:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":190136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:00:39] local.INFO: GPS data processed {"connection_id":190136,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:00:39] local.INFO: Acknowledgment sent {"connection_id":190136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:01:11] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:11] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:11] local.INFO: Packet analysis {"connection_id":190136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:01:11] local.INFO: Extracted packet for processing {"connection_id":190136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:01:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":190136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:01:11] local.INFO: GPS data processed {"connection_id":190136,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:01:11] local.INFO: Acknowledgment sent {"connection_id":190136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:01:33] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:33] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:33] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:01:38] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:38] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:01:38] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:01:39] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:39] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:01:39] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:01:39] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:01: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-09-23 02:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:01:39] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:01:39] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:02:11] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:11] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:11] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:11] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:02: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-09-23 02:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:02:11] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:02:11] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:02:38] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:38] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:38] local.INFO: IMEI packet received {"connection_id":192816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":192816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:02:43] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:43] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:02:43] local.INFO: IMEI packet received {"connection_id":192816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":192816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:02:44] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:44] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:44] local.INFO: Packet analysis {"connection_id":192816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:44] local.INFO: Extracted packet for processing {"connection_id":192816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":192816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:02:44] local.INFO: GPS data processed {"connection_id":192816,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:02:44] local.INFO: Acknowledgment sent {"connection_id":192816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:02:49] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:49] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:02:49] local.INFO: Packet analysis {"connection_id":192816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:49] local.INFO: Extracted packet for processing {"connection_id":192816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:02: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-09-23 02:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:02: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:02: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-09-23 02:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":192816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:02:49] local.INFO: GPS data processed {"connection_id":192816,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:02:49] local.INFO: Acknowledgment sent {"connection_id":192816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:03:28] local.INFO: TCP Data received {"connection_id":189976,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189976,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:28] local.INFO: Processing buffer {"connection_id":189976,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:28] local.INFO: Packet analysis {"connection_id":189976,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:28] local.INFO: Extracted packet for processing {"connection_id":189976,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 02:03:28] 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-09-23 02:03:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:28] 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-09-23 02:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-23 02:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-23 02:03:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189976,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 02:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189976,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189976,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:28] 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-09-23 02:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":189976,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 02:03:28] local.INFO: GPS data processed {"connection_id":189976,"processed":0,"errors":0,"total":1} 
[2026-09-23 02:03:28] local.INFO: Acknowledgment sent {"connection_id":189976,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:03:29] local.INFO: TCP Data received {"connection_id":190138,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:29] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:29] local.INFO: Packet analysis {"connection_id":190138,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:29] local.INFO: Extracted packet for processing {"connection_id":190138,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 02:03:29] 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-09-23 02:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:29] 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-09-23 02:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-23 02:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-23 02:03:29] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":190138,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 02:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":190138,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":190138,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:29] 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-09-23 02:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":190138,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 02:03:29] local.INFO: GPS data processed {"connection_id":190138,"processed":0,"errors":0,"total":1} 
[2026-09-23 02:03:29] local.INFO: Acknowledgment sent {"connection_id":190138,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:03:31] local.INFO: TCP Data received {"connection_id":191487,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:31] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-23 02:03:31] local.INFO: Packet analysis {"connection_id":191487,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:31] local.INFO: Extracted packet for processing {"connection_id":191487,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-23 02:03:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 02:03:31] 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-09-23 02:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:31] 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-09-23 02:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-23 02:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-23 02:03:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191487,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 02:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191487,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191487,"device_imei":null,"avl_records_count":1} 
[2026-09-23 02:03:31] 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-09-23 02:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":191487,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 02:03:31] local.INFO: GPS data processed {"connection_id":191487,"processed":0,"errors":0,"total":1} 
[2026-09-23 02:03:31] local.INFO: Acknowledgment sent {"connection_id":191487,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:03:33] local.INFO: TCP Data received {"connection_id":191486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:33] local.INFO: Processing buffer {"connection_id":191486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:33] local.INFO: IMEI packet received {"connection_id":191486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:03:38] local.INFO: TCP Data received {"connection_id":191486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:38] local.INFO: Processing buffer {"connection_id":191486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:03:38] local.INFO: IMEI packet received {"connection_id":191486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":191486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:03:39] local.INFO: TCP Data received {"connection_id":191486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:03:39] local.INFO: Processing buffer {"connection_id":191486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:03:39] local.INFO: Packet analysis {"connection_id":191486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:03:39] local.INFO: Extracted packet for processing {"connection_id":191486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:03: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-09-23 02:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:03:40] local.INFO: GPS data processed {"connection_id":191486,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:03:40] local.INFO: Acknowledgment sent {"connection_id":191486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:04:11] local.INFO: TCP Data received {"connection_id":191486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:11] local.INFO: Processing buffer {"connection_id":191486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:11] local.INFO: Packet analysis {"connection_id":191486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:04:11] local.INFO: Extracted packet for processing {"connection_id":191486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:04: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-09-23 02:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":191486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:04:11] local.INFO: GPS data processed {"connection_id":191486,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:04:11] local.INFO: Acknowledgment sent {"connection_id":191486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:04:33] local.INFO: TCP Data received {"connection_id":189977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:33] local.INFO: Processing buffer {"connection_id":189977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:33] local.INFO: IMEI packet received {"connection_id":189977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":189977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:04:38] local.INFO: TCP Data received {"connection_id":189977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:38] local.INFO: Processing buffer {"connection_id":189977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:04:38] local.INFO: IMEI packet received {"connection_id":189977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":189977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:04:39] local.INFO: TCP Data received {"connection_id":189977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:39] local.INFO: Processing buffer {"connection_id":189977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cacec298012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:04:39] local.INFO: Packet analysis {"connection_id":189977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:04:39] local.INFO: Extracted packet for processing {"connection_id":189977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cace"} 
[2026-09-23 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267812352001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790108943000,"timestamp_ms":1790108943000,"timestamp_seconds":1790108943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cacec298"} 
[2026-09-23 02:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:04: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-09-23 02: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-09-23 02:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267812352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267812352001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267812352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":189977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:04:39] local.INFO: GPS data processed {"connection_id":189977,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:04:39] local.INFO: Acknowledgment sent {"connection_id":189977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:05:10] local.INFO: TCP Data received {"connection_id":189977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:10] local.INFO: Processing buffer {"connection_id":189977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:10] local.INFO: Packet analysis {"connection_id":189977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:05:10] local.INFO: Extracted packet for processing {"connection_id":189977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":189977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:05:10] local.INFO: GPS data processed {"connection_id":189977,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:05:10] local.INFO: Acknowledgment sent {"connection_id":189977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:05:21] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:05:21] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:05:21] local.INFO: IMEI packet received {"connection_id":190139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":190139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:05:33] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:33] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:33] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:05:38] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:38] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:05:38] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:05:39] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:39] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:05:39] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:05:39] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:05: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-09-23 02: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-09-23 02:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:05:39] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:05:39] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:06:11] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:11] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:11] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:06:11] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:06: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-09-23 02:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:06:11] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:06:11] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:06:33] local.INFO: TCP Data received {"connection_id":189978,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:33] local.INFO: Processing buffer {"connection_id":189978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:33] local.INFO: IMEI packet received {"connection_id":189978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":189978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:06:38] local.INFO: TCP Data received {"connection_id":189978,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:38] local.INFO: Processing buffer {"connection_id":189978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:06:38] local.INFO: IMEI packet received {"connection_id":189978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":189978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:06:39] local.INFO: TCP Data received {"connection_id":189978,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:39] local.INFO: Processing buffer {"connection_id":189978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:06:39] local.INFO: Packet analysis {"connection_id":189978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:06:39] local.INFO: Extracted packet for processing {"connection_id":189978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:06: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-09-23 02: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-09-23 02:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":189978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:06:39] local.INFO: GPS data processed {"connection_id":189978,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:06:39] local.INFO: Acknowledgment sent {"connection_id":189978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:07:10] local.INFO: TCP Data received {"connection_id":189978,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:10] local.INFO: Processing buffer {"connection_id":189978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:10] local.INFO: Packet analysis {"connection_id":189978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:07:10] local.INFO: Extracted packet for processing {"connection_id":189978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":189978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:07:10] local.INFO: GPS data processed {"connection_id":189978,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:07:10] local.INFO: Acknowledgment sent {"connection_id":189978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:07:33] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:33] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:33] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:07:39] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:39] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:07:39] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:07:40] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:40] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:07:40] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:07:40] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:07:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":192819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:07:40] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:07:40] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:08:11] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:11] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:11] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:08:11] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:08: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-09-23 02:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":192819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:08:11] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:08:11] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:08:33] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:33] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:33] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:08:38] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:38] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:08:38] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:08:39] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:39] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:08:39] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:08:39] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:08: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-09-23 02: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-09-23 02:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:08:39] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:08:39] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:09:10] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:09:10] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad35a60012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:09:10] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:09:10] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad3"} 
[2026-09-23 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267889408001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109244000,"timestamp_ms":1790109244000,"timestamp_seconds":1790109244,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad35a60"} 
[2026-09-23 02:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267889408001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267889408001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267889408001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:09:10] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:09:10] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:09:38] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:38] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:38] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:09:43] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:43] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:09:43] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:09:44] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:44] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:44] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:09:44] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:09:44] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:09:44] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:09:45] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:45] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:09:45] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:09:45] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:09:45] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:09:45] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:10:18] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:18] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:18] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:10:18] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:10:18] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:10:18] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:10:33] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:33] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:33] local.INFO: IMEI packet received {"connection_id":190141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":190141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:10:38] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:38] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:10:38] local.INFO: IMEI packet received {"connection_id":190141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":190141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:10:39] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:39] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:10:39] local.INFO: Packet analysis {"connection_id":190141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:10:39] local.INFO: Extracted packet for processing {"connection_id":190141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":190141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:10:39] local.INFO: GPS data processed {"connection_id":190141,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:10:39] local.INFO: Acknowledgment sent {"connection_id":190141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:11:10] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:10] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:10] local.INFO: Packet analysis {"connection_id":190141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:11:10] local.INFO: Extracted packet for processing {"connection_id":190141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":190141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:11:10] local.INFO: GPS data processed {"connection_id":190141,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:11:10] local.INFO: Acknowledgment sent {"connection_id":190141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:11:11] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:11:11] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:11:11] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:11:33] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:33] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:33] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:11:38] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:38] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:11:38] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:11:39] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:39] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:11:39] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:11:39] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:11:39] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:11:39] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:12:10] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:10] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:10] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:12:10] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":192820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:12:10] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:12:10] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:12:33] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:33] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:33] local.INFO: IMEI packet received {"connection_id":190142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":190142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:12:38] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:38] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:12:38] local.INFO: IMEI packet received {"connection_id":190142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":190142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:12:39] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:39] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:12:39] local.INFO: Packet analysis {"connection_id":190142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:12:39] local.INFO: Extracted packet for processing {"connection_id":190142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":190142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:12:39] local.INFO: GPS data processed {"connection_id":190142,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:12:39] local.INFO: Acknowledgment sent {"connection_id":190142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:13:10] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:10] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:10] local.INFO: Packet analysis {"connection_id":190142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:10] local.INFO: Extracted packet for processing {"connection_id":190142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":190142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:13:10] local.INFO: GPS data processed {"connection_id":190142,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:13:10] local.INFO: Acknowledgment sent {"connection_id":190142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:13:38] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:38] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:38] local.INFO: IMEI packet received {"connection_id":189981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":189981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:13:43] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:43] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:13:43] local.INFO: IMEI packet received {"connection_id":189981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":189981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:13:44] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:44] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:44] local.INFO: Packet analysis {"connection_id":189981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:44] local.INFO: Extracted packet for processing {"connection_id":189981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 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-09-23 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 02:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":189981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:13:44] local.INFO: GPS data processed {"connection_id":189981,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:13:44] local.INFO: Acknowledgment sent {"connection_id":189981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:13:48] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:48] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:13:48] local.INFO: Packet analysis {"connection_id":189981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:48] local.INFO: Extracted packet for processing {"connection_id":189981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":189981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:13:48] local.INFO: GPS data processed {"connection_id":189981,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:13:48] local.INFO: Acknowledgment sent {"connection_id":189981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:14:33] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:33] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:33] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:14:38] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:38] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:14:38] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:14:39] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:14:39] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cad7f228012d34c18006aa4440000800d12d..."} 
[2026-09-23 02:14:39] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:14:39] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cad7"} 
[2026-09-23 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458267966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109545000,"timestamp_ms":1790109545000,"timestamp_seconds":1790109545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cad7f228"} 
[2026-09-23 02:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 02:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458267966464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458267966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458267966464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:14:39] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:14:39] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:15:10] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:10] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:10] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:15:10] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:15:10] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:15:10] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:15:33] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:33] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:33] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:15:38] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:38] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:15:38] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:15:39] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:39] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:15:39] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:15:39] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:15: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-09-23 02: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-09-23 02:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":192821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:15:39] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:15:39] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:16:11] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:11] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:11] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:16:11] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:16: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-09-23 02:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":192821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:16:11] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:16:11] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:16:33] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:33] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:33] local.INFO: IMEI packet received {"connection_id":189984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":189984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:16:38] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:38] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:16:38] local.INFO: IMEI packet received {"connection_id":189984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":189984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:16:39] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:39] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:16:39] local.INFO: Packet analysis {"connection_id":189984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:16:39] local.INFO: Extracted packet for processing {"connection_id":189984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:16: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-09-23 02: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-09-23 02:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":189984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:16:39] local.INFO: GPS data processed {"connection_id":189984,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:16:39] local.INFO: Acknowledgment sent {"connection_id":189984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:16:46] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:16:46] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:16:46] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:17:10] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:10] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:10] local.INFO: Packet analysis {"connection_id":189984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:17:10] local.INFO: Extracted packet for processing {"connection_id":189984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 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-09-23 02:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 02:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":189984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:17:10] local.INFO: GPS data processed {"connection_id":189984,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:17:10] local.INFO: Acknowledgment sent {"connection_id":189984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:17:11] local.INFO: TCP Data received {"connection_id":192822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:17:11] local.INFO: Processing buffer {"connection_id":192822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:17:11] local.INFO: IMEI packet received {"connection_id":192822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":192822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:17:32] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:32] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:32] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:17:38] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:38] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:17:38] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:17:39] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:39] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:17:39] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:17:39] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:17: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-09-23 02: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-09-23 02:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:17:39] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:17:39] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:18:11] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:11] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:11] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:11] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 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-09-23 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:18: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-09-23 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-09-23 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-09-23 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:18:11] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:18:11] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:18:38] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:38] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:38] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:18:43] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:43] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:18:43] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:18:44] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:44] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:44] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:44] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":192824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:18:44] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:18:44] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:18:48] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:48] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:18:48] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:48] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":192824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:18:48] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:18:48] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:19:33] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:33] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:33] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:19:38] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:38] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:19:38] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:19:39] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:19:39] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cadc89f0012d34c18006aa4440000800d12b..."} 
[2026-09-23 02:19:39] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:19:39] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cadc"} 
[2026-09-23 02:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268043520001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790109846000,"timestamp_ms":1790109846000,"timestamp_seconds":1790109846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cadc89f0"} 
[2026-09-23 02:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:19: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-09-23 02: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-09-23 02:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268043520001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268043520001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268043520001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":192826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:19:39] local.INFO: GPS data processed {"connection_id":192826,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:19:39] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:20:10] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:10] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:10] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:20:10] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:20:10] 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-09-23 02: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-09-23 02:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":192826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:20:10] local.INFO: GPS data processed {"connection_id":192826,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:20:10] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:20:32] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:32] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:32] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:20:38] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:38] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:20:38] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:20:39] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:39] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:20:39] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:20:39] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:20:39] 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-09-23 02: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-09-23 02:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:20:39] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:20:39] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:21:10] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:10] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:10] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:21:10] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:21:10] 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-09-23 02: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-09-23 02:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:21:10] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:21:10] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:21:33] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:33] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:33] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:21:38] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:38] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:21:38] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:21:39] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:39] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:21:39] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:21:39] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:21:39] 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-09-23 02: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-09-23 02:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:21:39] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:21:39] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:22:11] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:11] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:11] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:11] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 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-09-23 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:22:11] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:22:11] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:22:38] local.INFO: TCP Data received {"connection_id":189986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:38] local.INFO: Processing buffer {"connection_id":189986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:38] local.INFO: IMEI packet received {"connection_id":189986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":189986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:22:43] local.INFO: TCP Data received {"connection_id":189986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:43] local.INFO: Processing buffer {"connection_id":189986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:22:43] local.INFO: IMEI packet received {"connection_id":189986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":189986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:22:44] local.INFO: TCP Data received {"connection_id":189986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:44] local.INFO: Processing buffer {"connection_id":189986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:44] local.INFO: Packet analysis {"connection_id":189986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:44] local.INFO: Extracted packet for processing {"connection_id":189986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:22:44] 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-09-23 02: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-09-23 02:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":189986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:22:44] local.INFO: GPS data processed {"connection_id":189986,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:22:44] local.INFO: Acknowledgment sent {"connection_id":189986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:22:48] local.INFO: TCP Data received {"connection_id":190144,"ip":"47.84.102.59","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-23 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-23 02:22:48] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-23 02:22:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":190144,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-09-23 02:22:48] local.INFO: TCP Data received {"connection_id":189986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:48] local.INFO: Processing buffer {"connection_id":189986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:22:48] local.INFO: Packet analysis {"connection_id":189986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:48] local.INFO: Extracted packet for processing {"connection_id":189986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:22:48] 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-09-23 02:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":189986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:22:48] local.INFO: GPS data processed {"connection_id":189986,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:22:48] local.INFO: Acknowledgment sent {"connection_id":189986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:23:01] local.INFO: TCP Data received {"connection_id":192827,"ip":"47.84.102.59","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-23 02:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192827,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-23 02:23:01] local.INFO: Processing buffer {"connection_id":192827,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-23 02:23:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192827,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-23 02:23:14] local.INFO: TCP Data received {"connection_id":189987,"ip":"47.84.102.59","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-23 02:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189987,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-23 02:23:14] local.INFO: Processing buffer {"connection_id":189987,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-23 02:23:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":189987,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-09-23 02:23:22] local.INFO: TCP Data received {"connection_id":189988,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:23:22] local.INFO: Processing buffer {"connection_id":189988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:23:22] local.INFO: IMEI packet received {"connection_id":189988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":189988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:23:33] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:33] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:33] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:23:38] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:38] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:23:38] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:23:39] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:39] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:39] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:23:39] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:23:39] 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-09-23 02: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-09-23 02:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:23:39] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:23:39] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:23:44] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:44] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:23:44] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:23:44] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:23:44] 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-09-23 02: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-09-23 02:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:23:44] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:23:44] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:24:17] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:17] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:17] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:24:17] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:24:17] 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-09-23 02:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:24:17] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:24:17] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:24:33] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:33] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:33] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:24:38] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:38] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:24:38] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:24:39] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:39] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae121b8012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:24:39] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:24:39] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae1"} 
[2026-09-23 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268120576001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110147000,"timestamp_ms":1790110147000,"timestamp_seconds":1790110147,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae121b8"} 
[2026-09-23 02:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:24:39] 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-09-23 02: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-09-23 02:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268120576001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268120576001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":192830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:24:39] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:24:39] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:25:10] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:10] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:10] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:25:10] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":192830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:25:10] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:25:10] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:25:33] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:33] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:33] local.INFO: IMEI packet received {"connection_id":190145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":190145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:25:38] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:38] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:25:38] local.INFO: IMEI packet received {"connection_id":190145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":190145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:25:39] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:39] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:25:39] local.INFO: Packet analysis {"connection_id":190145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:25:39] local.INFO: Extracted packet for processing {"connection_id":190145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 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-09-23 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 02:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:25:39] local.INFO: GPS data processed {"connection_id":190145,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:25:39] local.INFO: Acknowledgment sent {"connection_id":190145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:26:11] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:11] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:11] local.INFO: Packet analysis {"connection_id":190145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:26:11] local.INFO: Extracted packet for processing {"connection_id":190145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":190145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:26:11] local.INFO: GPS data processed {"connection_id":190145,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:26:11] local.INFO: Acknowledgment sent {"connection_id":190145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:26:32] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:32] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:32] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:26:38] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:38] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:26:38] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:26:39] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:39] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:26:39] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:26:39] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:26:39] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:26:39] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:27:10] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:10] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:10] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:10] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:27: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-09-23 02: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-09-23 02:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:27:10] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:27:10] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:27:38] local.INFO: TCP Data received {"connection_id":189989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:38] local.INFO: Processing buffer {"connection_id":189989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:38] local.INFO: IMEI packet received {"connection_id":189989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":189989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:27:43] local.INFO: TCP Data received {"connection_id":189989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:43] local.INFO: Processing buffer {"connection_id":189989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:27:43] local.INFO: IMEI packet received {"connection_id":189989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":189989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:27:44] local.INFO: TCP Data received {"connection_id":189989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:44] local.INFO: Processing buffer {"connection_id":189989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:44] local.INFO: Packet analysis {"connection_id":189989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:44] local.INFO: Extracted packet for processing {"connection_id":189989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:27:44] 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-09-23 02: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-09-23 02:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":189989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:27:44] local.INFO: GPS data processed {"connection_id":189989,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:27:44] local.INFO: Acknowledgment sent {"connection_id":189989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:27:49] local.INFO: TCP Data received {"connection_id":189989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:49] local.INFO: Processing buffer {"connection_id":189989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:27:49] local.INFO: Packet analysis {"connection_id":189989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:49] local.INFO: Extracted packet for processing {"connection_id":189989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":189989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:27:49] local.INFO: GPS data processed {"connection_id":189989,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:27:49] local.INFO: Acknowledgment sent {"connection_id":189989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:28:33] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:33] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:33] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:28:38] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:38] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:28:38] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:28:39] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:28:39] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:28:39] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:28:39] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":192832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:28:39] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:28:39] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:29:10] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:10] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:10] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:29:10] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:29: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-09-23 02: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-09-23 02:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":192832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:29:10] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:29:10] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:29:33] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:33] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:33] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:29:38] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:38] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:29:38] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:29:39] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:39] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cae5b980012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:29:39] local.INFO: Packet analysis {"connection_id":192833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:29:39] local.INFO: Extracted packet for processing {"connection_id":192833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cae5"} 
[2026-09-23 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268197632001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110448000,"timestamp_ms":1790110448000,"timestamp_seconds":1790110448,"priority":1,"record_length":96,"hex_timestamp":"000001a0cae5b980"} 
[2026-09-23 02:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268197632001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268197632001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268197632001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":192833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:29:39] local.INFO: GPS data processed {"connection_id":192833,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:29:39] local.INFO: Acknowledgment sent {"connection_id":192833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:30:10] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:10] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:10] local.INFO: Packet analysis {"connection_id":192833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:30:10] local.INFO: Extracted packet for processing {"connection_id":192833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:30: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-09-23 02: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-09-23 02:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":192833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:30:10] local.INFO: GPS data processed {"connection_id":192833,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:30:10] local.INFO: Acknowledgment sent {"connection_id":192833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:30:32] local.INFO: TCP Data received {"connection_id":189990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:32] local.INFO: Processing buffer {"connection_id":189990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:32] local.INFO: IMEI packet received {"connection_id":189990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":189990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:30:38] local.INFO: TCP Data received {"connection_id":189990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:38] local.INFO: Processing buffer {"connection_id":189990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:30:38] local.INFO: IMEI packet received {"connection_id":189990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":189990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:30:39] local.INFO: TCP Data received {"connection_id":189990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:39] local.INFO: Processing buffer {"connection_id":189990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:30:39] local.INFO: Packet analysis {"connection_id":189990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:30:39] local.INFO: Extracted packet for processing {"connection_id":189990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":189990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:30:39] local.INFO: GPS data processed {"connection_id":189990,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:30:39] local.INFO: Acknowledgment sent {"connection_id":189990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:31:11] local.INFO: TCP Data received {"connection_id":189990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:11] local.INFO: Processing buffer {"connection_id":189990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:11] local.INFO: Packet analysis {"connection_id":189990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:31:11] local.INFO: Extracted packet for processing {"connection_id":189990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":189990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:31:11] local.INFO: GPS data processed {"connection_id":189990,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:31:11] local.INFO: Acknowledgment sent {"connection_id":189990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:31:38] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:38] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:38] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:31:43] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:43] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:31:43] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:31:44] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:44] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:31:44] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:31:44] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:31:44] 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-09-23 02: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-09-23 02:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:31:44] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:31:44] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:32:16] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:16] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:16] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:32:16] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:32:16] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:32:16] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:32:34] local.INFO: TCP Data received {"connection_id":192834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:34] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:34] local.INFO: IMEI packet received {"connection_id":192834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":192834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:32:38] local.INFO: TCP Data received {"connection_id":192834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:38] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:32:38] local.INFO: IMEI packet received {"connection_id":192834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":192834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:32:39] local.INFO: TCP Data received {"connection_id":192834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:39] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:32:39] local.INFO: Packet analysis {"connection_id":192834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:32:39] local.INFO: Extracted packet for processing {"connection_id":192834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":192834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:32:39] local.INFO: GPS data processed {"connection_id":192834,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:32:39] local.INFO: Acknowledgment sent {"connection_id":192834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:33:03] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:03] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:03] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:33:04] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:04] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:04] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:33:06] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:06] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:33:06] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:33:08] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caec6488012c059bc00af63410034f00a12d..."} 
[2026-09-23 02:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caec6488012c059bc00af63410034f00a12d..."} 
[2026-09-23 02:33:08] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caec6488012c059bc00af63410034f00a12d..."} 
[2026-09-23 02:33:08] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:33:08] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:33:08] local.INFO: GPS Element Parsed {"raw_longitude":738565056,"raw_latitude":183907344,"longitude_deg":73.8565056,"latitude_deg":18.3907344,"altitude":847,"angle":161,"satellites":45,"speed":52,"hex_longitude":"2c059bc0","hex_latitude":"0af63410","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268382720001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":391602108433383427,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790110885000,"timestamp_ms":1790110885000,"timestamp_seconds":1790110885,"priority":1,"record_length":96,"hex_timestamp":"000001a0caec6488"} 
[2026-09-23 02:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-23 02:33:08] 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-09-23 02: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-09-23 02:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268382720001,"66":27984,"14":206,"3":64256,"24":52,"16":3604740281729024,"44":391602108433383427},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,3,24,16,44]} 
[2026-09-23 02:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268382720001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:33:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-23 02:33:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":391602108433383427,"description":"Unknown IO ID 44"} 
[2026-09-23 02:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268382720001,"power":27984,"unknown_14":206,"unknown_3":64256,"ignition":52,"odometer":null,"unknown_44":391602108433383427}} 
[2026-09-23 02:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:33:08] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:33:08] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:33:10] local.INFO: TCP Data received {"connection_id":192834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:10] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:10] local.INFO: Packet analysis {"connection_id":192834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:33:10] local.INFO: Extracted packet for processing {"connection_id":192834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:33: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-09-23 02: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-09-23 02:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":192834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:33:10] local.INFO: GPS data processed {"connection_id":192834,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:33:10] local.INFO: Acknowledgment sent {"connection_id":192834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:33:13] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeca6f0012c05a2000af5dc20034900be30..."} 
[2026-09-23 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeca6f0012c05a2000af5dc20034900be30..."} 
[2026-09-23 02:33:13] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeca6f0012c05a2000af5dc20034900be30..."} 
[2026-09-23 02:33:13] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:33:13] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":738566656,"raw_latitude":183884832,"longitude_deg":73.8566656,"latitude_deg":18.3884832,"altitude":841,"angle":190,"satellites":48,"speed":57,"hex_longitude":"2c05a200","hex_latitude":"0af5dc20","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268386560001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":404127744892604419,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790110902000,"timestamp_ms":1790110902000,"timestamp_seconds":1790110902,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeca6f0"} 
[2026-09-23 02:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 02:33:13] 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-09-23 02: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-09-23 02:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268386560001,"66":27843,"14":206,"3":64256,"24":57,"16":3604740281729024,"44":404127744892604419},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,3,24,16,44]} 
[2026-09-23 02:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268386560001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:33:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-23 02:33:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":404127744892604419,"description":"Unknown IO ID 44"} 
[2026-09-23 02:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268386560001,"power":27843,"unknown_14":206,"unknown_3":64256,"ignition":57,"odometer":null,"unknown_44":404127744892604419}} 
[2026-09-23 02:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:33:14] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:33:14] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:33:33] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:33] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:33] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:33:38] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:38] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:33:38] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:33:39] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:39] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:33:39] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:33:39] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":192835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:33:39] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:33:39] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:34:02] local.INFO: TCP Data received {"connection_id":190147,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caecf128012c058c400af58360033e00bf2f..."} 
[2026-09-23 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caecf128012c058c400af58360033e00bf2f..."} 
[2026-09-23 02:34:02] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caecf128012c058c400af58360033e00bf2f..."} 
[2026-09-23 02:34:02] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:34:02] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caec"} 
[2026-09-23 02:34:02] local.INFO: GPS Element Parsed {"raw_longitude":738561088,"raw_latitude":183862112,"longitude_deg":73.8561088,"latitude_deg":18.3862112,"altitude":830,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2c058c40","hex_latitude":"0af58360","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268390912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":405886963491282947,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790110921000,"timestamp_ms":1790110921000,"timestamp_seconds":1790110921,"priority":1,"record_length":96,"hex_timestamp":"000001a0caecf128"} 
[2026-09-23 02:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 02:34: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-09-23 02: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-09-23 02:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268390912001,"66":27800,"14":206,"3":64256,"24":0,"16":3604740281729024,"44":405886963491282947},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,3,24,16,44]} 
[2026-09-23 02:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268390912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:34:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-23 02:34:02] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":405886963491282947,"description":"Unknown IO ID 44"} 
[2026-09-23 02:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268390912001,"power":27800,"unknown_14":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":405886963491282947}} 
[2026-09-23 02:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:34:02] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:34:02] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:34:11] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:11] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:11] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:34:11] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 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-09-23 02:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 02:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":192835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:34:11] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:34:11] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:34:16] local.INFO: TCP Data received {"connection_id":191502,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:16] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:16] local.INFO: IMEI packet received {"connection_id":191502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":191502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:34:21] local.INFO: TCP Data received {"connection_id":191502,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:21] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:34:21] local.INFO: IMEI packet received {"connection_id":191502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":191502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:34:24] local.INFO: TCP Data received {"connection_id":191502,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caed3778012c0582c00af52600033c00b72f..."} 
[2026-09-23 02:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caed3778012c0582c00af52600033c00b72f..."} 
[2026-09-23 02:34:24] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caed3778012c0582c00af52600033c00b72f..."} 
[2026-09-23 02:34:24] local.INFO: Packet analysis {"connection_id":191502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:34:24] local.INFO: Extracted packet for processing {"connection_id":191502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:34:24] local.INFO: GPS Element Parsed {"raw_longitude":738558656,"raw_latitude":183838208,"longitude_deg":73.8558656,"latitude_deg":18.3838208,"altitude":828,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2c0582c0","hex_latitude":"0af52600","is_valid_coordinates":true} 
[2026-09-23 02:34: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-09-23 02:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268395776001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":399764882742009859,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790110939000,"timestamp_ms":1790110939000,"timestamp_seconds":1790110939,"priority":1,"record_length":96,"hex_timestamp":"000001a0caed3778"} 
[2026-09-23 02:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 02:34:24] 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-09-23 02:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268395776001,"66":27876,"14":206,"3":64256,"24":0,"16":3604740281729024,"44":399764882742009859},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,3,24,16,44]} 
[2026-09-23 02:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268395776001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":399764882742009859,"description":"Unknown IO ID 44"} 
[2026-09-23 02:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268395776001,"power":27876,"unknown_14":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":399764882742009859}} 
[2026-09-23 02:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":191502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:34:24] local.INFO: GPS data processed {"connection_id":191502,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:34:24] local.INFO: Acknowledgment sent {"connection_id":191502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:34:27] local.INFO: TCP Data received {"connection_id":191502,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caedc8000100000000000000000000000000..."} 
[2026-09-23 02:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caedc8000100000000000000000000000000..."} 
[2026-09-23 02:34:27] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caedc8000100000000000000000000000000..."} 
[2026-09-23 02:34:27] local.INFO: Packet analysis {"connection_id":191502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:34:27] local.INFO: Extracted packet for processing {"connection_id":191502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:34:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 02:34: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-09-23 02:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268400384001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":397090870457139203,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790110976000,"timestamp_ms":1790110976000,"timestamp_seconds":1790110976,"priority":1,"record_length":96,"hex_timestamp":"000001a0caedc800"} 
[2026-09-23 02:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 02:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:34: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-09-23 02:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":191502,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 02:34:27] local.INFO: GPS data processed {"connection_id":191502,"processed":0,"errors":0,"total":1} 
[2026-09-23 02:34:27] local.INFO: Acknowledgment sent {"connection_id":191502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:34:33] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:33] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:33] local.INFO: IMEI packet received {"connection_id":190148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":190148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:34:38] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:38] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:34:38] local.INFO: IMEI packet received {"connection_id":190148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":190148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:34:39] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:39] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caea5148012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:34:39] local.INFO: Packet analysis {"connection_id":190148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:34:39] local.INFO: Extracted packet for processing {"connection_id":190148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caea"} 
[2026-09-23 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268274688001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790110749000,"timestamp_ms":1790110749000,"timestamp_seconds":1790110749,"priority":1,"record_length":96,"hex_timestamp":"000001a0caea5148"} 
[2026-09-23 02:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268274688001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268274688001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268274688001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":190148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:34:39] local.INFO: GPS data processed {"connection_id":190148,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:34:39] local.INFO: Acknowledgment sent {"connection_id":190148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:35:10] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:10] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:10] local.INFO: Packet analysis {"connection_id":190148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:35:10] local.INFO: Extracted packet for processing {"connection_id":190148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":190148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:35:10] local.INFO: GPS data processed {"connection_id":190148,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:35:10] local.INFO: Acknowledgment sent {"connection_id":190148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:35:16] local.INFO: TCP Data received {"connection_id":192836,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:16] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:16] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:35:29] local.INFO: TCP Data received {"connection_id":192836,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:29] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:29] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:35:31] local.INFO: TCP Data received {"connection_id":192836,"ip":"117.224.152.169","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:31] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:35:31] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 02:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:35:33] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:33] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:33] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:35:33] local.INFO: TCP Data received {"connection_id":192836,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeda0f0012c056cc00af46ff0033600b62e..."} 
[2026-09-23 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeda0f0012c056cc00af46ff0033600b62e..."} 
[2026-09-23 02:35:33] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeda0f0012c056cc00af46ff0033600b62e..."} 
[2026-09-23 02:35:33] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:35:33] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":738553024,"raw_latitude":183791600,"longitude_deg":73.8553024,"latitude_deg":18.37916,"altitude":822,"angle":182,"satellites":46,"speed":62,"hex_longitude":"2c056cc0","hex_latitude":"0af46ff0","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,15,3,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 02:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790110966000,"timestamp_ms":1790110966000,"timestamp_seconds":1790110966,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeda0f0"} 
[2026-09-23 02:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 02:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"15":206,"3":64256,"24":62,"16":3604740281729024},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16]} 
[2026-09-23 02:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 02:35:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-23 02:35:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:35:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_15":206,"unknown_3":64256,"ignition":62,"odometer":null}} 
[2026-09-23 02:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":192836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:35:33] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:35:33] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:35:35] local.INFO: TCP Data received {"connection_id":192836,"ip":"117.224.152.169","data_length":795,"data_hex":"000000000000030f8e0a000001a0caedeb28012c0575c00af410b0033500ab30..."} 
[2026-09-23 02:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caedeb28012c0575c00af410b0033500ab30..."} 
[2026-09-23 02:35:35] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caedeb28012c0575c00af410b0033500ab30..."} 
[2026-09-23 02:35:35] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:35:35] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caed"} 
[2026-09-23 02:35:35] local.INFO: GPS Element Parsed {"raw_longitude":738555328,"raw_latitude":183767216,"longitude_deg":73.8555328,"latitude_deg":18.3767216,"altitude":821,"angle":171,"satellites":48,"speed":0,"hex_longitude":"2c0575c0","hex_latitude":"0af410b0","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268407296001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3604740281729024,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":390898420957573123,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790110985000,"timestamp_ms":1790110985000,"timestamp_seconds":1790110985,"priority":1,"record_length":96,"hex_timestamp":"000001a0caedeb28"} 
[2026-09-23 02:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 02: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 02:35:35] 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-09-23 02: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-09-23 02:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 02:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.169","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 02:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 02:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268407296001,"66":27930,"15":206,"3":64256,"24":0,"16":3604740281729024,"44":390898420957573123},"client_ip":"117.224.152.169","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16,44]} 
[2026-09-23 02:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 02:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 02:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268407296001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:35:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-23 02:35:35] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-23 02:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3604740281729024,"km_value":3604740281729.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":390898420957573123,"description":"Unknown IO ID 44"} 
[2026-09-23 02:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268407296001,"power":27930,"unknown_15":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":390898420957573123}} 
[2026-09-23 02:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":192836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:35:35] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:35:35] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:35:38] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:38] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:35:38] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:35:39] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:39] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:35:39] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:35:39] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:35:39] 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-09-23 02: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-09-23 02:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:35:39] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:35:39] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:36:11] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:11] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:11] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:36:11] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:36:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:36:11] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:36:11] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:36:33] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:33] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:33] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:36:38] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:38] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:36:38] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:36:39] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:39] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:36:39] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:36:39] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:36:39] 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-09-23 02: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-09-23 02:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:36:39] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:36:39] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:37:10] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:10] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:10] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:37:10] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:37:10] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:37:10] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:37:33] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:33] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:33] local.INFO: IMEI packet received {"connection_id":189991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":189991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:37:38] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:38] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:37:38] local.INFO: IMEI packet received {"connection_id":189991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":189991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:37:39] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:39] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:37:39] local.INFO: Packet analysis {"connection_id":189991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:37:39] local.INFO: Extracted packet for processing {"connection_id":189991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:37:39] 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-09-23 02:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":189991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:37:39] local.INFO: GPS data processed {"connection_id":189991,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:37:39] local.INFO: Acknowledgment sent {"connection_id":189991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:38:11] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:11] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:11] local.INFO: Packet analysis {"connection_id":189991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:38:11] local.INFO: Extracted packet for processing {"connection_id":189991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":189991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:38:11] local.INFO: GPS data processed {"connection_id":189991,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:38:11] local.INFO: Acknowledgment sent {"connection_id":189991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:38:32] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:32] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:32] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:38:38] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:38] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:38:38] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:38:39] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:39] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:38:39] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:38:39] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:38:39] 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-09-23 02: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-09-23 02:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":192837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:38:39] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:38:39] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:39:11] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:11] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:11] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:11] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":192837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:39:11] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:39:11] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:39:38] local.INFO: TCP Data received {"connection_id":192838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:38] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:38] local.INFO: IMEI packet received {"connection_id":192838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":192838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:39:43] local.INFO: TCP Data received {"connection_id":192838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:43] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:39:43] local.INFO: IMEI packet received {"connection_id":192838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":192838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:39:44] local.INFO: TCP Data received {"connection_id":192838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:44] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:44] local.INFO: Packet analysis {"connection_id":192838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:44] local.INFO: Extracted packet for processing {"connection_id":192838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":192838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:39:44] local.INFO: GPS data processed {"connection_id":192838,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:39:44] local.INFO: Acknowledgment sent {"connection_id":192838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:39:48] local.INFO: TCP Data received {"connection_id":192838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:48] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caeee910012d34c18006aa4440000800d12c..."} 
[2026-09-23 02:39:48] local.INFO: Packet analysis {"connection_id":192838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:48] local.INFO: Extracted packet for processing {"connection_id":192838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caee"} 
[2026-09-23 02:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268351744001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790111050000,"timestamp_ms":1790111050000,"timestamp_seconds":1790111050,"priority":1,"record_length":96,"hex_timestamp":"000001a0caeee910"} 
[2026-09-23 02:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 02:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268351744001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268351744001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268351744001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":192838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:39:48] local.INFO: GPS data processed {"connection_id":192838,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:39:48] local.INFO: Acknowledgment sent {"connection_id":192838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:40:11] local.INFO: TCP Data received {"connection_id":189992,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:40:11] local.INFO: Processing buffer {"connection_id":189992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:40:11] local.INFO: IMEI packet received {"connection_id":189992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":189992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:40:33] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:33] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:33] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:40:38] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:38] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:40:38] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:40:39] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:40:39] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:40:39] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:40:39] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:40:39] 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-09-23 02: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-09-23 02:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:40:39] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:40:39] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:41:11] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:11] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:11] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:41:11] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:41:11] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:41:11] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:41:32] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:32] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:32] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:41:38] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:38] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:41:38] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:41:40] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:40] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:41:40] local.INFO: Packet analysis {"connection_id":190149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:41:40] local.INFO: Extracted packet for processing {"connection_id":190149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:41:40] 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-09-23 02:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":190149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:41:40] local.INFO: GPS data processed {"connection_id":190149,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:41:40] local.INFO: Acknowledgment sent {"connection_id":190149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:42:11] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:11] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:11] local.INFO: Packet analysis {"connection_id":190149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:42:11] local.INFO: Extracted packet for processing {"connection_id":190149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":190149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:42:11] local.INFO: GPS data processed {"connection_id":190149,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:42:11] local.INFO: Acknowledgment sent {"connection_id":190149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:42:32] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:32] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:32] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:42:38] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:38] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:42:38] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:42:39] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:39] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:42:39] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:42:39] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:42:39] 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-09-23 02: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-09-23 02:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:42:39] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:42:39] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:43:11] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:11] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:11] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:43:11] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:43:11] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:43:11] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:43:32] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:32] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:32] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:43:38] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:38] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:43:38] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:43:39] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:39] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:43:39] local.INFO: Packet analysis {"connection_id":191509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:43:39] local.INFO: Extracted packet for processing {"connection_id":191509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:43:39] 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-09-23 02: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-09-23 02:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":191509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:43:39] local.INFO: GPS data processed {"connection_id":191509,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:43:39] local.INFO: Acknowledgment sent {"connection_id":191509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:44:11] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:11] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:11] local.INFO: Packet analysis {"connection_id":191509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:11] local.INFO: Extracted packet for processing {"connection_id":191509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":191509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:44:11] local.INFO: GPS data processed {"connection_id":191509,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:44:11] local.INFO: Acknowledgment sent {"connection_id":191509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:44:38] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:38] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:38] local.INFO: IMEI packet received {"connection_id":191510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":191510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:44:43] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:43] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:44:43] local.INFO: IMEI packet received {"connection_id":191510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":191510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:44:44] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:44] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:44] local.INFO: Packet analysis {"connection_id":191510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:44] local.INFO: Extracted packet for processing {"connection_id":191510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:44:44] 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-09-23 02: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-09-23 02:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":191510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:44:44] local.INFO: GPS data processed {"connection_id":191510,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:44:44] local.INFO: Acknowledgment sent {"connection_id":191510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:44:48] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:48] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf380d8012d34c18006aa4440000800d131..."} 
[2026-09-23 02:44:48] local.INFO: Packet analysis {"connection_id":191510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:48] local.INFO: Extracted packet for processing {"connection_id":191510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf3"} 
[2026-09-23 02:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268428800001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790111351000,"timestamp_ms":1790111351000,"timestamp_seconds":1790111351,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf380d8"} 
[2026-09-23 02:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 02:44:48] 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-09-23 02:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268428800001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268428800001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":191510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:44:48] local.INFO: GPS data processed {"connection_id":191510,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:44:48] local.INFO: Acknowledgment sent {"connection_id":191510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:45:29] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:45:29] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:45:29] local.INFO: IMEI packet received {"connection_id":191511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:45:32] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:32] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:32] local.INFO: IMEI packet received {"connection_id":190150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:45:38] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:38] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:45:38] local.INFO: IMEI packet received {"connection_id":190150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":190150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:45:39] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:45:39] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:45:39] local.INFO: Packet analysis {"connection_id":190150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:45:39] local.INFO: Extracted packet for processing {"connection_id":190150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:45: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-09-23 02: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-09-23 02:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":190150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:45:39] local.INFO: GPS data processed {"connection_id":190150,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:45:39] local.INFO: Acknowledgment sent {"connection_id":190150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:46:10] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:10] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:10] local.INFO: Packet analysis {"connection_id":190150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:46:10] local.INFO: Extracted packet for processing {"connection_id":190150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":190150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:46:10] local.INFO: GPS data processed {"connection_id":190150,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:46:10] local.INFO: Acknowledgment sent {"connection_id":190150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:46:11] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:46:11] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:46:11] local.INFO: IMEI packet received {"connection_id":192840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":192840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:46:32] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:32] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:32] local.INFO: IMEI packet received {"connection_id":191512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:46:38] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:38] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:46:38] local.INFO: IMEI packet received {"connection_id":191512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":191512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:46:39] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:39] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:46:39] local.INFO: Packet analysis {"connection_id":191512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:46:39] local.INFO: Extracted packet for processing {"connection_id":191512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:46: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-09-23 02: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-09-23 02:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":191512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:46:39] local.INFO: GPS data processed {"connection_id":191512,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:46:39] local.INFO: Acknowledgment sent {"connection_id":191512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:47:11] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:11] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:11] local.INFO: Packet analysis {"connection_id":191512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:11] local.INFO: Extracted packet for processing {"connection_id":191512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 02:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 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-09-23 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:47: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-09-23 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-09-23 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-09-23 02:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":191512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:47:11] local.INFO: GPS data processed {"connection_id":191512,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:47:11] local.INFO: Acknowledgment sent {"connection_id":191512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:47:38] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:38] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:38] local.INFO: IMEI packet received {"connection_id":192841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":192841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:47:43] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:43] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:47:43] local.INFO: IMEI packet received {"connection_id":192841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":192841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:47:44] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:44] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:44] local.INFO: Packet analysis {"connection_id":192841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:44] local.INFO: Extracted packet for processing {"connection_id":192841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":192841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:47:44] local.INFO: GPS data processed {"connection_id":192841,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:47:44] local.INFO: Acknowledgment sent {"connection_id":192841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:47:48] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:48] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:47:48] local.INFO: Packet analysis {"connection_id":192841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:48] local.INFO: Extracted packet for processing {"connection_id":192841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":192841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:47:48] local.INFO: GPS data processed {"connection_id":192841,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:47:48] local.INFO: Acknowledgment sent {"connection_id":192841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:48:33] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:33] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:33] local.INFO: IMEI packet received {"connection_id":190151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":190151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:48:38] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:38] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:48:38] local.INFO: IMEI packet received {"connection_id":190151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":190151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:48:40] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:48:40] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:48:40] local.INFO: Packet analysis {"connection_id":190151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:48:40] local.INFO: Extracted packet for processing {"connection_id":190151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":190151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:48:40] local.INFO: GPS data processed {"connection_id":190151,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:48:40] local.INFO: Acknowledgment sent {"connection_id":190151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:49:11] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:11] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:11] local.INFO: Packet analysis {"connection_id":190151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:49:11] local.INFO: Extracted packet for processing {"connection_id":190151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":190151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:49:11] local.INFO: GPS data processed {"connection_id":190151,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:49:11] local.INFO: Acknowledgment sent {"connection_id":190151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:49:34] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:34] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:34] local.INFO: IMEI packet received {"connection_id":191513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":191513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:49:38] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:38] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:49:38] local.INFO: IMEI packet received {"connection_id":191513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":191513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:49:39] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:39] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0caf818a0012d34c18006aa4440000800d130..."} 
[2026-09-23 02:49:39] local.INFO: Packet analysis {"connection_id":191513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:49:39] local.INFO: Extracted packet for processing {"connection_id":191513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0caf8"} 
[2026-09-23 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268505856001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111652000,"timestamp_ms":1790111652000,"timestamp_seconds":1790111652,"priority":1,"record_length":96,"hex_timestamp":"000001a0caf818a0"} 
[2026-09-23 02:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 02:49: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-09-23 02: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-09-23 02:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268505856001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268505856001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268505856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":191513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:49:39] local.INFO: GPS data processed {"connection_id":191513,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:49:39] local.INFO: Acknowledgment sent {"connection_id":191513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:50:10] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:10] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:10] local.INFO: Packet analysis {"connection_id":191513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:10] local.INFO: Extracted packet for processing {"connection_id":191513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":191513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:50:10] local.INFO: GPS data processed {"connection_id":191513,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:50:10] local.INFO: Acknowledgment sent {"connection_id":191513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:50:38] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:38] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:38] local.INFO: IMEI packet received {"connection_id":189996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":189996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:50:43] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:43] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:50:43] local.INFO: IMEI packet received {"connection_id":189996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":189996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:50:44] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:44] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:44] local.INFO: Packet analysis {"connection_id":189996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:44] local.INFO: Extracted packet for processing {"connection_id":189996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:50: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-09-23 02: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-09-23 02:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":189996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:50:44] local.INFO: GPS data processed {"connection_id":189996,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:50:44] local.INFO: Acknowledgment sent {"connection_id":189996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:50:48] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:48] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:50:48] local.INFO: Packet analysis {"connection_id":189996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:48] local.INFO: Extracted packet for processing {"connection_id":189996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":189996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:50:48] local.INFO: GPS data processed {"connection_id":189996,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:50:48] local.INFO: Acknowledgment sent {"connection_id":189996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:51:26] local.ERROR: TCP Connection error {"connection_id":190153,"code":2,"message":"client closed"} 
[2026-09-23 02:51:33] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:33] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:33] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:51:38] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:38] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:51:38] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:51:39] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:51:39] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:51:39] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:51:39] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":192843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:51:39] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:51:39] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:51:42] local.INFO: TCP Data received {"connection_id":189997,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:51:42] local.INFO: Processing buffer {"connection_id":189997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:51:42] local.INFO: IMEI packet received {"connection_id":189997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":189997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:52:10] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:10] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:10] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:52:10] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:52: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-09-23 02: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-09-23 02:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":192843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:52:10] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:52:10] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:52:11] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:52:11] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:52:11] local.INFO: IMEI packet received {"connection_id":190154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":190154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:52:33] local.INFO: TCP Data received {"connection_id":190155,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:33] local.INFO: Processing buffer {"connection_id":190155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:33] local.INFO: IMEI packet received {"connection_id":190155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":190155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:52:38] local.INFO: TCP Data received {"connection_id":190155,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:38] local.INFO: Processing buffer {"connection_id":190155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:52:38] local.INFO: IMEI packet received {"connection_id":190155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":190155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:52:40] local.INFO: TCP Data received {"connection_id":190155,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:40] local.INFO: Processing buffer {"connection_id":190155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:52:40] local.INFO: Packet analysis {"connection_id":190155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:52:40] local.INFO: Extracted packet for processing {"connection_id":190155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:52: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-09-23 02: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-09-23 02:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":190155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:52:40] local.INFO: GPS data processed {"connection_id":190155,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:52:40] local.INFO: Acknowledgment sent {"connection_id":190155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:53:11] local.INFO: TCP Data received {"connection_id":190155,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:11] local.INFO: Processing buffer {"connection_id":190155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:11] local.INFO: Packet analysis {"connection_id":190155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:53:11] local.INFO: Extracted packet for processing {"connection_id":190155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:53: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-09-23 02:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":190155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:53:11] local.INFO: GPS data processed {"connection_id":190155,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:53:11] local.INFO: Acknowledgment sent {"connection_id":190155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:53:33] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:33] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:33] local.INFO: IMEI packet received {"connection_id":189998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":189998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:53:38] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:38] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:53:38] local.INFO: IMEI packet received {"connection_id":189998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":189998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:53:39] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:39] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:53:39] local.INFO: Packet analysis {"connection_id":189998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:53:39] local.INFO: Extracted packet for processing {"connection_id":189998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":189998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:53:39] local.INFO: GPS data processed {"connection_id":189998,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:53:39] local.INFO: Acknowledgment sent {"connection_id":189998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:54:10] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:10] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:10] local.INFO: Packet analysis {"connection_id":189998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:54:10] local.INFO: Extracted packet for processing {"connection_id":189998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:54: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-09-23 02: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-09-23 02:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":189998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:54:10] local.INFO: GPS data processed {"connection_id":189998,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:54:10] local.INFO: Acknowledgment sent {"connection_id":189998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:54:32] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:32] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:32] local.INFO: IMEI packet received {"connection_id":192844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":192844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:54:38] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:38] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:54:38] local.INFO: IMEI packet received {"connection_id":192844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":192844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:54:39] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:39] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cafcb068012d34c18006aa4440000800d12e..."} 
[2026-09-23 02:54:39] local.INFO: Packet analysis {"connection_id":192844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:54:39] local.INFO: Extracted packet for processing {"connection_id":192844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cafc"} 
[2026-09-23 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268582912001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790111953000,"timestamp_ms":1790111953000,"timestamp_seconds":1790111953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cafcb068"} 
[2026-09-23 02:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 02:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268582912001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268582912001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268582912001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":192844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:54:39] local.INFO: GPS data processed {"connection_id":192844,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:54:39] local.INFO: Acknowledgment sent {"connection_id":192844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:55:10] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:10] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:10] local.INFO: Packet analysis {"connection_id":192844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:10] local.INFO: Extracted packet for processing {"connection_id":192844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:55: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-09-23 02:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:55: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-09-23 02: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-09-23 02:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":192844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:55:10] local.INFO: GPS data processed {"connection_id":192844,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:55:10] local.INFO: Acknowledgment sent {"connection_id":192844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:55:38] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:38] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:38] local.INFO: IMEI packet received {"connection_id":190158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":190158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:55:43] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:43] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:55:43] local.INFO: IMEI packet received {"connection_id":190158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":190158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:55:44] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:44] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:44] local.INFO: Packet analysis {"connection_id":190158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:44] local.INFO: Extracted packet for processing {"connection_id":190158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:55:44] 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-09-23 02: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-09-23 02:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":190158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:55:44] local.INFO: GPS data processed {"connection_id":190158,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:55:44] local.INFO: Acknowledgment sent {"connection_id":190158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:55:48] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:48] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:55:48] local.INFO: Packet analysis {"connection_id":190158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:48] local.INFO: Extracted packet for processing {"connection_id":190158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:55:48] 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-09-23 02:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":190158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:55:48] local.INFO: GPS data processed {"connection_id":190158,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:55:48] local.INFO: Acknowledgment sent {"connection_id":190158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:56:33] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:33] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:33] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:56:38] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:38] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:56:38] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:56:39] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:39] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:39] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:56:39] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:56: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-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":192845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:56:39] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:56:39] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:56:43] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:43] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:56:43] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:56:43] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:56: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-09-23 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":192845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:56:43] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:56:43] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:57:15] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:15] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:15] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:15] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":192845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:57:15] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:57:15] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:57:17] local.INFO: TCP Data received {"connection_id":190000,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:57:17] local.INFO: Processing buffer {"connection_id":190000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 02:57:17] local.INFO: IMEI packet received {"connection_id":190000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 02:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":190000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:57:34] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:34] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:34] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:57:38] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:38] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:57:38] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:57:39] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:39] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:39] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:39] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:57: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-09-23 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":192846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:57:39] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:57:39] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:57:43] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:43] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:57:43] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:43] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:57: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-09-23 02:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":192846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:57:43] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:57:43] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:58:15] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:15] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:15] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:58:15] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 02:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":192846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:58:15] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:58:15] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:58:33] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:33] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:33] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:58:38] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:38] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:58:38] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:58:39] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:39] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:58:39] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:58:39] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:58: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-09-23 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02: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-09-23 02:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:58:39] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:58:39] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:59:10] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:10] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:10] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:59:10] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02: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-09-23 02:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:59: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-09-23 02:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:59: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-09-23 02: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-09-23 02:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:59:10] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:59:10] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 02:59:33] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:33] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:33] local.INFO: IMEI packet received {"connection_id":190002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 02:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":190002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 02:59:38] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:38] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 02:59:38] local.INFO: IMEI packet received {"connection_id":190002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 02:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":190002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 02:59:39] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:39] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb014830012d34c18006aa4440000800d12f..."} 
[2026-09-23 02:59:39] local.INFO: Packet analysis {"connection_id":190002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:59:39] local.INFO: Extracted packet for processing {"connection_id":190002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb01"} 
[2026-09-23 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 02:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268659968001,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 02:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 02:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112254000,"timestamp_ms":1790112254000,"timestamp_seconds":1790112254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb014830"} 
[2026-09-23 02:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 02:59: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-09-23 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 02:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 02:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 02:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 02:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 02:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 02:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 02:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 02:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 02:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 02:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268659968001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 02:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 02:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 02:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268659968001,"description":"Unknown IO ID 0"} 
[2026-09-23 02:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 02:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 02:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 02:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 02:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268659968001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 02:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":190002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 02:59:39] local.INFO: GPS data processed {"connection_id":190002,"processed":1,"errors":0,"total":1} 
[2026-09-23 02:59:39] local.INFO: Acknowledgment sent {"connection_id":190002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:00:10] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:10] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:10] local.INFO: Packet analysis {"connection_id":190002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:00:10] local.INFO: Extracted packet for processing {"connection_id":190002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":190002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:00:10] local.INFO: GPS data processed {"connection_id":190002,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:00:10] local.INFO: Acknowledgment sent {"connection_id":190002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:00:32] local.INFO: TCP Data received {"connection_id":190159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:32] local.INFO: Processing buffer {"connection_id":190159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:32] local.INFO: IMEI packet received {"connection_id":190159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":190159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:00:38] local.INFO: TCP Data received {"connection_id":190159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:38] local.INFO: Processing buffer {"connection_id":190159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:00:38] local.INFO: IMEI packet received {"connection_id":190159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":190159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:00:40] local.INFO: TCP Data received {"connection_id":190159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:40] local.INFO: Processing buffer {"connection_id":190159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:00:40] local.INFO: Packet analysis {"connection_id":190159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:00:40] local.INFO: Extracted packet for processing {"connection_id":190159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":190159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:00:40] local.INFO: GPS data processed {"connection_id":190159,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:00:40] local.INFO: Acknowledgment sent {"connection_id":190159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:01:12] local.INFO: TCP Data received {"connection_id":190159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:12] local.INFO: Processing buffer {"connection_id":190159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:12] local.INFO: Packet analysis {"connection_id":190159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:12] local.INFO: Extracted packet for processing {"connection_id":190159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:01:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:01:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":190159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:01:12] local.INFO: GPS data processed {"connection_id":190159,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:01:12] local.INFO: Acknowledgment sent {"connection_id":190159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:01:38] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:38] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:38] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:01:43] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:43] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:01:43] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:01:44] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:44] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:44] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:44] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:01:44] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:01:44] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:01:48] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:48] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:01:48] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:48] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:01:49] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:01:49] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:02:33] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:33] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:33] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:02:38] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:38] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:02:38] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:02:39] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:02:39] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:02:39] local.INFO: Packet analysis {"connection_id":192849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:02:39] local.INFO: Extracted packet for processing {"connection_id":192849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:02:39] 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-09-23 03: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-09-23 03:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":192849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:02:39] local.INFO: GPS data processed {"connection_id":192849,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:02:39] local.INFO: Acknowledgment sent {"connection_id":192849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:02:51] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:02:51] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:02:51] local.INFO: IMEI packet received {"connection_id":190160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":190160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:03:11] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:03:11] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:03:11] local.INFO: IMEI packet received {"connection_id":192850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":192850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:03:11] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:11] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:11] local.INFO: Packet analysis {"connection_id":192849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:03:11] local.INFO: Extracted packet for processing {"connection_id":192849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":192849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:03:11] local.INFO: GPS data processed {"connection_id":192849,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:03:11] local.INFO: Acknowledgment sent {"connection_id":192849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:03:33] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:33] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:33] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:03:38] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:38] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:03:38] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:03:39] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:39] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:03:39] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:03:39] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:03:39] 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-09-23 03:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:03:39] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:03:39] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:04:10] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:10] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:10] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:04:10] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:04:10] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:04:10] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:04:32] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:32] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:32] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:04:38] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:38] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:04:38] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:04:39] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:39] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb05dff8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:04:39] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:04:39] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb05"} 
[2026-09-23 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268737024001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112555000,"timestamp_ms":1790112555000,"timestamp_seconds":1790112555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb05dff8"} 
[2026-09-23 03:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:04:39] 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-09-23 03: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-09-23 03:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268737024001,"66":25756,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268737024001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268737024001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:04:39] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:04:39] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:05:10] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:10] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:10] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:05:10] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:05: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-09-23 03: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-09-23 03:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:05:10] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:05:10] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:05:32] local.INFO: TCP Data received {"connection_id":190164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:32] local.INFO: Processing buffer {"connection_id":190164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:32] local.INFO: IMEI packet received {"connection_id":190164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:05:38] local.INFO: TCP Data received {"connection_id":190164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:38] local.INFO: Processing buffer {"connection_id":190164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:05:38] local.INFO: IMEI packet received {"connection_id":190164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":190164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:05:39] local.INFO: TCP Data received {"connection_id":190164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:39] local.INFO: Processing buffer {"connection_id":190164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:05:39] local.INFO: Packet analysis {"connection_id":190164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:05:39] local.INFO: Extracted packet for processing {"connection_id":190164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":190164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:05:39] local.INFO: GPS data processed {"connection_id":190164,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:05:39] local.INFO: Acknowledgment sent {"connection_id":190164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:06:10] local.INFO: TCP Data received {"connection_id":190164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:10] local.INFO: Processing buffer {"connection_id":190164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:10] local.INFO: Packet analysis {"connection_id":190164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:10] local.INFO: Extracted packet for processing {"connection_id":190164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":190164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:06:10] local.INFO: GPS data processed {"connection_id":190164,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:06:10] local.INFO: Acknowledgment sent {"connection_id":190164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:06:38] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:38] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:38] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:06:43] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:43] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:06:43] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:06:44] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:44] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:44] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:44] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:06:44] 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-09-23 03: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-09-23 03:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:06:44] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:06:44] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:06:48] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:48] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:06:48] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:48] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:06:48] 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-09-23 03:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:06:48] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:06:48] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:07:33] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:33] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:33] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:07:38] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:38] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:07:38] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:07:39] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:07:39] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:07:39] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:07:39] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":192852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:07:39] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:07:39] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:08:11] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:11] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:11] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:08:11] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:08:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":192852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:08:11] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:08:11] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:08:33] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:33] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:33] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:08:38] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:38] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:08:38] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:08:39] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:39] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:08:39] local.INFO: Packet analysis {"connection_id":192854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:08:39] local.INFO: Extracted packet for processing {"connection_id":192854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 03:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 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-09-23 03:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 03:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":192854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:08:39] local.INFO: GPS data processed {"connection_id":192854,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:08:39] local.INFO: Acknowledgment sent {"connection_id":192854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:08:46] local.INFO: TCP Data received {"connection_id":192853,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:08:46] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:08:46] local.INFO: IMEI packet received {"connection_id":192853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":192853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:09:10] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:10] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:10] local.INFO: Packet analysis {"connection_id":192854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:09:10] local.INFO: Extracted packet for processing {"connection_id":192854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:09: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-09-23 03: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-09-23 03:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":192854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:09:10] local.INFO: GPS data processed {"connection_id":192854,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:09:10] local.INFO: Acknowledgment sent {"connection_id":192854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:09:11] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:09:11] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:09:11] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:09:33] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:33] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:33] local.INFO: IMEI packet received {"connection_id":191520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:09:38] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:38] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:09:38] local.INFO: IMEI packet received {"connection_id":191520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":191520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:09:39] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:39] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0a77c0012d34c18006aa4440000800d129..."} 
[2026-09-23 03:09:39] local.INFO: Packet analysis {"connection_id":191520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:09:39] local.INFO: Extracted packet for processing {"connection_id":191520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0a"} 
[2026-09-23 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790112856000,"timestamp_ms":1790112856000,"timestamp_seconds":1790112856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0a77c0"} 
[2026-09-23 03:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 03:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268814080001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268814080001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":191520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:09:39] local.INFO: GPS data processed {"connection_id":191520,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:09:39] local.INFO: Acknowledgment sent {"connection_id":191520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:10:12] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:12] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:12] local.INFO: Packet analysis {"connection_id":191520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:10:12] local.INFO: Extracted packet for processing {"connection_id":191520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:10:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":191520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:10:12] local.INFO: GPS data processed {"connection_id":191520,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:10:12] local.INFO: Acknowledgment sent {"connection_id":191520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:10:32] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:32] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:32] local.INFO: IMEI packet received {"connection_id":192855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":192855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:10:38] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:38] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:10:38] local.INFO: IMEI packet received {"connection_id":192855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":192855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:10:39] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:39] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:10:39] local.INFO: Packet analysis {"connection_id":192855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:10:39] local.INFO: Extracted packet for processing {"connection_id":192855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:10:39] 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-09-23 03: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-09-23 03:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":192855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:10:39] local.INFO: GPS data processed {"connection_id":192855,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:10:39] local.INFO: Acknowledgment sent {"connection_id":192855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:11:10] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:10] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:10] local.INFO: Packet analysis {"connection_id":192855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:11:10] local.INFO: Extracted packet for processing {"connection_id":192855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:11: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-09-23 03:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":192855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:11:10] local.INFO: GPS data processed {"connection_id":192855,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:11:10] local.INFO: Acknowledgment sent {"connection_id":192855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:11:32] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:32] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:32] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:11:38] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:38] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:11:38] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:11:39] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:39] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:11:39] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:11:39] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:11:39] 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-09-23 03: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-09-23 03:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:11:39] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:11:39] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:12:10] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:10] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:10] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:12:10] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:12: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-09-23 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:12:10] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:12:10] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:12:32] local.INFO: TCP Data received {"connection_id":192856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:32] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:32] local.INFO: IMEI packet received {"connection_id":192856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":192856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:12:38] local.INFO: TCP Data received {"connection_id":192856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:38] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:12:38] local.INFO: IMEI packet received {"connection_id":192856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":192856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:12:39] local.INFO: TCP Data received {"connection_id":192856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:39] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:12:39] local.INFO: Packet analysis {"connection_id":192856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:12:39] local.INFO: Extracted packet for processing {"connection_id":192856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:12: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:12:39] 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-09-23 03: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-09-23 03:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":192856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:12:39] local.INFO: GPS data processed {"connection_id":192856,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:12:39] local.INFO: Acknowledgment sent {"connection_id":192856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:13:10] local.INFO: TCP Data received {"connection_id":192856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:10] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:10] local.INFO: Packet analysis {"connection_id":192856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:13:10] local.INFO: Extracted packet for processing {"connection_id":192856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:13: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-09-23 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":192856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:13:10] local.INFO: GPS data processed {"connection_id":192856,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:13:10] local.INFO: Acknowledgment sent {"connection_id":192856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:13:32] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:32] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:32] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:13:38] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:38] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:13:38] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:13:39] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:39] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:13:39] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:13:39] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:13:39] 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-09-23 03: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-09-23 03:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:13:40] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:13:40] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:14:11] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:11] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:11] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:11] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:14:11] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:14:11] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:14:38] local.INFO: TCP Data received {"connection_id":192857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:38] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:38] local.INFO: IMEI packet received {"connection_id":192857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":192857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:14:41] local.INFO: TCP Data received {"connection_id":190007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:14:41] local.INFO: Processing buffer {"connection_id":190007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:14:41] local.INFO: IMEI packet received {"connection_id":190007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":190007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:14:43] local.INFO: TCP Data received {"connection_id":192857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:43] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:14:43] local.INFO: IMEI packet received {"connection_id":192857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":192857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:14:44] local.INFO: TCP Data received {"connection_id":192857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:44] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:44] local.INFO: Packet analysis {"connection_id":192857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:44] local.INFO: Extracted packet for processing {"connection_id":192857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":192857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:14:44] local.INFO: GPS data processed {"connection_id":192857,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:14:44] local.INFO: Acknowledgment sent {"connection_id":192857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:14:48] local.INFO: TCP Data received {"connection_id":192857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:48] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb0f0f88012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:14:48] local.INFO: Packet analysis {"connection_id":192857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:48] local.INFO: Extracted packet for processing {"connection_id":192857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb0f"} 
[2026-09-23 03:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268891136001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790113157000,"timestamp_ms":1790113157000,"timestamp_seconds":1790113157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb0f0f88"} 
[2026-09-23 03:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268891136001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268891136001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268891136001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":192857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:14:48] local.INFO: GPS data processed {"connection_id":192857,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:14:48] local.INFO: Acknowledgment sent {"connection_id":192857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:15:16] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:15:16] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:15:16] local.INFO: IMEI packet received {"connection_id":190169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":190169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:15:33] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:33] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:33] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:15:38] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:38] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:15:38] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:15:39] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:15:39] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:15:39] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:15:39] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:15:39] 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-09-23 03: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-09-23 03:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":192858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:15:39] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:15:39] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:16:11] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:11] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:11] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:16:11] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":192858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:16:11] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:16:11] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:16:32] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:32] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:32] local.INFO: IMEI packet received {"connection_id":190008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":190008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:16:38] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:38] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:16:38] local.INFO: IMEI packet received {"connection_id":190008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":190008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:16:39] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:39] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:16:39] local.INFO: Packet analysis {"connection_id":190008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:16:39] local.INFO: Extracted packet for processing {"connection_id":190008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:16:39] 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-09-23 03: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-09-23 03:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":190008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:16:39] local.INFO: GPS data processed {"connection_id":190008,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:16:39] local.INFO: Acknowledgment sent {"connection_id":190008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:17:10] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:10] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:10] local.INFO: Packet analysis {"connection_id":190008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:10] local.INFO: Extracted packet for processing {"connection_id":190008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":190008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:17:10] local.INFO: GPS data processed {"connection_id":190008,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:17:10] local.INFO: Acknowledgment sent {"connection_id":190008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:17:38] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:38] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:38] local.INFO: IMEI packet received {"connection_id":191524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":191524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:17:43] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:43] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:17:43] local.INFO: IMEI packet received {"connection_id":191524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":191524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:17:44] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:44] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:44] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:44] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:17:44] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:17:44] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:17:48] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:48] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:48] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:48] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:17: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-09-23 03:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:17: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-09-23 03:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:17:48] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:17:48] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:17:53] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:53] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:17:53] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:53] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:17:53] 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-09-23 03:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:17:53] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:17:53] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:18:33] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:33] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:33] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:18:38] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:38] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:18:38] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:18:39] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:39] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:39] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:18:39] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:18:39] 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-09-23 03: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-09-23 03:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:18:39] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:18:39] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:18:43] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:43] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:18:43] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:18:43] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:18:43] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:18:43] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:19:15] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:15] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:15] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:19:15] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:19:15] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:19:15] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:19:33] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:33] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:33] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:19:38] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:38] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:19:38] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:19:39] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:39] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb13a750012d34c18006aa4440000800d130..."} 
[2026-09-23 03:19:39] local.INFO: Packet analysis {"connection_id":190170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:19:39] local.INFO: Extracted packet for processing {"connection_id":190170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb13"} 
[2026-09-23 03:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458268968192001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113458000,"timestamp_ms":1790113458000,"timestamp_seconds":1790113458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb13a750"} 
[2026-09-23 03:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:19:39] 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-09-23 03: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-09-23 03:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458268968192001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458268968192001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458268968192001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":190170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:19:39] local.INFO: GPS data processed {"connection_id":190170,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:19:39] local.INFO: Acknowledgment sent {"connection_id":190170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:20:10] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:10] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:10] local.INFO: Packet analysis {"connection_id":190170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:20:10] local.INFO: Extracted packet for processing {"connection_id":190170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:20: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-09-23 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":190170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:20:10] local.INFO: GPS data processed {"connection_id":190170,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:20:10] local.INFO: Acknowledgment sent {"connection_id":190170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:20:32] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:32] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:32] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:20:38] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:38] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:20:38] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:20:39] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:39] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:20:39] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:20:39] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:20: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:20:39] 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-09-23 03: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-09-23 03:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:20:39] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:20:39] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:20:46] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:20:46] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:20:46] local.INFO: IMEI packet received {"connection_id":191526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":191526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:21:10] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:10] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:10] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:21:10] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:21: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-09-23 03:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:21:10] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:21:10] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:21:16] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:21:16] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:21:16] local.INFO: IMEI packet received {"connection_id":190171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":190171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:21:32] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:32] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:32] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:21:38] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:38] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:21:38] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:21:39] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:39] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:21:39] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:21:39] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:21: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-09-23 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:21:39] 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-09-23 03:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:21:39] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:21:39] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:22:11] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:11] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:11] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:11] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:22:11] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:22:11] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:22:38] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:38] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:38] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:22:43] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:43] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:22:43] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:22:43] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:43] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:43] local.INFO: Packet analysis {"connection_id":191529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:43] local.INFO: Extracted packet for processing {"connection_id":191529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:22: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-09-23 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":191529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:22:43] local.INFO: GPS data processed {"connection_id":191529,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:22:43] local.INFO: Acknowledgment sent {"connection_id":191529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:22:48] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:48] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:22:48] local.INFO: Packet analysis {"connection_id":191529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:48] local.INFO: Extracted packet for processing {"connection_id":191529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":191529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:22:48] local.INFO: GPS data processed {"connection_id":191529,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:22:48] local.INFO: Acknowledgment sent {"connection_id":191529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:23:33] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:33] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:33] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:23:38] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:38] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:23:38] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:23:39] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:23:39] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:23:39] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:23:39] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:23: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:23:39] 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-09-23 03: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-09-23 03:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":192860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:23:39] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:23:39] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:24:10] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:10] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:10] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:24:10] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:24: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-09-23 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":192860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:24:10] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:24:10] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:24:33] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:33] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:33] local.INFO: IMEI packet received {"connection_id":190011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":190011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:24:38] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:38] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:24:38] local.INFO: IMEI packet received {"connection_id":190011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":190011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:24:40] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:40] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb183f18012d34c18006aa4440000800d12f..."} 
[2026-09-23 03:24:40] local.INFO: Packet analysis {"connection_id":190011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:24:40] local.INFO: Extracted packet for processing {"connection_id":190011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb18"} 
[2026-09-23 03:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269045248001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790113759000,"timestamp_ms":1790113759000,"timestamp_seconds":1790113759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb183f18"} 
[2026-09-23 03:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269045248001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269045248001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269045248001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":190011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:24:40] local.INFO: GPS data processed {"connection_id":190011,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:24:40] local.INFO: Acknowledgment sent {"connection_id":190011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:25:12] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:12] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:12] local.INFO: Packet analysis {"connection_id":190011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:25:12] local.INFO: Extracted packet for processing {"connection_id":190011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:25:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":190011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:25:12] local.INFO: GPS data processed {"connection_id":190011,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:25:12] local.INFO: Acknowledgment sent {"connection_id":190011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:25:32] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:32] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:32] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:25:38] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:38] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:25:38] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:25:39] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:39] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:25:39] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:25:39] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:25: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-09-23 03: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":192861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:25:39] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:25:39] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:26:11] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:11] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:11] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:26:11] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":192861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:26:11] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:26:11] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:26:38] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:38] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:38] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:26:43] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:43] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:26:43] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:26:44] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:44] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:26:44] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:26:44] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:26:44] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:26:44] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:27:11] local.INFO: TCP Data received {"connection_id":190013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:27:11] local.INFO: Processing buffer {"connection_id":190013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:27:11] local.INFO: IMEI packet received {"connection_id":190013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":190013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:27:15] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:15] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:15] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:27:15] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:27:15] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:27:15] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:27:34] local.INFO: TCP Data received {"connection_id":190014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:34] local.INFO: Processing buffer {"connection_id":190014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:34] local.INFO: IMEI packet received {"connection_id":190014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":190014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:27:38] local.INFO: TCP Data received {"connection_id":190014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:38] local.INFO: Processing buffer {"connection_id":190014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:27:38] local.INFO: IMEI packet received {"connection_id":190014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":190014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:27:43] local.INFO: TCP Data received {"connection_id":190014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:43] local.INFO: Processing buffer {"connection_id":190014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:27:43] local.INFO: Packet analysis {"connection_id":190014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:27:43] local.INFO: Extracted packet for processing {"connection_id":190014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:27: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-09-23 03: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":190014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:27:43] local.INFO: GPS data processed {"connection_id":190014,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:27:43] local.INFO: Acknowledgment sent {"connection_id":190014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:28:15] local.INFO: TCP Data received {"connection_id":190014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:15] local.INFO: Processing buffer {"connection_id":190014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:15] local.INFO: Packet analysis {"connection_id":190014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:28:15] local.INFO: Extracted packet for processing {"connection_id":190014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":190014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:28:15] local.INFO: GPS data processed {"connection_id":190014,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:28:15] local.INFO: Acknowledgment sent {"connection_id":190014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:28:32] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:32] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:32] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:28:38] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:38] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:28:38] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:28:39] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:39] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:28:39] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:28:39] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:28: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-09-23 03:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":192862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:28:39] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:28:39] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:29:11] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:11] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:11] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:29:11] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":192862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:29:11] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:29:11] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:29:32] local.INFO: TCP Data received {"connection_id":190016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:32] local.INFO: Processing buffer {"connection_id":190016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:32] local.INFO: IMEI packet received {"connection_id":190016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":190016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:29:38] local.INFO: TCP Data received {"connection_id":190016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:38] local.INFO: Processing buffer {"connection_id":190016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:29:38] local.INFO: IMEI packet received {"connection_id":190016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":190016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:29:39] local.INFO: TCP Data received {"connection_id":190016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:39] local.INFO: Processing buffer {"connection_id":190016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb1cd6e0012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:29:39] local.INFO: Packet analysis {"connection_id":190016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:29:39] local.INFO: Extracted packet for processing {"connection_id":190016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb1c"} 
[2026-09-23 03:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269122304001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114060000,"timestamp_ms":1790114060000,"timestamp_seconds":1790114060,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb1cd6e0"} 
[2026-09-23 03:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:29: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-09-23 03: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 03:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269122304001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269122304001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269122304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":190016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:29:39] local.INFO: GPS data processed {"connection_id":190016,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:29:39] local.INFO: Acknowledgment sent {"connection_id":190016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:30:10] local.INFO: TCP Data received {"connection_id":190016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:10] local.INFO: Processing buffer {"connection_id":190016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:10] local.INFO: Packet analysis {"connection_id":190016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:30:10] local.INFO: Extracted packet for processing {"connection_id":190016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:30: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-09-23 03:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":190016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:30:10] local.INFO: GPS data processed {"connection_id":190016,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:30:10] local.INFO: Acknowledgment sent {"connection_id":190016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:30:33] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:33] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:33] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:30:38] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:38] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:30:38] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:30:40] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:40] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:30:40] local.INFO: Packet analysis {"connection_id":192864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:30:40] local.INFO: Extracted packet for processing {"connection_id":192864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":192864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:30:40] local.INFO: GPS data processed {"connection_id":192864,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:30:40] local.INFO: Acknowledgment sent {"connection_id":192864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:31:12] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:12] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:12] local.INFO: Packet analysis {"connection_id":192864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:31:12] local.INFO: Extracted packet for processing {"connection_id":192864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:31:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:31:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":192864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:31:12] local.INFO: GPS data processed {"connection_id":192864,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:31:12] local.INFO: Acknowledgment sent {"connection_id":192864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:31:33] local.INFO: TCP Data received {"connection_id":190017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:33] local.INFO: Processing buffer {"connection_id":190017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:33] local.INFO: IMEI packet received {"connection_id":190017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":190017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:31:38] local.INFO: TCP Data received {"connection_id":190017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:38] local.INFO: Processing buffer {"connection_id":190017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:31:38] local.INFO: IMEI packet received {"connection_id":190017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":190017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:31:39] local.INFO: TCP Data received {"connection_id":190017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:39] local.INFO: Processing buffer {"connection_id":190017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:31:39] local.INFO: Packet analysis {"connection_id":190017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:31:39] local.INFO: Extracted packet for processing {"connection_id":190017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:31: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-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:31: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-09-23 03: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-09-23 03:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":190017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:31:39] local.INFO: GPS data processed {"connection_id":190017,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:31:39] local.INFO: Acknowledgment sent {"connection_id":190017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:32:10] local.INFO: TCP Data received {"connection_id":190017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:10] local.INFO: Processing buffer {"connection_id":190017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:10] local.INFO: Packet analysis {"connection_id":190017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:32:10] local.INFO: Extracted packet for processing {"connection_id":190017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":190017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:32:10] local.INFO: GPS data processed {"connection_id":190017,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:32:10] local.INFO: Acknowledgment sent {"connection_id":190017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:32:31] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:32:31] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:32:31] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:32:33] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:33] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:33] local.INFO: IMEI packet received {"connection_id":190177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":190177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:32:38] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:38] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:32:38] local.INFO: IMEI packet received {"connection_id":190177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":190177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:32:40] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:40] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:32:40] local.INFO: Packet analysis {"connection_id":190177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:32:40] local.INFO: Extracted packet for processing {"connection_id":190177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":190177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:32:40] local.INFO: GPS data processed {"connection_id":190177,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:32:40] local.INFO: Acknowledgment sent {"connection_id":190177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:33:11] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:11] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:11] local.INFO: Packet analysis {"connection_id":190177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:33:11] local.INFO: Extracted packet for processing {"connection_id":190177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:33: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-09-23 03:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":190177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:33:11] local.INFO: GPS data processed {"connection_id":190177,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:33:11] local.INFO: Acknowledgment sent {"connection_id":190177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:33:26] local.INFO: TCP Data received {"connection_id":190018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:33:26] local.INFO: Processing buffer {"connection_id":190018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:33:26] local.INFO: IMEI packet received {"connection_id":190018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":190018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:33:32] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:32] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:32] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:33:38] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:38] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:33:38] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:33:39] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:39] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:33:39] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:33:39] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:33: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-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:33: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-09-23 03: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-09-23 03:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:33:39] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:33:39] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:34:10] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:10] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:10] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:34:10] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:34: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-09-23 03:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:34:10] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:34:10] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:34:32] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:32] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:32] local.INFO: IMEI packet received {"connection_id":192866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":192866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:34:38] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:38] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:34:38] local.INFO: IMEI packet received {"connection_id":192866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":192866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:34:39] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:39] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb216ea8012d34c18006aa4440000800d130..."} 
[2026-09-23 03:34:39] local.INFO: Packet analysis {"connection_id":192866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:34:39] local.INFO: Extracted packet for processing {"connection_id":192866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb21"} 
[2026-09-23 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269199360001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114361000,"timestamp_ms":1790114361000,"timestamp_seconds":1790114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb216ea8"} 
[2026-09-23 03:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:34: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-09-23 03:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:34: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-09-23 03:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269199360001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269199360001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269199360001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":192866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:34:39] local.INFO: GPS data processed {"connection_id":192866,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:34:39] local.INFO: Acknowledgment sent {"connection_id":192866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:35:11] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:11] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:11] local.INFO: Packet analysis {"connection_id":192866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:11] local.INFO: Extracted packet for processing {"connection_id":192866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:35: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-09-23 03:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":192866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:35:11] local.INFO: GPS data processed {"connection_id":192866,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:35:11] local.INFO: Acknowledgment sent {"connection_id":192866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:35:33] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:33] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:33] local.INFO: IMEI packet received {"connection_id":190019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":190019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:35:38] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:38] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:35:38] local.INFO: IMEI packet received {"connection_id":190019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":190019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:35:38] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:38] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:38] local.INFO: Packet analysis {"connection_id":190019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:38] local.INFO: Extracted packet for processing {"connection_id":190019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:35: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-09-23 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:35: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-09-23 03: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-09-23 03:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":190019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:35:38] local.INFO: GPS data processed {"connection_id":190019,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:35:38] local.INFO: Acknowledgment sent {"connection_id":190019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:35:43] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:43] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:35:43] local.INFO: Packet analysis {"connection_id":190019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:43] local.INFO: Extracted packet for processing {"connection_id":190019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:35: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-09-23 03:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":190019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:35:43] local.INFO: GPS data processed {"connection_id":190019,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:35:43] local.INFO: Acknowledgment sent {"connection_id":190019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:36:15] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:15] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:15] local.INFO: Packet analysis {"connection_id":190019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:36:15] local.INFO: Extracted packet for processing {"connection_id":190019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:36: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-09-23 03: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-09-23 03:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":190019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:36:15] local.INFO: GPS data processed {"connection_id":190019,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:36:15] local.INFO: Acknowledgment sent {"connection_id":190019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:36:33] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:33] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:33] local.INFO: IMEI packet received {"connection_id":190178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":190178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:36:38] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:38] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:36:38] local.INFO: IMEI packet received {"connection_id":190178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":190178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:36:39] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:39] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:36:39] local.INFO: Packet analysis {"connection_id":190178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:36:39] local.INFO: Extracted packet for processing {"connection_id":190178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:36: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-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:36: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-09-23 03: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-09-23 03:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:36:39] local.INFO: GPS data processed {"connection_id":190178,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:36:39] local.INFO: Acknowledgment sent {"connection_id":190178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:37:10] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:10] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:10] local.INFO: Packet analysis {"connection_id":190178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:37:10] local.INFO: Extracted packet for processing {"connection_id":190178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:37: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-09-23 03:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":190178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:37:10] local.INFO: GPS data processed {"connection_id":190178,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:37:10] local.INFO: Acknowledgment sent {"connection_id":190178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:37:32] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:32] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:32] local.INFO: IMEI packet received {"connection_id":190179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:37:38] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:38] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:37:38] local.INFO: IMEI packet received {"connection_id":190179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":190179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:37:39] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:39] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:37:39] local.INFO: Packet analysis {"connection_id":190179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:37:39] local.INFO: Extracted packet for processing {"connection_id":190179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:37: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-09-23 03:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:37: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-09-23 03:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":190179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:37:39] local.INFO: GPS data processed {"connection_id":190179,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:37:39] local.INFO: Acknowledgment sent {"connection_id":190179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:38:10] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:10] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:10] local.INFO: Packet analysis {"connection_id":190179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:38:10] local.INFO: Extracted packet for processing {"connection_id":190179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:38: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-09-23 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":190179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:38:10] local.INFO: GPS data processed {"connection_id":190179,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:38:10] local.INFO: Acknowledgment sent {"connection_id":190179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:38:32] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:32] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:32] local.INFO: IMEI packet received {"connection_id":190181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":190181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:38:38] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:38] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:38:38] local.INFO: IMEI packet received {"connection_id":190181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":190181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:38:39] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:39] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:38:39] local.INFO: Packet analysis {"connection_id":190181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:38:39] local.INFO: Extracted packet for processing {"connection_id":190181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 03:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 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-09-23 03:38: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:38: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-09-23 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-09-23 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-09-23 03:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":190181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:38:39] local.INFO: GPS data processed {"connection_id":190181,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:38:39] local.INFO: Acknowledgment sent {"connection_id":190181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:38:46] local.INFO: TCP Data received {"connection_id":190180,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:38:46] local.INFO: Processing buffer {"connection_id":190180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:38:46] local.INFO: IMEI packet received {"connection_id":190180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":190180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:39:11] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:11] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:11] local.INFO: Packet analysis {"connection_id":190181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:39:11] local.INFO: Extracted packet for processing {"connection_id":190181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:39: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-09-23 03: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-09-23 03:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":190181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:39:11] local.INFO: GPS data processed {"connection_id":190181,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:39:11] local.INFO: Acknowledgment sent {"connection_id":190181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:39:16] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:39:16] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:39:16] local.INFO: IMEI packet received {"connection_id":192867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":192867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:39:32] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:32] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:32] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:39:38] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:38] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:39:38] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:39:38] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:38] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb260670012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:39:38] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:39:38] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb26"} 
[2026-09-23 03:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269276416001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790114662000,"timestamp_ms":1790114662000,"timestamp_seconds":1790114662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb260670"} 
[2026-09-23 03:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:39: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-09-23 03:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:39: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-09-23 03: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-09-23 03:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269276416001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269276416001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269276416001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:39:38] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:39:38] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:40:10] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:10] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:10] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:10] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:40: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-09-23 03:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:40:10] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:40:10] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:40:33] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:33] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:33] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:40:38] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:38] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:40:38] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:40:39] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:39] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:39] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:39] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:40: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-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:40: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-09-23 03: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-09-23 03:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:40:39] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:40:39] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:40:43] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:43] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:40:43] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:43] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:40: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-09-23 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:40:43] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:40:43] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:41:15] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:15] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:15] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:41:15] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:41:15] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:41:15] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:41:33] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:33] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:33] local.INFO: IMEI packet received {"connection_id":192869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":192869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:41:38] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:38] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:41:38] local.INFO: IMEI packet received {"connection_id":192869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":192869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:41:40] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:40] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:41:40] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:41:40] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":192869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:41:40] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:41:40] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:42:11] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:11] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:11] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:42:11] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:42: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-09-23 03:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":192869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:42:11] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:42:11] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:42:33] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:33] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:33] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:42:38] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:38] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:42:38] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:42:39] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:39] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:42:39] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:42:39] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:42: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-09-23 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:42: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-09-23 03: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-09-23 03:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":192870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:42:39] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:42:39] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:43:11] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:11] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:11] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:43:11] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:43: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-09-23 03:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":192870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:43:11] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:43:11] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:43:32] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:32] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:32] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:43:38] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:38] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:43:38] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:43:38] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:38] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:43:38] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:43:38] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:43: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-09-23 03:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:43: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-09-23 03: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-09-23 03:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:43:38] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:43:38] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:44:10] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:10] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:10] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:44:10] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 03:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 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-09-23 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 03:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:44:10] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:44:10] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:44:32] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:32] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:32] local.INFO: IMEI packet received {"connection_id":192871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":192871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:44:38] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:38] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:44:38] local.INFO: IMEI packet received {"connection_id":192871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":192871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:44:39] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:39] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2a9e38012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:44:39] local.INFO: Packet analysis {"connection_id":192871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:44:39] local.INFO: Extracted packet for processing {"connection_id":192871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2a"} 
[2026-09-23 03:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269353472001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790114963000,"timestamp_ms":1790114963000,"timestamp_seconds":1790114963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2a9e38"} 
[2026-09-23 03:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:44: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-09-23 03:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 03:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269353472001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269353472001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269353472001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":192871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:44:39] local.INFO: GPS data processed {"connection_id":192871,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:44:39] local.INFO: Acknowledgment sent {"connection_id":192871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:45:11] local.INFO: TCP Data received {"connection_id":190022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:45:11] local.INFO: Processing buffer {"connection_id":190022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:45:11] local.INFO: IMEI packet received {"connection_id":190022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":190022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:45:12] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:12] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:12] local.INFO: Packet analysis {"connection_id":192871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:45:12] local.INFO: Extracted packet for processing {"connection_id":192871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 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-09-23 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":192871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:45:12] local.INFO: GPS data processed {"connection_id":192871,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:45:12] local.INFO: Acknowledgment sent {"connection_id":192871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:45:33] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:33] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:33] local.INFO: IMEI packet received {"connection_id":190023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":190023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:45:38] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:38] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:45:38] local.INFO: IMEI packet received {"connection_id":190023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":190023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:45:39] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:39] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:45:39] local.INFO: Packet analysis {"connection_id":190023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:45:39] local.INFO: Extracted packet for processing {"connection_id":190023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:45: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:45:39] 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-09-23 03: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-09-23 03:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":190023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:45:39] local.INFO: GPS data processed {"connection_id":190023,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:45:39] local.INFO: Acknowledgment sent {"connection_id":190023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:46:10] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:10] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:10] local.INFO: Packet analysis {"connection_id":190023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:46:10] local.INFO: Extracted packet for processing {"connection_id":190023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:46: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-09-23 03:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":190023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:46:10] local.INFO: GPS data processed {"connection_id":190023,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:46:10] local.INFO: Acknowledgment sent {"connection_id":190023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:46:33] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:33] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:33] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:46:38] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:38] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:46:38] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:46:39] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:39] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:46:39] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:46:39] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:46: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:46:39] 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-09-23 03: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-09-23 03:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":192872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:46:39] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:46:39] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:47:10] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:10] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:10] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:47:10] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:47: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-09-23 03:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":192872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:47:10] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:47:10] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:47:32] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:32] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:32] local.INFO: IMEI packet received {"connection_id":190024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":190024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:47:38] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:38] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:47:38] local.INFO: IMEI packet received {"connection_id":190024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":190024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:47:39] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:39] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:47:39] local.INFO: Packet analysis {"connection_id":190024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:47:39] local.INFO: Extracted packet for processing {"connection_id":190024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:47: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-09-23 03:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:47:39] 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-09-23 03: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-09-23 03:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":190024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:47:39] local.INFO: GPS data processed {"connection_id":190024,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:47:39] local.INFO: Acknowledgment sent {"connection_id":190024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:48:10] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:10] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:10] local.INFO: Packet analysis {"connection_id":190024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:48:10] local.INFO: Extracted packet for processing {"connection_id":190024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:48: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-09-23 03:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:48:10] local.INFO: GPS data processed {"connection_id":190024,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:48:10] local.INFO: Acknowledgment sent {"connection_id":190024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:48:32] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:32] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:32] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:48:38] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:38] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:48:38] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:48:39] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:39] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:48:39] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:48:39] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:48: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:48:39] 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-09-23 03: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-09-23 03:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:48:39] local.INFO: GPS data processed {"connection_id":191540,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:48:39] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:49:10] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:10] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:10] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:10] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:49: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-09-23 03:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:49:10] local.INFO: GPS data processed {"connection_id":191540,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:49:10] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:49:38] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:38] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:38] local.INFO: IMEI packet received {"connection_id":192873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":192873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:49:43] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:43] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:49:43] local.INFO: IMEI packet received {"connection_id":192873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":192873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:49:44] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:44] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:44] local.INFO: Packet analysis {"connection_id":192873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:44] local.INFO: Extracted packet for processing {"connection_id":192873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":192873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:49:44] local.INFO: GPS data processed {"connection_id":192873,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:49:44] local.INFO: Acknowledgment sent {"connection_id":192873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:49:48] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:48] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb2f3600012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:49:48] local.INFO: Packet analysis {"connection_id":192873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:48] local.INFO: Extracted packet for processing {"connection_id":192873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb2f"} 
[2026-09-23 03:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:49: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-09-23 03:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269430528001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790115264000,"timestamp_ms":1790115264000,"timestamp_seconds":1790115264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb2f3600"} 
[2026-09-23 03:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:49: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-09-23 03:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269430528001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269430528001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269430528001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":192873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:49:48] local.INFO: GPS data processed {"connection_id":192873,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:49:48] local.INFO: Acknowledgment sent {"connection_id":192873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:50:33] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:33] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:33] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:50:38] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:38] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:50:38] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:50:39] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:50:39] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:50:39] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:50:39] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:50:39] 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-09-23 03: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-09-23 03:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:50:39] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:50:39] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:50:41] local.INFO: TCP Data received {"connection_id":190026,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:50:41] local.INFO: Processing buffer {"connection_id":190026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:50:41] local.INFO: IMEI packet received {"connection_id":190026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":190026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:51:10] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:10] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:10] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:51:10] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:51: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-09-23 03:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:51:10] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:51:10] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:51:11] local.INFO: TCP Data received {"connection_id":192874,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:51:11] local.INFO: Processing buffer {"connection_id":192874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:51:11] local.INFO: IMEI packet received {"connection_id":192874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":192874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:51:32] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:32] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:32] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:51:38] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:38] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:51:38] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:51:39] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:39] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:51:39] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:51:39] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:51: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-09-23 03:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:51:39] 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-09-23 03: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-09-23 03:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:51:39] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:51:39] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:52:11] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:11] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:11] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:52:11] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:52:11] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:52:11] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:52:32] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:32] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:32] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:52:38] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:38] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:52:38] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:52:39] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:39] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:52:39] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:52:39] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:52: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:52:39] 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-09-23 03: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-09-23 03:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":192875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:52:39] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:52:39] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:53:10] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:10] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:10] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:53:10] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:53: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-09-23 03:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":192875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:53:10] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:53:10] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:53:32] local.INFO: TCP Data received {"connection_id":190028,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:32] local.INFO: Processing buffer {"connection_id":190028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:32] local.INFO: IMEI packet received {"connection_id":190028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":190028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:53:38] local.INFO: TCP Data received {"connection_id":190028,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:38] local.INFO: Processing buffer {"connection_id":190028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:53:38] local.INFO: IMEI packet received {"connection_id":190028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":190028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:53:39] local.INFO: TCP Data received {"connection_id":190028,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:39] local.INFO: Processing buffer {"connection_id":190028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:53:39] local.INFO: Packet analysis {"connection_id":190028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:53:39] local.INFO: Extracted packet for processing {"connection_id":190028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:53: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-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:53:39] 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-09-23 03: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-09-23 03:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":190028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:53:39] local.INFO: GPS data processed {"connection_id":190028,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:53:39] local.INFO: Acknowledgment sent {"connection_id":190028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:54:10] local.INFO: TCP Data received {"connection_id":190028,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:10] local.INFO: Processing buffer {"connection_id":190028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:10] local.INFO: Packet analysis {"connection_id":190028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:10] local.INFO: Extracted packet for processing {"connection_id":190028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:54: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-09-23 03:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":190028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:54:10] local.INFO: GPS data processed {"connection_id":190028,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:54:10] local.INFO: Acknowledgment sent {"connection_id":190028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:54:38] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:38] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:38] local.INFO: IMEI packet received {"connection_id":190029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":190029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:54:43] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:43] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:54:43] local.INFO: IMEI packet received {"connection_id":190029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":190029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:54:43] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:43] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:43] local.INFO: Packet analysis {"connection_id":190029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:43] local.INFO: Extracted packet for processing {"connection_id":190029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03: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-09-23 03:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":190029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:54:43] local.INFO: GPS data processed {"connection_id":190029,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:54:43] local.INFO: Acknowledgment sent {"connection_id":190029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:54:48] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:48] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb33cdc8012d34c18006aa4440000800d12e..."} 
[2026-09-23 03:54:48] local.INFO: Packet analysis {"connection_id":190029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:48] local.INFO: Extracted packet for processing {"connection_id":190029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb33"} 
[2026-09-23 03:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269507584001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790115565000,"timestamp_ms":1790115565000,"timestamp_seconds":1790115565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb33cdc8"} 
[2026-09-23 03:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 03:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269507584001,"66":25745,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269507584001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269507584001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":190029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:54:48] local.INFO: GPS data processed {"connection_id":190029,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:54:48] local.INFO: Acknowledgment sent {"connection_id":190029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:55:33] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:33] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:33] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:55:38] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:38] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:55:38] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:55:39] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:55:39] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:55:39] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:55:39] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:55: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-09-23 03: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:55:39] 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-09-23 03: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-09-23 03:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":192878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:55:39] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:55:39] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:56:11] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:11] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:11] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:56:11] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:56:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":192878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:56:11] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:56:11] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:56:33] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:33] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:33] local.INFO: IMEI packet received {"connection_id":190031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":190031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:56:38] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:38] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:56:38] local.INFO: IMEI packet received {"connection_id":190031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":190031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:56:39] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:39] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:56:39] local.INFO: Packet analysis {"connection_id":190031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:56:39] local.INFO: Extracted packet for processing {"connection_id":190031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:56: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-09-23 03: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:56:39] 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-09-23 03: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-09-23 03:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":190031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:56:39] local.INFO: GPS data processed {"connection_id":190031,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:56:39] local.INFO: Acknowledgment sent {"connection_id":190031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:57:10] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:10] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:10] local.INFO: Packet analysis {"connection_id":190031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:57:10] local.INFO: Extracted packet for processing {"connection_id":190031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:57: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-09-23 03: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:57:10] 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-09-23 03: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-09-23 03:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":190031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:57:10] local.INFO: GPS data processed {"connection_id":190031,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:57:10] local.INFO: Acknowledgment sent {"connection_id":190031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:57:11] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:57:11] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 03:57:11] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 03:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:57:32] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:32] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:32] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:57:38] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:38] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:57:38] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:57:39] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:39] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:57:39] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:57:39] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:57: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-09-23 03: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:57:39] 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-09-23 03: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-09-23 03:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:57:39] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:57:39] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:58:10] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:10] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:10] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:58:10] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:58: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-09-23 03:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:58:10] 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-09-23 03: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-09-23 03:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:58:10] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:58:10] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:58:32] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:32] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:32] local.INFO: IMEI packet received {"connection_id":190032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":190032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:58:38] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:38] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:58:38] local.INFO: IMEI packet received {"connection_id":190032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":190032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:58:38] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:38] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:58:38] local.INFO: Packet analysis {"connection_id":190032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:58:38] local.INFO: Extracted packet for processing {"connection_id":190032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:58: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-09-23 03:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 03: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-09-23 03:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":190032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:58:38] local.INFO: GPS data processed {"connection_id":190032,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:58:38] local.INFO: Acknowledgment sent {"connection_id":190032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:59:10] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:10] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:10] local.INFO: Packet analysis {"connection_id":190032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:10] local.INFO: Extracted packet for processing {"connection_id":190032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:59: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-09-23 03:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:59:10] 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-09-23 03: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-09-23 03:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":190032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:59:10] local.INFO: GPS data processed {"connection_id":190032,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:59:10] local.INFO: Acknowledgment sent {"connection_id":190032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:59:38] local.INFO: TCP Data received {"connection_id":190033,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:38] local.INFO: Processing buffer {"connection_id":190033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:38] local.INFO: IMEI packet received {"connection_id":190033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 03:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":190033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 03:59:43] local.INFO: TCP Data received {"connection_id":190033,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:43] local.INFO: Processing buffer {"connection_id":190033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 03:59:43] local.INFO: IMEI packet received {"connection_id":190033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 03:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":190033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 03:59:43] local.INFO: TCP Data received {"connection_id":190033,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:43] local.INFO: Processing buffer {"connection_id":190033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:43] local.INFO: Packet analysis {"connection_id":190033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:43] local.INFO: Extracted packet for processing {"connection_id":190033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 03:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:59: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-09-23 03:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:59:43] 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-09-23 03:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 03:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":190033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:59:43] local.INFO: GPS data processed {"connection_id":190033,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:59:43] local.INFO: Acknowledgment sent {"connection_id":190033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 03:59:48] local.INFO: TCP Data received {"connection_id":190033,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:48] local.INFO: Processing buffer {"connection_id":190033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb386590012d34c18006aa4440000800d12c..."} 
[2026-09-23 03:59:48] local.INFO: Packet analysis {"connection_id":190033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:48] local.INFO: Extracted packet for processing {"connection_id":190033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb38"} 
[2026-09-23 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 03: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-09-23 03:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269584640001,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 03:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 03:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790115866000,"timestamp_ms":1790115866000,"timestamp_seconds":1790115866,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb386590"} 
[2026-09-23 03:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 03:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 03:59:48] 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-09-23 03: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-09-23 03:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 03:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 03:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 03:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 03:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 03:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 03:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 03:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269584640001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 03:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 03:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 03:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269584640001,"description":"Unknown IO ID 0"} 
[2026-09-23 03:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 03:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 03:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 03:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 03:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269584640001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 03:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":190033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 03:59:48] local.INFO: GPS data processed {"connection_id":190033,"processed":1,"errors":0,"total":1} 
[2026-09-23 03:59:48] local.INFO: Acknowledgment sent {"connection_id":190033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:00:33] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:33] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:33] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:00:38] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:38] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:00:38] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:00:39] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:00:39] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:00:39] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:00:39] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:00: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-09-23 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":192879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:00:39] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:00:39] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:01:10] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:10] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:10] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:01:10] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:01: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-09-23 04: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-09-23 04: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-09-23 04: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-09-23 04:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":192879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:01:10] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:01:10] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:01:32] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:32] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:32] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:01:38] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:38] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:01:38] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:01:39] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:39] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:01:39] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:01:39] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:01: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-09-23 04:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:01:39] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:01:39] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:02:10] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:10] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:10] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:02:10] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 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-09-23 04:02: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-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:02: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-09-23 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-09-23 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-09-23 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:02:10] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:02:10] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:02:32] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:32] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:32] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:02:36] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:02:36] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:02:36] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:02:38] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:38] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:02:38] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:02:39] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:39] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:02:39] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:02:39] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:02: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-09-23 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":192880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:02:39] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:02:39] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:03:10] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:10] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:10] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:03:10] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:03: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-09-23 04:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":192880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:03:10] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:03:10] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:03:11] local.INFO: TCP Data received {"connection_id":190192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:03:11] local.INFO: Processing buffer {"connection_id":190192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:03:11] local.INFO: IMEI packet received {"connection_id":190192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":190192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:03:32] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:32] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:32] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:03:38] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:38] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:03:38] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:03:39] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:39] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:03:39] local.INFO: Packet analysis {"connection_id":190193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:03:39] local.INFO: Extracted packet for processing {"connection_id":190193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:03: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-09-23 04:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":190193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:03:39] local.INFO: GPS data processed {"connection_id":190193,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:03:39] local.INFO: Acknowledgment sent {"connection_id":190193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:04:10] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:10] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:10] local.INFO: Packet analysis {"connection_id":190193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:10] local.INFO: Extracted packet for processing {"connection_id":190193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:04: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-09-23 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:04: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-09-23 04: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-09-23 04:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":190193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:04:10] local.INFO: GPS data processed {"connection_id":190193,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:04:10] local.INFO: Acknowledgment sent {"connection_id":190193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:04:38] local.INFO: TCP Data received {"connection_id":190034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:38] local.INFO: Processing buffer {"connection_id":190034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:38] local.INFO: IMEI packet received {"connection_id":190034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":190034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:04:43] local.INFO: TCP Data received {"connection_id":190034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:43] local.INFO: Processing buffer {"connection_id":190034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:04:43] local.INFO: IMEI packet received {"connection_id":190034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":190034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:04:44] local.INFO: TCP Data received {"connection_id":190034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:44] local.INFO: Processing buffer {"connection_id":190034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:44] local.INFO: Packet analysis {"connection_id":190034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:44] local.INFO: Extracted packet for processing {"connection_id":190034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":190034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:04:44] local.INFO: GPS data processed {"connection_id":190034,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:04:44] local.INFO: Acknowledgment sent {"connection_id":190034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:04:48] local.INFO: TCP Data received {"connection_id":190034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:48] local.INFO: Processing buffer {"connection_id":190034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb3cfd58012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:04:48] local.INFO: Packet analysis {"connection_id":190034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:48] local.INFO: Extracted packet for processing {"connection_id":190034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb3c"} 
[2026-09-23 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790116167000,"timestamp_ms":1790116167000,"timestamp_seconds":1790116167,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb3cfd58"} 
[2026-09-23 04:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:04:48] 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-09-23 04:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269661696001,"66":25734,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269661696001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":190034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:04:48] local.INFO: GPS data processed {"connection_id":190034,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:04:48] local.INFO: Acknowledgment sent {"connection_id":190034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:05:33] local.INFO: TCP Data received {"connection_id":190036,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:33] local.INFO: Processing buffer {"connection_id":190036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:33] local.INFO: IMEI packet received {"connection_id":190036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":190036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:05:38] local.INFO: TCP Data received {"connection_id":190036,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:38] local.INFO: Processing buffer {"connection_id":190036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:05:38] local.INFO: IMEI packet received {"connection_id":190036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":190036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:05:39] local.INFO: TCP Data received {"connection_id":190036,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:05:39] local.INFO: Processing buffer {"connection_id":190036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:05:39] local.INFO: Packet analysis {"connection_id":190036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:05:39] local.INFO: Extracted packet for processing {"connection_id":190036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:05: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-09-23 04: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:05:39] 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-09-23 04: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-09-23 04:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":190036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:05:39] local.INFO: GPS data processed {"connection_id":190036,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:05:39] local.INFO: Acknowledgment sent {"connection_id":190036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:06:10] local.INFO: TCP Data received {"connection_id":190036,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:10] local.INFO: Processing buffer {"connection_id":190036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:10] local.INFO: Packet analysis {"connection_id":190036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:06:10] local.INFO: Extracted packet for processing {"connection_id":190036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:06: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-09-23 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":190036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:06:10] local.INFO: GPS data processed {"connection_id":190036,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:06:10] local.INFO: Acknowledgment sent {"connection_id":190036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:06:33] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:33] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:33] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:06:38] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:38] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:06:38] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:06:39] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:39] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:06:39] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:06:39] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:06: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-09-23 04:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:06:39] 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-09-23 04:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:06:39] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:06:39] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:07:11] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:11] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:11] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:07:11] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:07:11] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:07:11] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:07:32] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:32] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:32] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:07:38] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:38] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:07:38] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:07:38] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:38] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:07:38] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:07:38] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 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-09-23 04:07: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-09-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:07:38] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:07:38] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:08:10] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:10] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:10] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:08:10] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:08: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-09-23 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:08:10] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:08:10] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:08:32] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:32] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:32] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:08:38] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:38] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:08:38] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:08:38] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:38] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:08:38] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:08:38] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 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-09-23 04:08: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-09-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":192882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:08:38] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:08:38] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:08:45] local.INFO: TCP Data received {"connection_id":190037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:08:45] local.INFO: Processing buffer {"connection_id":190037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:08:45] local.INFO: IMEI packet received {"connection_id":190037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":190037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:09:10] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:10] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:10] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:09:10] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:09: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-09-23 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":192882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:09:10] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:09:10] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:09:11] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:11] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:11] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:09:15] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:15] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:09:15] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 04:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:09:16] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb256e18012c05dec00aeb7bc002d6015632..."} 
[2026-09-23 04:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb256e18012c05dec00aeb7bc002d6015632..."} 
[2026-09-23 04:09:16] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb256e18012c05dec00aeb7bc002d6015632..."} 
[2026-09-23 04:09:16] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb25"} 
[2026-09-23 04:09:16] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb25"} 
[2026-09-23 04:09:16] local.INFO: GPS Element Parsed {"raw_longitude":738582208,"raw_latitude":183204800,"longitude_deg":73.8582208,"latitude_deg":18.32048,"altitude":726,"angle":342,"satellites":50,"speed":0,"hex_longitude":"2c05dec0","hex_latitude":"0aeb7bc0","is_valid_coordinates":true} 
[2026-09-23 04:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269338112001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":422986568152367106,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,237,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790114623000,"timestamp_ms":1790114623000,"timestamp_seconds":1790114623,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb256e18"} 
[2026-09-23 04:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 04:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 04:09:16] 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-09-23 04:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 04:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 04:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 04:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 04:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269338112001,"66":28267,"96":206,"237":58880,"24":0,"16":3605049519374336,"44":422986568152367106},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,237,24,16,44]} 
[2026-09-23 04:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 04:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 04:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269338112001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:09:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 04:09:16] local.INFO: Unknown IO ID detected {"io_id":237,"value":58880,"description":"Unknown IO ID 237"} 
[2026-09-23 04:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":422986568152367106,"description":"Unknown IO ID 44"} 
[2026-09-23 04:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269338112001,"power":28267,"unknown_96":206,"unknown_237":58880,"ignition":0,"odometer":null,"unknown_44":422986568152367106}} 
[2026-09-23 04:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:09:17] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:09:17] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:09:32] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:32] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:32] local.INFO: IMEI packet received {"connection_id":190038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":190038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:09:38] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:38] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:09:38] local.INFO: IMEI packet received {"connection_id":190038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":190038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:09:39] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:39] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb419520012d34c18006aa4440000800d12e..."} 
[2026-09-23 04:09:39] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:09:39] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb41"} 
[2026-09-23 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269738752001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116468000,"timestamp_ms":1790116468000,"timestamp_seconds":1790116468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb419520"} 
[2026-09-23 04:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:09: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-09-23 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 04:09:39] 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-09-23 04: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-09-23 04:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269738752001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269738752001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269738752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:09:39] local.INFO: GPS data processed {"connection_id":190038,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:09:39] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:10:00] local.INFO: TCP Data received {"connection_id":192883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:10:00] local.INFO: Processing buffer {"connection_id":192883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:10:00] local.INFO: IMEI packet received {"connection_id":192883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":192883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:10:11] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:11] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:11] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:10:11] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:10:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:10:11] local.INFO: GPS data processed {"connection_id":190038,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:10:11] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:10:38] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:38] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:38] local.INFO: IMEI packet received {"connection_id":192884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":192884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:10:43] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:43] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:10:43] local.INFO: IMEI packet received {"connection_id":192884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":192884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:10:44] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:44] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:10:44] local.INFO: Packet analysis {"connection_id":192884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:10:44] local.INFO: Extracted packet for processing {"connection_id":192884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":192884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:10:44] local.INFO: GPS data processed {"connection_id":192884,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:10:44] local.INFO: Acknowledgment sent {"connection_id":192884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:11:15] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:15] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:15] local.INFO: Packet analysis {"connection_id":192884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:11:15] local.INFO: Extracted packet for processing {"connection_id":192884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:11: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-09-23 04:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":192884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:11:15] local.INFO: GPS data processed {"connection_id":192884,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:11:15] local.INFO: Acknowledgment sent {"connection_id":192884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:11:32] local.INFO: TCP Data received {"connection_id":190039,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:32] local.INFO: Processing buffer {"connection_id":190039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:32] local.INFO: IMEI packet received {"connection_id":190039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":190039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:11:38] local.INFO: TCP Data received {"connection_id":190039,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:38] local.INFO: Processing buffer {"connection_id":190039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:11:38] local.INFO: IMEI packet received {"connection_id":190039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":190039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:11:38] local.INFO: TCP Data received {"connection_id":190039,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:38] local.INFO: Processing buffer {"connection_id":190039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:11:38] local.INFO: Packet analysis {"connection_id":190039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:11:38] local.INFO: Extracted packet for processing {"connection_id":190039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:11: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-09-23 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":190039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:11:38] local.INFO: GPS data processed {"connection_id":190039,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:11:38] local.INFO: Acknowledgment sent {"connection_id":190039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:12:10] local.INFO: TCP Data received {"connection_id":190039,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:10] local.INFO: Processing buffer {"connection_id":190039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:10] local.INFO: Packet analysis {"connection_id":190039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:12:10] local.INFO: Extracted packet for processing {"connection_id":190039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:12: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-09-23 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:12:10] local.INFO: GPS data processed {"connection_id":190039,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:12:10] local.INFO: Acknowledgment sent {"connection_id":190039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:12:32] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:32] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:32] local.INFO: IMEI packet received {"connection_id":190196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":190196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:12:38] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:38] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:12:38] local.INFO: IMEI packet received {"connection_id":190196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":190196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:12:38] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:38] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:12:38] local.INFO: Packet analysis {"connection_id":190196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:12:38] local.INFO: Extracted packet for processing {"connection_id":190196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 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-09-23 04:12: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":190196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:12:38] local.INFO: GPS data processed {"connection_id":190196,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:12:38] local.INFO: Acknowledgment sent {"connection_id":190196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:13:10] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:10] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:10] local.INFO: Packet analysis {"connection_id":190196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:13:10] local.INFO: Extracted packet for processing {"connection_id":190196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:13: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":190196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:13:10] local.INFO: GPS data processed {"connection_id":190196,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:13:10] local.INFO: Acknowledgment sent {"connection_id":190196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:13:32] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:32] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:32] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:13:38] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:38] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:13:38] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:13:39] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:39] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:13:39] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:13:39] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":192886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:13:39] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:13:39] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:14:10] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:10] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:10] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:10] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:14: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-09-23 04:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":192886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:14:10] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:14:10] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:14:38] local.INFO: TCP Data received {"connection_id":190197,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:38] local.INFO: Processing buffer {"connection_id":190197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:38] local.INFO: IMEI packet received {"connection_id":190197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":190197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:14:43] local.INFO: TCP Data received {"connection_id":190197,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:43] local.INFO: Processing buffer {"connection_id":190197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:14:43] local.INFO: IMEI packet received {"connection_id":190197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":190197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:14:43] local.INFO: TCP Data received {"connection_id":190197,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:43] local.INFO: Processing buffer {"connection_id":190197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:43] local.INFO: Packet analysis {"connection_id":190197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:43] local.INFO: Extracted packet for processing {"connection_id":190197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:14: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-09-23 04:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":190197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:14:43] local.INFO: GPS data processed {"connection_id":190197,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:14:43] local.INFO: Acknowledgment sent {"connection_id":190197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:14:48] local.INFO: TCP Data received {"connection_id":190197,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:48] local.INFO: Processing buffer {"connection_id":190197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb462ce8012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:14:48] local.INFO: Packet analysis {"connection_id":190197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:48] local.INFO: Extracted packet for processing {"connection_id":190197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb46"} 
[2026-09-23 04:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269815808001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790116769000,"timestamp_ms":1790116769000,"timestamp_seconds":1790116769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb462ce8"} 
[2026-09-23 04:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269815808001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269815808001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269815808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":190197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:14:48] local.INFO: GPS data processed {"connection_id":190197,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:14:48] local.INFO: Acknowledgment sent {"connection_id":190197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:15:33] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:33] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:33] local.INFO: IMEI packet received {"connection_id":190041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":190041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:15:38] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:38] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:15:38] local.INFO: IMEI packet received {"connection_id":190041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":190041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:15:38] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:15:38] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:15:38] local.INFO: Packet analysis {"connection_id":190041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:15:38] local.INFO: Extracted packet for processing {"connection_id":190041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:15: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-09-23 04: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":190041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:15:38] local.INFO: GPS data processed {"connection_id":190041,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:15:38] local.INFO: Acknowledgment sent {"connection_id":190041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:15:46] local.INFO: TCP Data received {"connection_id":190040,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:15:46] local.INFO: Processing buffer {"connection_id":190040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:15:46] local.INFO: IMEI packet received {"connection_id":190040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":190040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:16:10] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:10] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:10] local.INFO: Packet analysis {"connection_id":190041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:16:10] local.INFO: Extracted packet for processing {"connection_id":190041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:16: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-09-23 04:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":190041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:16:10] local.INFO: GPS data processed {"connection_id":190041,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:16:10] local.INFO: Acknowledgment sent {"connection_id":190041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:16:11] local.INFO: TCP Data received {"connection_id":192888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:16:11] local.INFO: Processing buffer {"connection_id":192888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:16:11] local.INFO: IMEI packet received {"connection_id":192888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":192888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:16:32] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:32] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:32] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:16:38] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:38] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:16:38] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:16:38] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:38] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:16:38] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:16:38] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:16: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-09-23 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:16:38] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:16:38] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:17:10] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:10] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:10] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:17:10] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:17: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-09-23 04:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:17:10] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:17:10] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:17:32] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:32] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:32] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:17:38] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:38] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:17:38] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:17:38] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:38] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:17:38] local.INFO: Packet analysis {"connection_id":190042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:17:38] local.INFO: Extracted packet for processing {"connection_id":190042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 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-09-23 04:17: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-09-23 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":190042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:17:38] local.INFO: GPS data processed {"connection_id":190042,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:17:38] local.INFO: Acknowledgment sent {"connection_id":190042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:18:10] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:10] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:10] local.INFO: Packet analysis {"connection_id":190042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:18:10] local.INFO: Extracted packet for processing {"connection_id":190042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:18: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-09-23 04:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":190042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:18:10] local.INFO: GPS data processed {"connection_id":190042,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:18:10] local.INFO: Acknowledgment sent {"connection_id":190042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:18:32] local.INFO: TCP Data received {"connection_id":190043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:32] local.INFO: Processing buffer {"connection_id":190043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:32] local.INFO: IMEI packet received {"connection_id":190043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":190043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:18:38] local.INFO: TCP Data received {"connection_id":190043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:38] local.INFO: Processing buffer {"connection_id":190043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:18:38] local.INFO: IMEI packet received {"connection_id":190043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":190043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:18:39] local.INFO: TCP Data received {"connection_id":190043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:39] local.INFO: Processing buffer {"connection_id":190043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:18:39] local.INFO: Packet analysis {"connection_id":190043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:18:39] local.INFO: Extracted packet for processing {"connection_id":190043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:18: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-09-23 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:18:39] local.INFO: GPS data processed {"connection_id":190043,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:18:39] local.INFO: Acknowledgment sent {"connection_id":190043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:19:10] local.INFO: TCP Data received {"connection_id":190043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:10] local.INFO: Processing buffer {"connection_id":190043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:10] local.INFO: Packet analysis {"connection_id":190043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:19:10] local.INFO: Extracted packet for processing {"connection_id":190043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:19: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-09-23 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":190043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:19:10] local.INFO: GPS data processed {"connection_id":190043,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:19:10] local.INFO: Acknowledgment sent {"connection_id":190043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:19:38] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:38] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:38] local.INFO: IMEI packet received {"connection_id":192890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":192890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:19:43] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:43] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:19:43] local.INFO: IMEI packet received {"connection_id":192890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":192890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:19:43] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:43] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4ac4b0012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:19:43] local.INFO: Packet analysis {"connection_id":192890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:19:43] local.INFO: Extracted packet for processing {"connection_id":192890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4a"} 
[2026-09-23 04:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790117070000,"timestamp_ms":1790117070000,"timestamp_seconds":1790117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4ac4b0"} 
[2026-09-23 04:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:19: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-09-23 04:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269892864001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269892864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":192890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:19:43] local.INFO: GPS data processed {"connection_id":192890,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:19:43] local.INFO: Acknowledgment sent {"connection_id":192890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:20:15] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:15] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:15] local.INFO: Packet analysis {"connection_id":192890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:20:15] local.INFO: Extracted packet for processing {"connection_id":192890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:20: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-09-23 04: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-09-23 04:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":192890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:20:15] local.INFO: GPS data processed {"connection_id":192890,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:20:15] local.INFO: Acknowledgment sent {"connection_id":192890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:20:32] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:32] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:32] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:20:38] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:38] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:20:38] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:20:38] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:38] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:20:38] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:20:38] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:20: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-09-23 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:20: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-09-23 04: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-09-23 04:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:20:38] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:20:38] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:21:10] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:10] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:10] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:21:10] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:21: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-09-23 04:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:21:10] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:21:10] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:21:32] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:32] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:32] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:21:38] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:38] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:21:38] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:21:39] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:39] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:21:39] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:21:39] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:21: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:21: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-09-23 04: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-09-23 04:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:21:39] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:21:39] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:21:41] local.INFO: TCP Data received {"connection_id":190199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:21:41] local.INFO: Processing buffer {"connection_id":190199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:21:41] local.INFO: IMEI packet received {"connection_id":190199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":190199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:22:10] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:10] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:10] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:22:10] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:22: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-09-23 04:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:22:10] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:22:10] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:22:11] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:22:11] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:22:11] local.INFO: IMEI packet received {"connection_id":192892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":192892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:22:32] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:32] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:32] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:22:38] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:38] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:22:38] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:22:38] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:38] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:22:38] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:22:38] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:22: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-09-23 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:22: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-09-23 04: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-09-23 04:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:22:38] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:22:38] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:23:10] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:10] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:10] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:23:10] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:23: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-09-23 04:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:23:10] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:23:10] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:23:38] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:23:38] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:23:38] local.INFO: IMEI packet received {"connection_id":190044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":190044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:23:39] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:39] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:23:39] local.INFO: Packet analysis {"connection_id":190044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:23:39] local.INFO: Extracted packet for processing {"connection_id":190044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:23: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:23: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-09-23 04: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-09-23 04:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":190044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:23:39] local.INFO: GPS data processed {"connection_id":190044,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:23:39] local.INFO: Acknowledgment sent {"connection_id":190044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:24:10] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:10] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:10] local.INFO: Packet analysis {"connection_id":190044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:24:10] local.INFO: Extracted packet for processing {"connection_id":190044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 04:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:24: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-09-23 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":190044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:24:10] local.INFO: GPS data processed {"connection_id":190044,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:24:10] local.INFO: Acknowledgment sent {"connection_id":190044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:24:38] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:38] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:38] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:24:43] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:43] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:24:43] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:24:43] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:43] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb4f5c78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:24:43] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:24:43] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb4f"} 
[2026-09-23 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458269969920001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790117371000,"timestamp_ms":1790117371000,"timestamp_seconds":1790117371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb4f5c78"} 
[2026-09-23 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-09-23 04:24: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458269969920001,"66":25712,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458269969920001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458269969920001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:24:43] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:24:43] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:25:15] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:15] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:15] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:25:15] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:25:15] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:25:15] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:25:33] local.INFO: TCP Data received {"connection_id":190202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:33] local.INFO: Processing buffer {"connection_id":190202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:33] local.INFO: IMEI packet received {"connection_id":190202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":190202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:25:38] local.INFO: TCP Data received {"connection_id":190202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:38] local.INFO: Processing buffer {"connection_id":190202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:25:38] local.INFO: IMEI packet received {"connection_id":190202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":190202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:25:39] local.INFO: TCP Data received {"connection_id":190202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:39] local.INFO: Processing buffer {"connection_id":190202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:25:39] local.INFO: Packet analysis {"connection_id":190202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:25:39] local.INFO: Extracted packet for processing {"connection_id":190202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:25: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-09-23 04: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:25:39] local.INFO: GPS data processed {"connection_id":190202,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:25:39] local.INFO: Acknowledgment sent {"connection_id":190202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:26:10] local.INFO: TCP Data received {"connection_id":190202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:10] local.INFO: Processing buffer {"connection_id":190202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:10] local.INFO: Packet analysis {"connection_id":190202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:26:10] local.INFO: Extracted packet for processing {"connection_id":190202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:26: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-09-23 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":190202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:26:10] local.INFO: GPS data processed {"connection_id":190202,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:26:10] local.INFO: Acknowledgment sent {"connection_id":190202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:26:32] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:32] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:32] local.INFO: IMEI packet received {"connection_id":190046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":190046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:26:38] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:38] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:26:38] local.INFO: IMEI packet received {"connection_id":190046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":190046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:26:38] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:38] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:26:38] local.INFO: Packet analysis {"connection_id":190046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:26:38] local.INFO: Extracted packet for processing {"connection_id":190046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:26: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-09-23 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":190046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:26:38] local.INFO: GPS data processed {"connection_id":190046,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:26:38] local.INFO: Acknowledgment sent {"connection_id":190046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:27:10] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:10] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:10] local.INFO: Packet analysis {"connection_id":190046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:27:10] local.INFO: Extracted packet for processing {"connection_id":190046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:27: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-09-23 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":190046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:27:10] local.INFO: GPS data processed {"connection_id":190046,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:27:10] local.INFO: Acknowledgment sent {"connection_id":190046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:27:32] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:32] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:32] local.INFO: IMEI packet received {"connection_id":190203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":190203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:27:38] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:38] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:27:38] local.INFO: IMEI packet received {"connection_id":190203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":190203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:27:39] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:39] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:27:39] local.INFO: Packet analysis {"connection_id":190203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:27:39] local.INFO: Extracted packet for processing {"connection_id":190203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:27: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-09-23 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":190203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:27:39] local.INFO: GPS data processed {"connection_id":190203,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:27:39] local.INFO: Acknowledgment sent {"connection_id":190203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:27:41] local.INFO: TCP Data received {"connection_id":190047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:27:41] local.INFO: Processing buffer {"connection_id":190047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:27:41] local.INFO: IMEI packet received {"connection_id":190047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":190047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:28:10] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:10] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:10] local.INFO: Packet analysis {"connection_id":190203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:28:10] local.INFO: Extracted packet for processing {"connection_id":190203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":190203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:28:10] local.INFO: GPS data processed {"connection_id":190203,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:28:10] local.INFO: Acknowledgment sent {"connection_id":190203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:28:10] local.INFO: TCP Data received {"connection_id":190048,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:28:10] local.INFO: Processing buffer {"connection_id":190048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:28:10] local.INFO: IMEI packet received {"connection_id":190048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":190048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:28:32] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:32] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:32] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:28:38] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:38] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:28:38] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:28:38] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:38] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:28:38] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:28:38] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:28: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-09-23 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:28:38] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:28:38] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:29:10] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:10] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:10] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:10] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:29:10] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:29:10] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:29:38] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:38] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:38] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:29:43] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:43] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:29:43] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:29:44] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:44] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:44] local.INFO: Packet analysis {"connection_id":190204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:44] local.INFO: Extracted packet for processing {"connection_id":190204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":190204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:29:44] local.INFO: GPS data processed {"connection_id":190204,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:29:44] local.INFO: Acknowledgment sent {"connection_id":190204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:29:48] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:48] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb53f058012d34c18006aa4440000800d12d..."} 
[2026-09-23 04:29:48] local.INFO: Packet analysis {"connection_id":190204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:48] local.INFO: Extracted packet for processing {"connection_id":190204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb53"} 
[2026-09-23 04:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790117671000,"timestamp_ms":1790117671000,"timestamp_seconds":1790117671,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb53f058"} 
[2026-09-23 04:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 04:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270046976001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270046976001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":190204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:29:48] local.INFO: GPS data processed {"connection_id":190204,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:29:48] local.INFO: Acknowledgment sent {"connection_id":190204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:30:33] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:33] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:33] local.INFO: IMEI packet received {"connection_id":190050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":190050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:30:38] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:38] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:30:38] local.INFO: IMEI packet received {"connection_id":190050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":190050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:30:38] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:30:38] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:30:38] local.INFO: Packet analysis {"connection_id":190050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:30:38] local.INFO: Extracted packet for processing {"connection_id":190050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:30: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-09-23 04: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":190050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:30:38] local.INFO: GPS data processed {"connection_id":190050,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:30:38] local.INFO: Acknowledgment sent {"connection_id":190050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:31:09] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:09] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:09] local.INFO: Packet analysis {"connection_id":190050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:31:09] local.INFO: Extracted packet for processing {"connection_id":190050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:31: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-09-23 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:31:09] local.INFO: GPS data processed {"connection_id":190050,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:31:09] local.INFO: Acknowledgment sent {"connection_id":190050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:31:32] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:32] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:32] local.INFO: IMEI packet received {"connection_id":190205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":190205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:31:38] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:38] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:31:38] local.INFO: IMEI packet received {"connection_id":190205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":190205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:31:39] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:39] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:31:39] local.INFO: Packet analysis {"connection_id":190205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:31:39] local.INFO: Extracted packet for processing {"connection_id":190205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:31: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-09-23 04:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":190205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:31:39] local.INFO: GPS data processed {"connection_id":190205,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:31:39] local.INFO: Acknowledgment sent {"connection_id":190205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:32:10] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:10] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:10] local.INFO: Packet analysis {"connection_id":190205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:32:10] local.INFO: Extracted packet for processing {"connection_id":190205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":190205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:32:10] local.INFO: GPS data processed {"connection_id":190205,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:32:10] local.INFO: Acknowledgment sent {"connection_id":190205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:32:32] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:32] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:32] local.INFO: IMEI packet received {"connection_id":190052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":190052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:32:38] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:38] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:32:38] local.INFO: IMEI packet received {"connection_id":190052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":190052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:32:39] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:39] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:32:39] local.INFO: Packet analysis {"connection_id":190052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:32:39] local.INFO: Extracted packet for processing {"connection_id":190052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:32: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-09-23 04:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":190052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:32:39] local.INFO: GPS data processed {"connection_id":190052,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:32:39] local.INFO: Acknowledgment sent {"connection_id":190052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:33:10] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:10] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:10] local.INFO: Packet analysis {"connection_id":190052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:33:10] local.INFO: Extracted packet for processing {"connection_id":190052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:33: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-09-23 04: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":190052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:33:10] local.INFO: GPS data processed {"connection_id":190052,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:33:10] local.INFO: Acknowledgment sent {"connection_id":190052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:33:32] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:32] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:32] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:33:38] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:38] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:33:38] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:33:39] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:39] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:33:39] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:33:39] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:33: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-09-23 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:33:39] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:33:39] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:33:41] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:33:41] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:33:41] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:34:10] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:34:10] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:34:10] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:34:10] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:10] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:10] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:10] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:34: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-09-23 04: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:34:10] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:34:10] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:34:38] local.INFO: TCP Data received {"connection_id":190053,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:38] local.INFO: Processing buffer {"connection_id":190053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:38] local.INFO: IMEI packet received {"connection_id":190053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":190053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:34:43] local.INFO: TCP Data received {"connection_id":190053,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:43] local.INFO: Processing buffer {"connection_id":190053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:34:43] local.INFO: IMEI packet received {"connection_id":190053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":190053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:34:43] local.INFO: TCP Data received {"connection_id":190053,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:43] local.INFO: Processing buffer {"connection_id":190053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:43] local.INFO: Packet analysis {"connection_id":190053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:43] local.INFO: Extracted packet for processing {"connection_id":190053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:34: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-09-23 04:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":190053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:34:43] local.INFO: GPS data processed {"connection_id":190053,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:34:43] local.INFO: Acknowledgment sent {"connection_id":190053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:34:48] local.INFO: TCP Data received {"connection_id":190053,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:48] local.INFO: Processing buffer {"connection_id":190053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb588820012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:34:48] local.INFO: Packet analysis {"connection_id":190053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:48] local.INFO: Extracted packet for processing {"connection_id":190053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb58"} 
[2026-09-23 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270123776001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790117972000,"timestamp_ms":1790117972000,"timestamp_seconds":1790117972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb588820"} 
[2026-09-23 04:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 04:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270123776001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270123776001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270123776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":190053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:34:48] local.INFO: GPS data processed {"connection_id":190053,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:34:48] local.INFO: Acknowledgment sent {"connection_id":190053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:35:34] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:34] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:34] local.INFO: IMEI packet received {"connection_id":190054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":190054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:35:38] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:38] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:35:38] local.INFO: IMEI packet received {"connection_id":190054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":190054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:35:39] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:35:39] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:35:39] local.INFO: Packet analysis {"connection_id":190054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:35:39] local.INFO: Extracted packet for processing {"connection_id":190054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:35: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:35: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-09-23 04: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-09-23 04:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":190054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:35:39] local.INFO: GPS data processed {"connection_id":190054,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:35:39] local.INFO: Acknowledgment sent {"connection_id":190054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:36:10] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:10] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:10] local.INFO: Packet analysis {"connection_id":190054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:36:10] local.INFO: Extracted packet for processing {"connection_id":190054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:36: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-09-23 04:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":190054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:36:10] local.INFO: GPS data processed {"connection_id":190054,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:36:10] local.INFO: Acknowledgment sent {"connection_id":190054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:36:32] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:32] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:32] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:36:38] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:38] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:36:38] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:36:38] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:38] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:36:38] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:36:38] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:36: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-09-23 04:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:36: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-09-23 04: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-09-23 04:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:36:38] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:36:38] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:37:10] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:10] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:10] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:37:10] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:37: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-09-23 04:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:37:10] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:37:10] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:37:21] local.INFO: TCP Data received {"connection_id":190056,"ip":"66.132.172.204","data_length":243,"data_hex":"16030100ee010000ea03034ab81af2cd21fa8986f969da0928de52f0fb4f0867..."} 
[2026-09-23 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190056,"packet_length":243,"packet_hex":"16030100ee010000ea03034ab81af2cd21fa8986f969da0928de52f0fb4f0867..."} 
[2026-09-23 04:37:21] local.INFO: Processing buffer {"connection_id":190056,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034ab81af2cd21fa8986f969da0928de52f0fb4f0867..."} 
[2026-09-23 04:37:21] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":190056,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034ab81af2cd"} 
[2026-09-23 04:37:32] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:32] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:32] local.INFO: IMEI packet received {"connection_id":190210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:37:38] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:38] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:37:38] local.INFO: IMEI packet received {"connection_id":190210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":190210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:37:39] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:39] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:37:39] local.INFO: Packet analysis {"connection_id":190210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:37:39] local.INFO: Extracted packet for processing {"connection_id":190210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:37: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-09-23 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:37: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-09-23 04:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":190210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:37:39] local.INFO: GPS data processed {"connection_id":190210,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:37:39] local.INFO: Acknowledgment sent {"connection_id":190210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:38:10] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:10] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:10] local.INFO: Packet analysis {"connection_id":190210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:10] local.INFO: Extracted packet for processing {"connection_id":190210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:38: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-09-23 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":190210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:38:10] local.INFO: GPS data processed {"connection_id":190210,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:38:10] local.INFO: Acknowledgment sent {"connection_id":190210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:38:38] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:38] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:38] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:38:43] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:43] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:38:43] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:38:43] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:43] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:43] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:43] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:38: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-09-23 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":192897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:38:43] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:38:43] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:38:48] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:48] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:38:48] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:48] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":192897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:38:48] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:38:48] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:39:33] local.INFO: TCP Data received {"connection_id":190059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:33] local.INFO: Processing buffer {"connection_id":190059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:33] local.INFO: IMEI packet received {"connection_id":190059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":190059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:39:36] local.INFO: TCP Data received {"connection_id":190058,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:39:36] local.INFO: Processing buffer {"connection_id":190058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:39:36] local.INFO: IMEI packet received {"connection_id":190058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:39:38] local.INFO: TCP Data received {"connection_id":190059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:38] local.INFO: Processing buffer {"connection_id":190059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:39:38] local.INFO: IMEI packet received {"connection_id":190059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":190059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:39:39] local.INFO: TCP Data received {"connection_id":190059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:39:39] local.INFO: Processing buffer {"connection_id":190059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:39:39] local.INFO: Packet analysis {"connection_id":190059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:39:39] local.INFO: Extracted packet for processing {"connection_id":190059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 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-09-23 04:39: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:39: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-09-23 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-09-23 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-09-23 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:39:39] local.INFO: GPS data processed {"connection_id":190059,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:39:39] local.INFO: Acknowledgment sent {"connection_id":190059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:40:10] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:40:10] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:40:10] local.INFO: IMEI packet received {"connection_id":190211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":190211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:40:12] local.INFO: TCP Data received {"connection_id":190059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:12] local.INFO: Processing buffer {"connection_id":190059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb5d1fe8012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:12] local.INFO: Packet analysis {"connection_id":190059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:40:12] local.INFO: Extracted packet for processing {"connection_id":190059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb5d"} 
[2026-09-23 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270200832001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790118273000,"timestamp_ms":1790118273000,"timestamp_seconds":1790118273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb5d1fe8"} 
[2026-09-23 04:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270200832001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270200832001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:40:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:40:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270200832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":190059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:40:12] local.INFO: GPS data processed {"connection_id":190059,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:40:12] local.INFO: Acknowledgment sent {"connection_id":190059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:40:32] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:32] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:32] local.INFO: IMEI packet received {"connection_id":190212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":190212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:40:38] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:38] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:40:38] local.INFO: IMEI packet received {"connection_id":190212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":190212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:40:38] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:38] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:40:38] local.INFO: Packet analysis {"connection_id":190212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:40:38] local.INFO: Extracted packet for processing {"connection_id":190212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:40: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-09-23 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:40: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-09-23 04: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-09-23 04:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":190212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:40:38] local.INFO: GPS data processed {"connection_id":190212,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:40:38] local.INFO: Acknowledgment sent {"connection_id":190212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:41:10] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:10] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:10] local.INFO: Packet analysis {"connection_id":190212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:41:10] local.INFO: Extracted packet for processing {"connection_id":190212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 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-09-23 04:41: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":190212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:41:10] local.INFO: GPS data processed {"connection_id":190212,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:41:10] local.INFO: Acknowledgment sent {"connection_id":190212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:41:32] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:32] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:32] local.INFO: IMEI packet received {"connection_id":190213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:41:38] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:38] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:41:38] local.INFO: IMEI packet received {"connection_id":190213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":190213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:41:39] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:39] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:41:39] local.INFO: Packet analysis {"connection_id":190213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:41:39] local.INFO: Extracted packet for processing {"connection_id":190213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:41: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:41: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-09-23 04: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-09-23 04:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":190213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:41:39] local.INFO: GPS data processed {"connection_id":190213,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:41:39] local.INFO: Acknowledgment sent {"connection_id":190213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:42:11] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:11] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:11] local.INFO: Packet analysis {"connection_id":190213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:42:11] local.INFO: Extracted packet for processing {"connection_id":190213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:42: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-09-23 04:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":190213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:42:11] local.INFO: GPS data processed {"connection_id":190213,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:42:11] local.INFO: Acknowledgment sent {"connection_id":190213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:42:32] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:32] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:32] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:42:38] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:38] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:42:38] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:42:38] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:38] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:42:38] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:42:38] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:42: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:42: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-09-23 04: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-09-23 04:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":192899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:42:38] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:42:38] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:43:10] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:10] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:10] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:43:10] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:43: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-09-23 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":192899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:43:10] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:43:10] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:43:38] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:38] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:38] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:43:43] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:43] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:43:43] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:43:44] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:44] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:43:44] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:43:44] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:43: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:43:44] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:43:44] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:44:15] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:15] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:15] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:44:15] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:44: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-09-23 04: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-09-23 04:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:44:15] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:44:15] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:44:32] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:32] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:32] local.INFO: IMEI packet received {"connection_id":190214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":190214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:44:38] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:38] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:44:38] local.INFO: IMEI packet received {"connection_id":190214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":190214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:44:38] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:38] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:44:38] local.INFO: Packet analysis {"connection_id":190214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:44:38] local.INFO: Extracted packet for processing {"connection_id":190214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:44: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-09-23 04:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:44: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-09-23 04:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":190214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:44:38] local.INFO: GPS data processed {"connection_id":190214,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:44:38] local.INFO: Acknowledgment sent {"connection_id":190214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:45:10] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:45:10] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb61b7b0012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:45:10] local.INFO: Packet analysis {"connection_id":190214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:45:10] local.INFO: Extracted packet for processing {"connection_id":190214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb61"} 
[2026-09-23 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270277888001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118574000,"timestamp_ms":1790118574000,"timestamp_seconds":1790118574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb61b7b0"} 
[2026-09-23 04:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:45: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-09-23 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270277888001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270277888001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270277888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":190214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:45:10] local.INFO: GPS data processed {"connection_id":190214,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:45:10] local.INFO: Acknowledgment sent {"connection_id":190214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:45:32] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:32] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:32] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:45:36] local.INFO: TCP Data received {"connection_id":190063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:45:36] local.INFO: Processing buffer {"connection_id":190063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:45:36] local.INFO: IMEI packet received {"connection_id":190063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:45:38] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:38] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:45:38] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:45:39] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:45:39] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:45:39] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:45:39] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:45: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:45: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-09-23 04: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-09-23 04:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:45:39] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:45:39] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:46:11] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:46:11] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:46:11] local.INFO: IMEI packet received {"connection_id":192900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":192900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:46:11] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:11] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:11] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:46:11] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 04:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 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-09-23 04:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:46: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-09-23 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-09-23 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-09-23 04:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:46:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:46:11] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:46:11] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:46:32] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:32] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:32] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:46:38] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:38] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:46:38] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:46:39] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:39] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:46:39] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:46:39] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:46: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-09-23 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:46: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-09-23 04: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-09-23 04:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:46:39] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:46:39] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:47:10] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:10] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:10] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:10] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:47: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-09-23 04:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:47:10] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:47:10] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:47:38] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:38] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:38] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:47:43] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:43] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:47:43] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:47:44] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:44] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:44] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:44] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:47: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-09-23 04:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:47:44] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:47:44] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:47:48] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:48] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:47:48] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:48] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:47:48] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:47:48] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:48:33] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:33] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:33] local.INFO: IMEI packet received {"connection_id":190065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":190065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:48:37] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:37] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:48:37] local.INFO: IMEI packet received {"connection_id":190065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":190065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:48:38] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:48:38] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:48:38] local.INFO: Packet analysis {"connection_id":190065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:48:38] local.INFO: Extracted packet for processing {"connection_id":190065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:48: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-09-23 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:48: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-09-23 04:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":190065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:48:38] local.INFO: GPS data processed {"connection_id":190065,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:48:38] local.INFO: Acknowledgment sent {"connection_id":190065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:49:10] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:10] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:10] local.INFO: Packet analysis {"connection_id":190065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:49:10] local.INFO: Extracted packet for processing {"connection_id":190065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:49: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-09-23 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":190065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:49:10] local.INFO: GPS data processed {"connection_id":190065,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:49:10] local.INFO: Acknowledgment sent {"connection_id":190065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:49:33] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:33] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:33] local.INFO: IMEI packet received {"connection_id":190066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":190066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:49:38] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:38] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:49:38] local.INFO: IMEI packet received {"connection_id":190066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":190066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:49:39] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:39] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:49:39] local.INFO: Packet analysis {"connection_id":190066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:49:39] local.INFO: Extracted packet for processing {"connection_id":190066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:49: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-09-23 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:49: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-09-23 04: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-09-23 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":190066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:49:39] local.INFO: GPS data processed {"connection_id":190066,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:49:39] local.INFO: Acknowledgment sent {"connection_id":190066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:50:10] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:50:10] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb664f78012d34c18006aa4440000800d12c..."} 
[2026-09-23 04:50:10] local.INFO: Packet analysis {"connection_id":190066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:50:10] local.INFO: Extracted packet for processing {"connection_id":190066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb66"} 
[2026-09-23 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270354944001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790118875000,"timestamp_ms":1790118875000,"timestamp_seconds":1790118875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb664f78"} 
[2026-09-23 04:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 04:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270354944001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270354944001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270354944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":190066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:50:10] local.INFO: GPS data processed {"connection_id":190066,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:50:10] local.INFO: Acknowledgment sent {"connection_id":190066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:50:32] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:32] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:32] local.INFO: IMEI packet received {"connection_id":192902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":192902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:50:38] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:38] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:50:38] local.INFO: IMEI packet received {"connection_id":192902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":192902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:50:39] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:50:39] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:50:39] local.INFO: Packet analysis {"connection_id":192902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:50:39] local.INFO: Extracted packet for processing {"connection_id":192902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04: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-09-23 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":192902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:50:39] local.INFO: GPS data processed {"connection_id":192902,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:50:39] local.INFO: Acknowledgment sent {"connection_id":192902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:51:10] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:10] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:10] local.INFO: Packet analysis {"connection_id":192902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:51:10] local.INFO: Extracted packet for processing {"connection_id":192902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:51: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-09-23 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:51: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-09-23 04:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":192902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:51:10] local.INFO: GPS data processed {"connection_id":192902,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:51:10] local.INFO: Acknowledgment sent {"connection_id":192902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:51:32] local.INFO: TCP Data received {"connection_id":190069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:32] local.INFO: Processing buffer {"connection_id":190069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:32] local.INFO: IMEI packet received {"connection_id":190069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":190069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:51:38] local.INFO: TCP Data received {"connection_id":190069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:38] local.INFO: Processing buffer {"connection_id":190069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:51:38] local.INFO: IMEI packet received {"connection_id":190069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":190069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:51:39] local.INFO: TCP Data received {"connection_id":190069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:39] local.INFO: Processing buffer {"connection_id":190069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:51:39] local.INFO: Packet analysis {"connection_id":190069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:51:39] local.INFO: Extracted packet for processing {"connection_id":190069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:51: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-09-23 04:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":190069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:51:39] local.INFO: GPS data processed {"connection_id":190069,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:51:39] local.INFO: Acknowledgment sent {"connection_id":190069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:51:41] local.INFO: TCP Data received {"connection_id":190068,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:51:41] local.INFO: Processing buffer {"connection_id":190068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:51:41] local.INFO: IMEI packet received {"connection_id":190068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":190068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:52:11] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:52:11] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:52:11] local.INFO: IMEI packet received {"connection_id":192903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":192903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:52:11] local.INFO: TCP Data received {"connection_id":190069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:11] local.INFO: Processing buffer {"connection_id":190069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:11] local.INFO: Packet analysis {"connection_id":190069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:11] local.INFO: Extracted packet for processing {"connection_id":190069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:52: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-09-23 04:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":190069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:52:11] local.INFO: GPS data processed {"connection_id":190069,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:52:11] local.INFO: Acknowledgment sent {"connection_id":190069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:52:37] local.INFO: TCP Data received {"connection_id":190217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:37] local.INFO: Processing buffer {"connection_id":190217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:37] local.INFO: IMEI packet received {"connection_id":190217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:52:42] local.INFO: TCP Data received {"connection_id":190217,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:42] local.INFO: Processing buffer {"connection_id":190217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:52:42] local.INFO: IMEI packet received {"connection_id":190217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":190217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:52:43] local.INFO: TCP Data received {"connection_id":190217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:43] local.INFO: Processing buffer {"connection_id":190217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:43] local.INFO: Packet analysis {"connection_id":190217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:43] local.INFO: Extracted packet for processing {"connection_id":190217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:52: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-09-23 04:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:52:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":190217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:52:43] local.INFO: GPS data processed {"connection_id":190217,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:52:43] local.INFO: Acknowledgment sent {"connection_id":190217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:52:48] local.INFO: TCP Data received {"connection_id":190217,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:48] local.INFO: Processing buffer {"connection_id":190217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:52:48] local.INFO: Packet analysis {"connection_id":190217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:48] local.INFO: Extracted packet for processing {"connection_id":190217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":190217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:52:48] local.INFO: GPS data processed {"connection_id":190217,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:52:48] local.INFO: Acknowledgment sent {"connection_id":190217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:53:33] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:33] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:33] local.INFO: IMEI packet received {"connection_id":192904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:53:37] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:37] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:53:37] local.INFO: IMEI packet received {"connection_id":192904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":192904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:53:39] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:53:39] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:53:39] local.INFO: Packet analysis {"connection_id":192904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:53:39] local.INFO: Extracted packet for processing {"connection_id":192904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:53: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-09-23 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":192904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:53:39] local.INFO: GPS data processed {"connection_id":192904,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:53:39] local.INFO: Acknowledgment sent {"connection_id":192904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:54:10] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:10] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:10] local.INFO: Packet analysis {"connection_id":192904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:54:10] local.INFO: Extracted packet for processing {"connection_id":192904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:54: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-09-23 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:54: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-09-23 04:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":192904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:54:10] local.INFO: GPS data processed {"connection_id":192904,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:54:10] local.INFO: Acknowledgment sent {"connection_id":192904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:54:33] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:33] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:33] local.INFO: IMEI packet received {"connection_id":190071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":190071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:54:38] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:38] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:54:38] local.INFO: IMEI packet received {"connection_id":190071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":190071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:54:39] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:39] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:54:39] local.INFO: Packet analysis {"connection_id":190071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:54:39] local.INFO: Extracted packet for processing {"connection_id":190071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:54: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-09-23 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":190071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:54:39] local.INFO: GPS data processed {"connection_id":190071,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:54:39] local.INFO: Acknowledgment sent {"connection_id":190071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:55:11] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:55:11] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6ae740012d34c18006aa4440000800d12b..."} 
[2026-09-23 04:55:11] local.INFO: Packet analysis {"connection_id":190071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:55:11] local.INFO: Extracted packet for processing {"connection_id":190071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6a"} 
[2026-09-23 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270432000001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790119176000,"timestamp_ms":1790119176000,"timestamp_seconds":1790119176,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6ae740"} 
[2026-09-23 04:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 04: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-09-23 04:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270432000001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270432000001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270432000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":190071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:55:11] local.INFO: GPS data processed {"connection_id":190071,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:55:11] local.INFO: Acknowledgment sent {"connection_id":190071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:55:32] local.INFO: TCP Data received {"connection_id":190072,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:32] local.INFO: Processing buffer {"connection_id":190072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:32] local.INFO: IMEI packet received {"connection_id":190072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":190072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:55:38] local.INFO: TCP Data received {"connection_id":190072,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:38] local.INFO: Processing buffer {"connection_id":190072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:55:38] local.INFO: IMEI packet received {"connection_id":190072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":190072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:55:39] local.INFO: TCP Data received {"connection_id":190072,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:55:39] local.INFO: Processing buffer {"connection_id":190072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:55:39] local.INFO: Packet analysis {"connection_id":190072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:55:39] local.INFO: Extracted packet for processing {"connection_id":190072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:55: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-09-23 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":190072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:55:39] local.INFO: GPS data processed {"connection_id":190072,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:55:39] local.INFO: Acknowledgment sent {"connection_id":190072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:56:10] local.INFO: TCP Data received {"connection_id":190072,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:10] local.INFO: Processing buffer {"connection_id":190072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:10] local.INFO: Packet analysis {"connection_id":190072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:56:10] local.INFO: Extracted packet for processing {"connection_id":190072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:56: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-09-23 04: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-09-23 04:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:56:10] local.INFO: GPS data processed {"connection_id":190072,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:56:10] local.INFO: Acknowledgment sent {"connection_id":190072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:56:32] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:32] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:32] local.INFO: IMEI packet received {"connection_id":190219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":190219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:56:37] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:37] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:56:37] local.INFO: IMEI packet received {"connection_id":190219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":190219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:56:39] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:39] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:56:39] local.INFO: Packet analysis {"connection_id":190219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:56:39] local.INFO: Extracted packet for processing {"connection_id":190219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:56: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-09-23 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":190219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:56:39] local.INFO: GPS data processed {"connection_id":190219,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:56:39] local.INFO: Acknowledgment sent {"connection_id":190219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:57:10] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:10] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:10] local.INFO: Packet analysis {"connection_id":190219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:57:10] local.INFO: Extracted packet for processing {"connection_id":190219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:57: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-09-23 04:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04: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-09-23 04:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":190219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:57:10] local.INFO: GPS data processed {"connection_id":190219,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:57:10] local.INFO: Acknowledgment sent {"connection_id":190219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:57:35] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:57:35] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:57:35] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:57:37] local.INFO: TCP Data received {"connection_id":190220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:37] local.INFO: Processing buffer {"connection_id":190220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:37] local.INFO: IMEI packet received {"connection_id":190220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":190220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:57:42] local.INFO: TCP Data received {"connection_id":190220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:42] local.INFO: Processing buffer {"connection_id":190220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:57:42] local.INFO: IMEI packet received {"connection_id":190220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":190220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:57:44] local.INFO: TCP Data received {"connection_id":190220,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:44] local.INFO: Processing buffer {"connection_id":190220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:57:44] local.INFO: Packet analysis {"connection_id":190220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:57:44] local.INFO: Extracted packet for processing {"connection_id":190220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:57: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-09-23 04:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":190220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:57:44] local.INFO: GPS data processed {"connection_id":190220,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:57:44] local.INFO: Acknowledgment sent {"connection_id":190220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:58:10] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:58:10] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 04:58:10] local.INFO: IMEI packet received {"connection_id":192906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":192906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:58:15] local.INFO: TCP Data received {"connection_id":190220,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:15] local.INFO: Processing buffer {"connection_id":190220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:15] local.INFO: Packet analysis {"connection_id":190220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:58:15] local.INFO: Extracted packet for processing {"connection_id":190220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 04:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":190220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:58:15] local.INFO: GPS data processed {"connection_id":190220,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:58:15] local.INFO: Acknowledgment sent {"connection_id":190220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:58:32] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:32] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:32] local.INFO: IMEI packet received {"connection_id":190073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":190073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:58:37] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:37] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:58:37] local.INFO: IMEI packet received {"connection_id":190073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":190073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:58:38] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:38] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:58:38] local.INFO: Packet analysis {"connection_id":190073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:58:38] local.INFO: Extracted packet for processing {"connection_id":190073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:58: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-09-23 04:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":190073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:58:38] local.INFO: GPS data processed {"connection_id":190073,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:58:38] local.INFO: Acknowledgment sent {"connection_id":190073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:59:10] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:10] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:10] local.INFO: Packet analysis {"connection_id":190073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:59:10] local.INFO: Extracted packet for processing {"connection_id":190073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 04:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04:59: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-09-23 04:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 04:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":190073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:59:10] local.INFO: GPS data processed {"connection_id":190073,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:59:10] local.INFO: Acknowledgment sent {"connection_id":190073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 04:59:33] local.INFO: TCP Data received {"connection_id":190074,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:33] local.INFO: Processing buffer {"connection_id":190074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:33] local.INFO: IMEI packet received {"connection_id":190074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 04:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":190074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 04:59:37] local.INFO: TCP Data received {"connection_id":190074,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:37] local.INFO: Processing buffer {"connection_id":190074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 04:59:37] local.INFO: IMEI packet received {"connection_id":190074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 04:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":190074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 04:59:39] local.INFO: TCP Data received {"connection_id":190074,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:39] local.INFO: Processing buffer {"connection_id":190074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 04:59:39] local.INFO: Packet analysis {"connection_id":190074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:59:39] local.INFO: Extracted packet for processing {"connection_id":190074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 04:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 04: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-09-23 04:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 04:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 04:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 04:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 04: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-09-23 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 04:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 04: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-09-23 04:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 04:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 04:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 04:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 04:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 04:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 04:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 04:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 04:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 04:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 04:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 04:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 04:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 04:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 04:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 04:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 04:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":190074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 04:59:39] local.INFO: GPS data processed {"connection_id":190074,"processed":1,"errors":0,"total":1} 
[2026-09-23 04:59:39] local.INFO: Acknowledgment sent {"connection_id":190074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:00:10] local.INFO: TCP Data received {"connection_id":190074,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:00:10] local.INFO: Processing buffer {"connection_id":190074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb6f7f08012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:00:10] local.INFO: Packet analysis {"connection_id":190074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 05:00:10] local.INFO: Extracted packet for processing {"connection_id":190074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb6f"} 
[2026-09-23 05:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270509056001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119477000,"timestamp_ms":1790119477000,"timestamp_seconds":1790119477,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb6f7f08"} 
[2026-09-23 05:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:00: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-09-23 05: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:00: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-09-23 05: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-09-23 05:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270509056001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270509056001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270509056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":190074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:00:10] local.INFO: GPS data processed {"connection_id":190074,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:00:10] local.INFO: Acknowledgment sent {"connection_id":190074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:00:32] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:32] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:32] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:00:38] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:38] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:00:38] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:00:39] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:00:39] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:00:39] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb74"} 
[2026-09-23 05:00:39] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb74"} 
[2026-09-23 05:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270586112001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790119778000,"timestamp_ms":1790119778000,"timestamp_seconds":1790119778,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7416d0"} 
[2026-09-23 05:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:00: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:00: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-09-23 05: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-09-23 05:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270586112001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270586112001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270586112001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:00:39] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:00:39] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:01:10] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:01:10] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7416d0012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:01:10] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb74"} 
[2026-09-23 05:01:10] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb74"} 
[2026-09-23 05:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270586112001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790119778000,"timestamp_ms":1790119778000,"timestamp_seconds":1790119778,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7416d0"} 
[2026-09-23 05:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:01: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-09-23 05:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270586112001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270586112001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270586112001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:01:10] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:01:10] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:01:38] local.INFO: TCP Data received {"connection_id":191570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:01:38] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:01:38] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:02:08] local.INFO: TCP Data received {"connection_id":192909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:02:08] local.INFO: Processing buffer {"connection_id":192909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:02:08] local.INFO: IMEI packet received {"connection_id":192909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":192909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:03:35] local.INFO: TCP Data received {"connection_id":190076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:03:35] local.INFO: Processing buffer {"connection_id":190076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:03:35] local.INFO: IMEI packet received {"connection_id":190076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":190076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:04:16] local.INFO: TCP Data received {"connection_id":190222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:04:16] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:04:16] local.INFO: IMEI packet received {"connection_id":190222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":190222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:07:12] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:12] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:12] local.INFO: IMEI packet received {"connection_id":192911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":192911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:07:13] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:13] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:13] local.INFO: Packet analysis {"connection_id":192911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:07:13] local.INFO: Extracted packet for processing {"connection_id":192911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":192911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:07:13] local.INFO: GPS data processed {"connection_id":192911,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:07:13] local.INFO: Acknowledgment sent {"connection_id":192911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:07:32] local.INFO: TCP Data received {"connection_id":190225,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:32] local.INFO: Processing buffer {"connection_id":190225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:32] local.INFO: IMEI packet received {"connection_id":190225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":190225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:07:37] local.INFO: TCP Data received {"connection_id":190225,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:37] local.INFO: Processing buffer {"connection_id":190225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:07:37] local.INFO: IMEI packet received {"connection_id":190225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":190225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:07:39] local.INFO: TCP Data received {"connection_id":190225,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:39] local.INFO: Processing buffer {"connection_id":190225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:07:39] local.INFO: Packet analysis {"connection_id":190225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:07:39] local.INFO: Extracted packet for processing {"connection_id":190225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:07: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-09-23 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":190225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:07:39] local.INFO: GPS data processed {"connection_id":190225,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:07:39] local.INFO: Acknowledgment sent {"connection_id":190225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:08:10] local.INFO: TCP Data received {"connection_id":190225,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:10] local.INFO: Processing buffer {"connection_id":190225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:10] local.INFO: Packet analysis {"connection_id":190225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:08:10] local.INFO: Extracted packet for processing {"connection_id":190225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:08: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-09-23 05:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:08: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-09-23 05: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-09-23 05:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":190225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:08:10] local.INFO: GPS data processed {"connection_id":190225,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:08:10] local.INFO: Acknowledgment sent {"connection_id":190225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:08:32] local.INFO: TCP Data received {"connection_id":190227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:32] local.INFO: Processing buffer {"connection_id":190227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:32] local.INFO: IMEI packet received {"connection_id":190227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":190227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:08:38] local.INFO: TCP Data received {"connection_id":190227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:38] local.INFO: Processing buffer {"connection_id":190227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:08:38] local.INFO: IMEI packet received {"connection_id":190227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":190227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:08:39] local.INFO: TCP Data received {"connection_id":190227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:39] local.INFO: Processing buffer {"connection_id":190227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:08:39] local.INFO: Packet analysis {"connection_id":190227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:08:39] local.INFO: Extracted packet for processing {"connection_id":190227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:08: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-09-23 05:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":190227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:08:39] local.INFO: GPS data processed {"connection_id":190227,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:08:39] local.INFO: Acknowledgment sent {"connection_id":190227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:09:10] local.INFO: TCP Data received {"connection_id":190227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:10] local.INFO: Processing buffer {"connection_id":190227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:10] local.INFO: Packet analysis {"connection_id":190227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:09:10] local.INFO: Extracted packet for processing {"connection_id":190227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:09: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-09-23 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:09: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-09-23 05: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-09-23 05:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:09:10] local.INFO: GPS data processed {"connection_id":190227,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:09:10] local.INFO: Acknowledgment sent {"connection_id":190227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:09:32] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:32] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:32] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:09:37] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:37] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:09:37] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:09:38] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:38] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:09:38] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:09:38] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:09: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-09-23 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:09: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-09-23 05: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-09-23 05:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:09:38] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:09:38] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:09:40] local.INFO: TCP Data received {"connection_id":190078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:09:40] local.INFO: Processing buffer {"connection_id":190078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:09:40] local.INFO: IMEI packet received {"connection_id":190078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":190078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:10:09] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:10:09] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb78ae98012d34c18006aa4440000800d12b..."} 
[2026-09-23 05:10:09] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:10:09] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb78"} 
[2026-09-23 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270663168001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790120079000,"timestamp_ms":1790120079000,"timestamp_seconds":1790120079,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb78ae98"} 
[2026-09-23 05:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 05:10: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-09-23 05:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270663168001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270663168001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270663168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:10:09] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:10:09] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:10:10] local.INFO: TCP Data received {"connection_id":190079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:10:10] local.INFO: Processing buffer {"connection_id":190079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:10:10] local.INFO: IMEI packet received {"connection_id":190079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":190079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:10:38] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:38] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:38] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:10:42] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:42] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:10:42] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:10:43] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:43] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:43] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:10:43] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:10:43] local.INFO: GPS data processed {"connection_id":191575,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:10:43] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:10:48] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:48] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:10:48] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:10:48] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:10:48] local.INFO: GPS data processed {"connection_id":191575,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:10:48] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:11:32] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:32] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:32] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:11:38] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:38] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:11:38] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:11:39] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:11:39] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:11:39] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:11:39] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:11: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:11: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-09-23 05: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-09-23 05:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:11:39] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:11:39] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:12:10] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:10] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:10] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:12:10] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:12: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-09-23 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":192913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:12:10] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:12:10] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:12:32] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:32] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:32] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:12:37] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:37] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:12:37] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:12:38] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:38] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:12:38] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:12:38] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:12: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-09-23 05:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:12:38] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:12:38] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:13:10] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:10] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:10] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:13:10] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:13: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:13:10] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:13:10] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:13:32] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:32] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:32] local.INFO: IMEI packet received {"connection_id":191577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":191577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:13:38] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:38] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:13:38] local.INFO: IMEI packet received {"connection_id":191577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":191577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:13:39] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:39] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:13:39] local.INFO: Packet analysis {"connection_id":191577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:13:39] local.INFO: Extracted packet for processing {"connection_id":191577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":191577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:13:39] local.INFO: GPS data processed {"connection_id":191577,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:13:39] local.INFO: Acknowledgment sent {"connection_id":191577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:14:11] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:11] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:11] local.INFO: Packet analysis {"connection_id":191577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:11] local.INFO: Extracted packet for processing {"connection_id":191577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:14: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-09-23 05:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":191577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:14:11] local.INFO: GPS data processed {"connection_id":191577,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:14:11] local.INFO: Acknowledgment sent {"connection_id":191577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:14:37] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:37] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:37] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:14:43] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:43] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:14:43] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:14:44] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:44] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:44] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:44] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:14: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-09-23 05:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:14:44] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:14:44] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:14:48] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:48] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb7d4660012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:14:48] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:48] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb7d"} 
[2026-09-23 05:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270740224001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790120380000,"timestamp_ms":1790120380000,"timestamp_seconds":1790120380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb7d4660"} 
[2026-09-23 05:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270740224001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270740224001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270740224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:14:48] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:14:48] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:15:33] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:33] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:33] local.INFO: IMEI packet received {"connection_id":190082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":190082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:15:35] local.INFO: TCP Data received {"connection_id":190228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:15:35] local.INFO: Processing buffer {"connection_id":190228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:15:35] local.INFO: IMEI packet received {"connection_id":190228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:15:37] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:37] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:15:37] local.INFO: IMEI packet received {"connection_id":190082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":190082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:15:38] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:38] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:38] local.INFO: Packet analysis {"connection_id":190082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:15:38] local.INFO: Extracted packet for processing {"connection_id":190082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:15: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-09-23 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05: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-09-23 05:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":190082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:15:38] local.INFO: GPS data processed {"connection_id":190082,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:15:38] local.INFO: Acknowledgment sent {"connection_id":190082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:15:43] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:43] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:15:43] local.INFO: Packet analysis {"connection_id":190082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:15:43] local.INFO: Extracted packet for processing {"connection_id":190082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 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-09-23 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":190082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:15:43] local.INFO: GPS data processed {"connection_id":190082,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:15:43] local.INFO: Acknowledgment sent {"connection_id":190082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:16:10] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:16:10] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:16:10] local.INFO: IMEI packet received {"connection_id":190229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":190229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:16:14] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:14] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:14] local.INFO: Packet analysis {"connection_id":190082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:16:14] local.INFO: Extracted packet for processing {"connection_id":190082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:16: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-09-23 05: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-09-23 05:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":190082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:16:14] local.INFO: GPS data processed {"connection_id":190082,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:16:14] local.INFO: Acknowledgment sent {"connection_id":190082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:16:32] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:32] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:32] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:16:37] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:37] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:16:37] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:16:39] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:39] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:16:39] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:16:39] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:16: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-09-23 05: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-09-23 05:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:16:39] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:16:39] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:17:10] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:10] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:10] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:17:10] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:17: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-09-23 05:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:17:10] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:17:10] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:17:32] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:32] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:32] local.INFO: IMEI packet received {"connection_id":190230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":190230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:17:37] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:37] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:17:37] local.INFO: IMEI packet received {"connection_id":190230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":190230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:17:38] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:38] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:17:38] local.INFO: Packet analysis {"connection_id":190230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:17:38] local.INFO: Extracted packet for processing {"connection_id":190230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:17: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-09-23 05:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":190230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:17:38] local.INFO: GPS data processed {"connection_id":190230,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:17:38] local.INFO: Acknowledgment sent {"connection_id":190230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:18:10] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:10] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:10] local.INFO: Packet analysis {"connection_id":190230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:10] local.INFO: Extracted packet for processing {"connection_id":190230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:18: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-09-23 05:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":190230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:18:10] local.INFO: GPS data processed {"connection_id":190230,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:18:10] local.INFO: Acknowledgment sent {"connection_id":190230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:18:38] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:38] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:38] local.INFO: IMEI packet received {"connection_id":192915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":192915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:18:42] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:42] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:18:42] local.INFO: IMEI packet received {"connection_id":192915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":192915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:18:43] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:43] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:43] local.INFO: Packet analysis {"connection_id":192915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:43] local.INFO: Extracted packet for processing {"connection_id":192915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":192915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:18:43] local.INFO: GPS data processed {"connection_id":192915,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:18:43] local.INFO: Acknowledgment sent {"connection_id":192915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:18:48] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:48] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:18:48] local.INFO: Packet analysis {"connection_id":192915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:48] local.INFO: Extracted packet for processing {"connection_id":192915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":192915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:18:48] local.INFO: GPS data processed {"connection_id":192915,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:18:48] local.INFO: Acknowledgment sent {"connection_id":192915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:19:33] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:33] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:33] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:19:37] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:37] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:19:37] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:19:39] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:39] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:39] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:19:39] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:19: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:19: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-09-23 05: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-09-23 05:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":192916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:19:39] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:19:39] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:19:43] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:43] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:19:43] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:19:43] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":192916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:19:43] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:19:43] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:20:14] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:20:14] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb81de28012d34c18006aa4440000800d129..."} 
[2026-09-23 05:20:14] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:20:14] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb81"} 
[2026-09-23 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270817280001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790120681000,"timestamp_ms":1790120681000,"timestamp_seconds":1790120681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb81de28"} 
[2026-09-23 05:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:20: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-09-23 05: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-09-23 05:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270817280001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270817280001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270817280001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":192916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:20:14] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:20:14] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:20:32] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:32] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:32] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:20:38] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:38] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:20:38] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:20:39] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:20:39] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:20:39] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:20:39] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:20: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-09-23 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":192917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:20:39] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:20:39] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:21:11] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:11] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:11] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:21:11] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":192917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:21:11] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:21:11] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:21:32] local.INFO: TCP Data received {"connection_id":190233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:32] local.INFO: Processing buffer {"connection_id":190233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:32] local.INFO: IMEI packet received {"connection_id":190233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":190233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:21:37] local.INFO: TCP Data received {"connection_id":190233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:37] local.INFO: Processing buffer {"connection_id":190233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:21:37] local.INFO: IMEI packet received {"connection_id":190233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":190233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:21:38] local.INFO: TCP Data received {"connection_id":190233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:38] local.INFO: Processing buffer {"connection_id":190233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:21:38] local.INFO: Packet analysis {"connection_id":190233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:21:38] local.INFO: Extracted packet for processing {"connection_id":190233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 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-09-23 05:21: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-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":190233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:21:38] local.INFO: GPS data processed {"connection_id":190233,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:21:38] local.INFO: Acknowledgment sent {"connection_id":190233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:22:10] local.INFO: TCP Data received {"connection_id":190233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:10] local.INFO: Processing buffer {"connection_id":190233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:10] local.INFO: Packet analysis {"connection_id":190233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:22:10] local.INFO: Extracted packet for processing {"connection_id":190233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:22: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-09-23 05:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:22: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-09-23 05:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":190233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:22:10] local.INFO: GPS data processed {"connection_id":190233,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:22:10] local.INFO: Acknowledgment sent {"connection_id":190233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:22:10] local.INFO: TCP Data received {"connection_id":192918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:22:10] local.INFO: Processing buffer {"connection_id":192918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:22:10] local.INFO: IMEI packet received {"connection_id":192918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":192918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:22:32] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:32] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:32] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:22:37] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:37] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:22:37] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:22:39] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:39] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:22:39] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:22:39] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:22: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-09-23 05:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:22:39] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:22:39] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:23:10] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:10] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:10] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:23:10] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:23: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-09-23 05:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:23: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-09-23 05: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-09-23 05:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:23:10] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:23:10] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:23:32] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:32] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:32] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:23:37] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:37] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:23:37] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:23:39] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:39] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:23:39] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:23:39] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:23: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-09-23 05:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:23:39] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:23:39] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:24:10] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:10] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:10] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:10] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:24: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-09-23 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:24: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-09-23 05:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:24:10] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:24:10] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:24:37] local.INFO: TCP Data received {"connection_id":190085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:37] local.INFO: Processing buffer {"connection_id":190085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:37] local.INFO: IMEI packet received {"connection_id":190085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":190085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:24:42] local.INFO: TCP Data received {"connection_id":190085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:42] local.INFO: Processing buffer {"connection_id":190085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:24:42] local.INFO: IMEI packet received {"connection_id":190085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":190085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:24:43] local.INFO: TCP Data received {"connection_id":190085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:43] local.INFO: Processing buffer {"connection_id":190085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:43] local.INFO: Packet analysis {"connection_id":190085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:43] local.INFO: Extracted packet for processing {"connection_id":190085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:24: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-09-23 05: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-09-23 05:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":190085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:24:43] local.INFO: GPS data processed {"connection_id":190085,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:24:43] local.INFO: Acknowledgment sent {"connection_id":190085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:24:48] local.INFO: TCP Data received {"connection_id":190085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:48] local.INFO: Processing buffer {"connection_id":190085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8675f0012d34c18006aa4440000800d12c..."} 
[2026-09-23 05:24:48] local.INFO: Packet analysis {"connection_id":190085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:48] local.INFO: Extracted packet for processing {"connection_id":190085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb86"} 
[2026-09-23 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270894336001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790120982000,"timestamp_ms":1790120982000,"timestamp_seconds":1790120982,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8675f0"} 
[2026-09-23 05:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:24:48] 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-09-23 05:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270894336001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270894336001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270894336001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":190085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:24:48] local.INFO: GPS data processed {"connection_id":190085,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:24:48] local.INFO: Acknowledgment sent {"connection_id":190085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:25:32] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:32] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:32] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:25:38] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:38] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:25:38] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:25:39] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:25:39] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:25:39] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:25:39] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:25: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-09-23 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:25:39] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:25:39] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:26:11] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:11] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:11] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:26:11] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:26:11] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:26:11] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:26:32] local.INFO: TCP Data received {"connection_id":190087,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:32] local.INFO: Processing buffer {"connection_id":190087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:32] local.INFO: IMEI packet received {"connection_id":190087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":190087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:26:38] local.INFO: TCP Data received {"connection_id":190087,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:38] local.INFO: Processing buffer {"connection_id":190087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:26:38] local.INFO: IMEI packet received {"connection_id":190087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":190087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:26:39] local.INFO: TCP Data received {"connection_id":190087,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:39] local.INFO: Processing buffer {"connection_id":190087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:26:39] local.INFO: Packet analysis {"connection_id":190087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:26:39] local.INFO: Extracted packet for processing {"connection_id":190087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:26: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-09-23 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":190087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:26:39] local.INFO: GPS data processed {"connection_id":190087,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:26:39] local.INFO: Acknowledgment sent {"connection_id":190087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:27:10] local.INFO: TCP Data received {"connection_id":190087,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:10] local.INFO: Processing buffer {"connection_id":190087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:10] local.INFO: Packet analysis {"connection_id":190087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:27:10] local.INFO: Extracted packet for processing {"connection_id":190087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:27: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-09-23 05:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":190087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:27:10] local.INFO: GPS data processed {"connection_id":190087,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:27:10] local.INFO: Acknowledgment sent {"connection_id":190087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:27:32] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:32] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:32] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:27:36] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:27:36] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:27:36] local.INFO: IMEI packet received {"connection_id":192921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":192921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:27:37] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:37] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:27:37] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:27:38] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:38] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:27:38] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:27:38] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:27: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-09-23 05:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:27:38] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:27:38] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:28:10] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:10] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:10] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:10] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:28: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-09-23 05:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:28:10] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:28:10] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:28:10] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:28:10] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:28:10] local.INFO: IMEI packet received {"connection_id":190089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":190089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:28:37] local.INFO: TCP Data received {"connection_id":190236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:37] local.INFO: Processing buffer {"connection_id":190236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:37] local.INFO: IMEI packet received {"connection_id":190236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":190236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:28:42] local.INFO: TCP Data received {"connection_id":190236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:42] local.INFO: Processing buffer {"connection_id":190236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:28:42] local.INFO: IMEI packet received {"connection_id":190236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":190236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:28:43] local.INFO: TCP Data received {"connection_id":190236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:43] local.INFO: Processing buffer {"connection_id":190236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:43] local.INFO: Packet analysis {"connection_id":190236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:43] local.INFO: Extracted packet for processing {"connection_id":190236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":190236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:28:43] local.INFO: GPS data processed {"connection_id":190236,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:28:43] local.INFO: Acknowledgment sent {"connection_id":190236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:28:48] local.INFO: TCP Data received {"connection_id":190236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:48] local.INFO: Processing buffer {"connection_id":190236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:28:48] local.INFO: Packet analysis {"connection_id":190236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:48] local.INFO: Extracted packet for processing {"connection_id":190236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":190236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:28:48] local.INFO: GPS data processed {"connection_id":190236,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:28:48] local.INFO: Acknowledgment sent {"connection_id":190236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:29:32] local.INFO: TCP Data received {"connection_id":192922,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:32] local.INFO: Processing buffer {"connection_id":192922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:32] local.INFO: IMEI packet received {"connection_id":192922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":192922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:29:38] local.INFO: TCP Data received {"connection_id":192922,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:38] local.INFO: Processing buffer {"connection_id":192922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:29:38] local.INFO: IMEI packet received {"connection_id":192922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":192922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:29:39] local.INFO: TCP Data received {"connection_id":192922,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:29:39] local.INFO: Processing buffer {"connection_id":192922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:29:39] local.INFO: Packet analysis {"connection_id":192922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:29:39] local.INFO: Extracted packet for processing {"connection_id":192922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:29: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-09-23 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":192922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:29:39] local.INFO: GPS data processed {"connection_id":192922,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:29:39] local.INFO: Acknowledgment sent {"connection_id":192922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:30:10] local.INFO: TCP Data received {"connection_id":192922,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:30:10] local.INFO: Processing buffer {"connection_id":192922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8b0db8012d34c18006aa4440000800d129..."} 
[2026-09-23 05:30:10] local.INFO: Packet analysis {"connection_id":192922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:30:10] local.INFO: Extracted packet for processing {"connection_id":192922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8b"} 
[2026-09-23 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458270971392001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121283000,"timestamp_ms":1790121283000,"timestamp_seconds":1790121283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8b0db8"} 
[2026-09-23 05:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:30: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-09-23 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458270971392001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458270971392001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458270971392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":192922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:30:11] local.INFO: GPS data processed {"connection_id":192922,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:30:11] local.INFO: Acknowledgment sent {"connection_id":192922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:30:33] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:33] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:33] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:30:37] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:37] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:30:37] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:30:38] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:30:38] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:30:38] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:30:38] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:30: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-09-23 05: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:30:38] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:30:38] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:31:10] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:10] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:10] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:31:10] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:31: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-09-23 05: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-09-23 05: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-09-23 05: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-09-23 05:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:31:11] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:31:11] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:31:32] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:32] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:32] local.INFO: IMEI packet received {"connection_id":190239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":190239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:31:37] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:37] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:31:37] local.INFO: IMEI packet received {"connection_id":190239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":190239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:31:38] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:38] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:31:38] local.INFO: Packet analysis {"connection_id":190239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:31:38] local.INFO: Extracted packet for processing {"connection_id":190239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 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-09-23 05:31: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-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":190239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:31:38] local.INFO: GPS data processed {"connection_id":190239,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:31:38] local.INFO: Acknowledgment sent {"connection_id":190239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:32:10] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:10] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:10] local.INFO: Packet analysis {"connection_id":190239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:32:10] local.INFO: Extracted packet for processing {"connection_id":190239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:32: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-09-23 05:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:32: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-09-23 05:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":190239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:32:10] local.INFO: GPS data processed {"connection_id":190239,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:32:10] local.INFO: Acknowledgment sent {"connection_id":190239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:32:32] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:32] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:32] local.INFO: IMEI packet received {"connection_id":190091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":190091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:32:37] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:37] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:32:37] local.INFO: IMEI packet received {"connection_id":190091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":190091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:32:39] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:39] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:32:39] local.INFO: Packet analysis {"connection_id":190091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:32:39] local.INFO: Extracted packet for processing {"connection_id":190091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:32: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-09-23 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":190091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:32:39] local.INFO: GPS data processed {"connection_id":190091,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:32:39] local.INFO: Acknowledgment sent {"connection_id":190091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:33:11] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:11] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:11] local.INFO: Packet analysis {"connection_id":190091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:33:11] local.INFO: Extracted packet for processing {"connection_id":190091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:33: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-09-23 05:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":190091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:33:11] local.INFO: GPS data processed {"connection_id":190091,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:33:11] local.INFO: Acknowledgment sent {"connection_id":190091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:33:32] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:32] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:32] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:33:36] local.INFO: TCP Data received {"connection_id":192923,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:33:36] local.INFO: Processing buffer {"connection_id":192923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:33:36] local.INFO: IMEI packet received {"connection_id":192923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":192923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:33:37] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:37] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:33:37] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:33:39] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:39] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:33:39] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:33:39] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:33: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-09-23 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:33:39] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:33:39] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:34:10] local.INFO: TCP Data received {"connection_id":190240,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:34:10] local.INFO: Processing buffer {"connection_id":190240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:34:10] local.INFO: IMEI packet received {"connection_id":190240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":190240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:34:11] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:11] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:11] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:11] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05: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-09-23 05: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-09-23 05:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:34:11] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:34:11] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:34:37] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:37] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:37] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:34:42] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:42] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:34:42] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:34:43] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:43] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:43] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:43] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:34: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-09-23 05:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:34:43] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:34:43] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:34:48] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:48] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb8fa580012d34c18006aa4440000800d12d..."} 
[2026-09-23 05:34:48] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:48] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb8f"} 
[2026-09-23 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271048448001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790121584000,"timestamp_ms":1790121584000,"timestamp_seconds":1790121584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb8fa580"} 
[2026-09-23 05:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 05:34:48] 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-09-23 05:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271048448001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271048448001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271048448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:34:48] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:34:48] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:35:33] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:33] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:33] local.INFO: IMEI packet received {"connection_id":191586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:35:37] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:37] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:35:37] local.INFO: IMEI packet received {"connection_id":191586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":191586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:35:38] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:35:38] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:35:38] local.INFO: Packet analysis {"connection_id":191586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:35:38] local.INFO: Extracted packet for processing {"connection_id":191586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 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-09-23 05:35: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:35: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-09-23 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-09-23 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-09-23 05:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":191586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:35:38] local.INFO: GPS data processed {"connection_id":191586,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:35:38] local.INFO: Acknowledgment sent {"connection_id":191586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:36:10] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:10] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:10] local.INFO: Packet analysis {"connection_id":191586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:36:10] local.INFO: Extracted packet for processing {"connection_id":191586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:36: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-09-23 05:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":191586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:36:10] local.INFO: GPS data processed {"connection_id":191586,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:36:10] local.INFO: Acknowledgment sent {"connection_id":191586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:36:32] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:32] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:32] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:36:37] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:37] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:36:37] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:36:39] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:39] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:36:39] local.INFO: Packet analysis {"connection_id":190243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:36:39] local.INFO: Extracted packet for processing {"connection_id":190243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:36: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:36: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-09-23 05: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-09-23 05:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:36:39] local.INFO: GPS data processed {"connection_id":190243,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:36:39] local.INFO: Acknowledgment sent {"connection_id":190243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:37:11] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:11] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:11] local.INFO: Packet analysis {"connection_id":190243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:37:11] local.INFO: Extracted packet for processing {"connection_id":190243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:37:11] local.INFO: GPS data processed {"connection_id":190243,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:37:11] local.INFO: Acknowledgment sent {"connection_id":190243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:37:32] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:32] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:32] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:37:37] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:37] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:37:37] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:37:38] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:38] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:37:38] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:37:38] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:37: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-09-23 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:37: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-09-23 05:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:37:38] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:37:38] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:38:10] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:10] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:10] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:38:10] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:38: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-09-23 05: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:38:10] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:38:10] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:38:32] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:32] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:32] local.INFO: IMEI packet received {"connection_id":192926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":192926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:38:37] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:37] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:38:37] local.INFO: IMEI packet received {"connection_id":192926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":192926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:38:39] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:39] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:38:39] local.INFO: Packet analysis {"connection_id":192926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:38:39] local.INFO: Extracted packet for processing {"connection_id":192926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:38: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-09-23 05:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:38: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-09-23 05: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-09-23 05:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":192926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:38:39] local.INFO: GPS data processed {"connection_id":192926,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:38:39] local.INFO: Acknowledgment sent {"connection_id":192926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:39:11] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:11] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:11] local.INFO: Packet analysis {"connection_id":192926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:11] local.INFO: Extracted packet for processing {"connection_id":192926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:39: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-09-23 05:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":192926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:39:11] local.INFO: GPS data processed {"connection_id":192926,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:39:11] local.INFO: Acknowledgment sent {"connection_id":192926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:39:37] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:37] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:37] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:39:41] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:39:41] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:39:41] local.INFO: IMEI packet received {"connection_id":190245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":190245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:39:42] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:42] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:39:42] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:39:44] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:44] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:44] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:44] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:39: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:39:44] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:39:44] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:39:48] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:48] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb943d48012d34c18006aa4440000800d12a..."} 
[2026-09-23 05:39:48] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:48] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb94"} 
[2026-09-23 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271125504001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790121885000,"timestamp_ms":1790121885000,"timestamp_seconds":1790121885,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb943d48"} 
[2026-09-23 05:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271125504001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271125504001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271125504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:39:48] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:39:48] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:40:15] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:40:15] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:40:15] local.INFO: IMEI packet received {"connection_id":190093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":190093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:40:32] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:32] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:32] local.INFO: IMEI packet received {"connection_id":192927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":192927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:40:37] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:37] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:37] local.INFO: IMEI packet received {"connection_id":192927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":192927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:40:43] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:43] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:40:43] local.INFO: IMEI packet received {"connection_id":192927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":192927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:40:44] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:40:44] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:40:44] local.INFO: Packet analysis {"connection_id":192927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:40:44] local.INFO: Extracted packet for processing {"connection_id":192927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":192927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:40:44] local.INFO: GPS data processed {"connection_id":192927,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:40:44] local.INFO: Acknowledgment sent {"connection_id":192927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:41:15] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:15] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:15] local.INFO: Packet analysis {"connection_id":192927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:41:15] local.INFO: Extracted packet for processing {"connection_id":192927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":192927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:41:15] local.INFO: GPS data processed {"connection_id":192927,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:41:15] local.INFO: Acknowledgment sent {"connection_id":192927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:41:32] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:32] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:32] local.INFO: IMEI packet received {"connection_id":190247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:41:37] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:37] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:41:37] local.INFO: IMEI packet received {"connection_id":190247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":190247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:41:39] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:39] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:41:39] local.INFO: Packet analysis {"connection_id":190247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:41:39] local.INFO: Extracted packet for processing {"connection_id":190247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:41: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:41: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-09-23 05: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-09-23 05:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":190247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:41:39] local.INFO: GPS data processed {"connection_id":190247,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:41:39] local.INFO: Acknowledgment sent {"connection_id":190247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:42:10] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:10] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:10] local.INFO: Packet analysis {"connection_id":190247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:42:10] local.INFO: Extracted packet for processing {"connection_id":190247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:42: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-09-23 05:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":190247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:42:10] local.INFO: GPS data processed {"connection_id":190247,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:42:10] local.INFO: Acknowledgment sent {"connection_id":190247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:42:32] local.INFO: TCP Data received {"connection_id":192929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:32] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:32] local.INFO: IMEI packet received {"connection_id":192929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":192929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:42:38] local.INFO: TCP Data received {"connection_id":192929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:38] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:42:38] local.INFO: IMEI packet received {"connection_id":192929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":192929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:42:39] local.INFO: TCP Data received {"connection_id":192929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:39] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:42:39] local.INFO: Packet analysis {"connection_id":192929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:42:39] local.INFO: Extracted packet for processing {"connection_id":192929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:42: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:42: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-09-23 05: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-09-23 05:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":192929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:42:39] local.INFO: GPS data processed {"connection_id":192929,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:42:39] local.INFO: Acknowledgment sent {"connection_id":192929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:43:13] local.INFO: TCP Data received {"connection_id":192929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:13] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:13] local.INFO: Packet analysis {"connection_id":192929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:43:13] local.INFO: Extracted packet for processing {"connection_id":192929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":192929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:43:13] local.INFO: GPS data processed {"connection_id":192929,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:43:13] local.INFO: Acknowledgment sent {"connection_id":192929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:43:32] local.INFO: TCP Data received {"connection_id":192930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:32] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:32] local.INFO: IMEI packet received {"connection_id":192930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":192930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:43:37] local.INFO: TCP Data received {"connection_id":192930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:37] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:43:37] local.INFO: IMEI packet received {"connection_id":192930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":192930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:43:38] local.INFO: TCP Data received {"connection_id":192930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:38] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:43:38] local.INFO: Packet analysis {"connection_id":192930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:43:38] local.INFO: Extracted packet for processing {"connection_id":192930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 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-09-23 05:43: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:43: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-09-23 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-09-23 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-09-23 05:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":192930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:43:38] local.INFO: GPS data processed {"connection_id":192930,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:43:38] local.INFO: Acknowledgment sent {"connection_id":192930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:44:10] local.INFO: TCP Data received {"connection_id":192930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:10] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:10] local.INFO: Packet analysis {"connection_id":192930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:10] local.INFO: Extracted packet for processing {"connection_id":192930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:44: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-09-23 05: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":192930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:44:10] local.INFO: GPS data processed {"connection_id":192930,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:44:10] local.INFO: Acknowledgment sent {"connection_id":192930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:44:38] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:38] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:38] local.INFO: IMEI packet received {"connection_id":190249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":190249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:44:42] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:42] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:44:42] local.INFO: IMEI packet received {"connection_id":190249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":190249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:44:43] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:43] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:43] local.INFO: Packet analysis {"connection_id":190249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:43] local.INFO: Extracted packet for processing {"connection_id":190249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":190249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:44:43] local.INFO: GPS data processed {"connection_id":190249,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:44:43] local.INFO: Acknowledgment sent {"connection_id":190249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:44:48] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:48] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb98d510012d34c18006aa4440000800d128..."} 
[2026-09-23 05:44:48] local.INFO: Packet analysis {"connection_id":190249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:48] local.INFO: Extracted packet for processing {"connection_id":190249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb98"} 
[2026-09-23 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271202560001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790122186000,"timestamp_ms":1790122186000,"timestamp_seconds":1790122186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb98d510"} 
[2026-09-23 05:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271202560001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271202560001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271202560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":190249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:44:48] local.INFO: GPS data processed {"connection_id":190249,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:44:48] local.INFO: Acknowledgment sent {"connection_id":190249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:45:32] local.INFO: TCP Data received {"connection_id":190094,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:32] local.INFO: Processing buffer {"connection_id":190094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:32] local.INFO: IMEI packet received {"connection_id":190094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:45:36] local.INFO: TCP Data received {"connection_id":192931,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:45:36] local.INFO: Processing buffer {"connection_id":192931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:45:36] local.INFO: IMEI packet received {"connection_id":192931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":192931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:45:37] local.INFO: TCP Data received {"connection_id":190094,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:37] local.INFO: Processing buffer {"connection_id":190094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:45:37] local.INFO: IMEI packet received {"connection_id":190094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":190094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:45:38] local.INFO: TCP Data received {"connection_id":190094,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:45:38] local.INFO: Processing buffer {"connection_id":190094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:45:38] local.INFO: Packet analysis {"connection_id":190094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:45:38] local.INFO: Extracted packet for processing {"connection_id":190094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:45: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-09-23 05:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:45: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-09-23 05: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-09-23 05:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":190094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:45:38] local.INFO: GPS data processed {"connection_id":190094,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:45:38] local.INFO: Acknowledgment sent {"connection_id":190094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:46:10] local.INFO: TCP Data received {"connection_id":190094,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:10] local.INFO: Processing buffer {"connection_id":190094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:10] local.INFO: Packet analysis {"connection_id":190094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:46:10] local.INFO: Extracted packet for processing {"connection_id":190094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:46: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-09-23 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":190094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:46:10] local.INFO: GPS data processed {"connection_id":190094,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:46:10] local.INFO: Acknowledgment sent {"connection_id":190094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:46:10] local.INFO: TCP Data received {"connection_id":191589,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:46:10] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:46:10] local.INFO: IMEI packet received {"connection_id":191589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":191589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:46:33] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:33] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:33] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:46:38] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:38] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:46:38] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:46:40] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:40] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:46:40] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:46:40] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:46:40] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:46:40] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:47:11] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:11] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:11] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:47:11] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:47: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-09-23 05:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:47:11] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:47:11] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:47:32] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:32] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:32] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:47:37] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:37] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:47:37] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:47:38] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:38] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:47:38] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:47:38] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:47: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-09-23 05:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:47: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-09-23 05:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:47:38] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:47:38] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:48:10] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:10] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:10] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:48:10] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:48: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-09-23 05:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:48:10] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:48:10] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:48:32] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:32] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:32] local.INFO: IMEI packet received {"connection_id":190096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":190096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:48:38] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:38] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:48:38] local.INFO: IMEI packet received {"connection_id":190096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":190096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:48:39] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:39] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:48:39] local.INFO: Packet analysis {"connection_id":190096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:48:39] local.INFO: Extracted packet for processing {"connection_id":190096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:48: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-09-23 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:48: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-09-23 05: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-09-23 05:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":190096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:48:39] local.INFO: GPS data processed {"connection_id":190096,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:48:39] local.INFO: Acknowledgment sent {"connection_id":190096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:49:11] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:11] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:11] local.INFO: Packet analysis {"connection_id":190096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:11] local.INFO: Extracted packet for processing {"connection_id":190096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":190096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:49:11] local.INFO: GPS data processed {"connection_id":190096,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:49:11] local.INFO: Acknowledgment sent {"connection_id":190096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:49:37] local.INFO: TCP Data received {"connection_id":192935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:37] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:37] local.INFO: IMEI packet received {"connection_id":192935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":192935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:49:42] local.INFO: TCP Data received {"connection_id":192935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:42] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:49:42] local.INFO: IMEI packet received {"connection_id":192935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":192935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:49:43] local.INFO: TCP Data received {"connection_id":192935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:43] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:43] local.INFO: Packet analysis {"connection_id":192935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:43] local.INFO: Extracted packet for processing {"connection_id":192935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":192935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:49:43] local.INFO: GPS data processed {"connection_id":192935,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:49:43] local.INFO: Acknowledgment sent {"connection_id":192935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:49:48] local.INFO: TCP Data received {"connection_id":192935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:48] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cb9d6cd8012d34c18006aa4440000800d125..."} 
[2026-09-23 05:49:48] local.INFO: Packet analysis {"connection_id":192935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:48] local.INFO: Extracted packet for processing {"connection_id":192935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cb9d"} 
[2026-09-23 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:49: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-09-23 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271279616001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790122487000,"timestamp_ms":1790122487000,"timestamp_seconds":1790122487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cb9d6cd8"} 
[2026-09-23 05:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:49: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-09-23 05:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271279616001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271279616001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271279616001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":192935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:49:48] local.INFO: GPS data processed {"connection_id":192935,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:49:48] local.INFO: Acknowledgment sent {"connection_id":192935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:50:32] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:32] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:32] local.INFO: IMEI packet received {"connection_id":192936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":192936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:50:38] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:38] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:50:38] local.INFO: IMEI packet received {"connection_id":192936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":192936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:50:40] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:50:40] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:50:40] local.INFO: Packet analysis {"connection_id":192936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:50:40] local.INFO: Extracted packet for processing {"connection_id":192936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:50: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-09-23 05:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":192936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:50:40] local.INFO: GPS data processed {"connection_id":192936,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:50:40] local.INFO: Acknowledgment sent {"connection_id":192936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:51:12] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:12] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:12] local.INFO: Packet analysis {"connection_id":192936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:51:12] local.INFO: Extracted packet for processing {"connection_id":192936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":192936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:51:12] local.INFO: GPS data processed {"connection_id":192936,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:51:12] local.INFO: Acknowledgment sent {"connection_id":192936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:51:32] local.INFO: TCP Data received {"connection_id":190250,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:32] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:32] local.INFO: IMEI packet received {"connection_id":190250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":190250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:51:36] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:51:36] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:51:36] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:51:37] local.INFO: TCP Data received {"connection_id":190250,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:37] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:51:37] local.INFO: IMEI packet received {"connection_id":190250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":190250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:51:38] local.INFO: TCP Data received {"connection_id":190250,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:38] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:51:38] local.INFO: Packet analysis {"connection_id":190250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:51:38] local.INFO: Extracted packet for processing {"connection_id":190250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 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-09-23 05:51: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-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":190250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:51:38] local.INFO: GPS data processed {"connection_id":190250,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:51:38] local.INFO: Acknowledgment sent {"connection_id":190250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:52:10] local.INFO: TCP Data received {"connection_id":190250,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:10] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:10] local.INFO: Packet analysis {"connection_id":190250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:10] local.INFO: Extracted packet for processing {"connection_id":190250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 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-09-23 05:52: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-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":190250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:52:10] local.INFO: GPS data processed {"connection_id":190250,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:52:10] local.INFO: Acknowledgment sent {"connection_id":190250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:52:10] local.INFO: TCP Data received {"connection_id":190097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:52:10] local.INFO: Processing buffer {"connection_id":190097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:52:10] local.INFO: IMEI packet received {"connection_id":190097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":190097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:52:37] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:37] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:37] local.INFO: IMEI packet received {"connection_id":190098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:52:42] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:42] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:52:42] local.INFO: IMEI packet received {"connection_id":190098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":190098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:52:43] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:43] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:43] local.INFO: Packet analysis {"connection_id":190098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:43] local.INFO: Extracted packet for processing {"connection_id":190098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:52:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":190098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:52:43] local.INFO: GPS data processed {"connection_id":190098,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:52:43] local.INFO: Acknowledgment sent {"connection_id":190098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:52:48] local.INFO: TCP Data received {"connection_id":190098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:48] local.INFO: Processing buffer {"connection_id":190098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:52:48] local.INFO: Packet analysis {"connection_id":190098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:48] local.INFO: Extracted packet for processing {"connection_id":190098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":190098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:52:48] local.INFO: GPS data processed {"connection_id":190098,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:52:48] local.INFO: Acknowledgment sent {"connection_id":190098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:53:32] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:32] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:32] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:53:37] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:37] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:53:37] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:53:38] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:53:38] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:53:38] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:53:38] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:53: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-09-23 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:53:38] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:53:38] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:54:11] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:11] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:11] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:54:11] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:54:11] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:54:11] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:54:32] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:32] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:32] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:54:37] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:37] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:54:37] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:54:38] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:38] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:54:38] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:54:38] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:54: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-09-23 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:54:38] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:54:38] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:55:10] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:10] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba204a0012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:10] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:55:10] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba2"} 
[2026-09-23 05:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271356672001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790122788000,"timestamp_ms":1790122788000,"timestamp_seconds":1790122788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba204a0"} 
[2026-09-23 05:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:55: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-09-23 05:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 05:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271356672001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271356672001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271356672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:55:10] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:55:10] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:55:32] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:32] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:32] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:55:37] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:37] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:55:37] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:55:38] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:38] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:55:38] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:55:38] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 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-09-23 05:55: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-09-23 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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:55: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-09-23 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-09-23 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-09-23 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:55:39] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:55:39] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:56:10] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:10] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:10] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:56:10] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:56:10] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:56:10] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:56:32] local.INFO: TCP Data received {"connection_id":190100,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:32] local.INFO: Processing buffer {"connection_id":190100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:32] local.INFO: IMEI packet received {"connection_id":190100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":190100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:56:37] local.INFO: TCP Data received {"connection_id":190100,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:37] local.INFO: Processing buffer {"connection_id":190100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:56:37] local.INFO: IMEI packet received {"connection_id":190100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":190100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:56:38] local.INFO: TCP Data received {"connection_id":190100,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:38] local.INFO: Processing buffer {"connection_id":190100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:56:38] local.INFO: Packet analysis {"connection_id":190100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:56:38] local.INFO: Extracted packet for processing {"connection_id":190100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:56: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-09-23 05:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:56: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-09-23 05: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-09-23 05:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":190100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:56:38] local.INFO: GPS data processed {"connection_id":190100,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:56:38] local.INFO: Acknowledgment sent {"connection_id":190100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:57:10] local.INFO: TCP Data received {"connection_id":190100,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:10] local.INFO: Processing buffer {"connection_id":190100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:10] local.INFO: Packet analysis {"connection_id":190100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:10] local.INFO: Extracted packet for processing {"connection_id":190100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 05:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 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-09-23 05:57: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-09-23 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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 05:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":190100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:57:10] local.INFO: GPS data processed {"connection_id":190100,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:57:10] local.INFO: Acknowledgment sent {"connection_id":190100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:57:37] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:37] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:37] local.INFO: IMEI packet received {"connection_id":192939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":192939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:57:42] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:42] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:57:42] local.INFO: IMEI packet received {"connection_id":192939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":192939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:57:43] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:43] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:43] local.INFO: Packet analysis {"connection_id":192939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:43] local.INFO: Extracted packet for processing {"connection_id":192939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":192939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:57:43] local.INFO: GPS data processed {"connection_id":192939,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:57:43] local.INFO: Acknowledgment sent {"connection_id":192939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:57:48] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:48] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:57:48] local.INFO: Packet analysis {"connection_id":192939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:48] local.INFO: Extracted packet for processing {"connection_id":192939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 05:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":192939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:57:48] local.INFO: GPS data processed {"connection_id":192939,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:57:48] local.INFO: Acknowledgment sent {"connection_id":192939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:58:16] local.INFO: TCP Data received {"connection_id":192940,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:58:16] local.INFO: Processing buffer {"connection_id":192940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:58:16] local.INFO: IMEI packet received {"connection_id":192940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":192940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:58:32] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:32] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:32] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:58:37] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:37] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:58:37] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:58:39] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:58:39] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:58:39] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:58:39] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:58: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-09-23 05: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:58: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-09-23 05: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-09-23 05:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:58:39] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:58:39] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:59:10] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:10] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:10] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:59:10] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05: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-09-23 05:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05:59: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-09-23 05:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 05: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-09-23 05:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:59:10] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:59:10] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 05:59:11] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:59:11] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 05:59:11] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 05:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:59:33] local.INFO: TCP Data received {"connection_id":190253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:33] local.INFO: Processing buffer {"connection_id":190253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:33] local.INFO: IMEI packet received {"connection_id":190253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 05:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":190253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 05:59:37] local.INFO: TCP Data received {"connection_id":190253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:37] local.INFO: Processing buffer {"connection_id":190253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 05:59:37] local.INFO: IMEI packet received {"connection_id":190253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 05:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":190253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 05:59:39] local.INFO: TCP Data received {"connection_id":190253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:39] local.INFO: Processing buffer {"connection_id":190253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 05:59:39] local.INFO: Packet analysis {"connection_id":190253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:59:39] local.INFO: Extracted packet for processing {"connection_id":190253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 05:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 05:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 05:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 05:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 05: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-09-23 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 05:59: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-09-23 05:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 05:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 05:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 05:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 05:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 05:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 05:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 05:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 05:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 05:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 05:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 05:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 05:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 05:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 05:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 05:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 05:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 05:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":190253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 05:59:39] local.INFO: GPS data processed {"connection_id":190253,"processed":1,"errors":0,"total":1} 
[2026-09-23 05:59:39] local.INFO: Acknowledgment sent {"connection_id":190253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:00:10] local.INFO: TCP Data received {"connection_id":190253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 06:00:10] local.INFO: Processing buffer {"connection_id":190253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cba69c68012d34c18006aa4440000800d126..."} 
[2026-09-23 06:00:10] local.INFO: Packet analysis {"connection_id":190253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 06:00:10] local.INFO: Extracted packet for processing {"connection_id":190253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cba6"} 
[2026-09-23 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271433728001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123089000,"timestamp_ms":1790123089000,"timestamp_seconds":1790123089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cba69c68"} 
[2026-09-23 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:00: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-09-23 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271433728001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271433728001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271433728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":190253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:00:10] local.INFO: GPS data processed {"connection_id":190253,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:00:10] local.INFO: Acknowledgment sent {"connection_id":190253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:00:32] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:32] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:32] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:00:37] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:37] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:00:37] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:00:38] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:00:38] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:00:38] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:00:38] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:00: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-09-23 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:00: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-09-23 06: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-09-23 06:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:00:38] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:00:38] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:01:10] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:10] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:10] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:10] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 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-09-23 06:01: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-09-23 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":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:01: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-09-23 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-09-23 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-09-23 06:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:01:10] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:01:10] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:01:37] local.INFO: TCP Data received {"connection_id":191598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:37] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:37] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:01:42] local.INFO: TCP Data received {"connection_id":191598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:42] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:01:42] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:01:44] local.INFO: TCP Data received {"connection_id":191598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:44] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:44] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:44] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:01: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-09-23 06:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:01:44] local.INFO: GPS data processed {"connection_id":191598,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:01:44] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:01:48] local.INFO: TCP Data received {"connection_id":191598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:48] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:01:48] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:48] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:01:48] local.INFO: GPS data processed {"connection_id":191598,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:01:48] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:02:32] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:32] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:32] local.INFO: IMEI packet received {"connection_id":190103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":190103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:02:37] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:37] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:02:37] local.INFO: IMEI packet received {"connection_id":190103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":190103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:02:38] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:02:38] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:02:38] local.INFO: Packet analysis {"connection_id":190103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:02:38] local.INFO: Extracted packet for processing {"connection_id":190103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:02: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-09-23 06:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:02: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-09-23 06: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-09-23 06:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":190103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:02:38] local.INFO: GPS data processed {"connection_id":190103,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:02:38] local.INFO: Acknowledgment sent {"connection_id":190103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:03:10] local.INFO: TCP Data received {"connection_id":190103,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:10] local.INFO: Processing buffer {"connection_id":190103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:10] local.INFO: Packet analysis {"connection_id":190103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:03:10] local.INFO: Extracted packet for processing {"connection_id":190103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":190103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:03:10] local.INFO: GPS data processed {"connection_id":190103,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:03:10] local.INFO: Acknowledgment sent {"connection_id":190103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:03:33] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:33] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:33] local.INFO: IMEI packet received {"connection_id":192942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":192942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:03:37] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:37] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:03:37] local.INFO: IMEI packet received {"connection_id":192942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":192942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:03:38] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:38] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:03:38] local.INFO: Packet analysis {"connection_id":192942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:03:38] local.INFO: Extracted packet for processing {"connection_id":192942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:03: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-09-23 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:03: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-09-23 06: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-09-23 06:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":192942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:03:38] local.INFO: GPS data processed {"connection_id":192942,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:03:38] local.INFO: Acknowledgment sent {"connection_id":192942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:04:10] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:10] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:10] local.INFO: Packet analysis {"connection_id":192942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:04:10] local.INFO: Extracted packet for processing {"connection_id":192942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":192942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:04:10] local.INFO: GPS data processed {"connection_id":192942,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:04:10] local.INFO: Acknowledgment sent {"connection_id":192942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:04:16] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:04:16] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:04:16] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:04:32] local.INFO: TCP Data received {"connection_id":191599,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:32] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:32] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:04:38] local.INFO: TCP Data received {"connection_id":191599,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:38] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:04:38] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:04:39] local.INFO: TCP Data received {"connection_id":191599,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:39] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:04:39] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:04:39] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:04: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-09-23 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:04:39] local.INFO: GPS data processed {"connection_id":191599,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:04:39] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:05:10] local.INFO: TCP Data received {"connection_id":191599,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:05:10] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbab3430012d34c18006aa4440000800d127..."} 
[2026-09-23 06:05:10] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:05:10] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbab"} 
[2026-09-23 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271510784001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123390000,"timestamp_ms":1790123390000,"timestamp_seconds":1790123390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbab3430"} 
[2026-09-23 06:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:05: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-09-23 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271510784001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271510784001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271510784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:05:10] local.INFO: GPS data processed {"connection_id":191599,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:05:10] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:05:32] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:32] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:32] local.INFO: IMEI packet received {"connection_id":190105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:05:37] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:37] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:05:37] local.INFO: IMEI packet received {"connection_id":190105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:05:38] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:05:38] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:05:38] local.INFO: Packet analysis {"connection_id":190105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:05:38] local.INFO: Extracted packet for processing {"connection_id":190105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:05: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-09-23 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:05: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-09-23 06:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:05:38] local.INFO: GPS data processed {"connection_id":190105,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:05:38] local.INFO: Acknowledgment sent {"connection_id":190105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:06:10] local.INFO: TCP Data received {"connection_id":190105,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:10] local.INFO: Processing buffer {"connection_id":190105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:10] local.INFO: Packet analysis {"connection_id":190105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:06:10] local.INFO: Extracted packet for processing {"connection_id":190105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06: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-09-23 06:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":190105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:06:10] local.INFO: GPS data processed {"connection_id":190105,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:06:10] local.INFO: Acknowledgment sent {"connection_id":190105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:06:32] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:32] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:32] local.INFO: IMEI packet received {"connection_id":190257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":190257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:06:37] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:37] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:06:37] local.INFO: IMEI packet received {"connection_id":190257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":190257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:06:38] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:38] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:06:38] local.INFO: Packet analysis {"connection_id":190257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:06:38] local.INFO: Extracted packet for processing {"connection_id":190257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:06: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-09-23 06:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:06: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-09-23 06:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":190257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:06:38] local.INFO: GPS data processed {"connection_id":190257,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:06:38] local.INFO: Acknowledgment sent {"connection_id":190257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:07:11] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:11] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:11] local.INFO: Packet analysis {"connection_id":190257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:07:11] local.INFO: Extracted packet for processing {"connection_id":190257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:07: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-09-23 06:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":190257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:07:11] local.INFO: GPS data processed {"connection_id":190257,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:07:11] local.INFO: Acknowledgment sent {"connection_id":190257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:07:33] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:33] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:33] local.INFO: IMEI packet received {"connection_id":192943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:07:37] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:37] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:07:37] local.INFO: IMEI packet received {"connection_id":192943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":192943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:07:38] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:38] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:07:38] local.INFO: Packet analysis {"connection_id":192943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:07:38] local.INFO: Extracted packet for processing {"connection_id":192943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:07: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-09-23 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:07: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-09-23 06: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-09-23 06:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":192943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:07:38] local.INFO: GPS data processed {"connection_id":192943,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:07:38] local.INFO: Acknowledgment sent {"connection_id":192943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:08:09] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:09] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:09] local.INFO: Packet analysis {"connection_id":192943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:08:09] local.INFO: Extracted packet for processing {"connection_id":192943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:08: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-09-23 06: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-09-23 06:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":192943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:08:09] local.INFO: GPS data processed {"connection_id":192943,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:08:09] local.INFO: Acknowledgment sent {"connection_id":192943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:08:32] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:32] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:32] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:08:37] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:37] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:08:37] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:08:39] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:39] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:08:39] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:08:39] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:08: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-09-23 06:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:08: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-09-23 06: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-09-23 06:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:08:39] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:08:39] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:09:10] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:10] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:10] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:09:10] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:09: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-09-23 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:09:10] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:09:10] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:09:32] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:32] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:32] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:09:37] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:37] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:09:37] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:09:39] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:39] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:09:39] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:09:39] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:09: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-09-23 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:09: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-09-23 06: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-09-23 06:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:09:39] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:09:39] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:09:51] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:09:51] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:09:51] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:10:10] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:10] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbafcbf8012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:10] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:10:10] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbaf"} 
[2026-09-23 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271587840001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123691000,"timestamp_ms":1790123691000,"timestamp_seconds":1790123691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbafcbf8"} 
[2026-09-23 06:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:10: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-09-23 06:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271587840001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271587840001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271587840001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:10:10] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:10:10] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:10:10] local.INFO: TCP Data received {"connection_id":192944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:10:10] local.INFO: Processing buffer {"connection_id":192944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:10:10] local.INFO: IMEI packet received {"connection_id":192944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":192944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:10:32] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:32] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:32] local.INFO: IMEI packet received {"connection_id":190107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":190107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:10:37] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:37] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:10:37] local.INFO: IMEI packet received {"connection_id":190107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":190107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:10:38] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:38] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:10:38] local.INFO: Packet analysis {"connection_id":190107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:10:38] local.INFO: Extracted packet for processing {"connection_id":190107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":190107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:10:38] local.INFO: GPS data processed {"connection_id":190107,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:10:38] local.INFO: Acknowledgment sent {"connection_id":190107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:11:09] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:09] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:09] local.INFO: Packet analysis {"connection_id":190107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:11:09] local.INFO: Extracted packet for processing {"connection_id":190107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":190107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:11:09] local.INFO: GPS data processed {"connection_id":190107,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:11:09] local.INFO: Acknowledgment sent {"connection_id":190107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:11:32] local.INFO: TCP Data received {"connection_id":192946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:32] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:32] local.INFO: IMEI packet received {"connection_id":192946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":192946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:11:37] local.INFO: TCP Data received {"connection_id":192946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:37] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:11:37] local.INFO: IMEI packet received {"connection_id":192946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":192946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:11:40] local.INFO: TCP Data received {"connection_id":192946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:40] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:11:40] local.INFO: Packet analysis {"connection_id":192946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:11:40] local.INFO: Extracted packet for processing {"connection_id":192946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":192946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:11:40] local.INFO: GPS data processed {"connection_id":192946,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:11:40] local.INFO: Acknowledgment sent {"connection_id":192946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:12:11] local.INFO: TCP Data received {"connection_id":192946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:11] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:11] local.INFO: Packet analysis {"connection_id":192946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:12:11] local.INFO: Extracted packet for processing {"connection_id":192946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":192946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:12:11] local.INFO: GPS data processed {"connection_id":192946,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:12:11] local.INFO: Acknowledgment sent {"connection_id":192946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:12:33] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:33] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:33] local.INFO: IMEI packet received {"connection_id":190259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":190259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:12:37] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:37] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:12:37] local.INFO: IMEI packet received {"connection_id":190259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":190259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:12:39] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:39] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:12:39] local.INFO: Packet analysis {"connection_id":190259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:12:39] local.INFO: Extracted packet for processing {"connection_id":190259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":190259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:12:39] local.INFO: GPS data processed {"connection_id":190259,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:12:39] local.INFO: Acknowledgment sent {"connection_id":190259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:13:11] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:11] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:11] local.INFO: Packet analysis {"connection_id":190259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:13:11] local.INFO: Extracted packet for processing {"connection_id":190259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 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-09-23 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":190259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:13:11] local.INFO: GPS data processed {"connection_id":190259,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:13:11] local.INFO: Acknowledgment sent {"connection_id":190259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:13:32] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:32] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:32] local.INFO: IMEI packet received {"connection_id":192948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":192948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:13:37] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:37] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:13:37] local.INFO: IMEI packet received {"connection_id":192948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":192948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:13:39] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:39] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:13:39] local.INFO: Packet analysis {"connection_id":192948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:13:39] local.INFO: Extracted packet for processing {"connection_id":192948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":192948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:13:39] local.INFO: GPS data processed {"connection_id":192948,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:13:39] local.INFO: Acknowledgment sent {"connection_id":192948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:14:11] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:11] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:11] local.INFO: Packet analysis {"connection_id":192948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:14:11] local.INFO: Extracted packet for processing {"connection_id":192948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":192948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:14:11] local.INFO: GPS data processed {"connection_id":192948,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:14:11] local.INFO: Acknowledgment sent {"connection_id":192948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:14:32] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:32] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:32] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:14:37] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:37] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:14:37] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:14:38] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:38] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:14:38] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:14:38] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:14:38] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:14:38] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:15:10] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:15:10] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb463c0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:15:10] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:15:10] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb4"} 
[2026-09-23 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271664896001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790123992000,"timestamp_ms":1790123992000,"timestamp_seconds":1790123992,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb463c0"} 
[2026-09-23 06:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271664896001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271664896001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271664896001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:15:10] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:15:10] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:15:32] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:32] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:32] local.INFO: IMEI packet received {"connection_id":192949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":192949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:15:35] local.INFO: TCP Data received {"connection_id":190109,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:15:35] local.INFO: Processing buffer {"connection_id":190109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:15:35] local.INFO: IMEI packet received {"connection_id":190109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:15:37] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:37] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:15:37] local.INFO: IMEI packet received {"connection_id":192949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":192949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:15:39] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:15:39] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:15:39] local.INFO: Packet analysis {"connection_id":192949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:15:39] local.INFO: Extracted packet for processing {"connection_id":192949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:15: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-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":192949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:15:39] local.INFO: GPS data processed {"connection_id":192949,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:15:39] local.INFO: Acknowledgment sent {"connection_id":192949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:16:10] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:10] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:10] local.INFO: Packet analysis {"connection_id":192949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:16:10] local.INFO: Extracted packet for processing {"connection_id":192949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:16: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-09-23 06:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":192949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:16:10] local.INFO: GPS data processed {"connection_id":192949,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:16:10] local.INFO: Acknowledgment sent {"connection_id":192949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:16:10] local.INFO: TCP Data received {"connection_id":190260,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:16:10] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:16:10] local.INFO: IMEI packet received {"connection_id":190260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":190260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:16:32] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:32] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:32] local.INFO: IMEI packet received {"connection_id":192950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":192950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:16:38] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:38] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:16:38] local.INFO: IMEI packet received {"connection_id":192950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":192950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:16:39] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:39] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:16:39] local.INFO: Packet analysis {"connection_id":192950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:16:39] local.INFO: Extracted packet for processing {"connection_id":192950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":192950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:16:39] local.INFO: GPS data processed {"connection_id":192950,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:16:39] local.INFO: Acknowledgment sent {"connection_id":192950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:17:11] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:11] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:11] local.INFO: Packet analysis {"connection_id":192950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:17:11] local.INFO: Extracted packet for processing {"connection_id":192950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":192950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:17:11] local.INFO: GPS data processed {"connection_id":192950,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:17:11] local.INFO: Acknowledgment sent {"connection_id":192950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:17:32] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:32] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:32] local.INFO: IMEI packet received {"connection_id":192952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":192952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:17:38] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:38] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:17:38] local.INFO: IMEI packet received {"connection_id":192952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":192952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:17:39] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:39] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:17:39] local.INFO: Packet analysis {"connection_id":192952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:17:39] local.INFO: Extracted packet for processing {"connection_id":192952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":192952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:17:39] local.INFO: GPS data processed {"connection_id":192952,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:17:39] local.INFO: Acknowledgment sent {"connection_id":192952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:18:10] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:10] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:10] local.INFO: Packet analysis {"connection_id":192952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:18:10] local.INFO: Extracted packet for processing {"connection_id":192952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:18: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-09-23 06:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":192952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:18:10] local.INFO: GPS data processed {"connection_id":192952,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:18:10] local.INFO: Acknowledgment sent {"connection_id":192952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:18:32] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:32] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:32] local.INFO: IMEI packet received {"connection_id":190111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":190111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:18:37] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:37] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:18:37] local.INFO: IMEI packet received {"connection_id":190111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":190111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:18:39] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:39] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:18:39] local.INFO: Packet analysis {"connection_id":190111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:18:39] local.INFO: Extracted packet for processing {"connection_id":190111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:18: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-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:18:39] local.INFO: GPS data processed {"connection_id":190111,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:18:39] local.INFO: Acknowledgment sent {"connection_id":190111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:19:10] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:10] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:10] local.INFO: Packet analysis {"connection_id":190111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:19:10] local.INFO: Extracted packet for processing {"connection_id":190111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:19: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-09-23 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":190111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:19:10] local.INFO: GPS data processed {"connection_id":190111,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:19:10] local.INFO: Acknowledgment sent {"connection_id":190111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:19:32] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:32] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:32] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:19:37] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:37] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:19:37] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:19:38] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:38] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:19:38] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:19:38] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:19: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-09-23 06:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:19:38] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:19:38] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:20:10] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:20:10] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbb8fb88012d34c18006aa4440000800d123..."} 
[2026-09-23 06:20:10] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:20:10] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbb8"} 
[2026-09-23 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271741952001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124293000,"timestamp_ms":1790124293000,"timestamp_seconds":1790124293,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbb8fb88"} 
[2026-09-23 06:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:20: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-09-23 06:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 06:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271741952001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271741952001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271741952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:20:10] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:20:10] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:20:32] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:20:32] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:32] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:20:37] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:37] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:20:37] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:20:38] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:20:38] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:20:38] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:20:38] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 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-09-23 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 06:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:20:38] local.INFO: GPS data processed {"connection_id":190261,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:20:38] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:21:10] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:10] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:10] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:21:10] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:21: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-09-23 06:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:21:10] local.INFO: GPS data processed {"connection_id":190261,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:21:10] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:21:32] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:32] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:32] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:21:38] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:38] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:21:38] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:21:40] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:40] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:21:40] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:21:40] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:21: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-09-23 06:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:21:40] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:21:40] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:21:41] local.INFO: TCP Data received {"connection_id":190112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:21:41] local.INFO: Processing buffer {"connection_id":190112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:21:41] local.INFO: IMEI packet received {"connection_id":190112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":190112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:22:11] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:11] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:11] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:22:11] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:22:11] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:22:11] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:22:16] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:22:16] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:22:16] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:22:32] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:32] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:32] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:22:37] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:37] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:22:37] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:22:39] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:39] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:22:39] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:22:39] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:22:39] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:22:39] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:23:11] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:11] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:11] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:23:11] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:23: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-09-23 06:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:23:11] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:23:11] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:23:32] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:32] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:32] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:23:37] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:37] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:23:37] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:23:38] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:38] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:23:38] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:23:38] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:23:38] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:23:38] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:24:10] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:10] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:10] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:24:10] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:24: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-09-23 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:24:10] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:24:10] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:24:32] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:32] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:32] local.INFO: IMEI packet received {"connection_id":191611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:24:37] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:37] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:24:37] local.INFO: IMEI packet received {"connection_id":191611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":191611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:24:39] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:39] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:24:39] local.INFO: Packet analysis {"connection_id":191611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:24:39] local.INFO: Extracted packet for processing {"connection_id":191611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":191611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:24:39] local.INFO: GPS data processed {"connection_id":191611,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:24:39] local.INFO: Acknowledgment sent {"connection_id":191611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:25:10] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:10] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbbd9350012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:10] local.INFO: Packet analysis {"connection_id":191611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:25:10] local.INFO: Extracted packet for processing {"connection_id":191611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbbd"} 
[2026-09-23 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271819008001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124594000,"timestamp_ms":1790124594000,"timestamp_seconds":1790124594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbbd9350"} 
[2026-09-23 06:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:25: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-09-23 06:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271819008001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271819008001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271819008001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":191611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:25:10] local.INFO: GPS data processed {"connection_id":191611,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:25:10] local.INFO: Acknowledgment sent {"connection_id":191611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:25:32] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:32] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:32] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:25:33] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:33] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:33] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:25:37] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:37] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:25:37] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:25:38] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:38] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:25:38] local.INFO: Packet analysis {"connection_id":190264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:25:38] local.INFO: Extracted packet for processing {"connection_id":190264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:25: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-09-23 06:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":190264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:25:38] local.INFO: GPS data processed {"connection_id":190264,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:25:38] local.INFO: Acknowledgment sent {"connection_id":190264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:26:09] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:09] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:09] local.INFO: Packet analysis {"connection_id":190264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:26:09] local.INFO: Extracted packet for processing {"connection_id":190264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:26: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-09-23 06:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":190264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:26:09] local.INFO: GPS data processed {"connection_id":190264,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:26:09] local.INFO: Acknowledgment sent {"connection_id":190264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:26:33] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:33] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:33] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:26:37] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:37] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:26:37] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:26:39] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:39] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:26:39] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:26:39] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:26: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-09-23 06: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-09-23 06:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:26:39] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:26:39] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:27:10] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:10] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:10] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:27:10] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:27:10] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:27:10] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:27:32] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:32] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:32] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:27:37] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:37] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:27:37] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:27:38] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:38] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:27:38] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:27:38] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:27: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-09-23 06: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-09-23 06:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:27:38] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:27:38] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:27:46] local.INFO: TCP Data received {"connection_id":191613,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:27:46] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:27:46] local.INFO: IMEI packet received {"connection_id":191613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":191613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:28:10] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:10] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:10] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:28:10] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:28:10] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:28:10] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:28:10] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:28:10] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:28:10] local.INFO: IMEI packet received {"connection_id":190266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":190266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:28:32] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:32] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:32] local.INFO: IMEI packet received {"connection_id":190114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":190114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:28:37] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:37] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:28:37] local.INFO: IMEI packet received {"connection_id":190114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":190114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:28:39] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:39] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:28:39] local.INFO: Packet analysis {"connection_id":190114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:28:39] local.INFO: Extracted packet for processing {"connection_id":190114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:28: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-09-23 06:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":190114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:28:39] local.INFO: GPS data processed {"connection_id":190114,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:28:39] local.INFO: Acknowledgment sent {"connection_id":190114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:29:10] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:10] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:10] local.INFO: Packet analysis {"connection_id":190114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:29:10] local.INFO: Extracted packet for processing {"connection_id":190114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":190114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:29:10] local.INFO: GPS data processed {"connection_id":190114,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:29:10] local.INFO: Acknowledgment sent {"connection_id":190114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:29:32] local.INFO: TCP Data received {"connection_id":192957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:32] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:32] local.INFO: IMEI packet received {"connection_id":192957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":192957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:29:37] local.INFO: TCP Data received {"connection_id":192957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:37] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:29:37] local.INFO: IMEI packet received {"connection_id":192957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":192957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:29:38] local.INFO: TCP Data received {"connection_id":192957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:38] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:29:38] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:29:38] local.INFO: Extracted packet for processing {"connection_id":192957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:29: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-09-23 06:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":192957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:29:38] local.INFO: GPS data processed {"connection_id":192957,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:29:38] local.INFO: Acknowledgment sent {"connection_id":192957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:30:10] local.INFO: TCP Data received {"connection_id":192957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:10] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc22b18012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:10] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:30:10] local.INFO: Extracted packet for processing {"connection_id":192957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc2"} 
[2026-09-23 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271896064001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790124895000,"timestamp_ms":1790124895000,"timestamp_seconds":1790124895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc22b18"} 
[2026-09-23 06:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 06:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271896064001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271896064001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271896064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":192957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:30:10] local.INFO: GPS data processed {"connection_id":192957,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:30:10] local.INFO: Acknowledgment sent {"connection_id":192957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:30:34] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:34] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:34] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:30:37] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:37] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:37] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:30:42] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:42] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:30:42] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:30:43] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:43] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:43] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:30:43] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:30:43] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:30:43] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:30:48] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:48] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:30:48] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:30:48] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:30:48] 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-09-23 06:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:30:48] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:30:48] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:31:32] local.INFO: TCP Data received {"connection_id":190270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:32] local.INFO: Processing buffer {"connection_id":190270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:32] local.INFO: IMEI packet received {"connection_id":190270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":190270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:31:38] local.INFO: TCP Data received {"connection_id":190270,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:38] local.INFO: Processing buffer {"connection_id":190270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:31:38] local.INFO: IMEI packet received {"connection_id":190270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":190270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:31:39] local.INFO: TCP Data received {"connection_id":190270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:31:39] local.INFO: Processing buffer {"connection_id":190270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:31:39] local.INFO: Packet analysis {"connection_id":190270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:31:39] local.INFO: Extracted packet for processing {"connection_id":190270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:31: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-09-23 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:31: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-09-23 06: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-09-23 06:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":190270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:31:39] local.INFO: GPS data processed {"connection_id":190270,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:31:39] local.INFO: Acknowledgment sent {"connection_id":190270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:32:10] local.INFO: TCP Data received {"connection_id":190270,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:10] local.INFO: Processing buffer {"connection_id":190270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:10] local.INFO: Packet analysis {"connection_id":190270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:32:10] local.INFO: Extracted packet for processing {"connection_id":190270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:32: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-09-23 06:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:32: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-09-23 06:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":190270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:32:10] local.INFO: GPS data processed {"connection_id":190270,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:32:10] local.INFO: Acknowledgment sent {"connection_id":190270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:32:32] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:32] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:32] local.INFO: IMEI packet received {"connection_id":190271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":190271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:32:37] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:37] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:32:37] local.INFO: IMEI packet received {"connection_id":190271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":190271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:32:38] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:38] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:32:38] local.INFO: Packet analysis {"connection_id":190271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:32:38] local.INFO: Extracted packet for processing {"connection_id":190271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:32: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-09-23 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":190271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:32:38] local.INFO: GPS data processed {"connection_id":190271,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:32:38] local.INFO: Acknowledgment sent {"connection_id":190271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:33:10] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:10] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:10] local.INFO: Packet analysis {"connection_id":190271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:33:10] local.INFO: Extracted packet for processing {"connection_id":190271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 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-09-23 06:33: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-09-23 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":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:33: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-09-23 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-09-23 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-09-23 06:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":190271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:33:10] local.INFO: GPS data processed {"connection_id":190271,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:33:10] local.INFO: Acknowledgment sent {"connection_id":190271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:33:32] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:32] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:32] local.INFO: IMEI packet received {"connection_id":192959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":192959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:33:37] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:37] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:33:37] local.INFO: IMEI packet received {"connection_id":192959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":192959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:33:38] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:38] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:33:38] local.INFO: Packet analysis {"connection_id":192959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:33:38] local.INFO: Extracted packet for processing {"connection_id":192959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:33: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-09-23 06:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":192959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:33:39] local.INFO: GPS data processed {"connection_id":192959,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:33:39] local.INFO: Acknowledgment sent {"connection_id":192959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:33:41] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:33:41] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:33:41] local.INFO: IMEI packet received {"connection_id":190115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":190115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:34:10] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:10] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:10] local.INFO: Packet analysis {"connection_id":192959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:34:10] local.INFO: Extracted packet for processing {"connection_id":192959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:34: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-09-23 06:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:34: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-09-23 06:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":192959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:34:10] local.INFO: GPS data processed {"connection_id":192959,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:34:10] local.INFO: Acknowledgment sent {"connection_id":192959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:34:10] local.INFO: TCP Data received {"connection_id":190116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:34:10] local.INFO: Processing buffer {"connection_id":190116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:34:10] local.INFO: IMEI packet received {"connection_id":190116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":190116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:34:32] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:32] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:32] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:34:37] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:37] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:34:37] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:34:38] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:38] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:34:38] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:34:38] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:34: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-09-23 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:34:38] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:34:38] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:35:10] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:35:10] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbc6c2e0012d34c18006aa4440000800d126..."} 
[2026-09-23 06:35:10] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:35:10] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbc6"} 
[2026-09-23 06:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458271973120001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125196000,"timestamp_ms":1790125196000,"timestamp_seconds":1790125196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbc6c2e0"} 
[2026-09-23 06:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:35: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-09-23 06:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:35: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-09-23 06: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-09-23 06:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458271973120001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458271973120001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458271973120001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:35:10] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:35:10] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:35:36] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:36] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:36] local.INFO: IMEI packet received {"connection_id":190272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:35:37] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:37] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:37] local.INFO: IMEI packet received {"connection_id":190272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":190272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:35:42] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:42] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:35:42] local.INFO: IMEI packet received {"connection_id":190272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":190272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:35:43] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:35:43] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:35:43] local.INFO: Packet analysis {"connection_id":190272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:35:43] local.INFO: Extracted packet for processing {"connection_id":190272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":190272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:35:43] local.INFO: GPS data processed {"connection_id":190272,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:35:43] local.INFO: Acknowledgment sent {"connection_id":190272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:36:15] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:15] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:15] local.INFO: Packet analysis {"connection_id":190272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:36:15] local.INFO: Extracted packet for processing {"connection_id":190272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:36: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-09-23 06: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-09-23 06:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":190272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:36:15] local.INFO: GPS data processed {"connection_id":190272,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:36:15] local.INFO: Acknowledgment sent {"connection_id":190272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:36:32] local.INFO: TCP Data received {"connection_id":191616,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:32] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:32] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:36:37] local.INFO: TCP Data received {"connection_id":191616,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:37] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:36:37] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:36:39] local.INFO: TCP Data received {"connection_id":191616,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:39] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:36:39] local.INFO: Packet analysis {"connection_id":191616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:36:39] local.INFO: Extracted packet for processing {"connection_id":191616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:36: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-09-23 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":191616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:36:39] local.INFO: GPS data processed {"connection_id":191616,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:36:39] local.INFO: Acknowledgment sent {"connection_id":191616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:37:11] local.INFO: TCP Data received {"connection_id":191616,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:11] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:11] local.INFO: Packet analysis {"connection_id":191616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:37:11] local.INFO: Extracted packet for processing {"connection_id":191616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:37: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-09-23 06:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":191616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:37:11] local.INFO: GPS data processed {"connection_id":191616,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:37:11] local.INFO: Acknowledgment sent {"connection_id":191616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:37:32] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:32] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:32] local.INFO: IMEI packet received {"connection_id":190119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:37:37] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:37] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:37:37] local.INFO: IMEI packet received {"connection_id":190119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":190119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:37:38] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:38] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:37:38] local.INFO: Packet analysis {"connection_id":190119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:37:38] local.INFO: Extracted packet for processing {"connection_id":190119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:37: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-09-23 06:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:37: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-09-23 06: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-09-23 06:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":190119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:37:38] local.INFO: GPS data processed {"connection_id":190119,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:37:38] local.INFO: Acknowledgment sent {"connection_id":190119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:38:10] local.INFO: TCP Data received {"connection_id":190119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:10] local.INFO: Processing buffer {"connection_id":190119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:10] local.INFO: Packet analysis {"connection_id":190119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:38:10] local.INFO: Extracted packet for processing {"connection_id":190119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 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-09-23 06:38: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-09-23 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":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:38: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-09-23 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-09-23 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-09-23 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":190119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:38:10] local.INFO: GPS data processed {"connection_id":190119,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:38:10] local.INFO: Acknowledgment sent {"connection_id":190119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:38:32] local.INFO: TCP Data received {"connection_id":192961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:32] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:32] local.INFO: IMEI packet received {"connection_id":192961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":192961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:38:37] local.INFO: TCP Data received {"connection_id":192961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:37] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:38:37] local.INFO: IMEI packet received {"connection_id":192961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":192961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:38:38] local.INFO: TCP Data received {"connection_id":192961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:38] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:38:38] local.INFO: Packet analysis {"connection_id":192961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:38:38] local.INFO: Extracted packet for processing {"connection_id":192961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:38: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-09-23 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:38: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-09-23 06: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-09-23 06:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":192961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:38:38] local.INFO: GPS data processed {"connection_id":192961,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:38:38] local.INFO: Acknowledgment sent {"connection_id":192961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:39:10] local.INFO: TCP Data received {"connection_id":192961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:10] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:10] local.INFO: Packet analysis {"connection_id":192961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:10] local.INFO: Extracted packet for processing {"connection_id":192961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:39: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-09-23 06:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:39: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-09-23 06: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-09-23 06:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":192961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:39:10] local.INFO: GPS data processed {"connection_id":192961,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:39:10] local.INFO: Acknowledgment sent {"connection_id":192961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:39:37] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:37] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:37] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:39:41] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:39:41] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:39:41] local.INFO: IMEI packet received {"connection_id":191618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":191618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:39:42] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:42] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:39:42] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:39:43] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:43] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:43] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:43] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:39:43] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:39:43] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:39:48] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:48] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcb5aa8012d34c18006aa4440000800d127..."} 
[2026-09-23 06:39:48] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:48] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcb"} 
[2026-09-23 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272050176001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790125497000,"timestamp_ms":1790125497000,"timestamp_seconds":1790125497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcb5aa8"} 
[2026-09-23 06:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272050176001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272050176001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272050176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:39:48] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:39:48] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:40:32] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:32] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:32] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:40:36] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:36] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:40:36] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:40:37] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:40:37] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:40:37] local.INFO: Packet analysis {"connection_id":192962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:40:37] local.INFO: Extracted packet for processing {"connection_id":192962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 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-09-23 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 06:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":192962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:40:37] local.INFO: GPS data processed {"connection_id":192962,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:40:37] local.INFO: Acknowledgment sent {"connection_id":192962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:40:40] local.INFO: TCP Data received {"connection_id":192963,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:40:40] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:40:40] local.INFO: IMEI packet received {"connection_id":192963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":192963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:41:08] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:08] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:08] local.INFO: Packet analysis {"connection_id":192962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:41:08] local.INFO: Extracted packet for processing {"connection_id":192962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:41: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-09-23 06: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-09-23 06:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":192962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:41:08] local.INFO: GPS data processed {"connection_id":192962,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:41:08] local.INFO: Acknowledgment sent {"connection_id":192962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:41:15] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:41:15] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:41:15] local.INFO: IMEI packet received {"connection_id":190120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":190120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:41:32] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:32] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:32] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:41:37] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:37] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:41:37] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:41:38] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:38] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:41:38] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:41:38] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 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-09-23 06:41: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-09-23 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":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:41: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-09-23 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-09-23 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-09-23 06:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:41:39] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:41:39] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:42:10] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:10] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:10] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:42:10] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:42: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-09-23 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:42: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-09-23 06:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:42:10] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:42:10] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:42:32] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:32] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:32] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:42:37] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:37] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:42:37] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:42:38] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:38] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:42:38] local.INFO: Packet analysis {"connection_id":191620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:42:38] local.INFO: Extracted packet for processing {"connection_id":191620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:42: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-09-23 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:42: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-09-23 06: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-09-23 06:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":191620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:42:38] local.INFO: GPS data processed {"connection_id":191620,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:42:38] local.INFO: Acknowledgment sent {"connection_id":191620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:43:10] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:10] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:10] local.INFO: Packet analysis {"connection_id":191620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:10] local.INFO: Extracted packet for processing {"connection_id":191620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:43: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-09-23 06:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:43: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-09-23 06: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-09-23 06:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":191620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:43:10] local.INFO: GPS data processed {"connection_id":191620,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:43:10] local.INFO: Acknowledgment sent {"connection_id":191620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:43:37] local.INFO: TCP Data received {"connection_id":192964,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:37] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:37] local.INFO: IMEI packet received {"connection_id":192964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":192964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:43:42] local.INFO: TCP Data received {"connection_id":192964,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:42] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:43:42] local.INFO: IMEI packet received {"connection_id":192964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":192964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:43:43] local.INFO: TCP Data received {"connection_id":192964,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:43] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:43] local.INFO: Packet analysis {"connection_id":192964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:43] local.INFO: Extracted packet for processing {"connection_id":192964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:43: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-09-23 06:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":192964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:43:43] local.INFO: GPS data processed {"connection_id":192964,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:43:43] local.INFO: Acknowledgment sent {"connection_id":192964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:43:48] local.INFO: TCP Data received {"connection_id":192964,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:48] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:43:48] local.INFO: Packet analysis {"connection_id":192964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:48] local.INFO: Extracted packet for processing {"connection_id":192964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":192964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:43:48] local.INFO: GPS data processed {"connection_id":192964,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:43:48] local.INFO: Acknowledgment sent {"connection_id":192964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:44:32] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:32] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:32] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:44:37] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:37] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:44:37] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:44:38] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:44:38] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:44:38] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:44:38] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:44: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-09-23 06:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:44: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-09-23 06: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-09-23 06:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:44:39] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:44:39] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:45:10] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:45:10] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbcff270012d34c18006aa4440000800d126..."} 
[2026-09-23 06:45:10] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:45:10] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbcf"} 
[2026-09-23 06:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272127232001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790125798000,"timestamp_ms":1790125798000,"timestamp_seconds":1790125798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbcff270"} 
[2026-09-23 06:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:45: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-09-23 06:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 06:45: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-09-23 06: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-09-23 06:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272127232001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272127232001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272127232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:45:10] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:45:10] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:45:32] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:32] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:32] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:45:37] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:37] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:45:37] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:45:39] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:45:39] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:45:39] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:45:39] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:45: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-09-23 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:45: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-09-23 06: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-09-23 06:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:45:39] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:45:39] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:46:10] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:10] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:10] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:46:10] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:46: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-09-23 06:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:46: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-09-23 06:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:46:10] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:46:10] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:46:20] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:46:20] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:46:20] local.INFO: IMEI packet received {"connection_id":191622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":191622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:46:32] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:32] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:32] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:46:37] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:37] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:46:37] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:46:39] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:39] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:46:39] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:46:39] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:46: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-09-23 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:46: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-09-23 06: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-09-23 06:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:46:39] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:46:39] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:47:11] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:11] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:11] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:47:11] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:47: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-09-23 06:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:47:11] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:47:11] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:47:32] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:32] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:32] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:47:37] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:37] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:47:37] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:47:38] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:38] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:47:38] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:47:38] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:47: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-09-23 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:47:38] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:47:38] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:48:10] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:10] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:10] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:10] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:48: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-09-23 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:48: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-09-23 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:48:10] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:48:10] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:48:37] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:37] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:37] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:48:42] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:42] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:48:42] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:48:43] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:43] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:43] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:43] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:48:43] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:48:43] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:48:48] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:48] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:48:48] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:48] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:48:48] 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-09-23 06:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:48:48] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:48:48] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:49:32] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:32] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:32] local.INFO: IMEI packet received {"connection_id":192966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":192966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:49:38] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:38] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:49:38] local.INFO: IMEI packet received {"connection_id":192966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":192966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:49:39] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:49:39] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:49:39] local.INFO: Packet analysis {"connection_id":192966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:49:39] local.INFO: Extracted packet for processing {"connection_id":192966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:49: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-09-23 06:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:49: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-09-23 06: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-09-23 06:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":192966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:49:39] local.INFO: GPS data processed {"connection_id":192966,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:49:39] local.INFO: Acknowledgment sent {"connection_id":192966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:50:11] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:11] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:11] local.INFO: Packet analysis {"connection_id":192966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:50:11] local.INFO: Extracted packet for processing {"connection_id":192966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 06:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 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-09-23 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:50: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-09-23 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-09-23 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-09-23 06:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:50:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":192966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:50:11] local.INFO: GPS data processed {"connection_id":192966,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:50:11] local.INFO: Acknowledgment sent {"connection_id":192966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:50:32] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:32] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:32] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:50:37] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:37] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:50:37] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:50:39] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:39] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd48a38012d34c18006aa4440000800d127..."} 
[2026-09-23 06:50:39] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:50:39] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd4"} 
[2026-09-23 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272204288001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126099000,"timestamp_ms":1790126099000,"timestamp_seconds":1790126099,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd48a38"} 
[2026-09-23 06:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:50: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-09-23 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 06:50: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-09-23 06: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-09-23 06:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272204288001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272204288001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272204288001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:50:39] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:50:39] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:51:10] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:10] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:10] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:10] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:51: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-09-23 06: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-09-23 06:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:51:10] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:51:10] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:51:37] local.INFO: TCP Data received {"connection_id":192967,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:37] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:37] local.INFO: IMEI packet received {"connection_id":192967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":192967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:51:42] local.INFO: TCP Data received {"connection_id":192967,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:42] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:51:42] local.INFO: IMEI packet received {"connection_id":192967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":192967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:51:43] local.INFO: TCP Data received {"connection_id":192967,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:43] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:43] local.INFO: Packet analysis {"connection_id":192967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:43] local.INFO: Extracted packet for processing {"connection_id":192967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:51: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-09-23 06:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":192967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:51:43] local.INFO: GPS data processed {"connection_id":192967,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:51:43] local.INFO: Acknowledgment sent {"connection_id":192967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:51:48] local.INFO: TCP Data received {"connection_id":192967,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:48] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:51:48] local.INFO: Packet analysis {"connection_id":192967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:48] local.INFO: Extracted packet for processing {"connection_id":192967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:51:48] 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-09-23 06: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-09-23 06:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":192967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:51:48] local.INFO: GPS data processed {"connection_id":192967,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:51:48] local.INFO: Acknowledgment sent {"connection_id":192967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:52:10] local.INFO: TCP Data received {"connection_id":190125,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:52:10] local.INFO: Processing buffer {"connection_id":190125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:52:10] local.INFO: IMEI packet received {"connection_id":190125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":190125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:52:32] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:32] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:32] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:52:37] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:37] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:52:37] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:52:38] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:52:38] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:52:38] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:52:38] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:52:38] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:52:38] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:53:10] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:10] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:10] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:53:10] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:53: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-09-23 06: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-09-23 06:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:53:10] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:53:10] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:53:32] local.INFO: TCP Data received {"connection_id":192969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:32] local.INFO: Processing buffer {"connection_id":192969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:32] local.INFO: IMEI packet received {"connection_id":192969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":192969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:53:37] local.INFO: TCP Data received {"connection_id":192969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:37] local.INFO: Processing buffer {"connection_id":192969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:53:37] local.INFO: IMEI packet received {"connection_id":192969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":192969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:53:38] local.INFO: TCP Data received {"connection_id":192969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:38] local.INFO: Processing buffer {"connection_id":192969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:53:38] local.INFO: Packet analysis {"connection_id":192969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:53:38] local.INFO: Extracted packet for processing {"connection_id":192969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":192969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:53:38] local.INFO: GPS data processed {"connection_id":192969,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:53:38] local.INFO: Acknowledgment sent {"connection_id":192969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:54:10] local.INFO: TCP Data received {"connection_id":192969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:10] local.INFO: Processing buffer {"connection_id":192969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:10] local.INFO: Packet analysis {"connection_id":192969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:54:10] local.INFO: Extracted packet for processing {"connection_id":192969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:54: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-09-23 06: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-09-23 06:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":192969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:54:10] local.INFO: GPS data processed {"connection_id":192969,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:54:10] local.INFO: Acknowledgment sent {"connection_id":192969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:54:32] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:32] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:32] local.INFO: IMEI packet received {"connection_id":192970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":192970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:54:37] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:37] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:54:37] local.INFO: IMEI packet received {"connection_id":192970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":192970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:54:39] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:39] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:54:39] local.INFO: Packet analysis {"connection_id":192970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:54:39] local.INFO: Extracted packet for processing {"connection_id":192970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":192970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:54:39] local.INFO: GPS data processed {"connection_id":192970,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:54:39] local.INFO: Acknowledgment sent {"connection_id":192970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:55:10] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:10] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:10] local.INFO: Packet analysis {"connection_id":192970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:55:10] local.INFO: Extracted packet for processing {"connection_id":192970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:55: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-09-23 06: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-09-23 06:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":192970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:55:10] local.INFO: GPS data processed {"connection_id":192970,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:55:10] local.INFO: Acknowledgment sent {"connection_id":192970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:55:32] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:32] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:32] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:55:37] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:37] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:55:37] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:55:38] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:38] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbd92200012d34c18006aa4440000800d124..."} 
[2026-09-23 06:55:38] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:55:38] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbd9"} 
[2026-09-23 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272281344001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126400000,"timestamp_ms":1790126400000,"timestamp_seconds":1790126400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbd92200"} 
[2026-09-23 06:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 06:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272281344001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272281344001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272281344001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":191628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:55:38] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:55:38] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:56:09] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:09] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:09] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:56:09] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:56: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-09-23 06: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-09-23 06:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":191628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:56:09] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:56:09] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:56:32] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:32] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:32] local.INFO: IMEI packet received {"connection_id":192971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":192971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:56:37] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:37] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:56:37] local.INFO: IMEI packet received {"connection_id":192971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":192971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:56:39] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:39] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:56:39] local.INFO: Packet analysis {"connection_id":192971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:56:39] local.INFO: Extracted packet for processing {"connection_id":192971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:56: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-09-23 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06: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-09-23 06:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":192971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:56:39] local.INFO: GPS data processed {"connection_id":192971,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:56:39] local.INFO: Acknowledgment sent {"connection_id":192971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:57:10] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:10] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:10] local.INFO: Packet analysis {"connection_id":192971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:57:10] local.INFO: Extracted packet for processing {"connection_id":192971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:57: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-09-23 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:57: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-09-23 06: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-09-23 06:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":192971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:57:10] local.INFO: GPS data processed {"connection_id":192971,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:57:10] local.INFO: Acknowledgment sent {"connection_id":192971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:57:33] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:33] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:33] local.INFO: IMEI packet received {"connection_id":190282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":190282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:57:37] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:37] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:57:37] local.INFO: IMEI packet received {"connection_id":190282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":190282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:57:38] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:38] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:57:38] local.INFO: Packet analysis {"connection_id":190282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:57:38] local.INFO: Extracted packet for processing {"connection_id":190282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:57: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-09-23 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":190282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:57:38] local.INFO: GPS data processed {"connection_id":190282,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:57:38] local.INFO: Acknowledgment sent {"connection_id":190282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:57:40] local.INFO: TCP Data received {"connection_id":192972,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:57:40] local.INFO: Processing buffer {"connection_id":192972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:57:40] local.INFO: IMEI packet received {"connection_id":192972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":192972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:58:10] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:10] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:10] local.INFO: Packet analysis {"connection_id":190282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:58:10] local.INFO: Extracted packet for processing {"connection_id":190282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:58: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-09-23 06:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:58: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-09-23 06: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-09-23 06:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":190282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:58:10] local.INFO: GPS data processed {"connection_id":190282,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:58:10] local.INFO: Acknowledgment sent {"connection_id":190282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:58:10] local.INFO: TCP Data received {"connection_id":192973,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:58:10] local.INFO: Processing buffer {"connection_id":192973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 06:58:10] local.INFO: IMEI packet received {"connection_id":192973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":192973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:58:32] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:32] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:32] local.INFO: IMEI packet received {"connection_id":191629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:58:37] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:37] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:58:37] local.INFO: IMEI packet received {"connection_id":191629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":191629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:58:38] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:38] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:58:38] local.INFO: Packet analysis {"connection_id":191629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:58:38] local.INFO: Extracted packet for processing {"connection_id":191629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06: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-09-23 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:58: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-09-23 06:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:58: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-09-23 06: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-09-23 06:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":191629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:58:38] local.INFO: GPS data processed {"connection_id":191629,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:58:38] local.INFO: Acknowledgment sent {"connection_id":191629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:59:09] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:09] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:09] local.INFO: Packet analysis {"connection_id":191629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:59:09] local.INFO: Extracted packet for processing {"connection_id":191629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:59: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-09-23 06:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:59:09] local.INFO: GPS data processed {"connection_id":191629,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:59:09] local.INFO: Acknowledgment sent {"connection_id":191629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 06:59:32] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:32] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:32] local.INFO: IMEI packet received {"connection_id":190126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 06:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":190126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 06:59:37] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:37] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 06:59:37] local.INFO: IMEI packet received {"connection_id":190126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 06:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":190126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 06:59:38] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:38] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 06:59:38] local.INFO: Packet analysis {"connection_id":190126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:59:38] local.INFO: Extracted packet for processing {"connection_id":190126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 06:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 06:59: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-09-23 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 06:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 06:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 06:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 06:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 06:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":190126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 06:59:38] local.INFO: GPS data processed {"connection_id":190126,"processed":1,"errors":0,"total":1} 
[2026-09-23 06:59:38] local.INFO: Acknowledgment sent {"connection_id":190126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:00:09] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:09] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:09] local.INFO: Packet analysis {"connection_id":190126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 07:00:09] local.INFO: Extracted packet for processing {"connection_id":190126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 07:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:00: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-09-23 07: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-09-23 07:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":190126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:00:10] local.INFO: GPS data processed {"connection_id":190126,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:00:10] local.INFO: Acknowledgment sent {"connection_id":190126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:00:32] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:32] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:32] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:00:37] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:37] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:00:37] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:00:39] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:39] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbddb9c8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:00:39] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 07:00:39] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbdd"} 
[2026-09-23 07:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272358400001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790126701000,"timestamp_ms":1790126701000,"timestamp_seconds":1790126701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbddb9c8"} 
[2026-09-23 07:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:00: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-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272358400001,"66":25604,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272358400001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272358400001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:00:39] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:00:39] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:01:10] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:10] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:10] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:01:10] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:01: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-09-23 07: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-09-23 07:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:01:10] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:01:10] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:01:32] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:32] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:32] local.INFO: IMEI packet received {"connection_id":190284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":190284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:01:37] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:37] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:01:37] local.INFO: IMEI packet received {"connection_id":190284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":190284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:01:38] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:38] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:01:38] local.INFO: Packet analysis {"connection_id":190284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:01:38] local.INFO: Extracted packet for processing {"connection_id":190284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:01: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-09-23 07: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-09-23 07:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":190284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:01:38] local.INFO: GPS data processed {"connection_id":190284,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:01:38] local.INFO: Acknowledgment sent {"connection_id":190284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:02:10] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:10] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:10] local.INFO: Packet analysis {"connection_id":190284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:02:10] local.INFO: Extracted packet for processing {"connection_id":190284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":190284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:02:10] local.INFO: GPS data processed {"connection_id":190284,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:02:10] local.INFO: Acknowledgment sent {"connection_id":190284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:02:32] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:32] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:32] local.INFO: IMEI packet received {"connection_id":192976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":192976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:02:37] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:37] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:02:37] local.INFO: IMEI packet received {"connection_id":192976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":192976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:02:38] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:38] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:02:38] local.INFO: Packet analysis {"connection_id":192976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:02:38] local.INFO: Extracted packet for processing {"connection_id":192976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:02: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-09-23 07:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":192976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:02:38] local.INFO: GPS data processed {"connection_id":192976,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:02:38] local.INFO: Acknowledgment sent {"connection_id":192976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:03:10] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:10] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:10] local.INFO: Packet analysis {"connection_id":192976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:03:10] local.INFO: Extracted packet for processing {"connection_id":192976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":192976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:03:10] local.INFO: GPS data processed {"connection_id":192976,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:03:10] local.INFO: Acknowledgment sent {"connection_id":192976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:03:32] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:32] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:32] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:03:35] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:03:35] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:03:35] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:03:37] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:37] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:03:37] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:03:38] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:38] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:03:38] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:03:38] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:03: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-09-23 07:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:03:38] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:03:38] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:04:10] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:10] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:10] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:04:10] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 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-09-23 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:04:10] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:04:10] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:04:10] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:04:10] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:04:10] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:04:32] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:32] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:32] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:04:37] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:37] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:04:37] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:04:38] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:38] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:04:38] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:04:38] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:04: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-09-23 07: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-09-23 07:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":191633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:04:38] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:04:38] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:05:10] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:05:10] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe25190012d34c18006aa4440000800d123..."} 
[2026-09-23 07:05:10] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:05:10] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe2"} 
[2026-09-23 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127002000,"timestamp_ms":1790127002000,"timestamp_seconds":1790127002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe25190"} 
[2026-09-23 07:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 07:05: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-09-23 07: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-09-23 07:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272435456001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272435456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":191633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:05:10] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:05:10] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:05:37] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:37] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:37] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:05:41] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:41] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:05:41] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:05:42] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:42] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:42] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:05:42] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:05:42] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:05:42] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:05:43] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:43] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:05:43] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:05:43] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:05: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-09-23 07: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-09-23 07:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:05:43] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:05:43] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:06:14] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:14] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:14] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:06:14] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:06:15] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:06:15] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:06:33] local.INFO: TCP Data received {"connection_id":191636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:33] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:33] local.INFO: IMEI packet received {"connection_id":191636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":191636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:06:37] local.INFO: TCP Data received {"connection_id":191636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:37] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:06:37] local.INFO: IMEI packet received {"connection_id":191636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":191636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:06:41] local.INFO: TCP Data received {"connection_id":191636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:41] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:06:41] local.INFO: Packet analysis {"connection_id":191636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:06:41] local.INFO: Extracted packet for processing {"connection_id":191636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:06: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-09-23 07:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":191636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:06:41] local.INFO: GPS data processed {"connection_id":191636,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:06:41] local.INFO: Acknowledgment sent {"connection_id":191636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:07:12] local.INFO: TCP Data received {"connection_id":191636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:12] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:12] local.INFO: Packet analysis {"connection_id":191636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:07:12] local.INFO: Extracted packet for processing {"connection_id":191636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:07:12] 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-09-23 07: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-09-23 07:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":191636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:07:12] local.INFO: GPS data processed {"connection_id":191636,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:07:12] local.INFO: Acknowledgment sent {"connection_id":191636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:07:32] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:32] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:32] local.INFO: IMEI packet received {"connection_id":192977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":192977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:07:37] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:37] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:07:37] local.INFO: IMEI packet received {"connection_id":192977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":192977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:07:38] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:38] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:07:38] local.INFO: Packet analysis {"connection_id":192977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:07:38] local.INFO: Extracted packet for processing {"connection_id":192977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 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-09-23 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 07:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":192977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:07:38] local.INFO: GPS data processed {"connection_id":192977,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:07:38] local.INFO: Acknowledgment sent {"connection_id":192977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:08:10] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:10] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:10] local.INFO: Packet analysis {"connection_id":192977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:08:10] local.INFO: Extracted packet for processing {"connection_id":192977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:08: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-09-23 07:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":192977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:08:10] local.INFO: GPS data processed {"connection_id":192977,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:08:10] local.INFO: Acknowledgment sent {"connection_id":192977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:08:32] local.INFO: TCP Data received {"connection_id":190288,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:32] local.INFO: Processing buffer {"connection_id":190288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:32] local.INFO: IMEI packet received {"connection_id":190288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":190288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:08:37] local.INFO: TCP Data received {"connection_id":190288,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:37] local.INFO: Processing buffer {"connection_id":190288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:08:37] local.INFO: IMEI packet received {"connection_id":190288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:08:39] local.INFO: TCP Data received {"connection_id":190288,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:39] local.INFO: Processing buffer {"connection_id":190288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:08:39] local.INFO: Packet analysis {"connection_id":190288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:08:39] local.INFO: Extracted packet for processing {"connection_id":190288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":190288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:08:39] local.INFO: GPS data processed {"connection_id":190288,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:08:39] local.INFO: Acknowledgment sent {"connection_id":190288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:09:10] local.INFO: TCP Data received {"connection_id":190288,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:10] local.INFO: Processing buffer {"connection_id":190288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:10] local.INFO: Packet analysis {"connection_id":190288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:10] local.INFO: Extracted packet for processing {"connection_id":190288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:09: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-09-23 07: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-09-23 07:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:09:10] local.INFO: GPS data processed {"connection_id":190288,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:09:10] local.INFO: Acknowledgment sent {"connection_id":190288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:09:37] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:37] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:37] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:09:40] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:09:40] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:09:40] local.INFO: IMEI packet received {"connection_id":190289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":190289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:09:42] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:42] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:09:42] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:09:43] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:43] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:43] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:43] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:09: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-09-23 07:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:09:43] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:09:43] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:09:48] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:48] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbe6e958012d34c18006aa4440000800d124..."} 
[2026-09-23 07:09:48] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:48] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbe6"} 
[2026-09-23 07:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272512512001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790127303000,"timestamp_ms":1790127303000,"timestamp_seconds":1790127303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbe6e958"} 
[2026-09-23 07:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:09:48] 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-09-23 07:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272512512001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272512512001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272512512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:09:48] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:09:48] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:10:15] local.INFO: TCP Data received {"connection_id":192978,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:10:15] local.INFO: Processing buffer {"connection_id":192978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:10:15] local.INFO: IMEI packet received {"connection_id":192978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":192978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:10:32] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:32] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:32] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:10:37] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:37] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:37] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:10:42] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:42] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:10:42] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:10:43] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:10:43] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:10:43] local.INFO: Packet analysis {"connection_id":191638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:10:43] local.INFO: Extracted packet for processing {"connection_id":191638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:10:43] local.INFO: GPS data processed {"connection_id":191638,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:10:43] local.INFO: Acknowledgment sent {"connection_id":191638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:11:14] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:14] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:14] local.INFO: Packet analysis {"connection_id":191638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:11:14] local.INFO: Extracted packet for processing {"connection_id":191638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:11: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-09-23 07: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-09-23 07:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":191638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:11:14] local.INFO: GPS data processed {"connection_id":191638,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:11:14] local.INFO: Acknowledgment sent {"connection_id":191638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:11:33] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:33] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:33] local.INFO: IMEI packet received {"connection_id":190129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":190129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:11:37] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:37] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:11:37] local.INFO: IMEI packet received {"connection_id":190129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":190129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:11:38] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:38] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:11:38] local.INFO: Packet analysis {"connection_id":190129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:11:38] local.INFO: Extracted packet for processing {"connection_id":190129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:11: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-09-23 07: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-09-23 07:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":190129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:11:38] local.INFO: GPS data processed {"connection_id":190129,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:11:38] local.INFO: Acknowledgment sent {"connection_id":190129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:12:10] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:10] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:10] local.INFO: Packet analysis {"connection_id":190129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:12:10] local.INFO: Extracted packet for processing {"connection_id":190129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 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-09-23 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:12: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-09-23 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-09-23 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-09-23 07:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:12:10] local.INFO: GPS data processed {"connection_id":190129,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:12:10] local.INFO: Acknowledgment sent {"connection_id":190129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:12:32] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:32] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:32] local.INFO: IMEI packet received {"connection_id":190130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":190130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:12:37] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:37] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:12:37] local.INFO: IMEI packet received {"connection_id":190130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":190130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:12:39] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:39] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:12:39] local.INFO: Packet analysis {"connection_id":190130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:12:39] local.INFO: Extracted packet for processing {"connection_id":190130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":190130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:12:39] local.INFO: GPS data processed {"connection_id":190130,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:12:39] local.INFO: Acknowledgment sent {"connection_id":190130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:13:10] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:10] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:10] local.INFO: Packet analysis {"connection_id":190130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:13:10] local.INFO: Extracted packet for processing {"connection_id":190130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:13: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-09-23 07: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-09-23 07:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":190130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:13:10] local.INFO: GPS data processed {"connection_id":190130,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:13:10] local.INFO: Acknowledgment sent {"connection_id":190130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:13:32] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:32] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:32] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:13:37] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:37] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:13:37] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:13:38] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:38] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:13:38] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:13:38] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:13: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-09-23 07: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-09-23 07:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:13:39] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:13:39] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:14:10] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:10] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:10] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:14:10] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:14: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-09-23 07:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:14:10] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:14:10] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:14:32] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:32] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:32] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:14:37] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:37] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:14:37] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:14:38] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:38] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:14:38] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:14:38] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:14: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-09-23 07:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:14:38] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:14:38] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:15:10] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:10] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:10] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:15:10] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:15: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-09-23 07:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:15:10] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:15:10] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:15:38] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:38] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:38] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:15:40] local.INFO: TCP Data received {"connection_id":190290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:15:40] local.INFO: Processing buffer {"connection_id":190290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:15:40] local.INFO: IMEI packet received {"connection_id":190290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":190290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:15:42] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:42] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:15:42] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:15:43] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:43] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbeb8120012d34c18006aa4440000800d124..."} 
[2026-09-23 07:15:43] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:15:43] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbeb"} 
[2026-09-23 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":36,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272589568001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790127604000,"timestamp_ms":1790127604000,"timestamp_seconds":1790127604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbeb8120"} 
[2026-09-23 07:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272589568001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272589568001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272589568001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:15:43] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:15:43] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:15:44] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:15:44] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:15:44] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:15:44] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:15:44] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:15:44] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:16:10] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:16:10] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:16:10] local.INFO: IMEI packet received {"connection_id":191641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":191641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:16:17] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:17] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:17] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:16:17] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:16:17] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:16:17] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:16:32] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:32] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:32] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:16:37] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:37] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:16:37] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:16:38] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:38] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:16:38] local.INFO: Packet analysis {"connection_id":191642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:16:38] local.INFO: Extracted packet for processing {"connection_id":191642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:16: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-09-23 07:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":191642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:16:38] local.INFO: GPS data processed {"connection_id":191642,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:16:38] local.INFO: Acknowledgment sent {"connection_id":191642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:17:10] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:10] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:10] local.INFO: Packet analysis {"connection_id":191642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:17:10] local.INFO: Extracted packet for processing {"connection_id":191642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:17: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-09-23 07:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:17:10] local.INFO: GPS data processed {"connection_id":191642,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:17:10] local.INFO: Acknowledgment sent {"connection_id":191642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:17:32] local.INFO: TCP Data received {"connection_id":190292,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:32] local.INFO: Processing buffer {"connection_id":190292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:32] local.INFO: IMEI packet received {"connection_id":190292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":190292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:17:37] local.INFO: TCP Data received {"connection_id":190292,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:37] local.INFO: Processing buffer {"connection_id":190292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:17:37] local.INFO: IMEI packet received {"connection_id":190292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":190292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:17:38] local.INFO: TCP Data received {"connection_id":190292,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:38] local.INFO: Processing buffer {"connection_id":190292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:17:38] local.INFO: Packet analysis {"connection_id":190292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:17:38] local.INFO: Extracted packet for processing {"connection_id":190292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:17: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-09-23 07:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":190292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:17:38] local.INFO: GPS data processed {"connection_id":190292,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:17:38] local.INFO: Acknowledgment sent {"connection_id":190292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:18:09] local.INFO: TCP Data received {"connection_id":190292,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:09] local.INFO: Processing buffer {"connection_id":190292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:09] local.INFO: Packet analysis {"connection_id":190292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:18:09] local.INFO: Extracted packet for processing {"connection_id":190292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:18: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-09-23 07: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-09-23 07:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":190292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:18:09] local.INFO: GPS data processed {"connection_id":190292,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:18:09] local.INFO: Acknowledgment sent {"connection_id":190292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:18:32] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:32] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:32] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:18:37] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:37] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:18:37] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:18:38] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:38] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:18:38] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:18:38] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:18: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-09-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:18: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-09-23 07: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-09-23 07:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:18:38] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:18:38] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:19:10] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:10] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:10] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:19:10] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:19: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-09-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:19:10] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:19:10] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:19:32] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:32] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:32] local.INFO: IMEI packet received {"connection_id":192983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":192983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:19:37] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:37] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:19:37] local.INFO: IMEI packet received {"connection_id":192983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":192983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:19:38] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:38] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:19:38] local.INFO: Packet analysis {"connection_id":192983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:19:38] local.INFO: Extracted packet for processing {"connection_id":192983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:19: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-09-23 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":192983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:19:38] local.INFO: GPS data processed {"connection_id":192983,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:19:38] local.INFO: Acknowledgment sent {"connection_id":192983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:20:10] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:10] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:10] local.INFO: Packet analysis {"connection_id":192983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:20:10] local.INFO: Extracted packet for processing {"connection_id":192983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:20: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-09-23 07:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":192983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:20:10] local.INFO: GPS data processed {"connection_id":192983,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:20:10] local.INFO: Acknowledgment sent {"connection_id":192983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:20:37] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:37] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:37] local.INFO: IMEI packet received {"connection_id":190294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":190294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:20:42] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:42] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:20:42] local.INFO: IMEI packet received {"connection_id":190294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":190294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:20:43] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:43] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf018e8012d34c18006aa4440000800d125..."} 
[2026-09-23 07:20:43] local.INFO: Packet analysis {"connection_id":190294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:20:43] local.INFO: Extracted packet for processing {"connection_id":190294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf0"} 
[2026-09-23 07:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272666624001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790127905000,"timestamp_ms":1790127905000,"timestamp_seconds":1790127905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf018e8"} 
[2026-09-23 07:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 07:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272666624001,"66":25625,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272666624001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272666624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":190294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:20:43] local.INFO: GPS data processed {"connection_id":190294,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:20:43] local.INFO: Acknowledgment sent {"connection_id":190294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:20:45] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:20:45] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:20:45] local.INFO: Packet analysis {"connection_id":190294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:20:45] local.INFO: Extracted packet for processing {"connection_id":190294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":190294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:20:45] local.INFO: GPS data processed {"connection_id":190294,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:20:45] local.INFO: Acknowledgment sent {"connection_id":190294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:21:16] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:16] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:16] local.INFO: Packet analysis {"connection_id":190294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:21:16] local.INFO: Extracted packet for processing {"connection_id":190294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":190294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:21:16] local.INFO: GPS data processed {"connection_id":190294,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:21:16] local.INFO: Acknowledgment sent {"connection_id":190294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:21:32] local.INFO: TCP Data received {"connection_id":192984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:32] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:32] local.INFO: IMEI packet received {"connection_id":192984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":192984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:21:35] local.INFO: TCP Data received {"connection_id":190134,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:21:35] local.INFO: Processing buffer {"connection_id":190134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:21:35] local.INFO: IMEI packet received {"connection_id":190134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":190134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:21:37] local.INFO: TCP Data received {"connection_id":192984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:37] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:21:37] local.INFO: IMEI packet received {"connection_id":192984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":192984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:21:38] local.INFO: TCP Data received {"connection_id":192984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:38] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:21:38] local.INFO: Packet analysis {"connection_id":192984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:21:38] local.INFO: Extracted packet for processing {"connection_id":192984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 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-09-23 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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-09-23 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-09-23 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-09-23 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-09-23 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":192984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:21:38] local.INFO: GPS data processed {"connection_id":192984,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:21:38] local.INFO: Acknowledgment sent {"connection_id":192984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:22:09] local.INFO: TCP Data received {"connection_id":192984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:09] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:09] local.INFO: Packet analysis {"connection_id":192984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:22:09] local.INFO: Extracted packet for processing {"connection_id":192984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:22: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-09-23 07:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":192984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:22:09] local.INFO: GPS data processed {"connection_id":192984,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:22:09] local.INFO: Acknowledgment sent {"connection_id":192984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:22:10] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:22:10] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:22:10] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:22:32] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:32] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:32] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:22:37] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:37] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:22:37] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:22:38] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:38] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:22:38] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:22:38] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 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-09-23 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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-09-23 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-09-23 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-09-23 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-09-23 07:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:22:38] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:22:38] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:23:10] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:10] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:10] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:23:10] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:23: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-09-23 07: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-09-23 07:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:23:10] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:23:10] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:23:32] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:32] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:32] local.INFO: IMEI packet received {"connection_id":190296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":190296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:23:37] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:37] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:23:37] local.INFO: IMEI packet received {"connection_id":190296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:23:38] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:38] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:23:38] local.INFO: Packet analysis {"connection_id":190296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:23:38] local.INFO: Extracted packet for processing {"connection_id":190296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:23: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-09-23 07: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-09-23 07:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":190296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:23:38] local.INFO: GPS data processed {"connection_id":190296,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:23:38] local.INFO: Acknowledgment sent {"connection_id":190296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:24:09] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:09] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:09] local.INFO: Packet analysis {"connection_id":190296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:24:09] local.INFO: Extracted packet for processing {"connection_id":190296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:24: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-09-23 07: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-09-23 07:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":190296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:24:09] local.INFO: GPS data processed {"connection_id":190296,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:24:09] local.INFO: Acknowledgment sent {"connection_id":190296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:24:32] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:32] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:32] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:24:37] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:37] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:24:37] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:24:38] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:38] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:24:38] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:24:38] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:24: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-09-23 07: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-09-23 07:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":191646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:24:38] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:24:38] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:25:09] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:09] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:09] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:25:09] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 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-09-23 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:25: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-09-23 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-09-23 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-09-23 07:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":191646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:25:09] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:25:09] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:25:37] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:37] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:37] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:25:42] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:42] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:25:42] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:25:44] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:44] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf4b0b0012d34c18006aa4440000800d126..."} 
[2026-09-23 07:25:44] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:25:44] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf4"} 
[2026-09-23 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272743680001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790128206000,"timestamp_ms":1790128206000,"timestamp_seconds":1790128206,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf4b0b0"} 
[2026-09-23 07:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 07:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272743680001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272743680001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272743680001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":191648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:25:44] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:25:44] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:25:46] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:25:46] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:25:46] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:25:46] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":191648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:25:46] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:25:46] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:26:17] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:17] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:17] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:26:17] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:26:17] 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-09-23 07:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":191648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:26:17] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:26:17] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:26:32] local.INFO: TCP Data received {"connection_id":192986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:32] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:32] local.INFO: IMEI packet received {"connection_id":192986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":192986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:26:37] local.INFO: TCP Data received {"connection_id":192986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:37] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:26:37] local.INFO: IMEI packet received {"connection_id":192986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":192986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:26:38] local.INFO: TCP Data received {"connection_id":192986,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:38] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:26:38] local.INFO: Packet analysis {"connection_id":192986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:26:38] local.INFO: Extracted packet for processing {"connection_id":192986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":192986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:26:38] local.INFO: GPS data processed {"connection_id":192986,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:26:38] local.INFO: Acknowledgment sent {"connection_id":192986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:27:09] local.INFO: TCP Data received {"connection_id":192986,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:09] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:09] local.INFO: Packet analysis {"connection_id":192986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:27:09] local.INFO: Extracted packet for processing {"connection_id":192986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:27: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-09-23 07: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-09-23 07:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":192986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:27:09] local.INFO: GPS data processed {"connection_id":192986,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:27:09] local.INFO: Acknowledgment sent {"connection_id":192986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:27:32] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:32] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:32] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:27:35] local.INFO: TCP Data received {"connection_id":190135,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:27:35] local.INFO: Processing buffer {"connection_id":190135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:27:35] local.INFO: IMEI packet received {"connection_id":190135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":190135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:27:37] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:37] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:27:37] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:27:39] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:39] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:27:39] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:27:39] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:27:39] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:27:39] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:28:11] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:11] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:11] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:28:11] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 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-09-23 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 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-09-23 07:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:28:11] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:28:11] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:28:15] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:28:15] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:28:15] local.INFO: IMEI packet received {"connection_id":190136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":190136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:28:32] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:32] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:32] local.INFO: IMEI packet received {"connection_id":192987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":192987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:28:37] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:37] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:28:37] local.INFO: IMEI packet received {"connection_id":192987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":192987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:28:38] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:38] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:28:38] local.INFO: Packet analysis {"connection_id":192987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:28:38] local.INFO: Extracted packet for processing {"connection_id":192987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":192987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:28:38] local.INFO: GPS data processed {"connection_id":192987,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:28:38] local.INFO: Acknowledgment sent {"connection_id":192987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:29:09] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:09] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:09] local.INFO: Packet analysis {"connection_id":192987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:09] local.INFO: Extracted packet for processing {"connection_id":192987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:29: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-09-23 07: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-09-23 07:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":192987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:29:09] local.INFO: GPS data processed {"connection_id":192987,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:29:09] local.INFO: Acknowledgment sent {"connection_id":192987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:29:37] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:37] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:37] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:29:42] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:42] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:29:42] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:29:43] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:43] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:43] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:43] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":191650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:29:43] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:29:43] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:29:48] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:48] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:29:48] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:48] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:29:48] 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-09-23 07:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":191650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:29:48] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:29:48] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:30:32] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:32] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:32] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:30:37] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:37] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:30:37] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:30:38] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:30:38] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbf94878012d34c18006aa4440000800d127..."} 
[2026-09-23 07:30:38] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:30:38] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbf9"} 
[2026-09-23 07:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272820736001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128507000,"timestamp_ms":1790128507000,"timestamp_seconds":1790128507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbf94878"} 
[2026-09-23 07:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272820736001,"66":25615,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272820736001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272820736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:30:38] local.INFO: GPS data processed {"connection_id":191651,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:30:38] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:31:09] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:09] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:09] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:31:09] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:31: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-09-23 07: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-09-23 07:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:31:09] local.INFO: GPS data processed {"connection_id":191651,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:31:09] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:31:32] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:32] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:32] local.INFO: IMEI packet received {"connection_id":192989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":192989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:31:37] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:37] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:31:37] local.INFO: IMEI packet received {"connection_id":192989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":192989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:31:38] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:38] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:31:38] local.INFO: Packet analysis {"connection_id":192989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:31:38] local.INFO: Extracted packet for processing {"connection_id":192989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":192989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:31:38] local.INFO: GPS data processed {"connection_id":192989,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:31:38] local.INFO: Acknowledgment sent {"connection_id":192989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:32:09] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:09] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:09] local.INFO: Packet analysis {"connection_id":192989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:32:09] local.INFO: Extracted packet for processing {"connection_id":192989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:32: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-09-23 07: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-09-23 07:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":192989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:32:09] local.INFO: GPS data processed {"connection_id":192989,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:32:09] local.INFO: Acknowledgment sent {"connection_id":192989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:32:32] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:32] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:32] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:32:37] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:37] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:32:37] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:32:38] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:38] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:32:38] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:32:38] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:32:38] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:32:38] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:33:10] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:10] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:10] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:33:10] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:33: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-09-23 07: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-09-23 07:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:33:10] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:33:10] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:33:30] local.INFO: TCP Data received {"connection_id":190138,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:33:30] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:33:30] local.INFO: IMEI packet received {"connection_id":190138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":190138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:33:32] local.INFO: TCP Data received {"connection_id":191654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:32] local.INFO: Processing buffer {"connection_id":191654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:32] local.INFO: IMEI packet received {"connection_id":191654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:33:37] local.INFO: TCP Data received {"connection_id":191654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:37] local.INFO: Processing buffer {"connection_id":191654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:33:37] local.INFO: IMEI packet received {"connection_id":191654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":191654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:33:38] local.INFO: TCP Data received {"connection_id":191654,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:38] local.INFO: Processing buffer {"connection_id":191654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:33:38] local.INFO: Packet analysis {"connection_id":191654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:33:38] local.INFO: Extracted packet for processing {"connection_id":191654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":191654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:33:38] local.INFO: GPS data processed {"connection_id":191654,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:33:38] local.INFO: Acknowledgment sent {"connection_id":191654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:34:10] local.INFO: TCP Data received {"connection_id":191654,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:10] local.INFO: Processing buffer {"connection_id":191654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:10] local.INFO: Packet analysis {"connection_id":191654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:10] local.INFO: Extracted packet for processing {"connection_id":191654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:34: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-09-23 07:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:34:10] local.INFO: GPS data processed {"connection_id":191654,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:34:10] local.INFO: Acknowledgment sent {"connection_id":191654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:34:15] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:34:15] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:34:15] local.INFO: IMEI packet received {"connection_id":190139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":190139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:34:37] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:37] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:37] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:34:42] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:42] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:34:42] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:34:43] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:43] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:43] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:43] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:34:43] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:34:43] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:34:48] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:48] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:34:48] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:48] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:34:48] 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-09-23 07:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:34:48] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:34:48] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:35:32] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:32] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:32] local.INFO: IMEI packet received {"connection_id":191655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":191655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:35:37] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:37] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:35:37] local.INFO: IMEI packet received {"connection_id":191655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":191655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:35:38] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:35:38] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cbfde040012d34c18006aa4440000800d126..."} 
[2026-09-23 07:35:38] local.INFO: Packet analysis {"connection_id":191655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:35:38] local.INFO: Extracted packet for processing {"connection_id":191655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cbfd"} 
[2026-09-23 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272897792001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790128808000,"timestamp_ms":1790128808000,"timestamp_seconds":1790128808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cbfde040"} 
[2026-09-23 07:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 07:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272897792001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272897792001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272897792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":191655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:35:38] local.INFO: GPS data processed {"connection_id":191655,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:35:38] local.INFO: Acknowledgment sent {"connection_id":191655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:36:10] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:10] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:10] local.INFO: Packet analysis {"connection_id":191655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:36:10] local.INFO: Extracted packet for processing {"connection_id":191655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:36: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-09-23 07:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:36: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-09-23 07: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-09-23 07:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":191655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:36:10] local.INFO: GPS data processed {"connection_id":191655,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:36:10] local.INFO: Acknowledgment sent {"connection_id":191655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:36:32] local.INFO: TCP Data received {"connection_id":192991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:32] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:32] local.INFO: IMEI packet received {"connection_id":192991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":192991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:36:37] local.INFO: TCP Data received {"connection_id":192991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:37] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:36:37] local.INFO: IMEI packet received {"connection_id":192991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":192991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:36:38] local.INFO: TCP Data received {"connection_id":192991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:38] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:36:38] local.INFO: Packet analysis {"connection_id":192991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:36:38] local.INFO: Extracted packet for processing {"connection_id":192991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:36: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-09-23 07:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":192991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:36:38] local.INFO: GPS data processed {"connection_id":192991,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:36:38] local.INFO: Acknowledgment sent {"connection_id":192991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:37:11] local.INFO: TCP Data received {"connection_id":192991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:11] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:11] local.INFO: Packet analysis {"connection_id":192991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:37:11] local.INFO: Extracted packet for processing {"connection_id":192991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:37: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-09-23 07:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":192991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:37:11] local.INFO: GPS data processed {"connection_id":192991,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:37:11] local.INFO: Acknowledgment sent {"connection_id":192991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:37:32] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:32] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:32] local.INFO: IMEI packet received {"connection_id":192992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":192992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:37:37] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:37] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:37:37] local.INFO: IMEI packet received {"connection_id":192992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":192992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:37:38] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:38] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:37:38] local.INFO: Packet analysis {"connection_id":192992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:37:38] local.INFO: Extracted packet for processing {"connection_id":192992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:37: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-09-23 07:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":192992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:37:38] local.INFO: GPS data processed {"connection_id":192992,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:37:38] local.INFO: Acknowledgment sent {"connection_id":192992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:38:09] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:09] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:09] local.INFO: Packet analysis {"connection_id":192992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:09] local.INFO: Extracted packet for processing {"connection_id":192992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:38:09] 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-09-23 07: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-09-23 07:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":192992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:38:09] local.INFO: GPS data processed {"connection_id":192992,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:38:09] local.INFO: Acknowledgment sent {"connection_id":192992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:38:37] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:37] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:37] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:38:42] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:42] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:38:42] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:38:43] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:43] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:43] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:43] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:38: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-09-23 07: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-09-23 07:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:38:43] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:38:43] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:38:48] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:48] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:38:48] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:48] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:38:48] 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-09-23 07: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-09-23 07:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:38:48] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:38:48] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:39:30] local.INFO: TCP Data received {"connection_id":190299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:39:30] local.INFO: Processing buffer {"connection_id":190299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:39:30] local.INFO: IMEI packet received {"connection_id":190299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":190299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:39:32] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:32] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:32] local.INFO: IMEI packet received {"connection_id":190300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":190300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:39:37] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:37] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:39:37] local.INFO: IMEI packet received {"connection_id":190300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":190300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:39:38] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:39:38] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:39:38] local.INFO: Packet analysis {"connection_id":190300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:39:38] local.INFO: Extracted packet for processing {"connection_id":190300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:39: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-09-23 07:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":190300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:39:38] local.INFO: GPS data processed {"connection_id":190300,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:39:38] local.INFO: Acknowledgment sent {"connection_id":190300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:40:09] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:09] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:09] local.INFO: Packet analysis {"connection_id":190300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:40:09] local.INFO: Extracted packet for processing {"connection_id":190300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:40:09] 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-09-23 07: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-09-23 07:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":190300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:40:09] local.INFO: GPS data processed {"connection_id":190300,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:40:09] local.INFO: Acknowledgment sent {"connection_id":190300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:40:15] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:40:15] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:40:15] local.INFO: IMEI packet received {"connection_id":190142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":190142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:40:32] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:32] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:32] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:40:37] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:37] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:40:37] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:40:38] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:38] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc027808012d34c18006aa4440000800d126..."} 
[2026-09-23 07:40:38] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:40:38] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc02"} 
[2026-09-23 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458272974848001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129109000,"timestamp_ms":1790129109000,"timestamp_seconds":1790129109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc027808"} 
[2026-09-23 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:40: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-09-23 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458272974848001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458272974848001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458272974848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:40:38] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:40:38] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:41:09] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:09] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:09] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:41:09] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:41: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-09-23 07: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-09-23 07:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:41:10] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:41:10] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:41:32] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:32] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:32] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:41:37] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:37] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:41:37] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:41:39] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:39] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:41:39] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:41:39] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:41:39] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:41:39] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:42:10] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:10] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:10] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:42:10] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:42: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-09-23 07: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-09-23 07:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:42:10] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:42:10] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:42:32] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:32] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:32] local.INFO: IMEI packet received {"connection_id":190302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":190302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:42:37] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:37] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:42:37] local.INFO: IMEI packet received {"connection_id":190302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":190302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:42:38] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:38] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:42:38] local.INFO: Packet analysis {"connection_id":190302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:42:38] local.INFO: Extracted packet for processing {"connection_id":190302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:42: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-09-23 07: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-09-23 07:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":190302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:42:38] local.INFO: GPS data processed {"connection_id":190302,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:42:38] local.INFO: Acknowledgment sent {"connection_id":190302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:43:10] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:10] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:10] local.INFO: Packet analysis {"connection_id":190302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:43:10] local.INFO: Extracted packet for processing {"connection_id":190302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:43: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-09-23 07: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-09-23 07:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":190302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:43:10] local.INFO: GPS data processed {"connection_id":190302,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:43:10] local.INFO: Acknowledgment sent {"connection_id":190302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:43:32] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:32] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:32] local.INFO: IMEI packet received {"connection_id":190144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":190144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:43:37] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:37] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:43:37] local.INFO: IMEI packet received {"connection_id":190144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":190144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:43:39] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:39] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:43:39] local.INFO: Packet analysis {"connection_id":190144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:43:39] local.INFO: Extracted packet for processing {"connection_id":190144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":190144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:43:39] local.INFO: GPS data processed {"connection_id":190144,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:43:39] local.INFO: Acknowledgment sent {"connection_id":190144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:44:10] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:10] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:10] local.INFO: Packet analysis {"connection_id":190144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:10] local.INFO: Extracted packet for processing {"connection_id":190144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07: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-09-23 07:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":190144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:44:10] local.INFO: GPS data processed {"connection_id":190144,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:44:10] local.INFO: Acknowledgment sent {"connection_id":190144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:44:37] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:37] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:37] local.INFO: IMEI packet received {"connection_id":190145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:44:42] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:42] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:44:42] local.INFO: IMEI packet received {"connection_id":190145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":190145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:44:43] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:43] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:43] local.INFO: Packet analysis {"connection_id":190145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:43] local.INFO: Extracted packet for processing {"connection_id":190145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":190145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:44:43] local.INFO: GPS data processed {"connection_id":190145,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:44:43] local.INFO: Acknowledgment sent {"connection_id":190145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:44:48] local.INFO: TCP Data received {"connection_id":190145,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:48] local.INFO: Processing buffer {"connection_id":190145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:44:48] local.INFO: Packet analysis {"connection_id":190145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:48] local.INFO: Extracted packet for processing {"connection_id":190145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":190145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:44:48] local.INFO: GPS data processed {"connection_id":190145,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:44:48] local.INFO: Acknowledgment sent {"connection_id":190145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:45:30] local.INFO: TCP Data received {"connection_id":191661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:45:30] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:45:30] local.INFO: IMEI packet received {"connection_id":191661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":191661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:45:32] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:32] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:32] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:45:37] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:37] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:45:37] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:45:38] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:45:38] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc070fd0012d34c18006aa4440000800d128..."} 
[2026-09-23 07:45:38] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:45:38] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc07"} 
[2026-09-23 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273051904001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129410000,"timestamp_ms":1790129410000,"timestamp_seconds":1790129410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc070fd0"} 
[2026-09-23 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 07:45: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-09-23 07: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-09-23 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273051904001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273051904001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273051904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:45:38] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:45:38] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:46:10] local.INFO: TCP Data received {"connection_id":192995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:46:10] local.INFO: Processing buffer {"connection_id":192995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:46:10] local.INFO: IMEI packet received {"connection_id":192995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":192995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:46:10] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:10] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:10] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:46:10] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:46: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-09-23 07:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:46:10] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:46:10] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:46:32] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:32] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:32] local.INFO: IMEI packet received {"connection_id":192996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":192996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:46:37] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:37] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:46:37] local.INFO: IMEI packet received {"connection_id":192996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":192996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:46:38] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:38] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:46:38] local.INFO: Packet analysis {"connection_id":192996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:46:38] local.INFO: Extracted packet for processing {"connection_id":192996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 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-09-23 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 07:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":192996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:46:38] local.INFO: GPS data processed {"connection_id":192996,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:46:38] local.INFO: Acknowledgment sent {"connection_id":192996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:47:09] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:09] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:09] local.INFO: Packet analysis {"connection_id":192996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:47:09] local.INFO: Extracted packet for processing {"connection_id":192996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:47:09] 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-09-23 07: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-09-23 07:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":192996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:47:09] local.INFO: GPS data processed {"connection_id":192996,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:47:09] local.INFO: Acknowledgment sent {"connection_id":192996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:47:32] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:32] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:32] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:47:37] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:37] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:47:37] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:47:38] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:38] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:47:38] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:47:38] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:47:38] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:47:38] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:48:10] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:10] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:10] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:10] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:48: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-09-23 07:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:48:10] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:48:10] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:48:37] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:37] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:37] local.INFO: IMEI packet received {"connection_id":192997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":192997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:48:42] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:42] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:48:42] local.INFO: IMEI packet received {"connection_id":192997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":192997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:48:44] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:44] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:44] local.INFO: Packet analysis {"connection_id":192997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:44] local.INFO: Extracted packet for processing {"connection_id":192997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":192997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:48:44] local.INFO: GPS data processed {"connection_id":192997,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:48:44] local.INFO: Acknowledgment sent {"connection_id":192997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:48:48] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:48] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:48:48] local.INFO: Packet analysis {"connection_id":192997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:48] local.INFO: Extracted packet for processing {"connection_id":192997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:48:48] 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-09-23 07:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":192997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:48:48] local.INFO: GPS data processed {"connection_id":192997,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:48:48] local.INFO: Acknowledgment sent {"connection_id":192997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:49:32] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:32] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:32] local.INFO: IMEI packet received {"connection_id":190148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":190148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:49:37] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:37] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:49:37] local.INFO: IMEI packet received {"connection_id":190148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":190148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:49:38] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:49:38] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:49:38] local.INFO: Packet analysis {"connection_id":190148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:49:38] local.INFO: Extracted packet for processing {"connection_id":190148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":190148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:49:38] local.INFO: GPS data processed {"connection_id":190148,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:49:38] local.INFO: Acknowledgment sent {"connection_id":190148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:50:09] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:09] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:09] local.INFO: Packet analysis {"connection_id":190148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:50:09] local.INFO: Extracted packet for processing {"connection_id":190148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:50:09] 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-09-23 07: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-09-23 07:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":190148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:50:09] local.INFO: GPS data processed {"connection_id":190148,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:50:09] local.INFO: Acknowledgment sent {"connection_id":190148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:50:32] local.INFO: TCP Data received {"connection_id":190305,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:32] local.INFO: Processing buffer {"connection_id":190305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:32] local.INFO: IMEI packet received {"connection_id":190305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":190305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:50:37] local.INFO: TCP Data received {"connection_id":190305,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:37] local.INFO: Processing buffer {"connection_id":190305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:50:37] local.INFO: IMEI packet received {"connection_id":190305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":190305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:50:38] local.INFO: TCP Data received {"connection_id":190305,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:38] local.INFO: Processing buffer {"connection_id":190305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc0ba798012d34c18006aa4440000800d128..."} 
[2026-09-23 07:50:38] local.INFO: Packet analysis {"connection_id":190305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:50:38] local.INFO: Extracted packet for processing {"connection_id":190305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc0b"} 
[2026-09-23 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273128960001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790129711000,"timestamp_ms":1790129711000,"timestamp_seconds":1790129711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc0ba798"} 
[2026-09-23 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273128960001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273128960001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273128960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":190305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:50:38] local.INFO: GPS data processed {"connection_id":190305,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:50:38] local.INFO: Acknowledgment sent {"connection_id":190305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:51:09] local.INFO: TCP Data received {"connection_id":190305,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:09] local.INFO: Processing buffer {"connection_id":190305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:09] local.INFO: Packet analysis {"connection_id":190305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:51:09] local.INFO: Extracted packet for processing {"connection_id":190305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:51:09] 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-09-23 07: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-09-23 07:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":190305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:51:09] local.INFO: GPS data processed {"connection_id":190305,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:51:09] local.INFO: Acknowledgment sent {"connection_id":190305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:51:32] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:32] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:32] local.INFO: IMEI packet received {"connection_id":191663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":191663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:51:35] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:51:35] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:51:35] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:51:37] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:37] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:51:37] local.INFO: IMEI packet received {"connection_id":191663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":191663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:51:38] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:38] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:51:38] local.INFO: Packet analysis {"connection_id":191663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:51:38] local.INFO: Extracted packet for processing {"connection_id":191663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":191663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:51:38] local.INFO: GPS data processed {"connection_id":191663,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:51:38] local.INFO: Acknowledgment sent {"connection_id":191663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:52:09] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:09] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:09] local.INFO: Packet analysis {"connection_id":191663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:52:09] local.INFO: Extracted packet for processing {"connection_id":191663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:52:09] 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-09-23 07: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-09-23 07:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":191663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:52:09] local.INFO: GPS data processed {"connection_id":191663,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:52:09] local.INFO: Acknowledgment sent {"connection_id":191663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:52:10] local.INFO: TCP Data received {"connection_id":192999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:52:10] local.INFO: Processing buffer {"connection_id":192999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:52:10] local.INFO: IMEI packet received {"connection_id":192999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":192999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:52:32] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:32] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:32] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:52:37] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:37] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:52:37] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:52:38] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:38] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:52:38] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:52:38] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 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-09-23 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:52:38] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:52:38] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:53:10] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:10] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:10] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:53:10] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:53: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-09-23 07: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-09-23 07:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:53:10] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:53:10] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:53:32] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:32] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:32] local.INFO: IMEI packet received {"connection_id":190150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":190150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:53:38] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:38] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:53:38] local.INFO: IMEI packet received {"connection_id":190150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":190150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:53:39] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:39] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:53:39] local.INFO: Packet analysis {"connection_id":190150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:53:39] local.INFO: Extracted packet for processing {"connection_id":190150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":190150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:53:39] local.INFO: GPS data processed {"connection_id":190150,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:53:39] local.INFO: Acknowledgment sent {"connection_id":190150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:54:10] local.INFO: TCP Data received {"connection_id":190150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:10] local.INFO: Processing buffer {"connection_id":190150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:10] local.INFO: Packet analysis {"connection_id":190150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:10] local.INFO: Extracted packet for processing {"connection_id":190150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:54: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-09-23 07:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":190150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:54:10] local.INFO: GPS data processed {"connection_id":190150,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:54:10] local.INFO: Acknowledgment sent {"connection_id":190150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:54:37] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:37] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:37] local.INFO: IMEI packet received {"connection_id":190151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":190151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:54:42] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:42] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:54:42] local.INFO: IMEI packet received {"connection_id":190151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":190151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:54:43] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:43] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:43] local.INFO: Packet analysis {"connection_id":190151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:43] local.INFO: Extracted packet for processing {"connection_id":190151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:54: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-09-23 07: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-09-23 07:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":190151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:54:43] local.INFO: GPS data processed {"connection_id":190151,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:54:43] local.INFO: Acknowledgment sent {"connection_id":190151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:54:47] local.INFO: TCP Data received {"connection_id":190151,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:47] local.INFO: Processing buffer {"connection_id":190151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:54:47] local.INFO: Packet analysis {"connection_id":190151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:47] local.INFO: Extracted packet for processing {"connection_id":190151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":190151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:54:48] local.INFO: GPS data processed {"connection_id":190151,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:54:48] local.INFO: Acknowledgment sent {"connection_id":190151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:55:32] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:32] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:32] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:55:38] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:38] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:55:38] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:55:39] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:55:39] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc103f60012d34c18006aa4440000800d126..."} 
[2026-09-23 07:55:39] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:55:39] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc10"} 
[2026-09-23 07:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273206016001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790130012000,"timestamp_ms":1790130012000,"timestamp_seconds":1790130012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc103f60"} 
[2026-09-23 07:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 07:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273206016001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273206016001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273206016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:55:39] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:55:39] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:56:10] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:10] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:10] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:56:10] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:56:10] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:56:10] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:56:32] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:32] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:32] local.INFO: IMEI packet received {"connection_id":190309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":190309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:56:37] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:37] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:56:37] local.INFO: IMEI packet received {"connection_id":190309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":190309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:56:38] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:38] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:56:38] local.INFO: Packet analysis {"connection_id":190309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:56:38] local.INFO: Extracted packet for processing {"connection_id":190309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":190309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:56:38] local.INFO: GPS data processed {"connection_id":190309,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:56:38] local.INFO: Acknowledgment sent {"connection_id":190309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:57:13] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:13] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:13] local.INFO: Packet analysis {"connection_id":190309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:57:13] local.INFO: Extracted packet for processing {"connection_id":190309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":190309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:57:13] local.INFO: GPS data processed {"connection_id":190309,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:57:13] local.INFO: Acknowledgment sent {"connection_id":190309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:57:32] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:32] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:32] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:57:35] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:57:35] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:57:35] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:57:37] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:37] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:57:37] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:57:38] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:38] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:57:38] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:57:38] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 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-09-23 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:57:38] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:57:38] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:58:10] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:10] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:10] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:58:10] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 07:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:58:10] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:58:10] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:58:10] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:58:10] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 07:58:10] local.INFO: IMEI packet received {"connection_id":193001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":193001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:58:32] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:32] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:32] local.INFO: IMEI packet received {"connection_id":190152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":190152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:58:37] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:37] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:58:37] local.INFO: IMEI packet received {"connection_id":190152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":190152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:58:38] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:38] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:58:38] local.INFO: Packet analysis {"connection_id":190152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:58:38] local.INFO: Extracted packet for processing {"connection_id":190152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":190152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:58:38] local.INFO: GPS data processed {"connection_id":190152,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:58:38] local.INFO: Acknowledgment sent {"connection_id":190152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:59:09] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:09] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:09] local.INFO: Packet analysis {"connection_id":190152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:09] local.INFO: Extracted packet for processing {"connection_id":190152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:59:09] local.INFO: GPS data processed {"connection_id":190152,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:59:09] local.INFO: Acknowledgment sent {"connection_id":190152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:59:37] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:37] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:37] local.INFO: IMEI packet received {"connection_id":190311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 07:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":190311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 07:59:42] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:42] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 07:59:42] local.INFO: IMEI packet received {"connection_id":190311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 07:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":190311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 07:59:44] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:44] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:44] local.INFO: Packet analysis {"connection_id":190311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:44] local.INFO: Extracted packet for processing {"connection_id":190311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":190311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:59:44] local.INFO: GPS data processed {"connection_id":190311,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:59:44] local.INFO: Acknowledgment sent {"connection_id":190311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 07:59:48] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:48] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 07:59:48] local.INFO: Packet analysis {"connection_id":190311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:48] local.INFO: Extracted packet for processing {"connection_id":190311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 07: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-09-23 07:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 07:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 07:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 07:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 07:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 07: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-09-23 07:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 07:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 07:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 07:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 07:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 07:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 07:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 07:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 07:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 07:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 07:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 07:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 07:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 07:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 07:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 07:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 07:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":190311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 07:59:48] local.INFO: GPS data processed {"connection_id":190311,"processed":1,"errors":0,"total":1} 
[2026-09-23 07:59:48] local.INFO: Acknowledgment sent {"connection_id":190311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:00:32] local.INFO: TCP Data received {"connection_id":193002,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:32] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:32] local.INFO: IMEI packet received {"connection_id":193002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":193002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:00:37] local.INFO: TCP Data received {"connection_id":193002,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:37] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:00:37] local.INFO: IMEI packet received {"connection_id":193002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":193002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:00:38] local.INFO: TCP Data received {"connection_id":193002,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 08:00:38] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc14d728012d34c18006aa4440000800d125..."} 
[2026-09-23 08:00:38] local.INFO: Packet analysis {"connection_id":193002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 08:00:38] local.INFO: Extracted packet for processing {"connection_id":193002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc14"} 
[2026-09-23 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273283072001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130313000,"timestamp_ms":1790130313000,"timestamp_seconds":1790130313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc14d728"} 
[2026-09-23 08:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273283072001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273283072001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273283072001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":193002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:00:38] local.INFO: GPS data processed {"connection_id":193002,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:00:38] local.INFO: Acknowledgment sent {"connection_id":193002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:01:09] local.INFO: TCP Data received {"connection_id":193002,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:09] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:09] local.INFO: Packet analysis {"connection_id":193002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:01:09] local.INFO: Extracted packet for processing {"connection_id":193002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":193002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:01:09] local.INFO: GPS data processed {"connection_id":193002,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:01:09] local.INFO: Acknowledgment sent {"connection_id":193002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:01:32] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:32] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:32] local.INFO: IMEI packet received {"connection_id":190313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":190313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:01:37] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:37] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:01:37] local.INFO: IMEI packet received {"connection_id":190313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":190313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:01:38] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:38] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:01:38] local.INFO: Packet analysis {"connection_id":190313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:01:38] local.INFO: Extracted packet for processing {"connection_id":190313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":190313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:01:38] local.INFO: GPS data processed {"connection_id":190313,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:01:38] local.INFO: Acknowledgment sent {"connection_id":190313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:02:09] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:09] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:09] local.INFO: Packet analysis {"connection_id":190313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:02:09] local.INFO: Extracted packet for processing {"connection_id":190313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:02:09] local.INFO: GPS data processed {"connection_id":190313,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:02:09] local.INFO: Acknowledgment sent {"connection_id":190313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:02:32] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:32] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:32] local.INFO: IMEI packet received {"connection_id":190154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":190154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:02:37] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:37] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:02:37] local.INFO: IMEI packet received {"connection_id":190154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":190154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:02:38] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:38] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:02:38] local.INFO: Packet analysis {"connection_id":190154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:02:38] local.INFO: Extracted packet for processing {"connection_id":190154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":190154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:02:38] local.INFO: GPS data processed {"connection_id":190154,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:02:38] local.INFO: Acknowledgment sent {"connection_id":190154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:03:10] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:10] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:10] local.INFO: Packet analysis {"connection_id":190154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:10] local.INFO: Extracted packet for processing {"connection_id":190154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":190154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:03:10] local.INFO: GPS data processed {"connection_id":190154,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:03:10] local.INFO: Acknowledgment sent {"connection_id":190154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:03:35] local.INFO: TCP Data received {"connection_id":190315,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:03:35] local.INFO: Processing buffer {"connection_id":190315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:03:35] local.INFO: IMEI packet received {"connection_id":190315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":190315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:03:37] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:37] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:37] local.INFO: IMEI packet received {"connection_id":193003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":193003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:03:42] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:42] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:03:42] local.INFO: IMEI packet received {"connection_id":193003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":193003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:03:43] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:43] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:43] local.INFO: Packet analysis {"connection_id":193003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:43] local.INFO: Extracted packet for processing {"connection_id":193003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 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-09-23 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":193003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:03:43] local.INFO: GPS data processed {"connection_id":193003,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:03:43] local.INFO: Acknowledgment sent {"connection_id":193003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:03:48] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:48] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:03:48] local.INFO: Packet analysis {"connection_id":193003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:48] local.INFO: Extracted packet for processing {"connection_id":193003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":193003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:03:48] local.INFO: GPS data processed {"connection_id":193003,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:03:48] local.INFO: Acknowledgment sent {"connection_id":193003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:04:10] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:04:10] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:04:10] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:04:32] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:32] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:32] local.INFO: IMEI packet received {"connection_id":190316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":190316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:04:37] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:37] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:04:37] local.INFO: IMEI packet received {"connection_id":190316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":190316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:04:38] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:04:38] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:04:38] local.INFO: Packet analysis {"connection_id":190316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:04:38] local.INFO: Extracted packet for processing {"connection_id":190316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":190316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:04:38] local.INFO: GPS data processed {"connection_id":190316,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:04:38] local.INFO: Acknowledgment sent {"connection_id":190316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:05:09] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:09] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:09] local.INFO: Packet analysis {"connection_id":190316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:05:09] local.INFO: Extracted packet for processing {"connection_id":190316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:05:09] local.INFO: GPS data processed {"connection_id":190316,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:05:09] local.INFO: Acknowledgment sent {"connection_id":190316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:05:32] local.INFO: TCP Data received {"connection_id":190317,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:32] local.INFO: Processing buffer {"connection_id":190317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:32] local.INFO: IMEI packet received {"connection_id":190317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:05:37] local.INFO: TCP Data received {"connection_id":190317,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:37] local.INFO: Processing buffer {"connection_id":190317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:05:37] local.INFO: IMEI packet received {"connection_id":190317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:05:38] local.INFO: TCP Data received {"connection_id":190317,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:38] local.INFO: Processing buffer {"connection_id":190317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc196ef0012d34c18006aa4440000800d127..."} 
[2026-09-23 08:05:38] local.INFO: Packet analysis {"connection_id":190317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:05:38] local.INFO: Extracted packet for processing {"connection_id":190317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc19"} 
[2026-09-23 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130614000,"timestamp_ms":1790130614000,"timestamp_seconds":1790130614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc196ef0"} 
[2026-09-23 08:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273360128001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273360128001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:05:38] local.INFO: GPS data processed {"connection_id":190317,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:05:38] local.INFO: Acknowledgment sent {"connection_id":190317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:06:09] local.INFO: TCP Data received {"connection_id":190317,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:09] local.INFO: Processing buffer {"connection_id":190317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:09] local.INFO: Packet analysis {"connection_id":190317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:06:09] local.INFO: Extracted packet for processing {"connection_id":190317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:06: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-09-23 08:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":190317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:06:09] local.INFO: GPS data processed {"connection_id":190317,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:06:09] local.INFO: Acknowledgment sent {"connection_id":190317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:06:32] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:32] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:32] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:06:37] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:37] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:06:37] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:06:38] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:38] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:06:38] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:06:38] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 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-09-23 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:06: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-09-23 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-09-23 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-09-23 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:06:38] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:06:38] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:07:09] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:09] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:09] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:07:09] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:07: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-09-23 08: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-09-23 08:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:07:09] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:07:09] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:07:32] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:32] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:32] local.INFO: IMEI packet received {"connection_id":193004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":193004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:07:37] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:37] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:07:37] local.INFO: IMEI packet received {"connection_id":193004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":193004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:07:38] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:38] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:07:38] local.INFO: Packet analysis {"connection_id":193004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:07:38] local.INFO: Extracted packet for processing {"connection_id":193004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:07: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-09-23 08: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-09-23 08:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":193004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:07:38] local.INFO: GPS data processed {"connection_id":193004,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:07:38] local.INFO: Acknowledgment sent {"connection_id":193004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:08:10] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:10] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:10] local.INFO: Packet analysis {"connection_id":193004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:10] local.INFO: Extracted packet for processing {"connection_id":193004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":193004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:08:10] local.INFO: GPS data processed {"connection_id":193004,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:08:10] local.INFO: Acknowledgment sent {"connection_id":193004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:08:37] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:37] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:37] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:08:42] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:42] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:08:42] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:08:43] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:43] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:43] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:43] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:08:43] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:08:43] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:08:48] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:48] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:08:48] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:48] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:08:48] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:08:48] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:09:32] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:32] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:32] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:09:35] local.INFO: TCP Data received {"connection_id":190157,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:09:35] local.INFO: Processing buffer {"connection_id":190157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:09:35] local.INFO: IMEI packet received {"connection_id":190157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":190157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:09:37] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:37] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:09:37] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:09:38] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:09:38] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:09:38] local.INFO: Packet analysis {"connection_id":190319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:09:38] local.INFO: Extracted packet for processing {"connection_id":190319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:09: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-09-23 08: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-09-23 08:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":190319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:09:38] local.INFO: GPS data processed {"connection_id":190319,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:09:38] local.INFO: Acknowledgment sent {"connection_id":190319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:10:09] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:09] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:09] local.INFO: Packet analysis {"connection_id":190319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:10:09] local.INFO: Extracted packet for processing {"connection_id":190319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:10: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-09-23 08:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":190319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:10:09] local.INFO: GPS data processed {"connection_id":190319,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:10:09] local.INFO: Acknowledgment sent {"connection_id":190319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:10:10] local.INFO: TCP Data received {"connection_id":193005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:10:10] local.INFO: Processing buffer {"connection_id":193005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:10:10] local.INFO: IMEI packet received {"connection_id":193005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":193005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:10:32] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:32] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:32] local.INFO: IMEI packet received {"connection_id":193006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":193006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:10:37] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:37] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:10:37] local.INFO: IMEI packet received {"connection_id":193006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":193006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:10:38] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:38] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc1e06b8012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:10:38] local.INFO: Packet analysis {"connection_id":193006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:10:38] local.INFO: Extracted packet for processing {"connection_id":193006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc1e"} 
[2026-09-23 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273437184001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790130915000,"timestamp_ms":1790130915000,"timestamp_seconds":1790130915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc1e06b8"} 
[2026-09-23 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:10: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-09-23 08:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273437184001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273437184001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273437184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":193006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:10:38] local.INFO: GPS data processed {"connection_id":193006,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:10:38] local.INFO: Acknowledgment sent {"connection_id":193006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:11:10] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:10] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:10] local.INFO: Packet analysis {"connection_id":193006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:10] local.INFO: Extracted packet for processing {"connection_id":193006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:11: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-09-23 08: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-09-23 08:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":193006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:11:10] local.INFO: GPS data processed {"connection_id":193006,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:11:10] local.INFO: Acknowledgment sent {"connection_id":193006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:11:37] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:37] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:37] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:11:42] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:42] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:11:42] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:11:43] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:43] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:43] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:43] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:11:43] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:11:43] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:11:47] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:47] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:11:47] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:47] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:11:47] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:11:47] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:12:33] local.INFO: TCP Data received {"connection_id":193007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:33] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:33] local.INFO: IMEI packet received {"connection_id":193007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":193007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:12:37] local.INFO: TCP Data received {"connection_id":193007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:37] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:12:37] local.INFO: IMEI packet received {"connection_id":193007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":193007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:12:38] local.INFO: TCP Data received {"connection_id":193007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:38] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:38] local.INFO: Packet analysis {"connection_id":193007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:12:38] local.INFO: Extracted packet for processing {"connection_id":193007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 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-09-23 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":193007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:12:38] local.INFO: GPS data processed {"connection_id":193007,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:12:38] local.INFO: Acknowledgment sent {"connection_id":193007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:12:42] local.INFO: TCP Data received {"connection_id":193007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:42] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:12:42] local.INFO: Packet analysis {"connection_id":193007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:12:42] local.INFO: Extracted packet for processing {"connection_id":193007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":193007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:12:43] local.INFO: GPS data processed {"connection_id":193007,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:12:43] local.INFO: Acknowledgment sent {"connection_id":193007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:13:14] local.INFO: TCP Data received {"connection_id":193007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:14] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:14] local.INFO: Packet analysis {"connection_id":193007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:13:14] local.INFO: Extracted packet for processing {"connection_id":193007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":193007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:13:14] local.INFO: GPS data processed {"connection_id":193007,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:13:14] local.INFO: Acknowledgment sent {"connection_id":193007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:13:31] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:31] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:31] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:13:32] local.INFO: TCP Data received {"connection_id":190320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:32] local.INFO: Processing buffer {"connection_id":190320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:32] local.INFO: IMEI packet received {"connection_id":190320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":190320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:13:36] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:36] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:13:36] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:13:37] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 08:13:37] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 08:13:37] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 08:13:37] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:13:37] 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-09-23 08:13:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:13:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:13:37] local.ERROR: GPS data processing failed {"connection_id":191674,"error":"No valid data to process"} 
[2026-09-23 08:13:37] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:13:37] local.INFO: TCP Data received {"connection_id":190320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:37] local.INFO: Processing buffer {"connection_id":190320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:13:37] local.INFO: IMEI packet received {"connection_id":190320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":190320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:13:38] local.INFO: TCP Data received {"connection_id":190320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:38] local.INFO: Processing buffer {"connection_id":190320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:13:38] local.INFO: Packet analysis {"connection_id":190320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:13:38] local.INFO: Extracted packet for processing {"connection_id":190320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":190320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:13:38] local.INFO: GPS data processed {"connection_id":190320,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:13:38] local.INFO: Acknowledgment sent {"connection_id":190320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:14:08] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 08:14:08] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 08:14:08] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:14:08] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:14:08] 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-09-23 08:14:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:14:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:14:08] local.ERROR: GPS data processing failed {"connection_id":191674,"error":"No valid data to process"} 
[2026-09-23 08:14:08] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:14:10] local.INFO: TCP Data received {"connection_id":190320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:10] local.INFO: Processing buffer {"connection_id":190320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:10] local.INFO: Packet analysis {"connection_id":190320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:14:10] local.INFO: Extracted packet for processing {"connection_id":190320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":190320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:14:10] local.INFO: GPS data processed {"connection_id":190320,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:14:10] local.INFO: Acknowledgment sent {"connection_id":190320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:14:32] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:32] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:32] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:14:37] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:37] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:14:37] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:14:38] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:38] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:14:38] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:14:38] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 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-09-23 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:14:38] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:14:38] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:14:39] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 08:14:39] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 08:14:39] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:14:39] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:14:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:14:39] 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-09-23 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:14:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:14:39] local.ERROR: GPS data processing failed {"connection_id":191674,"error":"No valid data to process"} 
[2026-09-23 08:14:39] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:15:10] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:10] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:10] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:15:10] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 08:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:15: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-09-23 08:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:15:10] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:15:10] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:15:10] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 08:15:10] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 08:15:10] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:15:10] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:15: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-09-23 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:15:10] 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-09-23 08:15:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 08:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:15:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:15:10] local.ERROR: GPS data processing failed {"connection_id":191674,"error":"No valid data to process"} 
[2026-09-23 08:15:10] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:15:32] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:32] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:32] local.INFO: IMEI packet received {"connection_id":190160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":190160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:15:35] local.INFO: TCP Data received {"connection_id":193009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:15:35] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:15:35] local.INFO: IMEI packet received {"connection_id":193009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":193009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:15:37] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:37] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:15:37] local.INFO: IMEI packet received {"connection_id":190160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":190160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:15:38] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:38] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc229e80012d34c18006aa4440000800d12c..."} 
[2026-09-23 08:15:38] local.INFO: Packet analysis {"connection_id":190160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:15:38] local.INFO: Extracted packet for processing {"connection_id":190160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc22"} 
[2026-09-23 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273514240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131216000,"timestamp_ms":1790131216000,"timestamp_seconds":1790131216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc229e80"} 
[2026-09-23 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-09-23 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273514240001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273514240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273514240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":190160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:15:38] local.INFO: GPS data processed {"connection_id":190160,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:15:38] local.INFO: Acknowledgment sent {"connection_id":190160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:15:42] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc26c8e80100000000000000000000000000..."} 
[2026-09-23 08:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc26c8e80100000000000000000000000000..."} 
[2026-09-23 08:15:42] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc26c8e80100000000000000000000000000..."} 
[2026-09-23 08:15:42] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc26"} 
[2026-09-23 08:15:42] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc26"} 
[2026-09-23 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:15:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131489000,"timestamp_ms":1790131489000,"timestamp_seconds":1790131489,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc26c8e8"} 
[2026-09-23 08:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 08:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:15:42] local.INFO: GPS data processed {"connection_id":191674,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:15:42] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:16:09] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:09] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:09] local.INFO: Packet analysis {"connection_id":190160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:09] local.INFO: Extracted packet for processing {"connection_id":190160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:16: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-09-23 08: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-09-23 08:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":190160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:16:09] local.INFO: GPS data processed {"connection_id":190160,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:16:09] local.INFO: Acknowledgment sent {"connection_id":190160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:16:15] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:16:15] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:16:15] local.INFO: IMEI packet received {"connection_id":190321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":190321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:16:35] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc271af00100000000000000000000000000..."} 
[2026-09-23 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc271af00100000000000000000000000000..."} 
[2026-09-23 08:16:35] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc271af00100000000000000000000000000..."} 
[2026-09-23 08:16:35] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:35] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790131510000,"timestamp_ms":1790131510000,"timestamp_seconds":1790131510,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc271af0"} 
[2026-09-23 08:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:16:35] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:16:35] 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-09-23 08: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-09-23 08:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:16:35] local.INFO: GPS data processed {"connection_id":191674,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:16:35] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:16:37] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:37] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:37] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:16:42] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:42] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:16:42] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:16:43] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:43] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:43] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:43] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:16:43] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:16:43] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:16:47] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:47] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:16:47] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:47] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:16:47] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:16:47] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:17:07] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc276cf80100000000000000000000000000..."} 
[2026-09-23 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc276cf80100000000000000000000000000..."} 
[2026-09-23 08:17:07] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc276cf80100000000000000000000000000..."} 
[2026-09-23 08:17:07] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:07] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:17:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790131531000,"timestamp_ms":1790131531000,"timestamp_seconds":1790131531,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc276cf8"} 
[2026-09-23 08:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:17:07] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 08:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:17:07] local.INFO: GPS data processed {"connection_id":191674,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:17:07] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:17:32] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:32] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:32] local.INFO: IMEI packet received {"connection_id":193010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":193010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:17:37] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:37] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:17:37] local.INFO: IMEI packet received {"connection_id":193010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":193010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:17:38] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc27bf000100000000000000000000000000..."} 
[2026-09-23 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc27bf000100000000000000000000000000..."} 
[2026-09-23 08:17:38] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc27bf000100000000000000000000000000..."} 
[2026-09-23 08:17:38] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:38] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:38] 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-09-23 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-09-23 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:17:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131552000,"timestamp_ms":1790131552000,"timestamp_seconds":1790131552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc27bf00"} 
[2026-09-23 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-09-23 08:17:38] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:17:38] 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-09-23 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-09-23 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-09-23 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:17:38] local.INFO: GPS data processed {"connection_id":191674,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:17:38] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:17:38] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:17:38] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:17:38] local.INFO: Packet analysis {"connection_id":193010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:38] local.INFO: Extracted packet for processing {"connection_id":193010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 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-09-23 08:17: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":193010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:17:38] local.INFO: GPS data processed {"connection_id":193010,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:17:38] local.INFO: Acknowledgment sent {"connection_id":193010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:18:06] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:06] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:06] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:18:10] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:10] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:10] local.INFO: Packet analysis {"connection_id":193010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:10] local.INFO: Extracted packet for processing {"connection_id":193010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:18: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-09-23 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":193010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:18:10] local.INFO: GPS data processed {"connection_id":193010,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:18:10] local.INFO: Acknowledgment sent {"connection_id":193010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:18:11] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:11] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:18:11] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:18:12] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2811080100000000000000000000000000..."} 
[2026-09-23 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2811080100000000000000000000000000..."} 
[2026-09-23 08:18:12] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2811080100000000000000000000000000..."} 
[2026-09-23 08:18:12] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 08:18:12] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 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-09-23 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-09-23 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790131573000,"timestamp_ms":1790131573000,"timestamp_seconds":1790131573,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc281108"} 
[2026-09-23 08:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:18:12] 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-09-23 08:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:18:12] local.INFO: GPS data processed {"connection_id":191677,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:18:12] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:18:34] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:34] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:34] local.INFO: IMEI packet received {"connection_id":190322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":190322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:18:38] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:38] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:18:38] local.INFO: IMEI packet received {"connection_id":190322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":190322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:18:39] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:39] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:39] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:39] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:18: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-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:18: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-09-23 08: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-09-23 08:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:18:39] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:18:39] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:18:42] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2863100100000000000000000000000000..."} 
[2026-09-23 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2863100100000000000000000000000000..."} 
[2026-09-23 08:18:42] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2863100100000000000000000000000000..."} 
[2026-09-23 08:18:42] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 08:18:42] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 08:18:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131594000,"timestamp_ms":1790131594000,"timestamp_seconds":1790131594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc286310"} 
[2026-09-23 08:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:18:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:18:42] 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-09-23 08:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:18:42] local.INFO: GPS data processed {"connection_id":191677,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:18:42] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:18:43] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:43] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:18:43] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:43] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:18:43] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:18:43] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:19:14] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc28b5180100000000000000000000000000..."} 
[2026-09-23 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc28b5180100000000000000000000000000..."} 
[2026-09-23 08:19:14] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc28b5180100000000000000000000000000..."} 
[2026-09-23 08:19:14] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 08:19:14] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc28"} 
[2026-09-23 08: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-09-23 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,183,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790131615000,"timestamp_ms":1790131615000,"timestamp_seconds":1790131615,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc28b518"} 
[2026-09-23 08:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:19:14] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 08:19:14] 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-09-23 08:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:19:14] local.INFO: GPS data processed {"connection_id":191677,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:19:14] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:19:14] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:14] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:14] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:19:14] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:19: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-09-23 08:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:19:14] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:19:14] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:19:32] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:32] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:32] local.INFO: IMEI packet received {"connection_id":193011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":193011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:19:37] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:37] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:19:37] local.INFO: IMEI packet received {"connection_id":193011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":193011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:19:38] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:38] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:19:38] local.INFO: Packet analysis {"connection_id":193011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:19:38] local.INFO: Extracted packet for processing {"connection_id":193011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:19: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-09-23 08:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":193011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:19:38] local.INFO: GPS data processed {"connection_id":193011,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:19:38] local.INFO: Acknowledgment sent {"connection_id":193011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:19:45] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2907200100000000000000000000000000..."} 
[2026-09-23 08:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2907200100000000000000000000000000..."} 
[2026-09-23 08:19:45] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2907200100000000000000000000000000..."} 
[2026-09-23 08:19:45] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:19:45] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:19:45] 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-09-23 08:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:19:45] 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-09-23 08:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790131636000,"timestamp_ms":1790131636000,"timestamp_seconds":1790131636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc290720"} 
[2026-09-23 08:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 08:19: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-09-23 08:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:19:45] local.INFO: GPS data processed {"connection_id":191677,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:19:45] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:20:05] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:05] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:05] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:20:06] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:20:06] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:06] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:20:10] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:10] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:10] local.INFO: Packet analysis {"connection_id":193011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:20:10] local.INFO: Extracted packet for processing {"connection_id":193011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 08:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:20: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-09-23 08:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":193011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:20:10] local.INFO: GPS data processed {"connection_id":193011,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:20:10] local.INFO: Acknowledgment sent {"connection_id":193011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:20:11] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:11] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:20:11] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:20:11] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2959280100000000000000000000000000..."} 
[2026-09-23 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2959280100000000000000000000000000..."} 
[2026-09-23 08:20:11] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2959280100000000000000000000000000..."} 
[2026-09-23 08:20:11] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:20:11] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:20: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-09-23 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-09-23 08:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:11] 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-09-23 08:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790131657000,"timestamp_ms":1790131657000,"timestamp_seconds":1790131657,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc295928"} 
[2026-09-23 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-09-23 08:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 08:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:20:11] local.INFO: GPS data processed {"connection_id":190324,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:20:11] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:20:32] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:32] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:32] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:20:37] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:37] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:20:37] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:20:38] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:38] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc273648012d34c18006aa4440000800d12d..."} 
[2026-09-23 08:20:38] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:20:38] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc27"} 
[2026-09-23 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273591296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131517000,"timestamp_ms":1790131517000,"timestamp_seconds":1790131517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc273648"} 
[2026-09-23 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-09-23 08:20: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:20: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-09-23 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-09-23 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-09-23 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273591296001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273591296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273591296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:20:38] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:20:38] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:20:42] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc29ab300100000000000000000000000000..."} 
[2026-09-23 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc29ab300100000000000000000000000000..."} 
[2026-09-23 08:20:42] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc29ab300100000000000000000000000000..."} 
[2026-09-23 08:20:42] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:20:42] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc29"} 
[2026-09-23 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347045209145344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:20:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131678000,"timestamp_ms":1790131678000,"timestamp_seconds":1790131678,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc29ab30"} 
[2026-09-23 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-23 08:20:42] 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-09-23 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:20:42] local.INFO: GPS data processed {"connection_id":190324,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:20:42] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:21:06] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:06] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:06] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:21:10] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:10] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:10] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:10] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:21: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-09-23 08:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:21: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-09-23 08: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-09-23 08:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:21:10] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:21:10] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:21:11] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:11] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:21:11] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:21:12] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2c3b70012d0bf3400702a1f80015006908..."} 
[2026-09-23 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2c3b70012d0bf3400702a1f80015006908..."} 
[2026-09-23 08:21:12] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2c3b70012d0bf3400702a1f80015006908..."} 
[2026-09-23 08:21:12] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2c"} 
[2026-09-23 08:21:12] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2c"} 
[2026-09-23 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":755757888,"raw_latitude":117613048,"longitude_deg":75.5757888,"latitude_deg":11.7613048,"altitude":21,"angle":105,"satellites":8,"speed":7,"hex_longitude":"2d0bf340","hex_latitude":"0702a1f8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273752064001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33347680864305152,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860609771401783296,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790131846000,"timestamp_ms":1790131846000,"timestamp_seconds":1790131846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2c3b70"} 
[2026-09-23 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273752064001,"66":14461,"36":206,"94":11008,"24":7,"16":33347680864305152,"45":860609771401783296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-23 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273752064001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:21:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-23 08:21:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33347680864305152,"km_value":33347680864305.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":860609771401783296,"description":"Unknown IO ID 45"} 
[2026-09-23 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273752064001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":860609771401783296}} 
[2026-09-23 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:21:12] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:21:12] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:21:37] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:37] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:37] local.INFO: IMEI packet received {"connection_id":193013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":193013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:21:40] local.INFO: TCP Data received {"connection_id":193012,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:21:40] local.INFO: Processing buffer {"connection_id":193012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:21:40] local.INFO: IMEI packet received {"connection_id":193012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":193012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:21:42] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:42] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:21:42] local.INFO: IMEI packet received {"connection_id":193013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":193013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:21:43] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2cfec0012d0c0ec00702ab800014004709..."} 
[2026-09-23 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2cfec0012d0c0ec00702ab800014004709..."} 
[2026-09-23 08:21:43] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2cfec0012d0c0ec00702ab800014004709..."} 
[2026-09-23 08:21:43] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2c"} 
[2026-09-23 08:21:43] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2c"} 
[2026-09-23 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":755764928,"raw_latitude":117615488,"longitude_deg":75.5764928,"latitude_deg":11.7615488,"altitude":20,"angle":71,"satellites":9,"speed":6,"hex_longitude":"2d0c0ec0","hex_latitude":"0702ab80","is_valid_coordinates":true} 
[2026-09-23 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273764608001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348054526459904,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868350333261926400,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] 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-09-23 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790131896000,"timestamp_ms":1790131896000,"timestamp_seconds":1790131896,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2cfec0"} 
[2026-09-23 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3425476864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504108475219968,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":750028801,"corrected_to":0} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639457998428964,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529086158,"corrected_to":0} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":176,"raw_value":6474306850653952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822363,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84737151392481958,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-576453044397408235,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,37,94,24,241,157,16,121,160,227,45,192,170,21,9,10,66,219,169,215,64,1,240,212,204,2,4,113,205,176,232,8,239,56,36,118,7,22,5,206,72,11],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":204,"original":750028801,"validated":0},{"io_id":205,"original":1529086158,"validated":0}]} 
[2026-09-23 08:21:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513311768033034240,"timestamp_seconds":1513311768033034.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273764608001,"66":14548,"37":206,"94":11008,"24":6,"16":33348054526459904,"45":868350333261926400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273764608001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348054526459904,"km_value":33348054526459.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":868350333261926400,"description":"Unknown IO ID 45"} 
[2026-09-23 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273764608001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":868350333261926400}} 
[2026-09-23 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:21:43] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:21:43] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:21:43] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:43] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:43] local.INFO: Packet analysis {"connection_id":193013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:43] local.INFO: Extracted packet for processing {"connection_id":193013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:21: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-09-23 08:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":193013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:21:43] local.INFO: GPS data processed {"connection_id":193013,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:21:43] local.INFO: Acknowledgment sent {"connection_id":193013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:21:47] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:47] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:21:47] local.INFO: Packet analysis {"connection_id":193013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:47] local.INFO: Extracted packet for processing {"connection_id":193013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":193013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:21:47] local.INFO: GPS data processed {"connection_id":193013,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:21:47] local.INFO: Acknowledgment sent {"connection_id":193013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:22:06] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: IMEI packet received {"connection_id":190326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":190326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:22:06] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:06] local.INFO: IMEI packet received {"connection_id":190326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":190326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:22:10] local.INFO: TCP Data received {"connection_id":190164,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:22:10] local.INFO: Processing buffer {"connection_id":190164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:22:10] local.INFO: IMEI packet received {"connection_id":190164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":190164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:22:10] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:10] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:22:10] local.INFO: IMEI packet received {"connection_id":190326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":190326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:22:11] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2d0690012d0c0f800702abb00013005909..."} 
[2026-09-23 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2d0690012d0c0f800702abb00013005909..."} 
[2026-09-23 08:22:11] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2d0690012d0c0f800702abb00013005909..."} 
[2026-09-23 08:22:11] local.INFO: Packet analysis {"connection_id":190326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:22:11] local.INFO: Extracted packet for processing {"connection_id":190326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:22:11] local.INFO: GPS Element Parsed {"raw_longitude":755765120,"raw_latitude":117615536,"longitude_deg":75.576512,"latitude_deg":11.7615536,"altitude":19,"angle":89,"satellites":9,"speed":3,"hex_longitude":"2d0c0f80","hex_latitude":"0702abb0","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273765376001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348063116394496,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868842914471182336,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:11] 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-09-23 08:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790131898000,"timestamp_ms":1790131898000,"timestamp_seconds":1790131898,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2d0690"} 
[2026-09-23 08:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:22: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-09-23 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 08:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273765376001,"66":14439,"37":206,"94":11008,"24":3,"16":33348063116394496,"45":868842914471182336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273765376001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:22:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:22:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348063116394496,"km_value":33348063116394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":868842914471182336,"description":"Unknown IO ID 45"} 
[2026-09-23 08:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273765376001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":868842914471182336}} 
[2026-09-23 08:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":190326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:22:11] local.INFO: GPS data processed {"connection_id":190326,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:22:11] local.INFO: Acknowledgment sent {"connection_id":190326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:22:32] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:32] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:32] local.INFO: IMEI packet received {"connection_id":193014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":193014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:22:37] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:37] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:22:37] local.INFO: IMEI packet received {"connection_id":193014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":193014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:22:38] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:22:38] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:22:38] local.INFO: Packet analysis {"connection_id":193014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:22:38] local.INFO: Extracted packet for processing {"connection_id":193014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:22: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-09-23 08: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":193014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:22:38] local.INFO: GPS data processed {"connection_id":193014,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:22:38] local.INFO: Acknowledgment sent {"connection_id":193014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:22:42] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2d0a78012d0c10400702abd00013004b09..."} 
[2026-09-23 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2d0a78012d0c10400702abd00013004b09..."} 
[2026-09-23 08:22:42] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2d0a78012d0c10400702abd00013004b09..."} 
[2026-09-23 08:22:42] local.INFO: Packet analysis {"connection_id":190326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:22:42] local.INFO: Extracted packet for processing {"connection_id":190326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755765312,"raw_latitude":117615568,"longitude_deg":75.5765312,"latitude_deg":11.7615568,"altitude":19,"angle":75,"satellites":9,"speed":5,"hex_longitude":"2d0c1040","hex_latitude":"0702abd0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273765888001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348071706329088,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869054020703727616,"note":"Value kept but may cause issues"} 
[2026-09-23 08:22:42] 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-09-23 08:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131899000,"timestamp_ms":1790131899000,"timestamp_seconds":1790131899,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2d0a78"} 
[2026-09-23 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-09-23 08:22: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-09-23 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273765888001,"66":14439,"37":206,"94":11008,"24":5,"16":33348071706329088,"45":869054020703727616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273765888001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:22:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:22:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348071706329088,"km_value":33348071706329.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":869054020703727616,"description":"Unknown IO ID 45"} 
[2026-09-23 08:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273765888001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":869054020703727616}} 
[2026-09-23 08:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":190326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:22:43] local.INFO: GPS data processed {"connection_id":190326,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:22:43] local.INFO: Acknowledgment sent {"connection_id":190326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:23:06] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:06] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:06] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:23:09] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:09] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:09] local.INFO: Packet analysis {"connection_id":193014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:23:09] local.INFO: Extracted packet for processing {"connection_id":193014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:23:09] 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-09-23 08:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":193014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:23:09] local.INFO: GPS data processed {"connection_id":193014,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:23:09] local.INFO: Acknowledgment sent {"connection_id":193014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:23:11] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:11] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:23:11] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:23:11] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2d3958012d0c14c00702ad780011003f0b..."} 
[2026-09-23 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2d3958012d0c14c00702ad780011003f0b..."} 
[2026-09-23 08:23:11] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2d3958012d0c14c00702ad780011003f0b..."} 
[2026-09-23 08:23:11] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:23:11] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":755766464,"raw_latitude":117615992,"longitude_deg":75.5766464,"latitude_deg":11.7615992,"altitude":17,"angle":63,"satellites":11,"speed":7,"hex_longitude":"2d0c14c0","hex_latitude":"0702ad78","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348131835871232,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869265126936268800,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:11] 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-09-23 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790131911000,"timestamp_ms":1790131911000,"timestamp_seconds":1790131911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2d3958"} 
[2026-09-23 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-09-23 08:23:11] 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-09-23 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:23:11] 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-09-23 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-09-23 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-09-23 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273766144001,"66":14374,"37":206,"94":11008,"24":7,"16":33348131835871232,"45":869265126936268800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:23:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:23:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348131835871232,"km_value":33348131835871.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":869265126936268800,"description":"Unknown IO ID 45"} 
[2026-09-23 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273766144001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":869265126936268800}} 
[2026-09-23 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:23:11] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:23:11] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:23:18] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:18] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:18] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:23:19] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:19] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:19] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:23:23] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:23] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:23:23] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:23:23] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-23 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-23 08:23:23] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-23 08:23:23] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 08:23:23] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 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-09-23 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-09-23 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:23:23] 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-09-23 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-09-23 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:23:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:23:23] local.ERROR: GPS data processing failed {"connection_id":190328,"error":"No valid data to process"} 
[2026-09-23 08:23:23] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:23:32] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:32] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:32] local.INFO: IMEI packet received {"connection_id":193015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:23:37] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:37] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:23:37] local.INFO: IMEI packet received {"connection_id":193015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":193015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:23:40] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:40] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:23:40] local.INFO: Packet analysis {"connection_id":193015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:23:40] local.INFO: Extracted packet for processing {"connection_id":193015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:23: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-09-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:23: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-09-23 08: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-09-23 08:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":193015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:23:40] local.INFO: GPS data processed {"connection_id":193015,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:23:40] local.INFO: Acknowledgment sent {"connection_id":193015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:23:42] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2d4510012d0c16800702ae58001100510b..."} 
[2026-09-23 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2d4510012d0c16800702ae58001100510b..."} 
[2026-09-23 08:23:42] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2d4510012d0c16800702ae58001100510b..."} 
[2026-09-23 08:23:42] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:23:42] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":755766912,"raw_latitude":117616216,"longitude_deg":75.5766912,"latitude_deg":11.7616216,"altitude":17,"angle":81,"satellites":11,"speed":6,"hex_longitude":"2d0c1680","hex_latitude":"0702ae58","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273769216001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348157605675008,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870531764331575296,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:42] 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-09-23 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790131914000,"timestamp_ms":1790131914000,"timestamp_seconds":1790131914,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2d4510"} 
[2026-09-23 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-09-23 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 08:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273769216001,"66":14439,"37":206,"94":11008,"24":6,"16":33348157605675008,"45":870531764331575296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273769216001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:23:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:23:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348157605675008,"km_value":33348157605675.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":870531764331575296,"description":"Unknown IO ID 45"} 
[2026-09-23 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273769216001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":870531764331575296}} 
[2026-09-23 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:23:42] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:23:42] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:23:55] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-23 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-23 08:23:55] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-23 08:23:55] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 08:23:55] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 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-09-23 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-09-23 08:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:23:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:23:55] 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-09-23 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-09-23 08:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 08:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 08:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 08:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 08:23:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 08:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 08:23:55] local.ERROR: GPS data processing failed {"connection_id":190328,"error":"No valid data to process"} 
[2026-09-23 08:23:55] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 08:24:05] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:05] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:05] local.INFO: IMEI packet received {"connection_id":190329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":190329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:24:11] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:11] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:24:11] local.INFO: IMEI packet received {"connection_id":190329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":190329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:24:11] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:11] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:11] local.INFO: Packet analysis {"connection_id":193015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:24:11] local.INFO: Extracted packet for processing {"connection_id":193015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:24: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-09-23 08: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-09-23 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":193015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:24:11] local.INFO: GPS data processed {"connection_id":193015,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:24:11] local.INFO: Acknowledgment sent {"connection_id":193015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:24:11] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2d54b0012d0c19400702ae800010005f0b..."} 
[2026-09-23 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2d54b0012d0c19400702ae800010005f0b..."} 
[2026-09-23 08:24:11] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2d54b0012d0c19400702ae800010005f0b..."} 
[2026-09-23 08:24:11] local.INFO: Packet analysis {"connection_id":190329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:24:11] local.INFO: Extracted packet for processing {"connection_id":190329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2d"} 
[2026-09-23 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":755767616,"raw_latitude":117616256,"longitude_deg":75.5767616,"latitude_deg":11.7616256,"altitude":16,"angle":95,"satellites":11,"speed":6,"hex_longitude":"2d0c1940","hex_latitude":"0702ae80","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273769984001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348187670446080,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871024345540876288,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:11] 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-09-23 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790131918000,"timestamp_ms":1790131918000,"timestamp_seconds":1790131918,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2d54b0"} 
[2026-09-23 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24: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-09-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:24:11] 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-09-23 08: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-09-23 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273769984001,"66":14450,"37":206,"94":11008,"24":6,"16":33348187670446080,"45":871024345540876288},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273769984001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348187670446080,"km_value":33348187670446.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":871024345540876288,"description":"Unknown IO ID 45"} 
[2026-09-23 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273769984001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":871024345540876288}} 
[2026-09-23 08:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":190329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:24:12] local.INFO: GPS data processed {"connection_id":190329,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:24:12] local.INFO: Acknowledgment sent {"connection_id":190329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:24:26] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2f31400100000000000000000000000000..."} 
[2026-09-23 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2f31400100000000000000000000000000..."} 
[2026-09-23 08:24:26] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2f31400100000000000000000000000000..."} 
[2026-09-23 08:24:26] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24:26] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24: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-09-23 08:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790132040000,"timestamp_ms":1790132040000,"timestamp_seconds":1790132040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2f3140"} 
[2026-09-23 08:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24:26] 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-09-23 08:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 08:24:26] 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-09-23 08:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:24:26] local.INFO: GPS data processed {"connection_id":190328,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:24:26] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:24:32] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:32] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:32] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:24:37] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:37] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:24:37] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:24:38] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:38] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:24:38] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:24:38] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24: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-09-23 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:24:38] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:24:38] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:24:43] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2f21a0012d0c28400702ad680010014a19..."} 
[2026-09-23 08:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2f21a0012d0c28400702ad680010014a19..."} 
[2026-09-23 08:24:43] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2f21a0012d0c28400702ad680010014a19..."} 
[2026-09-23 08:24:43] local.INFO: Packet analysis {"connection_id":190329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24:43] local.INFO: Extracted packet for processing {"connection_id":190329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":25,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273795840001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] 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-09-23 08:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790132036000,"timestamp_ms":1790132036000,"timestamp_seconds":1790132036,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2f21a0"} 
[2026-09-23 08:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3098502931977077248,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185718,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3734192451436606431,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055374,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4103906042438811854,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":765132801,"corrected_to":0} 
[2026-09-23 08:24:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4093693275,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":17,"raw_value":27879216901058304,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":505157904279535721,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,37,94,24,241,157,16,122,160,129,45,64,173,10,66,106,23,1,240,128,227,204,2,4,113,205,151,39,168,12,239,56,118,7,17,192],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":765132801,"validated":0},{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-09-23 08:24:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153284450818195456,"timestamp_seconds":1153284450818195.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273795840001,"66":12341,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273795840001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:24:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:24:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273795840001,"power":12341,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":190329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:24:43] local.INFO: GPS data processed {"connection_id":190329,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:24:43] local.INFO: Acknowledgment sent {"connection_id":190329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:24:57] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2f83480100000000000000000000000000..."} 
[2026-09-23 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2f83480100000000000000000000000000..."} 
[2026-09-23 08:24:57] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2f83480100000000000000000000000000..."} 
[2026-09-23 08:24:57] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24:57] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:24: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-09-23 08:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:24:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790132061000,"timestamp_ms":1790132061000,"timestamp_seconds":1790132061,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2f8348"} 
[2026-09-23 08:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:24:57] 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-09-23 08:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-09-23 08:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 08:24:57] local.INFO: GPS data processed {"connection_id":190328,"processed":0,"errors":0,"total":1} 
[2026-09-23 08:24:57] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:09] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:09] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:09] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:25:09] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 08:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:09] 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-09-23 08: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-09-23 08:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:09] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:09] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:11] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:11] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:11] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:25:16] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:16] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:25:16] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:25:17] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2f73a8012d0c28400702ad680010014a19..."} 
[2026-09-23 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2f73a8012d0c28400702ad680010014a19..."} 
[2026-09-23 08:25:17] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2f73a8012d0c28400702ad680010014a19..."} 
[2026-09-23 08:25:17] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:25:17] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":25,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273801216001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25: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-09-23 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790132057000,"timestamp_ms":1790132057000,"timestamp_seconds":1790132057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2f73a8"} 
[2026-09-23 08:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:25: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-09-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:17] 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-09-23 08: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-09-23 08:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273801216001,"66":12319,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273801216001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273801216001,"power":12319,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:17] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:17] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:21] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2fc5b0012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2fc5b0012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:25:21] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2fc5b0012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:25:21] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:25:21] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2f"} 
[2026-09-23 08:25:21] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":26,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273806592001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25: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-09-23 08:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790132078000,"timestamp_ms":1790132078000,"timestamp_seconds":1790132078,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2fc5b0"} 
[2026-09-23 08:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:25: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-09-23 08:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:21] 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-09-23 08:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273806592001,"66":12341,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273806592001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:25:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273806592001,"power":12341,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:21] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:21] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:28] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc307960012d19de8007200630003f006707..."} 
[2026-09-23 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc307960012d19de8007200630003f006707..."} 
[2026-09-23 08:25:28] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc307960012d19de8007200630003f006707..."} 
[2026-09-23 08:25:28] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:25:28] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119539248,"longitude_deg":75.667008,"latitude_deg":11.9539248,"altitude":63,"angle":103,"satellites":7,"speed":9,"hex_longitude":"2d19de80","hex_latitude":"07200630","is_valid_coordinates":true} 
[2026-09-23 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273823488001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22551361442807808,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380023808,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790132124000,"timestamp_ms":1790132124000,"timestamp_seconds":1790132124,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc307960"} 
[2026-09-23 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:25:28] 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-09-23 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273823488001,"66":14254,"101":206,"83":41984,"24":9,"16":22551361442807808,"45":1863927326380023808},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273823488001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22551361442807808,"km_value":22551361442807.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380023808,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273823488001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1863927326380023808}} 
[2026-09-23 08:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:29] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:29] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:32] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:32] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:32] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:25:37] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:37] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:25:37] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:25:38] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:38] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc2bce10012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:25:38] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:25:38] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc2b"} 
[2026-09-23 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273668352001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790131818000,"timestamp_ms":1790131818000,"timestamp_seconds":1790131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc2bce10"} 
[2026-09-23 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-09-23 08:25: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-09-23 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273668352001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273668352001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273668352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":191681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:38] local.INFO: GPS data processed {"connection_id":191681,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:38] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:25:59] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc307d48012d19df0007200598003f007b07..."} 
[2026-09-23 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc307d48012d19df0007200598003f007b07..."} 
[2026-09-23 08:25:59] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc307d48012d19df0007200598003f007b07..."} 
[2026-09-23 08:25:59] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:25:59] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539096,"longitude_deg":75.6670208,"latitude_deg":11.9539096,"altitude":63,"angle":123,"satellites":7,"speed":10,"hex_longitude":"2d19df00","hex_latitude":"07200598","is_valid_coordinates":true} 
[2026-09-23 08:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273823744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22551374327709696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868366848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790132125000,"timestamp_ms":1790132125000,"timestamp_seconds":1790132125,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc307d48"} 
[2026-09-23 08:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:25:59] 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-09-23 08:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 08:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273823744001,"66":13961,"101":206,"83":41984,"24":10,"16":22551374327709696,"45":1864068063868366848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273823744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:25:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22551374327709696,"km_value":22551374327709.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868366848,"description":"Unknown IO ID 45"} 
[2026-09-23 08:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273823744001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864068063868366848}} 
[2026-09-23 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:25:59] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:25:59] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:06] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:06] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:06] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:26:09] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:09] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:09] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:09] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:26: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-09-23 08: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-09-23 08:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":191681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:10] local.INFO: GPS data processed {"connection_id":191681,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:10] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:11] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:11] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:26:11] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:26:11] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:11] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:11] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:11] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:11] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":26,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08:26: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-09-23 08:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273811968001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:11] 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-09-23 08:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132094000,"timestamp_ms":1790132094000,"timestamp_seconds":1790132094,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc300430"} 
[2026-09-23 08:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26: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-09-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 08:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273811968001,"66":12363,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273811968001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273811968001,"power":12363,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:12] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:12] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:16] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:16] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc300430012d0c28400702ad680010014a1a..."} 
[2026-09-23 08:26:16] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:16] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":26,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273816064001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26: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-09-23 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790132094000,"timestamp_ms":1790132094000,"timestamp_seconds":1790132094,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc300430"} 
[2026-09-23 08:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26:16] 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-09-23 08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 08:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273816064001,"66":12363,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273816064001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:26:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273816064001,"power":12363,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:16] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:16] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:30] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc314c50012d1a9300071fa8000033008407..."} 
[2026-09-23 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc314c50012d1a9300071fa8000033008407..."} 
[2026-09-23 08:26:30] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc314c50012d1a9300071fa8000033008407..."} 
[2026-09-23 08:26:30] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc31"} 
[2026-09-23 08:26:30] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc31"} 
[2026-09-23 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756716288,"raw_latitude":119515136,"longitude_deg":75.6716288,"latitude_deg":11.9515136,"altitude":51,"angle":132,"satellites":7,"speed":44,"hex_longitude":"2d1a9300","hex_latitude":"071fa800","is_valid_coordinates":true} 
[2026-09-23 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273835264001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22553985667825664,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908470741440335872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790132178000,"timestamp_ms":1790132178000,"timestamp_seconds":1790132178,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc314c50"} 
[2026-09-23 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-23 08:26:30] 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-09-23 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273835264001,"66":14243,"101":206,"83":41984,"24":44,"16":22553985667825664,"45":1908470741440335872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273835264001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22553985667825664,"km_value":22553985667825.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908470741440335872,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273835264001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1908470741440335872}} 
[2026-09-23 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:30] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:30] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:32] local.INFO: TCP Data received {"connection_id":193016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:32] local.INFO: Processing buffer {"connection_id":193016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:32] local.INFO: IMEI packet received {"connection_id":193016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:26:38] local.INFO: TCP Data received {"connection_id":193016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:38] local.INFO: Processing buffer {"connection_id":193016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:26:38] local.INFO: IMEI packet received {"connection_id":193016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":193016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:26:39] local.INFO: TCP Data received {"connection_id":193016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:39] local.INFO: Processing buffer {"connection_id":193016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:26:39] local.INFO: Packet analysis {"connection_id":193016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:39] local.INFO: Extracted packet for processing {"connection_id":193016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:26: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-09-23 08: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-09-23 08:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":193016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:39] local.INFO: GPS data processed {"connection_id":193016,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:39] local.INFO: Acknowledgment sent {"connection_id":193016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:26:47] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:26:47] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:26:47] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:47] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":28,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273816064001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:26: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-09-23 08:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790132152000,"timestamp_ms":1790132152000,"timestamp_seconds":1790132152,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc30e6c0"} 
[2026-09-23 08:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:26:47] 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-09-23 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 08:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273816064001,"66":12493,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273816064001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:26:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:26:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273816064001,"power":12493,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:26:48] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:26:48] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:02] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc315bf0012d1aa080071f9c780032007907..."} 
[2026-09-23 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc315bf0012d1aa080071f9c780032007907..."} 
[2026-09-23 08:27:02] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc315bf0012d1aa080071f9c780032007907..."} 
[2026-09-23 08:27:02] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc31"} 
[2026-09-23 08:27:02] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc31"} 
[2026-09-23 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756719744,"raw_latitude":119512184,"longitude_deg":75.6719744,"latitude_deg":11.9512184,"altitude":50,"angle":121,"satellites":7,"speed":44,"hex_longitude":"2d1aa080","hex_latitude":"071f9c78","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273837568001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22554204711157760,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914874297158467584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790132182000,"timestamp_ms":1790132182000,"timestamp_seconds":1790132182,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc315bf0"} 
[2026-09-23 08:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 08:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273837568001,"66":14374,"101":206,"83":41984,"24":44,"16":22554204711157760,"45":1914874297158467584},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273837568001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22554204711157760,"km_value":22554204711157.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914874297158467584,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273837568001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1914874297158467584}} 
[2026-09-23 08:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:02] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:02] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:06] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:06] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:06] local.INFO: IMEI packet received {"connection_id":190330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":190330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:27:07] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:07] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:07] local.INFO: IMEI packet received {"connection_id":190330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":190330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:27:10] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:10] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:27:10] local.INFO: IMEI packet received {"connection_id":190330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":190330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:27:11] local.INFO: TCP Data received {"connection_id":193016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:11] local.INFO: Processing buffer {"connection_id":193016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:11] local.INFO: Packet analysis {"connection_id":193016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:11] local.INFO: Extracted packet for processing {"connection_id":193016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:27: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-09-23 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":193016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:11] local.INFO: GPS data processed {"connection_id":193016,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:11] local.INFO: Acknowledgment sent {"connection_id":193016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:11] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:27:11] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc30e6c0012d0c28400702ad680010014a1c..."} 
[2026-09-23 08:27:11] local.INFO: Packet analysis {"connection_id":190330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:11] local.INFO: Extracted packet for processing {"connection_id":190330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615976,"longitude_deg":75.5771456,"latitude_deg":11.7615976,"altitude":16,"angle":330,"satellites":28,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ad68","is_valid_coordinates":true} 
[2026-09-23 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273830912001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33348363764105216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377428992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:11] 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-09-23 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132152000,"timestamp_ms":1790132152000,"timestamp_seconds":1790132152,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc30e6c0"} 
[2026-09-23 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:11] 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-09-23 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-23 08:27:11] 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-09-23 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273830912001,"66":12493,"37":206,"94":11008,"24":0,"16":33348363764105216,"45":876020526377428992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273830912001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33348363764105216,"km_value":33348363764105.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377428992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273830912001,"power":12493,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876020526377428992}} 
[2026-09-23 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":190330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:11] local.INFO: GPS data processed {"connection_id":190330,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:11] local.INFO: Acknowledgment sent {"connection_id":190330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:32] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:32] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:32] local.INFO: IMEI packet received {"connection_id":190331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":190331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:27:33] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc321b58012d1b0240071f90100018006909..."} 
[2026-09-23 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc321b58012d1b0240071f90100018006909..."} 
[2026-09-23 08:27:33] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc321b58012d1b0240071f90100018006909..."} 
[2026-09-23 08:27:33] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:27:33] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756744768,"raw_latitude":119509008,"longitude_deg":75.6744768,"latitude_deg":11.9509008,"altitude":24,"angle":105,"satellites":9,"speed":27,"hex_longitude":"2d1b0240","hex_latitude":"071f9010","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273850624001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22555570510757888,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944851382176649216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790132231000,"timestamp_ms":1790132231000,"timestamp_seconds":1790132231,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc321b58"} 
[2026-09-23 08:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 08:27:33] 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-09-23 08: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-09-23 08:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273850624001,"66":14265,"101":206,"83":41984,"24":27,"16":22555570510757888,"45":1944851382176649216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273850624001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22555570510757888,"km_value":22555570510757.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944851382176649216,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273850624001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1944851382176649216}} 
[2026-09-23 08:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:33] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:33] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:37] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:37] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:27:37] local.INFO: IMEI packet received {"connection_id":190331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":190331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:27:38] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:38] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:27:38] local.INFO: Packet analysis {"connection_id":190331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:38] local.INFO: Extracted packet for processing {"connection_id":190331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:27: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-09-23 08: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-09-23 08:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":190331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:38] local.INFO: GPS data processed {"connection_id":190331,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:38] local.INFO: Acknowledgment sent {"connection_id":190331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:40] local.INFO: TCP Data received {"connection_id":193017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:27:40] local.INFO: Processing buffer {"connection_id":193017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:27:40] local.INFO: IMEI packet received {"connection_id":193017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":193017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:27:42] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc322710012d0c1200070300b8000f015d1d..."} 
[2026-09-23 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc322710012d0c1200070300b8000f015d1d..."} 
[2026-09-23 08:27:42] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc322710012d0c1200070300b8000f015d1d..."} 
[2026-09-23 08:27:42] local.INFO: Packet analysis {"connection_id":190330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:27:42] local.INFO: Extracted packet for processing {"connection_id":190330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":755765760,"raw_latitude":117637304,"longitude_deg":75.576576,"latitude_deg":11.7637304,"altitude":15,"angle":349,"satellites":29,"speed":36,"hex_longitude":"2d0c1200","hex_latitude":"070300b8","is_valid_coordinates":true} 
[2026-09-23 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273849344001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33349471865667584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871868770473994240,"note":"Value kept but may cause issues"} 
[2026-09-23 08:27:42] 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-09-23 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790132234000,"timestamp_ms":1790132234000,"timestamp_seconds":1790132234,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc322710"} 
[2026-09-23 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 08:27:42] 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-09-23 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273849344001,"66":14428,"37":206,"94":11008,"24":36,"16":33349471865667584,"45":871868770473994240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273849344001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:27:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:27:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33349471865667584,"km_value":33349471865667.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":871868770473994240,"description":"Unknown IO ID 45"} 
[2026-09-23 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273849344001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":871868770473994240}} 
[2026-09-23 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":190330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:27:43] local.INFO: GPS data processed {"connection_id":190330,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:27:43] local.INFO: Acknowledgment sent {"connection_id":190330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:27:59] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: IMEI packet received {"connection_id":193018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":193018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:27:59] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:27:59] local.INFO: IMEI packet received {"connection_id":193018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":193018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:03] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:28:03] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:28:03] local.INFO: IMEI packet received {"connection_id":193018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":193018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:07] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:28:07] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:28:07] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:28:07] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 08:28:07] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 08:28:07] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:07] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc329c40012d1b5500071f78800005009609..."} 
[2026-09-23 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc329c40012d1b5500071f78800005009609..."} 
[2026-09-23 08:28:07] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc329c40012d1b5500071f78800005009609..."} 
[2026-09-23 08:28:07] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:07] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756765952,"raw_latitude":119502976,"longitude_deg":75.6765952,"latitude_deg":11.9502976,"altitude":5,"angle":150,"satellites":9,"speed":24,"hex_longitude":"2d1b5500","hex_latitude":"071f7880","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273859072001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556747331796992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755195727872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790132264000,"timestamp_ms":1790132264000,"timestamp_seconds":1790132264,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc329c40"} 
[2026-09-23 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28:07] 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-09-23 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273859072001,"66":14080,"101":206,"83":41984,"24":24,"16":22556747331796992,"45":1968776755195727872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273859072001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556747331796992,"km_value":22556747331796.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755195727872,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273859072001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1968776755195727872}} 
[2026-09-23 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:08] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:08] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:09] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:28:09] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 08:28:09] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:09] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc325208012d0c0a80070325a8000d015c1d..."} 
[2026-09-23 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc325208012d0c0a80070325a8000d015c1d..."} 
[2026-09-23 08:28:09] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0cc..."} 
[2026-09-23 08:28:09] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:09] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:09] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:09] local.INFO: Packet analysis {"connection_id":190331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:28:09] local.INFO: Extracted packet for processing {"connection_id":190331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:28: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-09-23 08: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-09-23 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":190331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:09] local.INFO: GPS data processed {"connection_id":190331,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:09] local.INFO: Acknowledgment sent {"connection_id":190331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:10] local.INFO: TCP Data received {"connection_id":190332,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:28:10] local.INFO: Processing buffer {"connection_id":190332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:28:10] local.INFO: IMEI packet received {"connection_id":190332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":190332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:28:11] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc327d00012d0c0300070349b0000c015c1d..."} 
[2026-09-23 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc327d00012d0c0300070349b0000c015c1d..."} 
[2026-09-23 08:28:11] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cc325208012d0c0a80070325a8000d015c1d..."} 
[2026-09-23 08:28:11] local.INFO: Packet analysis {"connection_id":190170,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:11] local.INFO: Extracted packet for processing {"connection_id":190170,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:11] local.INFO: GPS Element Parsed {"raw_longitude":755763840,"raw_latitude":117646760,"longitude_deg":75.576384,"latitude_deg":11.764676,"altitude":13,"angle":348,"satellites":29,"speed":34,"hex_longitude":"2d0c0a80","hex_latitude":"070325a8","is_valid_coordinates":true} 
[2026-09-23 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273851904001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33349940017102848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869757708151076864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] 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-09-23 08:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132245000,"timestamp_ms":1790132245000,"timestamp_seconds":1790132245,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc325208"} 
[2026-09-23 08:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28: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-09-23 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:28:11] 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-09-23 08:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273851904001,"66":14461,"37":206,"94":11008,"24":34,"16":33349940017102848,"45":869757708151076864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273851904001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33349940017102848,"km_value":33349940017102.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":869757708151076864,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273851904001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":869757708151076864}} 
[2026-09-23 08:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":190170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:11] local.INFO: GPS data processed {"connection_id":190170,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:11] local.INFO: Acknowledgment sent {"connection_id":190170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:11] local.INFO: Packet analysis {"connection_id":190170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:11] local.INFO: Extracted packet for processing {"connection_id":190170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:11] local.INFO: GPS Element Parsed {"raw_longitude":755761920,"raw_latitude":117655984,"longitude_deg":75.576192,"latitude_deg":11.7655984,"altitude":12,"angle":348,"satellites":29,"speed":34,"hex_longitude":"2d0c0300","hex_latitude":"070349b0","is_valid_coordinates":true} 
[2026-09-23 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273854720001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33350395283636224,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867646645828167680,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:11] 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-09-23 08:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132256000,"timestamp_ms":1790132256000,"timestamp_seconds":1790132256,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc327d00"} 
[2026-09-23 08:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28: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-09-23 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 08:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273854720001,"66":14396,"37":206,"94":11008,"24":34,"16":33350395283636224,"45":867646645828167680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 08:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273854720001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33350395283636224,"km_value":33350395283636.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":867646645828167680,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273854720001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":867646645828167680}} 
[2026-09-23 08:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":190170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:11] local.INFO: GPS data processed {"connection_id":190170,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:11] local.INFO: Acknowledgment sent {"connection_id":190170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:32] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:32] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:32] local.INFO: IMEI packet received {"connection_id":191682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:28:37] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:37] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:28:37] local.INFO: IMEI packet received {"connection_id":191682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":191682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:28:38] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:38] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:28:38] local.INFO: Packet analysis {"connection_id":191682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:28:38] local.INFO: Extracted packet for processing {"connection_id":191682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:28: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-09-23 08: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-09-23 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":191682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:38] local.INFO: GPS data processed {"connection_id":191682,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:38] local.INFO: Acknowledgment sent {"connection_id":191682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:39] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc32afc8012d1b5b40071f70000001008508..."} 
[2026-09-23 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc32afc8012d1b5b40071f70000001008508..."} 
[2026-09-23 08:28:39] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc32afc8012d1b5b40071f70000001008508..."} 
[2026-09-23 08:28:39] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:39] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc32"} 
[2026-09-23 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756767552,"raw_latitude":119500800,"longitude_deg":75.6767552,"latitude_deg":11.95008,"altitude":1,"angle":133,"satellites":8,"speed":21,"hex_longitude":"2d1b5b40","hex_latitude":"071f7000","is_valid_coordinates":true} 
[2026-09-23 08:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273859584001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556876180815872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442637221888,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790132269000,"timestamp_ms":1790132269000,"timestamp_seconds":1790132269,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc32afc8"} 
[2026-09-23 08:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28:39] 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-09-23 08:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3425859864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3892391195,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":847564801,"corrected_to":0} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2214068230,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 08:28:39] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2147950468,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,35,160,148,45,128,124,6,9,10,66,140,64,129,136,1,240,27,227,204,31,4,113,205,21,73,56,239,2,80,7,8,26],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":204,"original":847564801,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 08:28:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360452935590084608,"timestamp_seconds":360452935590084.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273859584001,"66":14483,"101":206,"83":41984,"24":21,"16":22556876180815872,"45":1969480442637221888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273859584001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556876180815872,"km_value":22556876180815.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442637221888,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273859584001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1969480442637221888}} 
[2026-09-23 08:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:39] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:39] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:28:42] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc336b48012d0c4d400703dbe00015000a1d..."} 
[2026-09-23 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc336b48012d0c4d400703dbe00015000a1d..."} 
[2026-09-23 08:28:42] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc336b48012d0c4d400703dbe00015000a1d..."} 
[2026-09-23 08:28:42] local.INFO: Packet analysis {"connection_id":190170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:28:42] local.INFO: Extracted packet for processing {"connection_id":190170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":117693408,"longitude_deg":75.5780928,"latitude_deg":11.7693408,"altitude":21,"angle":10,"satellites":29,"speed":29,"hex_longitude":"2d0c4d40","hex_latitude":"0703dbe0","is_valid_coordinates":true} 
[2026-09-23 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273871872001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33352671616303104,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575511271424,"note":"Value kept but may cause issues"} 
[2026-09-23 08:28:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790132317000,"timestamp_ms":1790132317000,"timestamp_seconds":1790132317,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc336b48"} 
[2026-09-23 08:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-23 08:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273871872001,"66":14537,"16":33352671616303104,"94":11008,"24":29,"45":886716575511271424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 08:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273871872001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33352671616303104,"km_value":33352671616303.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:28:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575511271424,"description":"Unknown IO ID 45"} 
[2026-09-23 08:28:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458273871872001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":886716575511271424}} 
[2026-09-23 08:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":190170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:28:42] local.INFO: GPS data processed {"connection_id":190170,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:28:42] local.INFO: Acknowledgment sent {"connection_id":190170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:05] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:05] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:05] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:29:09] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:09] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:09] local.INFO: Packet analysis {"connection_id":191682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:29:09] local.INFO: Extracted packet for processing {"connection_id":191682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:29: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-09-23 08: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-09-23 08:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":191682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:09] local.INFO: GPS data processed {"connection_id":191682,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:09] local.INFO: Acknowledgment sent {"connection_id":191682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:10] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc33c908012d1b9540071f7dd80000004209..."} 
[2026-09-23 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc33c908012d1b9540071f7dd80000004209..."} 
[2026-09-23 08:29:10] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc33c908012d1b9540071f7dd80000004209..."} 
[2026-09-23 08:29:10] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:10] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756782400,"raw_latitude":119504344,"longitude_deg":75.67824,"latitude_deg":11.9504344,"altitude":0,"angle":66,"satellites":9,"speed":7,"hex_longitude":"2d1b9540","hex_latitude":"071f7dd8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273879040001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557726584340480,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987354103658678272,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132341000,"timestamp_ms":1790132341000,"timestamp_seconds":1790132341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc33c908"} 
[2026-09-23 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-09-23 08:29:10] 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-09-23 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 08:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273879040001,"66":14070,"101":206,"83":41984,"24":7,"16":22557726584340480,"45":1987354103658678272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273879040001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557726584340480,"km_value":22557726584340.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987354103658678272,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273879040001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1987354103658678272}} 
[2026-09-23 08:29:10] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:10] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:29:10] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:10] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:10] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:11] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc337318012d0c4fc00703e1600015001c1d..."} 
[2026-09-23 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc337318012d0c4fc00703e1600015001c1d..."} 
[2026-09-23 08:29:11] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc337318012d0c4fc00703e1600015001c1d..."} 
[2026-09-23 08:29:11] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:11] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":755781568,"raw_latitude":117694816,"longitude_deg":75.5781568,"latitude_deg":11.7694816,"altitude":21,"angle":28,"satellites":29,"speed":30,"hex_longitude":"2d0c4fc0","hex_latitude":"0703e160","is_valid_coordinates":true} 
[2026-09-23 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273873152001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33352744630747136,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100535545856,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:11] 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-09-23 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132319000,"timestamp_ms":1790132319000,"timestamp_seconds":1790132319,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc337318"} 
[2026-09-23 08:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 08:29:11] 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-09-23 08:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273873152001,"66":14537,"16":33352744630747136,"94":11008,"24":30,"45":886435100535545856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273873152001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33352744630747136,"km_value":33352744630747.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100535545856,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458273873152001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":886435100535545856}} 
[2026-09-23 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:11] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:11] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:32] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:32] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:32] local.INFO: IMEI packet received {"connection_id":190171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":190171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:29:37] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:37] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:29:37] local.INFO: IMEI packet received {"connection_id":190171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":190171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:29:38] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:38] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:29:38] local.INFO: Packet analysis {"connection_id":190171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:29:38] local.INFO: Extracted packet for processing {"connection_id":190171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:29: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-09-23 08:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":190171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:38] local.INFO: GPS data processed {"connection_id":190171,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:38] local.INFO: Acknowledgment sent {"connection_id":190171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:41] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc33d4c0012d1b9600071f7ec00000002b09..."} 
[2026-09-23 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc33d4c0012d1b9600071f7ec00000002b09..."} 
[2026-09-23 08:29:41] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc33d4c0012d1b9600071f7ec00000002b09..."} 
[2026-09-23 08:29:41] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:41] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756782592,"raw_latitude":119504576,"longitude_deg":75.6782592,"latitude_deg":11.9504576,"altitude":0,"angle":43,"satellites":9,"speed":4,"hex_longitude":"2d1b9600","hex_latitude":"071f7ec0","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273879296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557743764209664,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987565209891231744,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790132344000,"timestamp_ms":1790132344000,"timestamp_seconds":1790132344,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc33d4c0"} 
[2026-09-23 08:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:29:41] 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-09-23 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 08:29:41] 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-09-23 08: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-09-23 08:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273879296001,"66":14243,"101":206,"83":41984,"24":4,"16":22557743764209664,"45":1987565209891231744},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273879296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557743764209664,"km_value":22557743764209.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987565209891231744,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273879296001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1987565209891231744}} 
[2026-09-23 08:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:41] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:41] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:42] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc337700012d0c51c00703e3f0001400281d..."} 
[2026-09-23 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc337700012d0c51c00703e3f0001400281d..."} 
[2026-09-23 08:29:42] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc337700012d0c51c00703e3f0001400281d..."} 
[2026-09-23 08:29:42] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:42] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755782080,"raw_latitude":117695472,"longitude_deg":75.578208,"latitude_deg":11.7695472,"altitude":20,"angle":40,"satellites":29,"speed":32,"hex_longitude":"2d0c51c0","hex_latitude":"0703e3f0","is_valid_coordinates":true} 
[2026-09-23 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273873664001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33352787580420096,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787977682944,"note":"Value kept but may cause issues"} 
[2026-09-23 08:29:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790132320000,"timestamp_ms":1790132320000,"timestamp_seconds":1790132320,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc337700"} 
[2026-09-23 08:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 08:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273873664001,"66":14450,"16":33352787580420096,"94":11008,"24":32,"45":887138787977682944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273873664001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33352787580420096,"km_value":33352787580420.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:29:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787977682944,"description":"Unknown IO ID 45"} 
[2026-09-23 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458273873664001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":887138787977682944}} 
[2026-09-23 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:29:42] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:29:42] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:29:57] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:29:57] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:29:57] local.INFO: IMEI packet received {"connection_id":190335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":190335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:30:03] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:03] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:03] local.INFO: IMEI packet received {"connection_id":190335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":190335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:30:03] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc33d8a8012d1b9600071f7f100000001a09..."} 
[2026-09-23 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc33d8a8012d1b9600071f7f100000001a09..."} 
[2026-09-23 08:30:03] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc33d8a8012d1b9600071f7f100000001a09..."} 
[2026-09-23 08:30:03] local.INFO: Packet analysis {"connection_id":190335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:03] local.INFO: Extracted packet for processing {"connection_id":190335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756782592,"raw_latitude":119504656,"longitude_deg":75.6782592,"latitude_deg":11.9504656,"altitude":0,"angle":26,"satellites":9,"speed":3,"hex_longitude":"2d1b9600","hex_latitude":"071f7f10","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273880064001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557748059176960,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987776316123824128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790132345000,"timestamp_ms":1790132345000,"timestamp_seconds":1790132345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc33d8a8"} 
[2026-09-23 08:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:03] 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-09-23 08: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 08:30:03] 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-09-23 08: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-09-23 08:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273880064001,"66":13135,"101":206,"83":41984,"24":3,"16":22557748059176960,"45":1987776316123824128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273880064001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557748059176960,"km_value":22557748059176.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987776316123824128,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273880064001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1987776316123824128}} 
[2026-09-23 08:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":190335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:04] local.INFO: GPS data processed {"connection_id":190335,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:04] local.INFO: Acknowledgment sent {"connection_id":190335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:05] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:05] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:05] local.INFO: IMEI packet received {"connection_id":190172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":190172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:30:10] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:10] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:10] local.INFO: Packet analysis {"connection_id":190171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:30:10] local.INFO: Extracted packet for processing {"connection_id":190171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":190171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:10] local.INFO: GPS data processed {"connection_id":190171,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:10] local.INFO: Acknowledgment sent {"connection_id":190171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:11] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:11] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:30:11] local.INFO: IMEI packet received {"connection_id":190172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":190172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:30:12] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc338e70012d0c62800703f1e8001500341d..."} 
[2026-09-23 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc338e70012d0c62800703f1e8001500341d..."} 
[2026-09-23 08:30:12] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc338e70012d0c62800703f1e8001500341d..."} 
[2026-09-23 08:30:12] local.INFO: Packet analysis {"connection_id":190172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:12] local.INFO: Extracted packet for processing {"connection_id":190172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":755786368,"raw_latitude":117699048,"longitude_deg":75.5786368,"latitude_deg":11.7699048,"altitude":21,"angle":52,"satellites":29,"speed":31,"hex_longitude":"2d0c6280","hex_latitude":"0703f1e8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273873920001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33353053868392448,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887701737931272192,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 08:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790132326000,"timestamp_ms":1790132326000,"timestamp_seconds":1790132326,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc338e70"} 
[2026-09-23 08:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:30:12] 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-09-23 08: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-09-23 08:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273873920001,"66":14428,"16":33353053868392448,"94":11008,"24":31,"45":887701737931272192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 08:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273873920001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33353053868392448,"km_value":33353053868392.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":887701737931272192,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458273873920001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":887701737931272192}} 
[2026-09-23 08:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":190172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:12] local.INFO: GPS data processed {"connection_id":190172,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:12] local.INFO: Acknowledgment sent {"connection_id":190172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:32] local.INFO: TCP Data received {"connection_id":190173,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:32] local.INFO: Processing buffer {"connection_id":190173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:32] local.INFO: IMEI packet received {"connection_id":190173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":190173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:30:35] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc33fbd0012d1b9700071f82680000002b09..."} 
[2026-09-23 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc33fbd0012d1b9700071f82680000002b09..."} 
[2026-09-23 08:30:35] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc33fbd0012d1b9700071f82680000002b09..."} 
[2026-09-23 08:30:35] local.INFO: Packet analysis {"connection_id":190335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:35] local.INFO: Extracted packet for processing {"connection_id":190335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc33"} 
[2026-09-23 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756782848,"raw_latitude":119505512,"longitude_deg":75.6782848,"latitude_deg":11.9505512,"altitude":0,"angle":43,"satellites":9,"speed":2,"hex_longitude":"2d1b9700","hex_latitude":"071f8268","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273880320001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557791008849920,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987776316123844608,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790132354000,"timestamp_ms":1790132354000,"timestamp_seconds":1790132354,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc33fbd0"} 
[2026-09-23 08:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:35] 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-09-23 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 08:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273880320001,"66":13352,"101":206,"83":41984,"24":2,"16":22557791008849920,"45":1987776316123844608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273880320001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557791008849920,"km_value":22557791008849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987776316123844608,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273880320001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1987776316123844608}} 
[2026-09-23 08:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":190335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:35] local.INFO: GPS data processed {"connection_id":190335,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:35] local.INFO: Acknowledgment sent {"connection_id":190335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:37] local.INFO: TCP Data received {"connection_id":190173,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:37] local.INFO: Processing buffer {"connection_id":190173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:30:37] local.INFO: IMEI packet received {"connection_id":190173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":190173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:30:38] local.INFO: TCP Data received {"connection_id":190173,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:38] local.INFO: Processing buffer {"connection_id":190173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3065d8012d34c18006aa4440000800d129..."} 
[2026-09-23 08:30:38] local.INFO: Packet analysis {"connection_id":190173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:30:38] local.INFO: Extracted packet for processing {"connection_id":190173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc30"} 
[2026-09-23 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273745408001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132119000,"timestamp_ms":1790132119000,"timestamp_seconds":1790132119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3065d8"} 
[2026-09-23 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:30: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-09-23 08:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273745408001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273745408001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273745408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":190173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:38] local.INFO: GPS data processed {"connection_id":190173,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:38] local.INFO: Acknowledgment sent {"connection_id":190173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:45] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc350958012d0c6c400704fce8001501491c..."} 
[2026-09-23 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc350958012d0c6c400704fce8001501491c..."} 
[2026-09-23 08:30:45] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc350958012d0c6c400704fce8001501491c..."} 
[2026-09-23 08:30:45] local.INFO: Packet analysis {"connection_id":190172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc35"} 
[2026-09-23 08:30:45] local.INFO: Extracted packet for processing {"connection_id":190172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc35"} 
[2026-09-23 08:30:45] local.INFO: GPS Element Parsed {"raw_longitude":755788864,"raw_latitude":117767400,"longitude_deg":75.5788864,"latitude_deg":11.77674,"altitude":21,"angle":329,"satellites":28,"speed":32,"hex_longitude":"2d0c6c40","hex_latitude":"0704fce8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899008001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33357069662814208,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898468155808100352,"note":"Value kept but may cause issues"} 
[2026-09-23 08:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790132423000,"timestamp_ms":1790132423000,"timestamp_seconds":1790132423,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc350958"} 
[2026-09-23 08:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899008001,"66":14396,"95":206,"94":10240,"24":32,"16":33357069662814208,"45":898468155808100352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 08:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899008001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:30:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 08:30:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33357069662814208,"km_value":33357069662814.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":898468155808100352,"description":"Unknown IO ID 45"} 
[2026-09-23 08:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899008001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":898468155808100352}} 
[2026-09-23 08:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":190172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:30:46] local.INFO: GPS data processed {"connection_id":190172,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:30:46] local.INFO: Acknowledgment sent {"connection_id":190172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:30:57] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:57] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:30:57] local.INFO: IMEI packet received {"connection_id":193019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":193019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:31:03] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:03] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:03] local.INFO: IMEI packet received {"connection_id":193019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":193019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:31:03] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3403a0012d1b96c0071f8210000000580a..."} 
[2026-09-23 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3403a0012d1b96c0071f8210000000580a..."} 
[2026-09-23 08:31:03] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3403a0012d1b96c0071f8210000000580a..."} 
[2026-09-23 08:31:03] local.INFO: Packet analysis {"connection_id":193019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:03] local.INFO: Extracted packet for processing {"connection_id":193019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756782784,"raw_latitude":119505424,"longitude_deg":75.6782784,"latitude_deg":11.9505424,"altitude":0,"angle":88,"satellites":10,"speed":0,"hex_longitude":"2d1b96c0","hex_latitude":"071f8210","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273882624001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557795303817216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988057791100774400,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790132356000,"timestamp_ms":1790132356000,"timestamp_seconds":1790132356,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3403a0"} 
[2026-09-23 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-09-23 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 08:31:03] 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-09-23 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-09-23 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-09-23 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273882624001,"66":13319,"101":206,"83":41984,"24":0,"16":22557795303817216,"45":1988057791100774400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273882624001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557795303817216,"km_value":22557795303817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988057791100774400,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273882624001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1988057791100774400}} 
[2026-09-23 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":193019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:03] local.INFO: GPS data processed {"connection_id":193019,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:03] local.INFO: Acknowledgment sent {"connection_id":193019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:06] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:06] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:06] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:31:08] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:08] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:08] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:31:09] local.INFO: TCP Data received {"connection_id":190173,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:09] local.INFO: Processing buffer {"connection_id":190173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:09] local.INFO: Packet analysis {"connection_id":190173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:09] local.INFO: Extracted packet for processing {"connection_id":190173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:31: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-09-23 08: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-09-23 08:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:09] local.INFO: GPS data processed {"connection_id":190173,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:09] local.INFO: Acknowledgment sent {"connection_id":190173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:10] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:10] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:10] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:31:11] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:11] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:31:11] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:31:11] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc351128012d0c69c0070502b0001401551c..."} 
[2026-09-23 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc351128012d0c69c0070502b0001401551c..."} 
[2026-09-23 08:31:11] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc351128012d0c69c0070502b0001401551c..."} 
[2026-09-23 08:31:11] local.INFO: Packet analysis {"connection_id":191684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc35"} 
[2026-09-23 08:31:11] local.INFO: Extracted packet for processing {"connection_id":191684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc35"} 
[2026-09-23 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":117768880,"longitude_deg":75.5788224,"latitude_deg":11.776888,"altitude":20,"angle":341,"satellites":28,"speed":31,"hex_longitude":"2d0c69c0","hex_latitude":"070502b0","is_valid_coordinates":true} 
[2026-09-23 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273900288001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33357151267192832,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895160824832518144,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:11] 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-09-23 08:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132425000,"timestamp_ms":1790132425000,"timestamp_seconds":1790132425,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc351128"} 
[2026-09-23 08:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 08:31: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-09-23 08:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273900288001,"66":14450,"95":206,"94":10240,"24":31,"16":33357151267192832,"45":895160824832518144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 08:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273900288001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 08:31:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33357151267192832,"km_value":33357151267192.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":895160824832518144,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273900288001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":895160824832518144}} 
[2026-09-23 08:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":191684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:11] local.INFO: GPS data processed {"connection_id":191684,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:11] local.INFO: Acknowledgment sent {"connection_id":191684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:32] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:32] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:32] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:31:34] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc340788012d1b9640071f8220000000380a..."} 
[2026-09-23 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc340788012d1b9640071f8220000000380a..."} 
[2026-09-23 08:31:34] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc340788012d1b9640071f8220000000380a..."} 
[2026-09-23 08:31:34] local.INFO: Packet analysis {"connection_id":193019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:34] local.INFO: Extracted packet for processing {"connection_id":193019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756782656,"raw_latitude":119505440,"longitude_deg":75.6782656,"latitude_deg":11.950544,"altitude":0,"angle":56,"satellites":10,"speed":0,"hex_longitude":"2d1b9640","hex_latitude":"071f8220","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273883136001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557799598784512,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987987422356574208,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790132357000,"timestamp_ms":1790132357000,"timestamp_seconds":1790132357,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc340788"} 
[2026-09-23 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-09-23 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3425930864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":868812801,"corrected_to":0} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":9221120237048498432,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147950461,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8464514206395039737,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,36,160,251,45,130,9,10,66,216,127,212,1,240,163,227,204,31,4,113,205,7,197,148,136,239,55,2,80,38,51],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":204,"original":868812801,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 08:31:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":96799972917248,"timestamp_seconds":96799972917.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 08:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273883136001,"66":13352,"101":206,"83":41984,"24":0,"16":22557799598784512,"45":1987987422356574208},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273883136001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557799598784512,"km_value":22557799598784.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987987422356574208,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273883136001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1987987422356574208}} 
[2026-09-23 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":193019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:35] local.INFO: GPS data processed {"connection_id":193019,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:35] local.INFO: Acknowledgment sent {"connection_id":193019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:37] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:37] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:31:37] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:31:38] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:38] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:38] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:38] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:31: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-09-23 08:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:38] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:38] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:42] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:42] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:31:42] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:42] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:31:42] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:31:42] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:31:57] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:57] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:57] local.INFO: IMEI packet received {"connection_id":193020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":193020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:31:58] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:58] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:31:58] local.INFO: IMEI packet received {"connection_id":193020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":193020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:32:03] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:03] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:03] local.INFO: IMEI packet received {"connection_id":193020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":193020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:32:03] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc343668012d1b9600071f8238000000190b..."} 
[2026-09-23 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc343668012d1b9600071f8238000000190b..."} 
[2026-09-23 08:32:03] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc343668012d1b9600071f8238000000190b..."} 
[2026-09-23 08:32:03] local.INFO: Packet analysis {"connection_id":193020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:03] local.INFO: Extracted packet for processing {"connection_id":193020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756782592,"raw_latitude":119505464,"longitude_deg":75.6782592,"latitude_deg":11.9505464,"altitude":0,"angle":25,"satellites":11,"speed":1,"hex_longitude":"2d1b9600","hex_latitude":"071f8238","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273883392001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557816778653696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987846684868222976,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790132369000,"timestamp_ms":1790132369000,"timestamp_seconds":1790132369,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc343668"} 
[2026-09-23 08:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 08:32:03] 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-09-23 08: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-09-23 08:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273883392001,"66":13330,"101":206,"83":41984,"24":1,"16":22557816778653696,"45":1987846684868222976},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273883392001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557816778653696,"km_value":22557816778653.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987846684868222976,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273883392001,"power":13330,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1987846684868222976}} 
[2026-09-23 08:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":193020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:03] local.INFO: GPS data processed {"connection_id":193020,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:03] local.INFO: Acknowledgment sent {"connection_id":193020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:08] local.INFO: TCP Data received {"connection_id":191684,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc362a68012d0c6f0007059110002100251d..."} 
[2026-09-23 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc362a68012d0c6f0007059110002100251d..."} 
[2026-09-23 08:32:08] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc362a68012d0c6f0007059110002100251d..."} 
[2026-09-23 08:32:08] local.INFO: Packet analysis {"connection_id":191684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:08] local.INFO: Extracted packet for processing {"connection_id":191684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117805328,"longitude_deg":75.5789568,"latitude_deg":11.7805328,"altitude":33,"angle":37,"satellites":29,"speed":16,"hex_longitude":"2d0c6f00","hex_latitude":"07059110","is_valid_coordinates":true} 
[2026-09-23 08:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273918976001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33359500614303744,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037307213824,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:08] 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-09-23 08:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790132497000,"timestamp_ms":1790132497000,"timestamp_seconds":1790132497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc362a68"} 
[2026-09-23 08:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32: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-09-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273918976001,"66":14439,"164":206,"94":10240,"24":16,"16":33359500614303744,"45":895583037307213824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-23 08:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273918976001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33359500614303744,"km_value":33359500614303.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037307213824,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273918976001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":895583037307213824}} 
[2026-09-23 08:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":191684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:08] local.INFO: GPS data processed {"connection_id":191684,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:08] local.INFO: Acknowledgment sent {"connection_id":191684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:10] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:10] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:10] local.INFO: IMEI packet received {"connection_id":193021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":193021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:32:12] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:12] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:12] local.INFO: IMEI packet received {"connection_id":193021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":193021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:32:14] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:14] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:14] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:14] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:32: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-09-23 08: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-09-23 08:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:14] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:14] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:16] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:16] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:32:16] local.INFO: IMEI packet received {"connection_id":193021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":193021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:32:16] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc368828012d0ca0400705b118001e004e1d..."} 
[2026-09-23 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc368828012d0ca0400705b118001e004e1d..."} 
[2026-09-23 08:32:16] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc368828012d0ca0400705b118001e004e1d..."} 
[2026-09-23 08:32:16] local.INFO: Packet analysis {"connection_id":193021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:16] local.INFO: Extracted packet for processing {"connection_id":193021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:16] local.INFO: GPS Element Parsed {"raw_longitude":755802176,"raw_latitude":117813528,"longitude_deg":75.5802176,"latitude_deg":11.7813528,"altitude":30,"angle":78,"satellites":29,"speed":38,"hex_longitude":"2d0ca040","hex_latitude":"0705b118","is_valid_coordinates":true} 
[2026-09-23 08:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273922816001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33360389672534016,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899101474517858304,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32: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-09-23 08:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790132521000,"timestamp_ms":1790132521000,"timestamp_seconds":1790132521,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc368828"} 
[2026-09-23 08:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32: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-09-23 08:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:32: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-09-23 08:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193021,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193021,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273922816001,"66":14559,"164":206,"94":10240,"24":38,"16":33360389672534016,"45":899101474517858304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-23 08:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273922816001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:16] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-23 08:32:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33360389672534016,"km_value":33360389672534.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":899101474517858304,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273922816001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":899101474517858304}} 
[2026-09-23 08:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":193021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:17] local.INFO: GPS data processed {"connection_id":193021,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:17] local.INFO: Acknowledgment sent {"connection_id":193021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:32] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:32] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:32] local.INFO: IMEI packet received {"connection_id":190174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":190174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:32:34] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc36e5e8012d1b9940071f86e00000008113..."} 
[2026-09-23 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc36e5e8012d1b9940071f86e00000008113..."} 
[2026-09-23 08:32:34] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc36e5e8012d1b9940071f86e00000008113..."} 
[2026-09-23 08:32:34] local.INFO: Packet analysis {"connection_id":193020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:34] local.INFO: Extracted packet for processing {"connection_id":193020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756783424,"raw_latitude":119506656,"longitude_deg":75.6783424,"latitude_deg":11.9506656,"altitude":0,"angle":129,"satellites":19,"speed":1,"hex_longitude":"2d1b9940","hex_latitude":"071f86e0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273931264001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557949922639872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988620741054488576,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790132545000,"timestamp_ms":1790132545000,"timestamp_seconds":1790132545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc36e5e8"} 
[2026-09-23 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-09-23 08:32:34] 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-09-23 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 08:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273931264001,"66":14135,"101":206,"83":41984,"24":1,"16":22557949922639872,"45":1988620741054488576},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273931264001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 08:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557949922639872,"km_value":22557949922639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988620741054488576,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273931264001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1988620741054488576}} 
[2026-09-23 08:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":193020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:34] local.INFO: GPS data processed {"connection_id":193020,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:34] local.INFO: Acknowledgment sent {"connection_id":193020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:37] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:37] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:32:37] local.INFO: IMEI packet received {"connection_id":190174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":190174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:32:38] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:38] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:32:38] local.INFO: Packet analysis {"connection_id":190174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:38] local.INFO: Extracted packet for processing {"connection_id":190174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:32: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-09-23 08:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":190174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:38] local.INFO: GPS data processed {"connection_id":190174,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:38] local.INFO: Acknowledgment sent {"connection_id":190174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:48] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc36ab50012d0cbd000705b5580016005b1d..."} 
[2026-09-23 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc36ab50012d0cbd000705b5580016005b1d..."} 
[2026-09-23 08:32:48] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc36ab50012d0cbd000705b5580016005b1d..."} 
[2026-09-23 08:32:48] local.INFO: Packet analysis {"connection_id":193021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:48] local.INFO: Extracted packet for processing {"connection_id":193021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc36"} 
[2026-09-23 08:32:48] local.INFO: GPS Element Parsed {"raw_longitude":755809536,"raw_latitude":117814616,"longitude_deg":75.5809536,"latitude_deg":11.7814616,"altitude":22,"angle":91,"satellites":29,"speed":25,"hex_longitude":"2d0cbd00","hex_latitude":"0705b558","is_valid_coordinates":true} 
[2026-09-23 08:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273925376001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33360746154819584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909797523633281024,"note":"Value kept but may cause issues"} 
[2026-09-23 08:32:48] 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-09-23 08:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790132530000,"timestamp_ms":1790132530000,"timestamp_seconds":1790132530,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc36ab50"} 
[2026-09-23 08:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:32: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-09-23 08:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 08:32:48] 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-09-23 08:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193021,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193021,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273925376001,"66":14515,"220":206,"94":10240,"24":25,"16":33360746154819584,"45":909797523633281024},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-23 08:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273925376001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:32:48] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 08:32:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33360746154819584,"km_value":33360746154819.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":909797523633281024,"description":"Unknown IO ID 45"} 
[2026-09-23 08:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273925376001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":909797523633281024}} 
[2026-09-23 08:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":193021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:32:48] local.INFO: GPS data processed {"connection_id":193021,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:32:48] local.INFO: Acknowledgment sent {"connection_id":193021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:32:58] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:58] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:32:58] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:33:02] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:33:02] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:02] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:33:03] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:03] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:33:03] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:33:05] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:05] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:05] local.INFO: IMEI packet received {"connection_id":190339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":190339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:33:10] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:10] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:10] local.INFO: Packet analysis {"connection_id":190174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:33:10] local.INFO: Extracted packet for processing {"connection_id":190174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 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-09-23 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":190174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:33:10] local.INFO: GPS data processed {"connection_id":190174,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:33:10] local.INFO: Acknowledgment sent {"connection_id":190174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:33:12] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:12] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:33:12] local.INFO: IMEI packet received {"connection_id":190339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":190339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:33:14] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc371c98012d0cf6400705d5f8000e00591d..."} 
[2026-09-23 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc371c98012d0cf6400705d5f8000e00591d..."} 
[2026-09-23 08:33:14] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc371c98012d0cf6400705d5f8000e00591d..."} 
[2026-09-23 08:33:14] local.INFO: Packet analysis {"connection_id":190339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:14] local.INFO: Extracted packet for processing {"connection_id":190339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":755824192,"raw_latitude":117822968,"longitude_deg":75.5824192,"latitude_deg":11.7822968,"altitude":14,"angle":89,"satellites":29,"speed":24,"hex_longitude":"2d0cf640","hex_latitude":"0705d5f8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33361665277820928,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932596996749213696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:14] 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-09-23 08:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790132559000,"timestamp_ms":1790132559000,"timestamp_seconds":1790132559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc371c98"} 
[2026-09-23 08:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 08:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273934592001,"66":13580,"220":206,"94":10240,"24":24,"16":33361665277820928,"45":932596996749213696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-23 08:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:33:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 08:33:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33361665277820928,"km_value":33361665277820.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":932596996749213696,"description":"Unknown IO ID 45"} 
[2026-09-23 08:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273934592001,"power":13580,"unknown_220":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":932596996749213696}} 
[2026-09-23 08:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":190339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:33:14] local.INFO: GPS data processed {"connection_id":190339,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:33:14] local.INFO: Acknowledgment sent {"connection_id":190339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:33:16] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc374790012d0d1b000705d6580010005a1d..."} 
[2026-09-23 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc374790012d0d1b000705d6580010005a1d..."} 
[2026-09-23 08:33:16] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc374790012d0d1b000705d6580010005a1d..."} 
[2026-09-23 08:33:16] local.INFO: Packet analysis {"connection_id":190339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:16] local.INFO: Extracted packet for processing {"connection_id":190339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":755833600,"raw_latitude":117823064,"longitude_deg":75.58336,"latitude_deg":11.7823064,"altitude":16,"angle":90,"satellites":29,"speed":38,"hex_longitude":"2d0d1b00","hex_latitude":"0705d658","is_valid_coordinates":true} 
[2026-09-23 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273935104001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362111954419712,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934004371632814080,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] 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-09-23 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790132570000,"timestamp_ms":1790132570000,"timestamp_seconds":1790132570,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc374790"} 
[2026-09-23 08:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:33: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-09-23 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751543941,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3426153864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1531216151968219121,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":923340801,"corrected_to":0} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3505389583,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18640016344166364,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802947278,"corrected_to":0} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147943880,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-71831988599730594,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2248474624,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,220,94,24,241,157,16,134,160,20,45,64,213,14,29,10,66,192,212,12,1,240,103,227,204,5,4,113,205,19,249,235,32,239,56,2,118,7,15,23,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":204,"original":923340801,"validated":0},{"io_id":205,"original":802947278,"validated":0}]} 
[2026-09-23 08:33:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008904297621487616,"timestamp_seconds":1008904297621487.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273935104001,"66":14439,"220":206,"94":10240,"24":38,"16":33362111954419712,"45":934004371632814080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-23 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273935104001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:33:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 08:33:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362111954419712,"km_value":33362111954419.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":934004371632814080,"description":"Unknown IO ID 45"} 
[2026-09-23 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273935104001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":934004371632814080}} 
[2026-09-23 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":190339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:33:16] local.INFO: GPS data processed {"connection_id":190339,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:33:16] local.INFO: Acknowledgment sent {"connection_id":190339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:33:32] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:32] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:32] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:33:37] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:37] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:33:37] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:33:38] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:38] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:33:38] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:33:38] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:33: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-09-23 08: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-09-23 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:33:38] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:33:38] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:33:40] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:33:40] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:33:40] local.INFO: IMEI packet received {"connection_id":190340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":190340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:33:47] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc377288012d0d38400705d720000e006d1d..."} 
[2026-09-23 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc377288012d0d38400705d720000e006d1d..."} 
[2026-09-23 08:33:47] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc377288012d0d38400705d720000e006d1d..."} 
[2026-09-23 08:33:47] local.INFO: Packet analysis {"connection_id":190339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:47] local.INFO: Extracted packet for processing {"connection_id":190339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc37"} 
[2026-09-23 08:33:47] local.INFO: GPS Element Parsed {"raw_longitude":755841088,"raw_latitude":117823264,"longitude_deg":75.5841088,"latitude_deg":11.7823264,"altitude":14,"angle":109,"satellites":29,"speed":7,"hex_longitude":"2d0d3840","hex_latitude":"0705d720","is_valid_coordinates":true} 
[2026-09-23 08:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273937920001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362464141737984,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":944348577026955264,"note":"Value kept but may cause issues"} 
[2026-09-23 08:33:47] 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-09-23 08:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790132581000,"timestamp_ms":1790132581000,"timestamp_seconds":1790132581,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc377288"} 
[2026-09-23 08:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273937920001,"66":14450,"220":206,"94":10240,"24":7,"16":33362464141737984,"45":944348577026955264},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-23 08:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273937920001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:33:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 08:33:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362464141737984,"km_value":33362464141737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":944348577026955264,"description":"Unknown IO ID 45"} 
[2026-09-23 08:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273937920001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":944348577026955264}} 
[2026-09-23 08:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":190339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:33:47] local.INFO: GPS data processed {"connection_id":190339,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:33:47] local.INFO: Acknowledgment sent {"connection_id":190339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:34:05] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:05] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:05] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:34:10] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:34:10] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:34:10] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:34:10] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:10] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:10] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:34:10] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:34:10] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:34:10] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:34:11] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:11] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:34:11] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:34:12] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3831f0012d0d3ac00705c2580012007e1e..."} 
[2026-09-23 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3831f0012d0d3ac00705c2580012007e1e..."} 
[2026-09-23 08:34:12] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3831f0012d0d3ac00705c2580012007e1e..."} 
[2026-09-23 08:34:12] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc38"} 
[2026-09-23 08:34:12] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc38"} 
[2026-09-23 08:34:12] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117817944,"longitude_deg":75.5841728,"latitude_deg":11.7817944,"altitude":18,"angle":126,"satellites":30,"speed":7,"hex_longitude":"2d0d3ac0","hex_latitude":"0705c258","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273953024001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362751904546816,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047893504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:12] 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-09-23 08:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790132630000,"timestamp_ms":1790132630000,"timestamp_seconds":1790132630,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3831f0"} 
[2026-09-23 08:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:34:12] 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-09-23 08: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-09-23 08:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273953024001,"66":14450,"167":206,"94":11008,"24":7,"16":33362751904546816,"45":953144670047893504},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-23 08:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273953024001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:34:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-23 08:34:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362751904546816,"km_value":33362751904546.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047893504,"description":"Unknown IO ID 45"} 
[2026-09-23 08:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273953024001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953144670047893504}} 
[2026-09-23 08:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:34:12] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:34:12] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:34:32] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:32] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:32] local.INFO: IMEI packet received {"connection_id":190176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":190176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:34:37] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:37] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:34:37] local.INFO: IMEI packet received {"connection_id":190176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":190176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:34:38] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:38] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:34:38] local.INFO: Packet analysis {"connection_id":190176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:34:38] local.INFO: Extracted packet for processing {"connection_id":190176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 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-09-23 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:34: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-09-23 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-09-23 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-09-23 08:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":190176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:34:38] local.INFO: GPS data processed {"connection_id":190176,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:34:38] local.INFO: Acknowledgment sent {"connection_id":190176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:34:43] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc383da8012d0d3cc00705c0800012009d1f..."} 
[2026-09-23 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc383da8012d0d3cc00705c0800012009d1f..."} 
[2026-09-23 08:34:43] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc383da8012d0d3cc00705c0800012009d1f..."} 
[2026-09-23 08:34:43] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc38"} 
[2026-09-23 08:34:43] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc38"} 
[2026-09-23 08:34:43] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817472,"longitude_deg":75.584224,"latitude_deg":11.7817472,"altitude":18,"angle":157,"satellites":31,"speed":8,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c080","is_valid_coordinates":true} 
[2026-09-23 08:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273953280001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362786264285184,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407536207872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:34:43] 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-09-23 08:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790132633000,"timestamp_ms":1790132633000,"timestamp_seconds":1790132633,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc383da8"} 
[2026-09-23 08:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:34:43] 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-09-23 08:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273953280001,"66":14450,"167":206,"94":11008,"24":8,"16":33362786264285184,"45":953285407536207872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-23 08:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273953280001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:34:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-23 08:34:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362786264285184,"km_value":33362786264285.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407536207872,"description":"Unknown IO ID 45"} 
[2026-09-23 08:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273953280001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953285407536207872}} 
[2026-09-23 08:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:34:43] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:34:43] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:35:07] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:07] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:07] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:35:10] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:10] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:10] local.INFO: Packet analysis {"connection_id":190176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:35:10] local.INFO: Extracted packet for processing {"connection_id":190176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":190176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:35:10] local.INFO: GPS data processed {"connection_id":190176,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:35:10] local.INFO: Acknowledgment sent {"connection_id":190176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:35:11] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:11] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:11] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:35:16] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:16] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:35:16] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:35:16] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc393b90012d0d3a400705c1480012013e1f..."} 
[2026-09-23 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc393b90012d0d3a400705c1480012013e1f..."} 
[2026-09-23 08:35:16] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc393b90012d0d3a400705c1480012013e1f..."} 
[2026-09-23 08:35:16] local.INFO: Packet analysis {"connection_id":191690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:35:16] local.INFO: Extracted packet for processing {"connection_id":191690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117817672,"longitude_deg":75.58416,"latitude_deg":11.7817672,"altitude":18,"angle":318,"satellites":31,"speed":9,"hex_longitude":"2d0d3a40","hex_latitude":"0705c148","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273970432001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362932293173248,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145024450560,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:16] 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-09-23 08:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790132698000,"timestamp_ms":1790132698000,"timestamp_seconds":1790132698,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc393b90"} 
[2026-09-23 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-09-23 08:35: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-09-23 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":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:35: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-09-23 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-09-23 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-09-23 08:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273970432001,"66":14428,"167":206,"94":11008,"24":9,"16":33362932293173248,"45":953426145024450560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-23 08:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273970432001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:35:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-23 08:35:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362932293173248,"km_value":33362932293173.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145024450560,"description":"Unknown IO ID 45"} 
[2026-09-23 08:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273970432001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":953426145024450560}} 
[2026-09-23 08:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":191690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:35:17] local.INFO: GPS data processed {"connection_id":191690,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:35:17] local.INFO: Acknowledgment sent {"connection_id":191690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:35:32] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:32] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:32] local.INFO: IMEI packet received {"connection_id":190178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":190178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:35:37] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:37] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:35:37] local.INFO: IMEI packet received {"connection_id":190178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":190178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:35:38] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:38] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc34fda0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:35:38] local.INFO: Packet analysis {"connection_id":190178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:35:38] local.INFO: Extracted packet for processing {"connection_id":190178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc34"} 
[2026-09-23 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273822464001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132420000,"timestamp_ms":1790132420000,"timestamp_seconds":1790132420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc34fda0"} 
[2026-09-23 08:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:35: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-09-23 08:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273822464001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273822464001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273822464001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":190178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:35:38] local.INFO: GPS data processed {"connection_id":190178,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:35:38] local.INFO: Acknowledgment sent {"connection_id":190178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:35:48] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc393f78012d0d3a000705c2180012014d1f..."} 
[2026-09-23 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc393f78012d0d3a000705c2180012014d1f..."} 
[2026-09-23 08:35:48] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc393f78012d0d3a000705c2180012014d1f..."} 
[2026-09-23 08:35:48] local.INFO: Packet analysis {"connection_id":191690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:35:48] local.INFO: Extracted packet for processing {"connection_id":191690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117817880,"longitude_deg":75.5841536,"latitude_deg":11.781788,"altitude":18,"angle":333,"satellites":31,"speed":10,"hex_longitude":"2d0d3a00","hex_latitude":"0705c218","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273970688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33362940883107840,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047782912,"note":"Value kept but may cause issues"} 
[2026-09-23 08:35:48] 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-09-23 08:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790132699000,"timestamp_ms":1790132699000,"timestamp_seconds":1790132699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc393f78"} 
[2026-09-23 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-09-23 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:35: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-09-23 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-09-23 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-09-23 08:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273970688001,"66":14428,"167":206,"94":11008,"24":10,"16":33362940883107840,"45":953144670047782912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-23 08:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273970688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:35:48] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-23 08:35:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 08:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33362940883107840,"km_value":33362940883107.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047782912,"description":"Unknown IO ID 45"} 
[2026-09-23 08:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273970688001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953144670047782912}} 
[2026-09-23 08:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":191690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:35:48] local.INFO: GPS data processed {"connection_id":191690,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:35:48] local.INFO: Acknowledgment sent {"connection_id":191690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:36:03] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:03] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:03] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:36:06] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:36:06] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:06] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:36:07] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:07] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:36:07] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:36:10] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:10] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:10] local.INFO: Packet analysis {"connection_id":190178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:36:10] local.INFO: Extracted packet for processing {"connection_id":190178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":190178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:36:10] local.INFO: GPS data processed {"connection_id":190178,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:36:10] local.INFO: Acknowledgment sent {"connection_id":190178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:36:32] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:32] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:32] local.INFO: IMEI packet received {"connection_id":190341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":190341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:36:37] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:37] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:36:37] local.INFO: IMEI packet received {"connection_id":190341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":190341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:36:38] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:38] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:36:38] local.INFO: Packet analysis {"connection_id":190341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:36:38] local.INFO: Extracted packet for processing {"connection_id":190341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:36: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-09-23 08: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-09-23 08:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":190341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:36:38] local.INFO: GPS data processed {"connection_id":190341,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:36:38] local.INFO: Acknowledgment sent {"connection_id":190341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:37:10] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:10] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:10] local.INFO: Packet analysis {"connection_id":190341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:37:10] local.INFO: Extracted packet for processing {"connection_id":190341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":190341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:37:10] local.INFO: GPS data processed {"connection_id":190341,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:37:10] local.INFO: Acknowledgment sent {"connection_id":190341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:37:32] local.INFO: TCP Data received {"connection_id":190180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:32] local.INFO: Processing buffer {"connection_id":190180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:32] local.INFO: IMEI packet received {"connection_id":190180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:37:37] local.INFO: TCP Data received {"connection_id":190180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:37] local.INFO: Processing buffer {"connection_id":190180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:37:37] local.INFO: IMEI packet received {"connection_id":190180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":190180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:37:39] local.INFO: TCP Data received {"connection_id":190180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:39] local.INFO: Processing buffer {"connection_id":190180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:37:39] local.INFO: Packet analysis {"connection_id":190180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:37:39] local.INFO: Extracted packet for processing {"connection_id":190180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:37: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-09-23 08:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":190180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:37:39] local.INFO: GPS data processed {"connection_id":190180,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:37:39] local.INFO: Acknowledgment sent {"connection_id":190180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:38:08] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:08] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:08] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:38:08] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3b9138012d19b8000720ac70002f015914..."} 
[2026-09-23 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3b9138012d19b8000720ac70002f015914..."} 
[2026-09-23 08:38:08] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3b9138012d19b8000720ac70002f015914..."} 
[2026-09-23 08:38:08] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3b"} 
[2026-09-23 08:38:08] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3b"} 
[2026-09-23 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119581808,"longitude_deg":75.6660224,"latitude_deg":11.9581808,"altitude":47,"angle":345,"satellites":20,"speed":20,"hex_longitude":"2d19b800","hex_latitude":"0720ac70","is_valid_coordinates":true} 
[2026-09-23 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274009600001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22566685886119936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996667392,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790132851000,"timestamp_ms":1790132851000,"timestamp_seconds":1790132851,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3b9138"} 
[2026-09-23 08:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:38:08] 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-09-23 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 08:38: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-09-23 08:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274009600001,"66":14265,"103":206,"83":41984,"24":20,"16":22566685886119936,"45":1853583120996667392},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274009600001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22566685886119936,"km_value":22566685886119.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996667392,"description":"Unknown IO ID 45"} 
[2026-09-23 08:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274009600001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853583120996667392}} 
[2026-09-23 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:38:08] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:38:08] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:38:11] local.INFO: TCP Data received {"connection_id":190180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:11] local.INFO: Processing buffer {"connection_id":190180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:11] local.INFO: Packet analysis {"connection_id":190180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:38:11] local.INFO: Extracted packet for processing {"connection_id":190180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":190180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:38:11] local.INFO: GPS data processed {"connection_id":190180,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:38:11] local.INFO: Acknowledgment sent {"connection_id":190180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:38:32] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:32] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:32] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:38:37] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:37] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:38:37] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:38:38] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:38] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:38:38] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:38:38] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:38: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-09-23 08: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-09-23 08:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:38:38] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:38:38] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:38:40] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3b9520012d19b6400720adb0002f014314..."} 
[2026-09-23 08:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3b9520012d19b6400720adb0002f014314..."} 
[2026-09-23 08:38:40] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3b9520012d19b6400720adb0002f014314..."} 
[2026-09-23 08:38:40] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3b"} 
[2026-09-23 08:38:40] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3b"} 
[2026-09-23 08:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119582128,"longitude_deg":75.6659776,"latitude_deg":11.9582128,"altitude":47,"angle":323,"satellites":20,"speed":18,"hex_longitude":"2d19b640","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274009856001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22566711655923712,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275901952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790132852000,"timestamp_ms":1790132852000,"timestamp_seconds":1790132852,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3b9520"} 
[2026-09-23 08:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:38:40] 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-09-23 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 08:38: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-09-23 08: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-09-23 08:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274009856001,"66":14265,"103":206,"83":41984,"24":18,"16":22566711655923712,"45":1853231277275901952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274009856001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22566711655923712,"km_value":22566711655923.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275901952,"description":"Unknown IO ID 45"} 
[2026-09-23 08:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274009856001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853231277275901952}} 
[2026-09-23 08:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:38:40] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:38:40] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:38:57] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:57] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:57] local.INFO: IMEI packet received {"connection_id":190181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":190181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:38:58] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:58] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:38:58] local.INFO: IMEI packet received {"connection_id":190181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":190181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:39:02] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:02] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:02] local.INFO: IMEI packet received {"connection_id":190181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:39:03] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3c8b38012d1931000720bad0002a012515..."} 
[2026-09-23 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3c8b38012d1931000720bad0002a012515..."} 
[2026-09-23 08:39:03] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3c8b38012d1931000720bad0002a012515..."} 
[2026-09-23 08:39:03] local.INFO: Packet analysis {"connection_id":190181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3c"} 
[2026-09-23 08:39:03] local.INFO: Extracted packet for processing {"connection_id":190181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3c"} 
[2026-09-23 08:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756625664,"raw_latitude":119585488,"longitude_deg":75.6625664,"latitude_deg":11.9585488,"altitude":42,"angle":293,"satellites":21,"speed":41,"hex_longitude":"2d193100","hex_latitude":"0720bad0","is_valid_coordinates":true} 
[2026-09-23 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274025472001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22568438232776704,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642675974144,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790132915000,"timestamp_ms":1790132915000,"timestamp_seconds":1790132915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3c8b38"} 
[2026-09-23 08:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:39: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-09-23 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 08:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274025472001,"66":14298,"103":206,"83":41984,"24":41,"16":22568438232776704,"45":1818187642675974144},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274025472001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:39:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22568438232776704,"km_value":22568438232776.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642675974144,"description":"Unknown IO ID 45"} 
[2026-09-23 08:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274025472001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1818187642675974144}} 
[2026-09-23 08:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":190181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:39:03] local.INFO: GPS data processed {"connection_id":190181,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:39:03] local.INFO: Acknowledgment sent {"connection_id":190181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:39:09] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:09] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:09] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:39:09] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:39: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-09-23 08: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-09-23 08:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:39:09] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:39:09] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:39:25] local.INFO: TCP Data received {"connection_id":190346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:39:25] local.INFO: Processing buffer {"connection_id":190346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:39:25] local.INFO: IMEI packet received {"connection_id":190346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":190346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:39:32] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:32] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:32] local.INFO: IMEI packet received {"connection_id":193025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":193025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:39:34] local.INFO: TCP Data received {"connection_id":190181,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3cae60012d190dc00720c9600030012a14..."} 
[2026-09-23 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3cae60012d190dc00720c9600030012a14..."} 
[2026-09-23 08:39:34] local.INFO: Processing buffer {"connection_id":190181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3cae60012d190dc00720c9600030012a14..."} 
[2026-09-23 08:39:34] local.INFO: Packet analysis {"connection_id":190181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3c"} 
[2026-09-23 08:39:34] local.INFO: Extracted packet for processing {"connection_id":190181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3c"} 
[2026-09-23 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756616640,"raw_latitude":119589216,"longitude_deg":75.661664,"latitude_deg":11.9589216,"altitude":48,"angle":298,"satellites":20,"speed":35,"hex_longitude":"2d190dc0","hex_latitude":"0720c960","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274026240001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22568902089244672,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815232155420905472,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790132924000,"timestamp_ms":1790132924000,"timestamp_seconds":1790132924,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3cae60"} 
[2026-09-23 08:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:39:34] 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-09-23 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 08:39:34] 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-09-23 08: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-09-23 08:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274026240001,"66":14363,"103":206,"83":41984,"24":35,"16":22568902089244672,"45":1815232155420905472},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274026240001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:39:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22568902089244672,"km_value":22568902089244.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815232155420905472,"description":"Unknown IO ID 45"} 
[2026-09-23 08:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274026240001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1815232155420905472}} 
[2026-09-23 08:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":190181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:39:34] local.INFO: GPS data processed {"connection_id":190181,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:39:34] local.INFO: Acknowledgment sent {"connection_id":190181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:39:37] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:37] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:39:37] local.INFO: IMEI packet received {"connection_id":193025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":193025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:39:38] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:38] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:39:38] local.INFO: Packet analysis {"connection_id":193025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:39:38] local.INFO: Extracted packet for processing {"connection_id":193025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:39: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-09-23 08: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-09-23 08:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":193025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:39:38] local.INFO: GPS data processed {"connection_id":193025,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:39:38] local.INFO: Acknowledgment sent {"connection_id":193025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:39:57] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:57] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:39:57] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:40:02] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:02] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:02] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:40:03] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3d94d8012d18c440072146a8003f015115..."} 
[2026-09-23 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3d94d8012d18c440072146a8003f015115..."} 
[2026-09-23 08:40:03] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3d94d8012d18c440072146a8003f015115..."} 
[2026-09-23 08:40:03] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:40:03] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119621288,"longitude_deg":75.6597824,"latitude_deg":11.9621288,"altitude":63,"angle":337,"satellites":21,"speed":4,"hex_longitude":"2d18c440","hex_latitude":"072146a8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274040064001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22570796169822208,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712626688,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790132983000,"timestamp_ms":1790132983000,"timestamp_seconds":1790132983,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3d94d8"} 
[2026-09-23 08:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-23 08:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274040064001,"66":13722,"103":206,"83":41984,"24":4,"16":22570796169822208,"45":1784621751712626688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274040064001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:40:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22570796169822208,"km_value":22570796169822.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712626688,"description":"Unknown IO ID 45"} 
[2026-09-23 08:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274040064001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1784621751712626688}} 
[2026-09-23 08:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:40:03] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:40:03] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:40:09] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:09] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:09] local.INFO: Packet analysis {"connection_id":193025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:40:09] local.INFO: Extracted packet for processing {"connection_id":193025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:40: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-09-23 08: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-09-23 08:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":193025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:40:10] local.INFO: GPS data processed {"connection_id":193025,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:40:10] local.INFO: Acknowledgment sent {"connection_id":193025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:40:10] local.INFO: TCP Data received {"connection_id":193026,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:40:10] local.INFO: Processing buffer {"connection_id":193026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:40:10] local.INFO: IMEI packet received {"connection_id":193026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":193026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:40:32] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:32] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:32] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:40:34] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3d9ca8012d18c40007214870003f016116..."} 
[2026-09-23 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3d9ca8012d18c40007214870003f016116..."} 
[2026-09-23 08:40:34] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3d9ca8012d18c40007214870003f016116..."} 
[2026-09-23 08:40:34] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:40:34] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621744,"longitude_deg":75.659776,"latitude_deg":11.9621744,"altitude":63,"angle":353,"satellites":22,"speed":12,"hex_longitude":"2d18c400","hex_latitude":"07214870","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274043648001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22570817644658688,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712786432,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790132985000,"timestamp_ms":1790132985000,"timestamp_seconds":1790132985,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3d9ca8"} 
[2026-09-23 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-09-23 08:40: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-09-23 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 08:40:34] 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-09-23 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-09-23 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-09-23 08:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274043648001,"66":14363,"103":206,"83":41984,"24":12,"16":22570817644658688,"45":1784621751712786432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274043648001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:40:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22570817644658688,"km_value":22570817644658.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712786432,"description":"Unknown IO ID 45"} 
[2026-09-23 08:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274043648001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784621751712786432}} 
[2026-09-23 08:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:40:34] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:40:34] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:40:37] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:37] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:40:37] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:40:38] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:38] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc399568012d34c18006aa4440000800d12b..."} 
[2026-09-23 08:40:38] local.INFO: Packet analysis {"connection_id":191696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:40:38] local.INFO: Extracted packet for processing {"connection_id":191696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc39"} 
[2026-09-23 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273899520001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790132721000,"timestamp_ms":1790132721000,"timestamp_seconds":1790132721,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc399568"} 
[2026-09-23 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:40: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-09-23 08:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273899520001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273899520001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273899520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":191696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:40:38] local.INFO: GPS data processed {"connection_id":191696,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:40:38] local.INFO: Acknowledgment sent {"connection_id":191696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:40:57] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:57] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:40:57] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:41:03] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:41:03] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:41:03] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:41:04] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3db418012d18c280072153700040015216..."} 
[2026-09-23 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3db418012d18c280072153700040015216..."} 
[2026-09-23 08:41:04] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3db418012d18c280072153700040015216..."} 
[2026-09-23 08:41:04] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:41:04] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3d"} 
[2026-09-23 08:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624560,"longitude_deg":75.6597376,"latitude_deg":11.962456,"altitude":64,"angle":338,"satellites":22,"speed":21,"hex_longitude":"2d18c280","hex_latitude":"07215370","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274044160001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22570959378579456,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968725504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790132991000,"timestamp_ms":1790132991000,"timestamp_seconds":1790132991,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3db418"} 
[2026-09-23 08:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:41:04] 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-09-23 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 08:41:04] 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-09-23 08: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-09-23 08:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274044160001,"66":14483,"103":206,"83":41984,"24":21,"16":22570959378579456,"45":1784551382968725504},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 08:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274044160001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 08:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22570959378579456,"km_value":22570959378579.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968725504,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274044160001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1784551382968725504}} 
[2026-09-23 08:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:04] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:04] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:41:08] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:08] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:08] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:41:09] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:09] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:09] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:41:10] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:10] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:10] local.INFO: Packet analysis {"connection_id":191696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:10] local.INFO: Extracted packet for processing {"connection_id":191696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":191696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:10] local.INFO: GPS data processed {"connection_id":191696,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:10] local.INFO: Acknowledgment sent {"connection_id":191696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:41:10] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:10] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:41:10] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:41:10] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3ec970012d0e03c007068d90001601041e..."} 
[2026-09-23 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3ec970012d0e03c007068d90001601041e..."} 
[2026-09-23 08:41:10] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3ec970012d0e03c007068d90001601041e..."} 
[2026-09-23 08:41:10] local.INFO: Packet analysis {"connection_id":190347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:10] local.INFO: Extracted packet for processing {"connection_id":190347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117869968,"longitude_deg":75.5893184,"latitude_deg":11.7869968,"altitude":22,"angle":260,"satellites":30,"speed":5,"hex_longitude":"2d0e03c0","hex_latitude":"07068d90","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274063360001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370353996660736,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010284090333462528,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:10] 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-09-23 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133062000,"timestamp_ms":1790133062000,"timestamp_seconds":1790133062,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3ec970"} 
[2026-09-23 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 08:41:10] 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-09-23 08: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-09-23 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274063360001,"66":14026,"219":206,"94":10240,"24":5,"16":33370353996660736,"45":1010284090333462528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274063360001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370353996660736,"km_value":33370353996660.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010284090333462528,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274063360001,"power":14026,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1010284090333462528}} 
[2026-09-23 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":190347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:10] local.INFO: GPS data processed {"connection_id":190347,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:10] local.INFO: Acknowledgment sent {"connection_id":190347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:41:32] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:32] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:32] local.INFO: IMEI packet received {"connection_id":190349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:41:35] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f13a8012d181dc00721a9d8004f000815..."} 
[2026-09-23 08:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f13a8012d181dc00721a9d8004f000815..."} 
[2026-09-23 08:41:35] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f13a8012d181dc00721a9d8004f000815..."} 
[2026-09-23 08:41:35] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:41:35] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646680,"longitude_deg":75.65552,"latitude_deg":11.964668,"altitude":79,"angle":8,"satellites":21,"speed":13,"hex_longitude":"2d181dc0","hex_latitude":"0721a9d8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274068480001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22573373150199808,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096892928,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790133081000,"timestamp_ms":1790133081000,"timestamp_seconds":1790133081,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f13a8"} 
[2026-09-23 08:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 08:41:35] 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-09-23 08: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-09-23 08:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274068480001,"66":14341,"105":206,"83":41984,"24":13,"16":22573373150199808,"45":1737756168096892928},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 08:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274068480001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 08:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22573373150199808,"km_value":22573373150199.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096892928,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274068480001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737756168096892928}} 
[2026-09-23 08:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:36] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:36] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:41:38] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:38] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:41:38] local.INFO: IMEI packet received {"connection_id":190349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":190349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:41:39] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:39] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:41:39] local.INFO: Packet analysis {"connection_id":190349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:39] local.INFO: Extracted packet for processing {"connection_id":190349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 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-09-23 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:41: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-09-23 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-09-23 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-09-23 08:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":190349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:40] local.INFO: GPS data processed {"connection_id":190349,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:40] local.INFO: Acknowledgment sent {"connection_id":190349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:41:41] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f3ab8012d0e094007068d48001500ac1e..."} 
[2026-09-23 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f3ab8012d0e094007068d48001500ac1e..."} 
[2026-09-23 08:41:41] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f3ab8012d0e094007068d48001500ac1e..."} 
[2026-09-23 08:41:41] local.INFO: Packet analysis {"connection_id":190347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:41:41] local.INFO: Extracted packet for processing {"connection_id":190347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":755894592,"raw_latitude":117869896,"longitude_deg":75.5894592,"latitude_deg":11.7869896,"altitude":21,"angle":172,"satellites":30,"speed":6,"hex_longitude":"2d0e0940","hex_latitude":"07068d48","is_valid_coordinates":true} 
[2026-09-23 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274070784001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370538680254464,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751984640,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] 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-09-23 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790133091000,"timestamp_ms":1790133091000,"timestamp_seconds":1790133091,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f3ab8"} 
[2026-09-23 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3426678864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504108819611648,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1058252801,"corrected_to":0} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2438987798,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264497115,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812207,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2386165760,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84739370816833169,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":112,"raw_value":6192664739315712,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.WARNING: Large IO value detected {"io_id":14,"raw_value":162137311373950998,"note":"Value kept but may cause issues"} 
[2026-09-23 08:41:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,219,94,24,241,157,16,142,160,43,45,64,143,21,30,10,66,35,144,22,29,27,1,240,71,227,204,6,4,113,205,252,2,176,239,53,118,7,206,128,112,14],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":204,"original":1058252801,"validated":0},{"io_id":205,"original":802881742,"validated":0}]} 
[2026-09-23 08:41:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513381123164864512,"timestamp_seconds":1513381123164864.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274070784001,"66":14374,"219":206,"94":10240,"24":6,"16":33370538680254464,"45":1011269252751984640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274070784001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:41:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:41:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370538680254464,"km_value":33370538680254.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751984640,"description":"Unknown IO ID 45"} 
[2026-09-23 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274070784001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011269252751984640}} 
[2026-09-23 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":190347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:41:41] local.INFO: GPS data processed {"connection_id":190347,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:41:41] local.INFO: Acknowledgment sent {"connection_id":190347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:00] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:00] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:00] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:42:03] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:03] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:03] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:42:05] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:05] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:05] local.INFO: IMEI packet received {"connection_id":190183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":190183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:42:07] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:07] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:42:07] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:42:08] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f1790012d181e000721ab380050001316..."} 
[2026-09-23 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f1790012d181e000721ab380050001316..."} 
[2026-09-23 08:42:08] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f1790012d181e000721ab380050001316..."} 
[2026-09-23 08:42:08] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:08] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647032,"longitude_deg":75.6555264,"latitude_deg":11.9647032,"altitude":80,"angle":19,"satellites":22,"speed":15,"hex_longitude":"2d181e00","hex_latitude":"0721ab38","is_valid_coordinates":true} 
[2026-09-23 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274068736001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22573390330068992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096962560,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790133082000,"timestamp_ms":1790133082000,"timestamp_seconds":1790133082,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f1790"} 
[2026-09-23 08:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:08] 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-09-23 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992707105,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":19422989237888768,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3426625864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944049917952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1046732801,"corrected_to":0} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2442657867,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147950979,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84750917836415362,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,50,160,15,45,192,168,79,21,10,66,213,166,22,106,131,1,240,148,227,204,33,4,113,205,37,64,97,239,55,2,80,7,70,40,206,120],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":204,"original":1046732801,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-23 08:42:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692558815284494336,"timestamp_seconds":5692558815284494.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274068736001,"66":14341,"105":206,"83":41984,"24":15,"16":22573390330068992,"45":1737756168096962560},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274068736001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 08:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22573390330068992,"km_value":22573390330068.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096962560,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274068736001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737756168096962560}} 
[2026-09-23 08:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:08] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:08] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:09] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f32e8012d1827000721ba000052001e14..."} 
[2026-09-23 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f32e8012d1827000721ba000052001e14..."} 
[2026-09-23 08:42:09] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f32e8012d1827000721ba000052001e14..."} 
[2026-09-23 08:42:09] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:09] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650816,"longitude_deg":75.6557568,"latitude_deg":11.9650816,"altitude":82,"angle":30,"satellites":20,"speed":31,"hex_longitude":"2d182700","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274068992001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22573605078433792,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841230336,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133089000,"timestamp_ms":1790133089000,"timestamp_seconds":1790133089,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f32e8"} 
[2026-09-23 08:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:09] 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-09-23 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992707113,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3426631864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":168,"raw_value":19704404068280320,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2637693006,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944054505472,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1048780801,"corrected_to":0} 
[2026-09-23 08:42:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221692817,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84750881329193346,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:09] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,50,160,19,45,192,169,79,21,10,66,15,168,213,1,240,33,227,204,4,113,205,29,99,64,152,22,239,54,106,2,80,7,71,40,206,72],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":204,"original":1048780801,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-23 08:42:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764628508245426176,"timestamp_seconds":5764628508245426.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274068992001,"66":14374,"105":206,"83":41984,"24":31,"16":22573605078433792,"45":1737826536841230336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 08:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274068992001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 08:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22573605078433792,"km_value":22573605078433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841230336,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274068992001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1737826536841230336}} 
[2026-09-23 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:10] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:10] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:11] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:11] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:42:11] local.INFO: IMEI packet received {"connection_id":190183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":190183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:42:11] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:11] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:11] local.INFO: Packet analysis {"connection_id":190349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:42:11] local.INFO: Extracted packet for processing {"connection_id":190349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:42: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-09-23 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":190349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:11] local.INFO: GPS data processed {"connection_id":190349,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:11] local.INFO: Acknowledgment sent {"connection_id":190349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:11] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f4e40012d0e0a40070689500013009c1e..."} 
[2026-09-23 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f4e40012d0e0a40070689500013009c1e..."} 
[2026-09-23 08:42:11] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f4e40012d0e0a40070689500013009c1e..."} 
[2026-09-23 08:42:11] local.INFO: Packet analysis {"connection_id":190183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:11] local.INFO: Extracted packet for processing {"connection_id":190183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":755894848,"raw_latitude":117868880,"longitude_deg":75.5894848,"latitude_deg":11.786888,"altitude":19,"angle":156,"satellites":30,"speed":7,"hex_longitude":"2d0e0a40","hex_latitude":"07068950","is_valid_coordinates":true} 
[2026-09-23 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274071296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370590219862016,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011409990240258048,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42: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-09-23 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133096000,"timestamp_ms":1790133096000,"timestamp_seconds":1790133096,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f4e40"} 
[2026-09-23 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42: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-09-23 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274071296001,"66":14580,"219":206,"94":10240,"24":7,"16":33370590219862016,"45":1011409990240258048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274071296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370590219862016,"km_value":33370590219862.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011409990240258048,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274071296001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1011409990240258048}} 
[2026-09-23 08:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":190183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:12] local.INFO: GPS data processed {"connection_id":190183,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:12] local.INFO: Acknowledgment sent {"connection_id":190183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:32] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:32] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:32] local.INFO: IMEI packet received {"connection_id":193029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:42:37] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:37] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:42:37] local.INFO: IMEI packet received {"connection_id":193029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":193029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:42:40] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:40] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:42:40] local.INFO: Packet analysis {"connection_id":193029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:42:40] local.INFO: Extracted packet for processing {"connection_id":193029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":193029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:40] local.INFO: GPS data processed {"connection_id":193029,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:40] local.INFO: Acknowledgment sent {"connection_id":193029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:41] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f5de0012d183b800721d9580058002114..."} 
[2026-09-23 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f5de0012d183b800721d9580058002114..."} 
[2026-09-23 08:42:41] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f5de0012d183b800721d9580058002114..."} 
[2026-09-23 08:42:41] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:41] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756562816,"raw_latitude":119658840,"longitude_deg":75.6562816,"latitude_deg":11.965884,"altitude":88,"angle":33,"satellites":20,"speed":37,"hex_longitude":"2d183b80","hex_latitude":"0721d958","is_valid_coordinates":true} 
[2026-09-23 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274070784001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22574068934901760,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632594944,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790133100000,"timestamp_ms":1790133100000,"timestamp_seconds":1790133100,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f5de0"} 
[2026-09-23 08:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:41] 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-09-23 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 08:42: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-09-23 08:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274070784001,"66":14298,"105":206,"83":41984,"24":37,"16":22574068934901760,"45":1740359811632594944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274070784001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 08:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22574068934901760,"km_value":22574068934901.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632594944,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274070784001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1740359811632594944}} 
[2026-09-23 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:41] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:41] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:42:43] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f5610012d0e0ac007068840001300841e..."} 
[2026-09-23 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f5610012d0e0ac007068840001300841e..."} 
[2026-09-23 08:42:43] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f5610012d0e0ac007068840001300841e..."} 
[2026-09-23 08:42:43] local.INFO: Packet analysis {"connection_id":190183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:43] local.INFO: Extracted packet for processing {"connection_id":190183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755894976,"raw_latitude":117868608,"longitude_deg":75.5894976,"latitude_deg":11.7868608,"altitude":19,"angle":132,"satellites":30,"speed":4,"hex_longitude":"2d0e0ac0","hex_latitude":"07068840","is_valid_coordinates":true} 
[2026-09-23 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274072576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370607399731200,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011691465216708608,"note":"Value kept but may cause issues"} 
[2026-09-23 08:42: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-09-23 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133098000,"timestamp_ms":1790133098000,"timestamp_seconds":1790133098,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f5610"} 
[2026-09-23 08:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 08:42:43] 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-09-23 08:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274072576001,"66":13787,"219":206,"94":10240,"24":4,"16":33370607399731200,"45":1011691465216708608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274072576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370607399731200,"km_value":33370607399731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011691465216708608,"description":"Unknown IO ID 45"} 
[2026-09-23 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274072576001,"power":13787,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1011691465216708608}} 
[2026-09-23 08:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":190183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:42:43] local.INFO: GPS data processed {"connection_id":190183,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:42:43] local.INFO: Acknowledgment sent {"connection_id":190183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:43:02] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:02] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:02] local.INFO: IMEI packet received {"connection_id":190350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:43:05] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:05] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:05] local.INFO: IMEI packet received {"connection_id":190351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":190351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:43:11] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:11] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:43:11] local.INFO: IMEI packet received {"connection_id":190351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":190351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:43:12] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f6998012d0e0c00070687d0001200761e..."} 
[2026-09-23 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f6998012d0e0c00070687d0001200761e..."} 
[2026-09-23 08:43:12] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f6998012d0e0c00070687d0001200761e..."} 
[2026-09-23 08:43:12] local.INFO: Packet analysis {"connection_id":190351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:43:12] local.INFO: Extracted packet for processing {"connection_id":190351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755895296,"raw_latitude":117868496,"longitude_deg":75.5895296,"latitude_deg":11.7868496,"altitude":18,"angle":118,"satellites":30,"speed":2,"hex_longitude":"2d0e0c00","hex_latitude":"070687d0","is_valid_coordinates":true} 
[2026-09-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274073088001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370624579600384,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704994304,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43: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-09-23 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133103000,"timestamp_ms":1790133103000,"timestamp_seconds":1790133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f6998"} 
[2026-09-23 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-23 08:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274073088001,"66":14450,"219":206,"94":10240,"24":2,"16":33370624579600384,"45":1011832202704994304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274073088001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370624579600384,"km_value":33370624579600.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704994304,"description":"Unknown IO ID 45"} 
[2026-09-23 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274073088001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011832202704994304}} 
[2026-09-23 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":190351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:43:12] local.INFO: GPS data processed {"connection_id":190351,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:43:12] local.INFO: Acknowledgment sent {"connection_id":190351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:43:12] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:12] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:12] local.INFO: Packet analysis {"connection_id":193029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:43:12] local.INFO: Extracted packet for processing {"connection_id":193029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":193029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:43:12] local.INFO: GPS data processed {"connection_id":193029,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:43:12] local.INFO: Acknowledgment sent {"connection_id":193029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:43:32] local.INFO: TCP Data received {"connection_id":193030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:32] local.INFO: Processing buffer {"connection_id":193030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:32] local.INFO: IMEI packet received {"connection_id":193030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":193030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:43:37] local.INFO: TCP Data received {"connection_id":193030,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:37] local.INFO: Processing buffer {"connection_id":193030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:43:37] local.INFO: IMEI packet received {"connection_id":193030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":193030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:43:38] local.INFO: TCP Data received {"connection_id":193030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:38] local.INFO: Processing buffer {"connection_id":193030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:43:38] local.INFO: Packet analysis {"connection_id":193030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:43:38] local.INFO: Extracted packet for processing {"connection_id":193030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:43: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-09-23 08: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-09-23 08:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":193030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:43:38] local.INFO: GPS data processed {"connection_id":193030,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:43:38] local.INFO: Acknowledgment sent {"connection_id":193030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:43:43] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f7550012d0e0cc0070687b0001200691d..."} 
[2026-09-23 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f7550012d0e0cc0070687b0001200691d..."} 
[2026-09-23 08:43:43] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f7550012d0e0cc0070687b0001200691d..."} 
[2026-09-23 08:43:43] local.INFO: Packet analysis {"connection_id":190351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:43:43] local.INFO: Extracted packet for processing {"connection_id":190351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755895488,"raw_latitude":117868464,"longitude_deg":75.5895488,"latitude_deg":11.7868464,"altitude":18,"angle":105,"satellites":29,"speed":2,"hex_longitude":"2d0e0cc0","hex_latitude":"070687b0","is_valid_coordinates":true} 
[2026-09-23 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370633169534976,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012184046425853952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:43: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-09-23 08:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133106000,"timestamp_ms":1790133106000,"timestamp_seconds":1790133106,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f7550"} 
[2026-09-23 08:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:43:43] 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-09-23 08:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274074368001,"66":14461,"219":206,"94":10240,"24":2,"16":33370633169534976,"45":1012184046425853952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:43:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370633169534976,"km_value":33370633169534.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012184046425853952,"description":"Unknown IO ID 45"} 
[2026-09-23 08:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274074368001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1012184046425853952}} 
[2026-09-23 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":190351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:43:43] local.INFO: GPS data processed {"connection_id":190351,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:43:43] local.INFO: Acknowledgment sent {"connection_id":190351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:43:50] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:50] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:50] local.INFO: IMEI packet received {"connection_id":190350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":190350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:43:59] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:59] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:43:59] local.INFO: IMEI packet received {"connection_id":193031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":193031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:44:02] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:44:02] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:44:02] local.INFO: IMEI packet received {"connection_id":193031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":193031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:44:10] local.INFO: TCP Data received {"connection_id":193030,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:10] local.INFO: Processing buffer {"connection_id":193030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:10] local.INFO: Packet analysis {"connection_id":193030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:44:10] local.INFO: Extracted packet for processing {"connection_id":193030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":193030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:44:10] local.INFO: GPS data processed {"connection_id":193030,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:44:10] local.INFO: Acknowledgment sent {"connection_id":193030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:44:11] local.INFO: TCP Data received {"connection_id":190353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:11] local.INFO: Processing buffer {"connection_id":190353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:11] local.INFO: IMEI packet received {"connection_id":190353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":190353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:44:16] local.INFO: TCP Data received {"connection_id":190353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:16] local.INFO: Processing buffer {"connection_id":190353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:44:16] local.INFO: IMEI packet received {"connection_id":190353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":190353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:44:16] local.INFO: TCP Data received {"connection_id":190353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f88d8012d0e0ec0070687600011005a1e..."} 
[2026-09-23 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f88d8012d0e0ec0070687600011005a1e..."} 
[2026-09-23 08:44:16] local.INFO: Processing buffer {"connection_id":190353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f88d8012d0e0ec0070687600011005a1e..."} 
[2026-09-23 08:44:16] local.INFO: Packet analysis {"connection_id":190353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:44:16] local.INFO: Extracted packet for processing {"connection_id":190353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:44:16] local.INFO: GPS Element Parsed {"raw_longitude":755896000,"raw_latitude":117868384,"longitude_deg":75.5896,"latitude_deg":11.7868384,"altitude":17,"angle":90,"satellites":30,"speed":4,"hex_longitude":"2d0e0ec0","hex_latitude":"07068760","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274075136001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370658939338752,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012395152658378752,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44: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-09-23 08:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790133111000,"timestamp_ms":1790133111000,"timestamp_seconds":1790133111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f88d8"} 
[2026-09-23 08:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:44: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-09-23 08: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":125,"data_length":795,"current_offset":136} 
[2026-09-23 08:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274075136001,"66":14461,"219":206,"94":10240,"24":4,"16":33370658939338752,"45":1012395152658378752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274075136001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:44:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:44:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370658939338752,"km_value":33370658939338.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012395152658378752,"description":"Unknown IO ID 45"} 
[2026-09-23 08:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274075136001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1012395152658378752}} 
[2026-09-23 08:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":190353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883885,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:44:17] local.INFO: GPS data processed {"connection_id":190353,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:44:17] local.INFO: Acknowledgment sent {"connection_id":190353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:44:21] local.INFO: TCP Data received {"connection_id":190353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3f90a8012d0e0f00070687680011006a1e..."} 
[2026-09-23 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3f90a8012d0e0f00070687680011006a1e..."} 
[2026-09-23 08:44:21] local.INFO: Processing buffer {"connection_id":190353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3f90a8012d0e0f00070687680011006a1e..."} 
[2026-09-23 08:44:21] local.INFO: Packet analysis {"connection_id":190353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:44:21] local.INFO: Extracted packet for processing {"connection_id":190353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3f"} 
[2026-09-23 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755896064,"raw_latitude":117868392,"longitude_deg":75.5896064,"latitude_deg":11.7868392,"altitude":17,"angle":106,"satellites":30,"speed":0,"hex_longitude":"2d0e0f00","hex_latitude":"07068768","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274076416001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33370663234306048,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012958102611779584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44: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-09-23 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790133113000,"timestamp_ms":1790133113000,"timestamp_seconds":1790133113,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3f90a8"} 
[2026-09-23 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-09-23 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":125,"data_length":795,"current_offset":136} 
[2026-09-23 08:44: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-09-23 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-09-23 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-09-23 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274076416001,"66":14428,"219":206,"94":10240,"24":0,"16":33370663234306048,"45":1012958102611779584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274076416001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:44:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33370663234306048,"km_value":33370663234306.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012958102611779584,"description":"Unknown IO ID 45"} 
[2026-09-23 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274076416001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1012958102611779584}} 
[2026-09-23 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":190353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:44:21] local.INFO: GPS data processed {"connection_id":190353,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:44:21] local.INFO: Acknowledgment sent {"connection_id":190353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:44:32] local.INFO: TCP Data received {"connection_id":190355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:32] local.INFO: Processing buffer {"connection_id":190355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:32] local.INFO: IMEI packet received {"connection_id":190355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":190355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:44:37] local.INFO: TCP Data received {"connection_id":190355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:37] local.INFO: Processing buffer {"connection_id":190355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:44:37] local.INFO: IMEI packet received {"connection_id":190355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:44:39] local.INFO: TCP Data received {"connection_id":190355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:39] local.INFO: Processing buffer {"connection_id":190355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:44:39] local.INFO: Packet analysis {"connection_id":190355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:44:39] local.INFO: Extracted packet for processing {"connection_id":190355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":190355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:44:39] local.INFO: GPS data processed {"connection_id":190355,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:44:39] local.INFO: Acknowledgment sent {"connection_id":190355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:45:06] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:06] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:06] local.INFO: IMEI packet received {"connection_id":191698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":191698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:45:07] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:07] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:45:07] local.INFO: IMEI packet received {"connection_id":191698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":191698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:45:07] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc423088012d0e2900070680f80014005c1e..."} 
[2026-09-23 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc423088012d0e2900070680f80014005c1e..."} 
[2026-09-23 08:45:07] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc423088012d0e2900070680f80014005c1e..."} 
[2026-09-23 08:45:07] local.INFO: Packet analysis {"connection_id":191698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:45:07] local.INFO: Extracted packet for processing {"connection_id":191698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755902720,"raw_latitude":117866744,"longitude_deg":75.590272,"latitude_deg":11.7866744,"altitude":20,"angle":92,"satellites":30,"speed":7,"hex_longitude":"2d0e2900","hex_latitude":"070680f8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274120704001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33371002536722432,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020065345773309952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45: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-09-23 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790133285000,"timestamp_ms":1790133285000,"timestamp_seconds":1790133285,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc423088"} 
[2026-09-23 08:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08: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-09-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274120704001,"66":14428,"219":206,"94":10240,"24":7,"16":33371002536722432,"45":1020065345773309952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274120704001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:45:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33371002536722432,"km_value":33371002536722.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020065345773309952,"description":"Unknown IO ID 45"} 
[2026-09-23 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274120704001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1020065345773309952}} 
[2026-09-23 08:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":191698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:45:07] local.INFO: GPS data processed {"connection_id":191698,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:45:07] local.INFO: Acknowledgment sent {"connection_id":191698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:45:10] local.INFO: TCP Data received {"connection_id":190355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:10] local.INFO: Processing buffer {"connection_id":190355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:10] local.INFO: Packet analysis {"connection_id":190355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:45:10] local.INFO: Extracted packet for processing {"connection_id":190355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":190355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:45:10] local.INFO: GPS data processed {"connection_id":190355,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:45:10] local.INFO: Acknowledgment sent {"connection_id":190355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:45:32] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:32] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:32] local.INFO: IMEI packet received {"connection_id":193033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":193033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:45:35] local.INFO: TCP Data received {"connection_id":190356,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:45:35] local.INFO: Processing buffer {"connection_id":190356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:45:35] local.INFO: IMEI packet received {"connection_id":190356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":190356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:45:37] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:37] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:45:37] local.INFO: IMEI packet received {"connection_id":193033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":193033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:45:38] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:38] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc3e2d30012d34c18006aa4440000800d127..."} 
[2026-09-23 08:45:38] local.INFO: Packet analysis {"connection_id":193033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:45:38] local.INFO: Extracted packet for processing {"connection_id":193033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc3e"} 
[2026-09-23 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458273976576001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133022000,"timestamp_ms":1790133022000,"timestamp_seconds":1790133022,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc3e2d30"} 
[2026-09-23 08:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:45: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-09-23 08: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-09-23 08:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458273976576001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458273976576001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458273976576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":193033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:45:38] local.INFO: GPS data processed {"connection_id":193033,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:45:38] local.INFO: Acknowledgment sent {"connection_id":193033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:45:39] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc423858012d0e2ac007068150001500491e..."} 
[2026-09-23 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc423858012d0e2ac007068150001500491e..."} 
[2026-09-23 08:45:39] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc423858012d0e2ac007068150001500491e..."} 
[2026-09-23 08:45:39] local.INFO: Packet analysis {"connection_id":191698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:45:39] local.INFO: Extracted packet for processing {"connection_id":191698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755903168,"raw_latitude":117866832,"longitude_deg":75.5903168,"latitude_deg":11.7866832,"altitude":21,"angle":73,"satellites":30,"speed":10,"hex_longitude":"2d0e2ac0","hex_latitude":"07068150","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274120960001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33371024011558912,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020346820750014464,"note":"Value kept but may cause issues"} 
[2026-09-23 08:45: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-09-23 08:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790133287000,"timestamp_ms":1790133287000,"timestamp_seconds":1790133287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc423858"} 
[2026-09-23 08:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274120960001,"66":14450,"219":206,"94":10240,"24":10,"16":33371024011558912,"45":1020346820750014464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274120960001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:45:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:45:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33371024011558912,"km_value":33371024011558.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020346820750014464,"description":"Unknown IO ID 45"} 
[2026-09-23 08:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274120960001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1020346820750014464}} 
[2026-09-23 08:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":191698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:45:39] local.INFO: GPS data processed {"connection_id":191698,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:45:39] local.INFO: Acknowledgment sent {"connection_id":191698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:46:06] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:06] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:06] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:46:10] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:10] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:46:10] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:46:10] local.INFO: TCP Data received {"connection_id":193034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:46:10] local.INFO: Processing buffer {"connection_id":193034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:46:10] local.INFO: IMEI packet received {"connection_id":193034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":193034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:46:10] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:10] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:10] local.INFO: Packet analysis {"connection_id":193033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:10] local.INFO: Extracted packet for processing {"connection_id":193033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":193033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:46:10] local.INFO: GPS data processed {"connection_id":193033,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:46:10] local.INFO: Acknowledgment sent {"connection_id":193033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:46:10] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42fba8012d0e3cc00706dca00024015d1e..."} 
[2026-09-23 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42fba8012d0e3cc00706dca00024015d1e..."} 
[2026-09-23 08:46:10] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42fba8012d0e3cc00706dca00024015d1e..."} 
[2026-09-23 08:46:10] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:10] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117890208,"longitude_deg":75.5907776,"latitude_deg":11.7890208,"altitude":36,"angle":349,"satellites":30,"speed":17,"hex_longitude":"2d0e3cc0","hex_latitude":"0706dca0","is_valid_coordinates":true} 
[2026-09-23 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274133504001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33372218012467200,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795266684928,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:10] 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-09-23 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133337000,"timestamp_ms":1790133337000,"timestamp_seconds":1790133337,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42fba8"} 
[2026-09-23 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 08:46:10] 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-09-23 08:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274133504001,"66":14428,"219":206,"94":10240,"24":17,"16":33372218012467200,"45":1026257795266684928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274133504001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33372218012467200,"km_value":33372218012467.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795266684928,"description":"Unknown IO ID 45"} 
[2026-09-23 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274133504001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1026257795266684928}} 
[2026-09-23 08:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:46:11] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:46:11] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:46:32] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:32] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:32] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:46:37] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:37] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:46:37] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:46:39] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:39] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:46:39] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:39] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:46: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-09-23 08: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-09-23 08:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:46:39] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:46:39] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:46:42] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc431ae8012d0e3bc00706e738002500001e..."} 
[2026-09-23 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc431ae8012d0e3bc00706e738002500001e..."} 
[2026-09-23 08:46:42] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc431ae8012d0e3bc00706e738002500001e..."} 
[2026-09-23 08:46:42] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc43"} 
[2026-09-23 08:46:42] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc43"} 
[2026-09-23 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117892920,"longitude_deg":75.590752,"latitude_deg":11.789292,"altitude":37,"angle":0,"satellites":30,"speed":6,"hex_longitude":"2d0e3bc0","hex_latitude":"0706e738","is_valid_coordinates":true} 
[2026-09-23 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274134272001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33372351156453376,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951546056704,"note":"Value kept but may cause issues"} 
[2026-09-23 08:46: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-09-23 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790133345000,"timestamp_ms":1790133345000,"timestamp_seconds":1790133345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc431ae8"} 
[2026-09-23 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:46: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-09-23 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274134272001,"66":14515,"219":206,"94":10240,"24":6,"16":33372351156453376,"45":1025905951546056704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274134272001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:46:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33372351156453376,"km_value":33372351156453.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951546056704,"description":"Unknown IO ID 45"} 
[2026-09-23 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274134272001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1025905951546056704}} 
[2026-09-23 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:46:42] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:46:42] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:47:06] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:06] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:06] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:47:07] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:07] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:07] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:47:10] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:10] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:47:10] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:47:10] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc441100012d0dfb40070705e8001800ff1e..."} 
[2026-09-23 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc441100012d0dfb40070705e8001800ff1e..."} 
[2026-09-23 08:47:10] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc441100012d0dfb40070705e8001800ff1e..."} 
[2026-09-23 08:47:10] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:47:10] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":755891008,"raw_latitude":117900776,"longitude_deg":75.5891008,"latitude_deg":11.7900776,"altitude":24,"angle":255,"satellites":30,"speed":22,"hex_longitude":"2d0dfb40","hex_latitude":"070705e8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274149632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33373502207688704,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014435846247600128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] 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-09-23 08:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133408000,"timestamp_ms":1790133408000,"timestamp_seconds":1790133408,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc441100"} 
[2026-09-23 08:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:47: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-09-23 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:47:10] 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-09-23 08: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-09-23 08:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274149632001,"66":14374,"219":206,"94":10240,"24":22,"16":33373502207688704,"45":1014435846247600128},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274149632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33373502207688704,"km_value":33373502207688.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014435846247600128,"description":"Unknown IO ID 45"} 
[2026-09-23 08:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274149632001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1014435846247600128}} 
[2026-09-23 08:47:10] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:10] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:10] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:47:10] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:47:10] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:47:10] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883897,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:47:10] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:47:10] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:47:32] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:32] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:32] local.INFO: IMEI packet received {"connection_id":193035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":193035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:47:37] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:37] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:47:37] local.INFO: IMEI packet received {"connection_id":193035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":193035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:47:39] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:39] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:47:39] local.INFO: Packet analysis {"connection_id":193035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:47:39] local.INFO: Extracted packet for processing {"connection_id":193035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:47: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-09-23 08: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-09-23 08:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":193035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:47:39] local.INFO: GPS data processed {"connection_id":193035,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:47:39] local.INFO: Acknowledgment sent {"connection_id":193035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:47:41] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc445368012d0dd8000706fd18001b01031e..."} 
[2026-09-23 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc445368012d0dd8000706fd18001b01031e..."} 
[2026-09-23 08:47:41] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc445368012d0dd8000706fd18001b01031e..."} 
[2026-09-23 08:47:41] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:47:41] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:47:41] local.INFO: GPS Element Parsed {"raw_longitude":755881984,"raw_latitude":117898520,"longitude_deg":75.5881984,"latitude_deg":11.789852,"altitude":27,"angle":259,"satellites":30,"speed":22,"hex_longitude":"2d0dd800","hex_latitude":"0706fd18","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274152448001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33373944589320192,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1007469340574214144,"note":"Value kept but may cause issues"} 
[2026-09-23 08:47:41] 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-09-23 08:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790133425000,"timestamp_ms":1790133425000,"timestamp_seconds":1790133425,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc445368"} 
[2026-09-23 08:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:47: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-09-23 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 08:47: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-09-23 08: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-09-23 08:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274152448001,"66":14407,"219":206,"94":10240,"24":22,"16":33373944589320192,"45":1007469340574214144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274152448001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:47:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:47:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33373944589320192,"km_value":33373944589320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1007469340574214144,"description":"Unknown IO ID 45"} 
[2026-09-23 08:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274152448001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1007469340574214144}} 
[2026-09-23 08:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:47:41] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:47:41] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:48:04] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:04] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:04] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:48:06] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:06] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:06] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:48:08] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:08] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:08] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:48:11] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:11] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:48:11] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:48:11] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:11] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:11] local.INFO: Packet analysis {"connection_id":193035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:48:11] local.INFO: Extracted packet for processing {"connection_id":193035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:48: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-09-23 08: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-09-23 08:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":193035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:48:11] local.INFO: GPS data processed {"connection_id":193035,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:48:11] local.INFO: Acknowledgment sent {"connection_id":193035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:48:11] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc44dc20012d0dd2400706c5d80020006f1e..."} 
[2026-09-23 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc44dc20012d0dd2400706c5d80020006f1e..."} 
[2026-09-23 08:48:11] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc44dc20012d0dd2400706c5d80020006f1e..."} 
[2026-09-23 08:48:11] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:48:11] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":755880512,"raw_latitude":117884376,"longitude_deg":75.5880512,"latitude_deg":11.7884376,"altitude":32,"angle":111,"satellites":30,"speed":17,"hex_longitude":"2d0dd240","hex_latitude":"0706c5d8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274165504001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33374734863302656,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506654059864064,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48: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-09-23 08:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133460000,"timestamp_ms":1790133460000,"timestamp_seconds":1790133460,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc44dc20"} 
[2026-09-23 08:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08: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-09-23 08:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-23 08:48:11] 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-09-23 08: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-09-23 08:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274165504001,"66":13656,"219":206,"94":10240,"24":17,"16":33374734863302656,"45":995506654059864064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274165504001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33374734863302656,"km_value":33374734863302.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506654059864064,"description":"Unknown IO ID 45"} 
[2026-09-23 08:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274165504001,"power":13656,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":995506654059864064}} 
[2026-09-23 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:48:12] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:48:12] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:48:32] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:32] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:32] local.INFO: IMEI packet received {"connection_id":193036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":193036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:48:37] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:37] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:48:37] local.INFO: IMEI packet received {"connection_id":193036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":193036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:48:38] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:38] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:48:38] local.INFO: Packet analysis {"connection_id":193036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:48:38] local.INFO: Extracted packet for processing {"connection_id":193036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:48: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-09-23 08: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-09-23 08:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":193036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:48:38] local.INFO: GPS data processed {"connection_id":193036,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:48:38] local.INFO: Acknowledgment sent {"connection_id":193036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:48:42] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc44f390012d0dde800706c2a8001f00601e..."} 
[2026-09-23 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc44f390012d0dde800706c2a8001f00601e..."} 
[2026-09-23 08:48:42] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc44f390012d0dde800706c2a8001f00601e..."} 
[2026-09-23 08:48:42] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:48:42] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc44"} 
[2026-09-23 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":755883648,"raw_latitude":117883560,"longitude_deg":75.5883648,"latitude_deg":11.788356,"altitude":31,"angle":96,"satellites":30,"speed":19,"hex_longitude":"2d0dde80","hex_latitude":"0706c2a8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33374889482125312,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995928866524878848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:48: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-09-23 08:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790133466000,"timestamp_ms":1790133466000,"timestamp_seconds":1790133466,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc44f390"} 
[2026-09-23 08:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08: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-09-23 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-23 08:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274165760001,"66":14548,"219":206,"94":10240,"24":19,"16":33374889482125312,"45":995928866524878848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:48:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33374889482125312,"km_value":33374889482125.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":995928866524878848,"description":"Unknown IO ID 45"} 
[2026-09-23 08:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274165760001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":995928866524878848}} 
[2026-09-23 08:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:48:42] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:48:42] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:05] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:05] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:05] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:49:10] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:10] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:10] local.INFO: Packet analysis {"connection_id":193036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:49:10] local.INFO: Extracted packet for processing {"connection_id":193036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":193036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:10] local.INFO: GPS data processed {"connection_id":193036,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:10] local.INFO: Acknowledgment sent {"connection_id":193036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:11] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:11] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:49:11] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:49:12] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc45e9a8012d0defc00706b290001c013a1f..."} 
[2026-09-23 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc45e9a8012d0defc00706b290001c013a1f..."} 
[2026-09-23 08:49:12] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc45e9a8012d0defc00706b290001c013a1f..."} 
[2026-09-23 08:49:12] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:12] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":755888064,"raw_latitude":117879440,"longitude_deg":75.5888064,"latitude_deg":11.787944,"altitude":28,"angle":314,"satellites":31,"speed":6,"hex_longitude":"2d0defc0","hex_latitude":"0706b290","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274183168001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33375276029181952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004302747080736768,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49: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-09-23 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133529000,"timestamp_ms":1790133529000,"timestamp_seconds":1790133529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc45e9a8"} 
[2026-09-23 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274183168001,"66":14580,"219":206,"94":10240,"24":6,"16":33375276029181952,"45":1004302747080736768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274183168001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33375276029181952,"km_value":33375276029181.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004302747080736768,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274183168001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1004302747080736768}} 
[2026-09-23 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883905,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:12] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:12] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:13] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:13] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:13] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:49:18] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:18] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:49:18] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:49:19] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc457860012d1b47000725d5700028004f18..."} 
[2026-09-23 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc457860012d1b47000725d5700028004f18..."} 
[2026-09-23 08:49:19] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc457860012d1b47000725d5700028004f18..."} 
[2026-09-23 08:49:19] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:19] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119919984,"longitude_deg":75.6762368,"latitude_deg":11.9919984,"altitude":40,"angle":79,"satellites":24,"speed":10,"hex_longitude":"2d1b4700","hex_latitude":"0725d570","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274175744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22592417035190272,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965328686837467136,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790133500000,"timestamp_ms":1790133500000,"timestamp_seconds":1790133500,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc457860"} 
[2026-09-23 08:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49:19] 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-09-23 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:19] 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-09-23 08: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-09-23 08:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274175744001,"66":13961,"217":206,"83":42752,"24":10,"16":22592417035190272,"45":1965328686837467136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274175744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22592417035190272,"km_value":22592417035190.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965328686837467136,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274175744001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1965328686837467136}} 
[2026-09-23 08:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:19] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:19] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:24] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc457c48012d1b48000725d5380028007818..."} 
[2026-09-23 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc457c48012d1b48000725d5380028007818..."} 
[2026-09-23 08:49:24] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc457c48012d1b48000725d5380028007818..."} 
[2026-09-23 08:49:24] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:24] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119919928,"longitude_deg":75.6762624,"latitude_deg":11.9919928,"altitude":40,"angle":120,"satellites":24,"speed":9,"hex_longitude":"2d1b4800","hex_latitude":"0725d538","is_valid_coordinates":true} 
[2026-09-23 08:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274176000001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22592425625124864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793070026752,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790133501000,"timestamp_ms":1790133501000,"timestamp_seconds":1790133501,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc457c48"} 
[2026-09-23 08:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:24] 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-09-23 08:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274176000001,"66":13961,"217":206,"83":42752,"24":9,"16":22592425625124864,"45":1965539793070026752},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274176000001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22592425625124864,"km_value":22592425625124.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793070026752,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274176000001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965539793070026752}} 
[2026-09-23 08:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:24] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:24] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:32] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:32] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:32] local.INFO: IMEI packet received {"connection_id":191704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":191704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:49:38] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:38] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:49:38] local.INFO: IMEI packet received {"connection_id":191704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":191704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:49:40] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:40] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:49:40] local.INFO: Packet analysis {"connection_id":191704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:49:40] local.INFO: Extracted packet for processing {"connection_id":191704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":191704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:40] local.INFO: GPS data processed {"connection_id":191704,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:40] local.INFO: Acknowledgment sent {"connection_id":191704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:49:43] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc45ed90012d0def400706b308001c01481f..."} 
[2026-09-23 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc45ed90012d0def400706b308001c01481f..."} 
[2026-09-23 08:49:43] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc45ed90012d0def400706b308001c01481f..."} 
[2026-09-23 08:49:43] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:43] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755887936,"raw_latitude":117879560,"longitude_deg":75.5887936,"latitude_deg":11.787956,"altitude":28,"angle":328,"satellites":31,"speed":6,"hex_longitude":"2d0def40","hex_latitude":"0706b308","is_valid_coordinates":true} 
[2026-09-23 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274183424001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33375284619116544,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004232378336579584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:49: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-09-23 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133530000,"timestamp_ms":1790133530000,"timestamp_seconds":1790133530,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc45ed90"} 
[2026-09-23 08:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:49: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-09-23 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 08:49:43] 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-09-23 08:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274183424001,"66":14298,"219":206,"94":10240,"24":6,"16":33375284619116544,"45":1004232378336579584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274183424001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33375284619116544,"km_value":33375284619116.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004232378336579584,"description":"Unknown IO ID 45"} 
[2026-09-23 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274183424001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1004232378336579584}} 
[2026-09-23 08:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:49:43] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:49:43] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:03] local.INFO: TCP Data received {"connection_id":190359,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: Processing buffer {"connection_id":190359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: IMEI packet received {"connection_id":190359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":190359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:50:03] local.INFO: TCP Data received {"connection_id":190359,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: Processing buffer {"connection_id":190359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:03] local.INFO: IMEI packet received {"connection_id":190359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":190359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:50:05] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:05] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:05] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:50:10] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:10] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:10] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:50:11] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:11] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:50:11] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:50:11] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc46dbd8012d0dcfc00706c528001e01351f..."} 
[2026-09-23 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc46dbd8012d0dcfc00706c528001e01351f..."} 
[2026-09-23 08:50:11] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc46dbd8012d0dcfc00706c528001e01351f..."} 
[2026-09-23 08:50:11] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:11] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117884200,"longitude_deg":75.5879872,"latitude_deg":11.78842,"altitude":30,"angle":309,"satellites":31,"speed":19,"hex_longitude":"2d0dcfc0","hex_latitude":"0706c528","is_valid_coordinates":true} 
[2026-09-23 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274199040001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33375778540355584,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995788129036410880,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50: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-09-23 08:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133591000,"timestamp_ms":1790133591000,"timestamp_seconds":1790133591,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc46dbd8"} 
[2026-09-23 08:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274199040001,"66":14515,"219":206,"94":10240,"24":19,"16":33375778540355584,"45":995788129036410880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274199040001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:50:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33375778540355584,"km_value":33375778540355.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":995788129036410880,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274199040001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":995788129036410880}} 
[2026-09-23 08:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:12] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:12] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:12] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:12] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:12] local.INFO: Packet analysis {"connection_id":191704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:50:12] local.INFO: Extracted packet for processing {"connection_id":191704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 08:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":191704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:12] local.INFO: GPS data processed {"connection_id":191704,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:12] local.INFO: Acknowledgment sent {"connection_id":191704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:16] local.INFO: TCP Data received {"connection_id":190359,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:16] local.INFO: Processing buffer {"connection_id":190359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:16] local.INFO: IMEI packet received {"connection_id":190359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":190359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:50:16] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc46dfc0012d0dcf000706c698001f01491e..."} 
[2026-09-23 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc46dfc0012d0dcf000706c698001f01491e..."} 
[2026-09-23 08:50:16] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc46dfc0012d0dcf000706c698001f01491e..."} 
[2026-09-23 08:50:16] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:16] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:16] local.INFO: GPS Element Parsed {"raw_longitude":755879680,"raw_latitude":117884568,"longitude_deg":75.587968,"latitude_deg":11.7884568,"altitude":31,"angle":329,"satellites":30,"speed":18,"hex_longitude":"2d0dcf00","hex_latitude":"0706c698","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274199296001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33375800015192064,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179083057152,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50: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-09-23 08:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790133592000,"timestamp_ms":1790133592000,"timestamp_seconds":1790133592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc46dfc0"} 
[2026-09-23 08:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50: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-09-23 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:50: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-09-23 08: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-09-23 08:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274199296001,"66":14102,"219":206,"94":10240,"24":18,"16":33375800015192064,"45":995225179083057152},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274199296001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:50:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33375800015192064,"km_value":33375800015192.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179083057152,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274199296001,"power":14102,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":995225179083057152}} 
[2026-09-23 08:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:16] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:16] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:17] local.INFO: TCP Data received {"connection_id":190359,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc458030012d1b48400725d4980029009418..."} 
[2026-09-23 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc458030012d1b48400725d4980029009418..."} 
[2026-09-23 08:50:17] local.INFO: Processing buffer {"connection_id":190359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc458030012d1b48400725d4980029009418..."} 
[2026-09-23 08:50:17] local.INFO: Packet analysis {"connection_id":190359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:50:17] local.INFO: Extracted packet for processing {"connection_id":190359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919768,"longitude_deg":75.6762688,"latitude_deg":11.9919768,"altitude":41,"angle":148,"satellites":24,"speed":9,"hex_longitude":"2d1b4840","hex_latitude":"0725d498","is_valid_coordinates":true} 
[2026-09-23 08:50: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-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274176256001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22592434215059456,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046723072,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790133502000,"timestamp_ms":1790133502000,"timestamp_seconds":1790133502,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc458030"} 
[2026-09-23 08:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 08:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:50: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-09-23 08:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274176256001,"66":13961,"217":206,"83":42752,"24":9,"16":22592434215059456,"45":1965821268046723072},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274176256001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22592434215059456,"km_value":22592434215059.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046723072,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274176256001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965821268046723072}} 
[2026-09-23 08:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":190359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:17] local.INFO: GPS data processed {"connection_id":190359,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:17] local.INFO: Acknowledgment sent {"connection_id":190359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:17] local.INFO: TCP Data received {"connection_id":190359,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc458418012d1b48400725d3c0002900c218..."} 
[2026-09-23 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc458418012d1b48400725d3c0002900c218..."} 
[2026-09-23 08:50:17] local.INFO: Processing buffer {"connection_id":190359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc458418012d1b48400725d3c0002900c218..."} 
[2026-09-23 08:50:17] local.INFO: Packet analysis {"connection_id":190359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:50:17] local.INFO: Extracted packet for processing {"connection_id":190359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc45"} 
[2026-09-23 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919552,"longitude_deg":75.6762688,"latitude_deg":11.9919552,"altitude":41,"angle":194,"satellites":24,"speed":9,"hex_longitude":"2d1b4840","hex_latitude":"0725d3c0","is_valid_coordinates":true} 
[2026-09-23 08:50: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-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274176512001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22592447099961344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790859776,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790133503000,"timestamp_ms":1790133503000,"timestamp_seconds":1790133503,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc458418"} 
[2026-09-23 08:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 08:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:50: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-09-23 08:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274176512001,"66":14428,"217":206,"83":42752,"24":9,"16":22592447099961344,"45":1965891636790859776},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274176512001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22592447099961344,"km_value":22592447099961.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790859776,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274176512001,"power":14428,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965891636790859776}} 
[2026-09-23 08:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":190359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:18] local.INFO: GPS data processed {"connection_id":190359,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:18] local.INFO: Acknowledgment sent {"connection_id":190359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:32] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:32] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:32] local.INFO: IMEI packet received {"connection_id":193039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":193039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:50:37] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:37] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:50:37] local.INFO: IMEI packet received {"connection_id":193039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":193039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:50:38] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:38] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc42c4f8012d34c18006aa4440000800d127..."} 
[2026-09-23 08:50:38] local.INFO: Packet analysis {"connection_id":193039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:50:38] local.INFO: Extracted packet for processing {"connection_id":193039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc42"} 
[2026-09-23 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274053632001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133323000,"timestamp_ms":1790133323000,"timestamp_seconds":1790133323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc42c4f8"} 
[2026-09-23 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-09-23 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:50: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-09-23 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-09-23 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-09-23 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274053632001,"66":25691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274053632001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274053632001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":193039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:38] local.INFO: GPS data processed {"connection_id":193039,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:38] local.INFO: Acknowledgment sent {"connection_id":193039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:47] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc46e3a8012d0dce000706c830001f01551e..."} 
[2026-09-23 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc46e3a8012d0dce000706c830001f01551e..."} 
[2026-09-23 08:50:47] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc46e3a8012d0dce000706c830001f01551e..."} 
[2026-09-23 08:50:47] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:47] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc46"} 
[2026-09-23 08:50:47] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117884976,"longitude_deg":75.5879424,"latitude_deg":11.7884976,"altitude":31,"angle":341,"satellites":30,"speed":18,"hex_longitude":"2d0dce00","hex_latitude":"0706c830","is_valid_coordinates":true} 
[2026-09-23 08:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274199552001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33375825784995840,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072850618368,"note":"Value kept but may cause issues"} 
[2026-09-23 08:50: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-09-23 08:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790133593000,"timestamp_ms":1790133593000,"timestamp_seconds":1790133593,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc46e3a8"} 
[2026-09-23 08:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 08:50:47] 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-09-23 08:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274199552001,"66":14102,"219":206,"94":10240,"24":18,"16":33375825784995840,"45":995014072850618368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274199552001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:50:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:50:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33375825784995840,"km_value":33375825784995.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072850618368,"description":"Unknown IO ID 45"} 
[2026-09-23 08:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274199552001,"power":14102,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":995014072850618368}} 
[2026-09-23 08:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:50:47] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:50:47] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:50:57] local.INFO: TCP Data received {"connection_id":193040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:57] local.INFO: Processing buffer {"connection_id":193040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:57] local.INFO: IMEI packet received {"connection_id":193040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":193040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:50:58] local.INFO: TCP Data received {"connection_id":193040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:58] local.INFO: Processing buffer {"connection_id":193040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:50:58] local.INFO: IMEI packet received {"connection_id":193040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":193040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:51:04] local.INFO: TCP Data received {"connection_id":193040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:04] local.INFO: Processing buffer {"connection_id":193040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:04] local.INFO: IMEI packet received {"connection_id":193040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":193040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:51:05] local.INFO: TCP Data received {"connection_id":193040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc476490012d1b3a800725aca8002d00af1b..."} 
[2026-09-23 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc476490012d1b3a800725aca8002d00af1b..."} 
[2026-09-23 08:51:05] local.INFO: Processing buffer {"connection_id":193040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc476490012d1b3a800725aca8002d00af1b..."} 
[2026-09-23 08:51:05] local.INFO: Packet analysis {"connection_id":193040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:05] local.INFO: Extracted packet for processing {"connection_id":193040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756759168,"raw_latitude":119909544,"longitude_deg":75.6759168,"latitude_deg":11.9909544,"altitude":45,"angle":175,"satellites":27,"speed":14,"hex_longitude":"2d1b3a80","hex_latitude":"0725aca8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207488001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22592992560807936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618370344960,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790133626000,"timestamp_ms":1790133626000,"timestamp_seconds":1790133626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc476490"} 
[2026-09-23 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-09-23 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 08:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 08:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207488001,"66":14157,"217":206,"83":42752,"24":14,"16":22592992560807936,"45":1961880618370344960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207488001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22592992560807936,"km_value":22592992560807.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618370344960,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207488001,"power":14157,"unknown_217":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1961880618370344960}} 
[2026-09-23 08:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":193040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:05] local.INFO: GPS data processed {"connection_id":193040,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:05] local.INFO: Acknowledgment sent {"connection_id":193040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:08] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:08] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:08] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:51:09] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:09] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:09] local.INFO: Packet analysis {"connection_id":193039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:09] local.INFO: Extracted packet for processing {"connection_id":193039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":193039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:09] local.INFO: GPS data processed {"connection_id":193039,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:09] local.INFO: Acknowledgment sent {"connection_id":193039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:11] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:11] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:11] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:51:15] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:15] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:51:15] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:51:16] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Packet analysis {"connection_id":190188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:16] local.INFO: Extracted packet for processing {"connection_id":190188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":117903928,"longitude_deg":75.5852032,"latitude_deg":11.7903928,"altitude":32,"angle":288,"satellites":31,"speed":27,"hex_longitude":"2d0d6300","hex_latitude":"07071238","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274212864001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33377724160540672,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973621974624559104,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51: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-09-23 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790133661000,"timestamp_ms":1790133661000,"timestamp_seconds":1790133661,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc47ed48"} 
[2026-09-23 08:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 08:51: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-09-23 08: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-09-23 08:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274212864001,"66":14515,"219":206,"94":10240,"24":27,"16":33377724160540672,"45":973621974624559104},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274212864001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33377724160540672,"km_value":33377724160540.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":973621974624559104,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274212864001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":973621974624559104}} 
[2026-09-23 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":190188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:16] local.INFO: GPS data processed {"connection_id":190188,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:16] local.INFO: Acknowledgment sent {"connection_id":190188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:16] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc47ed48012d0d630007071238002001201f..."} 
[2026-09-23 08:51:16] local.INFO: Packet analysis {"connection_id":190188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:16] local.INFO: Extracted packet for processing {"connection_id":190188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":117903928,"longitude_deg":75.5852032,"latitude_deg":11.7903928,"altitude":32,"angle":288,"satellites":31,"speed":27,"hex_longitude":"2d0d6300","hex_latitude":"07071238","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274217216001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33377724160540672,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614775370823680,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51: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-09-23 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790133661000,"timestamp_ms":1790133661000,"timestamp_seconds":1790133661,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc47ed48"} 
[2026-09-23 08:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:51: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-09-23 08: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-09-23 08:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274217216001,"66":14515,"219":206,"94":10240,"24":27,"16":33377724160540672,"45":964614775370823680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274217216001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33377724160540672,"km_value":33377724160540.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614775370823680,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274217216001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":964614775370823680}} 
[2026-09-23 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":190188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:16] local.INFO: GPS data processed {"connection_id":190188,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:16] local.INFO: Acknowledgment sent {"connection_id":190188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:35] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:51:35] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:51:35] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:51:36] local.INFO: TCP Data received {"connection_id":193040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4852d8012d1b614007255438002a010e1a..."} 
[2026-09-23 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4852d8012d1b614007255438002a010e1a..."} 
[2026-09-23 08:51:36] local.INFO: Processing buffer {"connection_id":193040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4852d8012d1b614007255438002a010e1a..."} 
[2026-09-23 08:51:36] local.INFO: Packet analysis {"connection_id":193040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:51:36] local.INFO: Extracted packet for processing {"connection_id":193040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119886904,"longitude_deg":75.6769088,"latitude_deg":11.9886904,"altitude":42,"angle":270,"satellites":26,"speed":8,"hex_longitude":"2d1b6140","hex_latitude":"07255438","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274223616001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22594281050996736,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986176931840,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790133687000,"timestamp_ms":1790133687000,"timestamp_seconds":1790133687,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4852d8"} 
[2026-09-23 08:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:36] 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-09-23 08: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-23 08:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274223616001,"66":13928,"43":206,"83":41984,"24":8,"16":22594281050996736,"45":1973209986176931840},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274223616001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22594281050996736,"km_value":22594281050996.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986176931840,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274223616001,"power":13928,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1973209986176931840}} 
[2026-09-23 08:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":193040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:36] local.INFO: GPS data processed {"connection_id":193040,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:36] local.INFO: Acknowledgment sent {"connection_id":193040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:39] local.INFO: TCP Data received {"connection_id":190189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:39] local.INFO: Processing buffer {"connection_id":190189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:39] local.INFO: IMEI packet received {"connection_id":190189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":190189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:51:42] local.INFO: TCP Data received {"connection_id":190189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:42] local.INFO: Processing buffer {"connection_id":190189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:51:42] local.INFO: IMEI packet received {"connection_id":190189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":190189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:51:44] local.INFO: TCP Data received {"connection_id":190189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:44] local.INFO: Processing buffer {"connection_id":190189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:44] local.INFO: Packet analysis {"connection_id":190189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:44] local.INFO: Extracted packet for processing {"connection_id":190189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":190189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:44] local.INFO: GPS data processed {"connection_id":190189,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:44] local.INFO: Acknowledgment sent {"connection_id":190189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:47] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4800d0012d0d5840070714a8001f01131f..."} 
[2026-09-23 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4800d0012d0d5840070714a8001f01131f..."} 
[2026-09-23 08:51:47] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4800d0012d0d5840070714a8001f01131f..."} 
[2026-09-23 08:51:47] local.INFO: Packet analysis {"connection_id":190188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:51:47] local.INFO: Extracted packet for processing {"connection_id":190188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755849280,"raw_latitude":117904552,"longitude_deg":75.584928,"latitude_deg":11.7904552,"altitude":31,"angle":275,"satellites":31,"speed":16,"hex_longitude":"2d0d5840","hex_latitude":"070714a8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274217216001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33377861599494144,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614775370823680,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51: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-09-23 08:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790133666000,"timestamp_ms":1790133666000,"timestamp_seconds":1790133666,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4800d0"} 
[2026-09-23 08:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:51: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-09-23 08: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-09-23 08:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274217216001,"66":14428,"219":206,"94":10240,"24":16,"16":33377861599494144,"45":964614775370823680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 08:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274217216001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 08:51:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33377861599494144,"km_value":33377861599494.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614775370823680,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274217216001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":964614775370823680}} 
[2026-09-23 08:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":190188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:48] local.INFO: GPS data processed {"connection_id":190188,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:48] local.INFO: Acknowledgment sent {"connection_id":190188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:48] local.INFO: TCP Data received {"connection_id":190189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:48] local.INFO: Processing buffer {"connection_id":190189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:51:48] local.INFO: Packet analysis {"connection_id":190189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:48] local.INFO: Extracted packet for processing {"connection_id":190189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":190189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:51:48] local.INFO: GPS data processed {"connection_id":190189,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:51:48] local.INFO: Acknowledgment sent {"connection_id":190189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:51:58] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:58] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:51:58] local.INFO: IMEI packet received {"connection_id":190360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":190360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:52:03] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:03] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:03] local.INFO: IMEI packet received {"connection_id":190360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":190360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:52:04] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4856c0012d1b60c007255478002a01281a..."} 
[2026-09-23 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4856c0012d1b60c007255478002a01281a..."} 
[2026-09-23 08:52:04] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4856c0012d1b60c007255478002a01281a..."} 
[2026-09-23 08:52:04] local.INFO: Packet analysis {"connection_id":190360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:04] local.INFO: Extracted packet for processing {"connection_id":190360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756768960,"raw_latitude":119886968,"longitude_deg":75.676896,"latitude_deg":11.9886968,"altitude":42,"angle":296,"satellites":26,"speed":9,"hex_longitude":"2d1b60c0","hex_latitude":"07255478","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274223872001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22594289640931328,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511200212992,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790133688000,"timestamp_ms":1790133688000,"timestamp_seconds":1790133688,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4856c0"} 
[2026-09-23 08:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-23 08:52:04] 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-09-23 08: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-09-23 08:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274223872001,"66":13928,"43":206,"83":41984,"24":9,"16":22594289640931328,"45":1972928511200212992},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274223872001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:52:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22594289640931328,"km_value":22594289640931.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511200212992,"description":"Unknown IO ID 45"} 
[2026-09-23 08:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274223872001,"power":13928,"unknown_43":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1972928511200212992}} 
[2026-09-23 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":190360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:52:04] local.INFO: GPS data processed {"connection_id":190360,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:52:04] local.INFO: Acknowledgment sent {"connection_id":190360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:52:06] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:06] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:06] local.INFO: IMEI packet received {"connection_id":190361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":190361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:52:10] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:52:10] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:52:10] local.INFO: IMEI packet received {"connection_id":191707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":191707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:52:11] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:11] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:52:11] local.INFO: IMEI packet received {"connection_id":190361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":190361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:52:12] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc48b480012d0d2bc007073e30002301591e..."} 
[2026-09-23 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc48b480012d0d2bc007073e30002301591e..."} 
[2026-09-23 08:52:12] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc48b480012d0d2bc007073e30002301591e..."} 
[2026-09-23 08:52:12] local.INFO: Packet analysis {"connection_id":190361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:12] local.INFO: Extracted packet for processing {"connection_id":190361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755837888,"raw_latitude":117915184,"longitude_deg":75.5837888,"latitude_deg":11.7915184,"altitude":35,"angle":345,"satellites":30,"speed":16,"hex_longitude":"2d0d2bc0","hex_latitude":"07073e30","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274230272001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33378879506743296,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949063282910441472,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:12] 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-09-23 08:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133712000,"timestamp_ms":1790133712000,"timestamp_seconds":1790133712,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc48b480"} 
[2026-09-23 08:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274230272001,"66":14428,"221":206,"94":10240,"24":16,"16":33378879506743296,"45":949063282910441472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274230272001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:52:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33378879506743296,"km_value":33378879506743.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":949063282910441472,"description":"Unknown IO ID 45"} 
[2026-09-23 08:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274230272001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":949063282910441472}} 
[2026-09-23 08:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":190361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:52:12] local.INFO: GPS data processed {"connection_id":190361,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:52:12] local.INFO: Acknowledgment sent {"connection_id":190361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:52:32] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:32] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:32] local.INFO: IMEI packet received {"connection_id":190190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":190190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:52:34] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc485aa8012d1b5f80072554c0002a01171a..."} 
[2026-09-23 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc485aa8012d1b5f80072554c0002a01171a..."} 
[2026-09-23 08:52:34] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc485aa8012d1b5f80072554c0002a01171a..."} 
[2026-09-23 08:52:34] local.INFO: Packet analysis {"connection_id":190360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:34] local.INFO: Extracted packet for processing {"connection_id":190360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc48"} 
[2026-09-23 08:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119887040,"longitude_deg":75.676864,"latitude_deg":11.988704,"altitude":42,"angle":279,"satellites":26,"speed":10,"hex_longitude":"2d1b5f80","hex_latitude":"072554c0","is_valid_coordinates":true} 
[2026-09-23 08:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274224128001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22594306820800512,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972787773711874048,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790133689000,"timestamp_ms":1790133689000,"timestamp_seconds":1790133689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc485aa8"} 
[2026-09-23 08:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:52:34] 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-09-23 08:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-23 08:52:34] 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-09-23 08:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274224128001,"66":13493,"43":206,"83":41984,"24":10,"16":22594306820800512,"45":1972787773711874048},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274224128001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22594306820800512,"km_value":22594306820800.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972787773711874048,"description":"Unknown IO ID 45"} 
[2026-09-23 08:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274224128001,"power":13493,"unknown_43":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1972787773711874048}} 
[2026-09-23 08:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":190360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:52:35] local.INFO: GPS data processed {"connection_id":190360,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:52:35] local.INFO: Acknowledgment sent {"connection_id":190360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:52:37] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:37] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:52:37] local.INFO: IMEI packet received {"connection_id":190190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:52:38] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:52:38] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:52:38] local.INFO: Packet analysis {"connection_id":190190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:52:38] local.INFO: Extracted packet for processing {"connection_id":190190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":190190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:52:38] local.INFO: GPS data processed {"connection_id":190190,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:52:38] local.INFO: Acknowledgment sent {"connection_id":190190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:52:43] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc493950012d0cdf0007074e00002101011f..."} 
[2026-09-23 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc493950012d0cdf0007074e00002101011f..."} 
[2026-09-23 08:52:43] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc493950012d0cdf0007074e00002101011f..."} 
[2026-09-23 08:52:43] local.INFO: Packet analysis {"connection_id":190361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:52:43] local.INFO: Extracted packet for processing {"connection_id":190361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117919232,"longitude_deg":75.581824,"latitude_deg":11.7919232,"altitude":33,"angle":257,"satellites":31,"speed":11,"hex_longitude":"2d0cdf00","hex_latitude":"07074e00","is_valid_coordinates":true} 
[2026-09-23 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274238720001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33379927478763520,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927741553425674240,"note":"Value kept but may cause issues"} 
[2026-09-23 08:52:43] 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-09-23 08:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133746000,"timestamp_ms":1790133746000,"timestamp_seconds":1790133746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc493950"} 
[2026-09-23 08:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 08:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274238720001,"66":14135,"221":206,"94":10240,"24":11,"16":33379927478763520,"45":927741553425674240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274238720001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:52:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33379927478763520,"km_value":33379927478763.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":927741553425674240,"description":"Unknown IO ID 45"} 
[2026-09-23 08:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274238720001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":927741553425674240}} 
[2026-09-23 08:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":190361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:52:43] local.INFO: GPS data processed {"connection_id":190361,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:52:43] local.INFO: Acknowledgment sent {"connection_id":190361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:52:58] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:58] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:52:58] local.INFO: IMEI packet received {"connection_id":191708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":191708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:53:03] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:03] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:03] local.INFO: IMEI packet received {"connection_id":191708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":191708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:53:03] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:03] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:03] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:53:03] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4973e8012d1b4940072552b80027014c1b..."} 
[2026-09-23 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4973e8012d1b4940072552b80027014c1b..."} 
[2026-09-23 08:53:03] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4973e8012d1b4940072552b80027014c1b..."} 
[2026-09-23 08:53:03] local.INFO: Packet analysis {"connection_id":191708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:03] local.INFO: Extracted packet for processing {"connection_id":191708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119886520,"longitude_deg":75.6762944,"latitude_deg":11.988652,"altitude":39,"angle":332,"satellites":27,"speed":7,"hex_longitude":"2d1b4940","hex_latitude":"072552b8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274242560001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22594654713151488,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966243480503203840,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790133761000,"timestamp_ms":1790133761000,"timestamp_seconds":1790133761,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4973e8"} 
[2026-09-23 08:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53:03] 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-09-23 08: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274242560001,"66":13852,"43":206,"83":41984,"24":7,"16":22594654713151488,"45":1966243480503203840},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274242560001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22594654713151488,"km_value":22594654713151.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966243480503203840,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274242560001,"power":13852,"unknown_43":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1966243480503203840}} 
[2026-09-23 08:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":191708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:03] local.INFO: GPS data processed {"connection_id":191708,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:03] local.INFO: Acknowledgment sent {"connection_id":191708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:06] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:53:06] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:06] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:53:08] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:08] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:53:08] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:53:08] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc493d38012d0cdd8007074df8002101111f..."} 
[2026-09-23 08:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc493d38012d0cdd8007074df8002101111f..."} 
[2026-09-23 08:53:08] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc493d38012d0cdd8007074df8002101111f..."} 
[2026-09-23 08:53:08] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:08] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:08] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117919224,"longitude_deg":75.5817856,"latitude_deg":11.7919224,"altitude":33,"angle":273,"satellites":31,"speed":13,"hex_longitude":"2d0cdd80","hex_latitude":"07074df8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274238976001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33379944658632704,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448934912,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:08] 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-09-23 08:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790133747000,"timestamp_ms":1790133747000,"timestamp_seconds":1790133747,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc493d38"} 
[2026-09-23 08:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53: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-09-23 08: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":55,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274238976001,"66":14135,"221":206,"94":10240,"24":13,"16":33379944658632704,"45":927460078448934912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274238976001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:53:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33379944658632704,"km_value":33379944658632.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448934912,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274238976001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927460078448934912}} 
[2026-09-23 08:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:08] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:08] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:09] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:09] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:09] local.INFO: Packet analysis {"connection_id":190190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:53:09] local.INFO: Extracted packet for processing {"connection_id":190190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":190190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:09] local.INFO: GPS data processed {"connection_id":190190,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:09] local.INFO: Acknowledgment sent {"connection_id":190190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:33] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:33] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:33] local.INFO: IMEI packet received {"connection_id":190362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":190362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:53:34] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc497bb8012d1b4880072553e00026012c1a..."} 
[2026-09-23 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc497bb8012d1b4880072553e00026012c1a..."} 
[2026-09-23 08:53:34] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc497bb8012d1b4880072553e00026012c1a..."} 
[2026-09-23 08:53:34] local.INFO: Packet analysis {"connection_id":191708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:34] local.INFO: Extracted packet for processing {"connection_id":191708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119886816,"longitude_deg":75.6762752,"latitude_deg":11.9886816,"altitude":38,"angle":300,"satellites":26,"speed":2,"hex_longitude":"2d1b4880","hex_latitude":"072553e0","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22594671893020672,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111759058944,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790133763000,"timestamp_ms":1790133763000,"timestamp_seconds":1790133763,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc497bb8"} 
[2026-09-23 08:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53:34] 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-09-23 08: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:34] 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-09-23 08: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-09-23 08:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274242816001,"66":14048,"43":206,"83":41984,"24":2,"16":22594671893020672,"45":1966173111759058944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22594671893020672,"km_value":22594671893020.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111759058944,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274242816001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1966173111759058944}} 
[2026-09-23 08:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:34] local.INFO: GPS data processed {"connection_id":191708,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:34] local.INFO: Acknowledgment sent {"connection_id":191708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:37] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:37] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:53:37] local.INFO: IMEI packet received {"connection_id":190362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":190362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:53:38] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:38] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:53:38] local.INFO: Packet analysis {"connection_id":190362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:53:38] local.INFO: Extracted packet for processing {"connection_id":190362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":190362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:38] local.INFO: GPS data processed {"connection_id":190362,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:38] local.INFO: Acknowledgment sent {"connection_id":190362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:40] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc494120012d0cdc0007074e500021011f1f..."} 
[2026-09-23 08:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc494120012d0cdc0007074e500021011f1f..."} 
[2026-09-23 08:53:40] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc494120012d0cdc0007074e500021011f1f..."} 
[2026-09-23 08:53:40] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:40] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc49"} 
[2026-09-23 08:53:40] local.INFO: GPS Element Parsed {"raw_longitude":755817472,"raw_latitude":117919312,"longitude_deg":75.5817472,"latitude_deg":11.7919312,"altitude":33,"angle":287,"satellites":31,"speed":17,"hex_longitude":"2d0cdc00","hex_latitude":"07074e50","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274239232001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33379961838501888,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983866880,"note":"Value kept but may cause issues"} 
[2026-09-23 08:53:40] 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-09-23 08:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790133748000,"timestamp_ms":1790133748000,"timestamp_seconds":1790133748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc494120"} 
[2026-09-23 08:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 08:53:40] 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-09-23 08: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-09-23 08:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274239232001,"66":14428,"221":206,"94":10240,"24":17,"16":33379961838501888,"45":927037865983866880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274239232001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:53:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33379961838501888,"km_value":33379961838501.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983866880,"description":"Unknown IO ID 45"} 
[2026-09-23 08:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274239232001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":927037865983866880}} 
[2026-09-23 08:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:53:40] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:53:40] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:53:57] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:57] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:53:57] local.INFO: IMEI packet received {"connection_id":190363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":190363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:54:01] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:01] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:01] local.INFO: IMEI packet received {"connection_id":190363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":190363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:54:02] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:02] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:02] local.INFO: IMEI packet received {"connection_id":190363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":190363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:54:06] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:06] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:06] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:54:09] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:09] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:09] local.INFO: Packet analysis {"connection_id":190362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:54:09] local.INFO: Extracted packet for processing {"connection_id":190362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":190362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:09] local.INFO: GPS data processed {"connection_id":190362,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:09] local.INFO: Acknowledgment sent {"connection_id":190362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:10] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4a5678012d1b63c007255aa8001d01641c..."} 
[2026-09-23 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4a5678012d1b63c007255aa8001d01641c..."} 
[2026-09-23 08:54:10] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4a5678012d1b63c007255aa8001d01641c..."} 
[2026-09-23 08:54:10] local.INFO: Packet analysis {"connection_id":190363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:10] local.INFO: Extracted packet for processing {"connection_id":190363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756769728,"raw_latitude":119888552,"longitude_deg":75.6769728,"latitude_deg":11.9888552,"altitude":29,"angle":356,"satellites":28,"speed":18,"hex_longitude":"2d1b63c0","hex_latitude":"07255aa8","is_valid_coordinates":true} 
[2026-09-23 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274256896001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22595152929357824,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092409524224,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133819000,"timestamp_ms":1790133819000,"timestamp_seconds":1790133819,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4a5678"} 
[2026-09-23 08:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:10] 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-09-23 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992710042,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3427377864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944395161600,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1238220801,"corrected_to":0} 
[2026-09-23 08:54:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966571,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84753965115712850,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":10696857038619136,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,83,24,241,157,16,70,160,39,45,64,27,29,10,66,213,81,35,69,209,1,240,185,227,204,37,4,113,205,166,72,28,239,55,2,80,7,206,248,120],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":204,"original":1238220801,"validated":0},{"io_id":205,"original":724238542,"validated":0}]} 
[2026-09-23 08:54:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089676935839547392,"timestamp_seconds":2089676935839547.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274256896001,"66":14450,"43":206,"83":41984,"24":18,"16":22595152929357824,"45":1973421092409524224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274256896001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22595152929357824,"km_value":22595152929357.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092409524224,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274256896001,"power":14450,"unknown_43":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1973421092409524224}} 
[2026-09-23 08:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":190363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:10] local.INFO: GPS data processed {"connection_id":190363,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:10] local.INFO: Acknowledgment sent {"connection_id":190363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:10] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4a6230012d1b628007256060001d01571d..."} 
[2026-09-23 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4a6230012d1b628007256060001d01571d..."} 
[2026-09-23 08:54:10] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4a6230012d1b628007256060001d01571d..."} 
[2026-09-23 08:54:10] local.INFO: Packet analysis {"connection_id":190363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:10] local.INFO: Extracted packet for processing {"connection_id":190363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119890016,"longitude_deg":75.6769408,"latitude_deg":11.9890016,"altitude":29,"angle":343,"satellites":29,"speed":21,"hex_longitude":"2d1b6280","hex_latitude":"07256060","is_valid_coordinates":true} 
[2026-09-23 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274257664001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22595225943801856,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973632198642411520,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133822000,"timestamp_ms":1790133822000,"timestamp_seconds":1790133822,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4a6230"} 
[2026-09-23 08:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:10] 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-09-23 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:10] 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-09-23 08:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274257664001,"66":14428,"43":206,"83":41984,"24":21,"16":22595225943801856,"45":1973632198642411520},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274257664001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22595225943801856,"km_value":22595225943801.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973632198642411520,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274257664001,"power":14428,"unknown_43":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1973632198642411520}} 
[2026-09-23 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":190363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:11] local.INFO: GPS data processed {"connection_id":190363,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:11] local.INFO: Acknowledgment sent {"connection_id":190363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:11] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:11] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:54:11] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:54:11] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4a6de8012d0c7f00070776180014012f20..."} 
[2026-09-23 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4a6de8012d0c7f00070776180014012f20..."} 
[2026-09-23 08:54:11] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4a6de8012d0c7f00070776180014012f20..."} 
[2026-09-23 08:54:11] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:11] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":755793664,"raw_latitude":117929496,"longitude_deg":75.5793664,"latitude_deg":11.7929496,"altitude":20,"angle":303,"satellites":32,"speed":7,"hex_longitude":"2d0c7f00","hex_latitude":"07077618","is_valid_coordinates":true} 
[2026-09-23 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274258432001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33381443602219008,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900860693152301056,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] 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-09-23 08:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133825000,"timestamp_ms":1790133825000,"timestamp_seconds":1790133825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4a6de8"} 
[2026-09-23 08:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751543959,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3427403864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2603080640454721546,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1245900801,"corrected_to":0} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264497117,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147944312,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2546794496,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-6178930960096034784,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6629524256944344670,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,221,94,24,241,157,16,152,160,45,64,115,22,32,10,66,86,192,23,82,1,240,71,227,204,7,4,113,205,29,165,8,239,53,2,118,12,56,40],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":204,"original":1245900801,"validated":0},{"io_id":205,"original":803012814,"validated":0}]} 
[2026-09-23 08:54:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513560356445093888,"timestamp_seconds":1513560356445094.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274258432001,"66":14450,"221":206,"94":10240,"24":7,"16":33381443602219008,"45":900860693152301056},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274258432001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:54:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33381443602219008,"km_value":33381443602219.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":900860693152301056,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274258432001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":900860693152301056}} 
[2026-09-23 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:11] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:11] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:32] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:32] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:32] local.INFO: IMEI packet received {"connection_id":190191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":190191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:54:37] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:37] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:54:37] local.INFO: IMEI packet received {"connection_id":190191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":190191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:54:38] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:38] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:54:38] local.INFO: Packet analysis {"connection_id":190191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:54:38] local.INFO: Extracted packet for processing {"connection_id":190191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":190191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:38] local.INFO: GPS data processed {"connection_id":190191,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:38] local.INFO: Acknowledgment sent {"connection_id":190191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:42] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b2d50012d0c3240070754f8001100e920..."} 
[2026-09-23 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b2d50012d0c3240070754f8001100e920..."} 
[2026-09-23 08:54:42] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b2d50012d0c3240070754f8001100e920..."} 
[2026-09-23 08:54:42] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:54:42] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":755774016,"raw_latitude":117921016,"longitude_deg":75.5774016,"latitude_deg":11.7921016,"altitude":17,"angle":233,"satellites":32,"speed":24,"hex_longitude":"2d0c3240","hex_latitude":"070754f8","is_valid_coordinates":true} 
[2026-09-23 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274271488001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33382719207505920,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879327857431959552,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:42] 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-09-23 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790133874000,"timestamp_ms":1790133874000,"timestamp_seconds":1790133874,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b2d50"} 
[2026-09-23 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274271488001,"66":14439,"221":206,"94":10240,"24":24,"16":33382719207505920,"45":879327857431959552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274271488001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:54:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33382719207505920,"km_value":33382719207505.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":879327857431959552,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274271488001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":879327857431959552}} 
[2026-09-23 08:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:43] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:43] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:47] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4a6de8012d1b6000072566d8001e014b1d..."} 
[2026-09-23 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4a6de8012d1b6000072566d8001e014b1d..."} 
[2026-09-23 08:54:47] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4a6de8012d1b6000072566d8001e014b1d..."} 
[2026-09-23 08:54:47] local.INFO: Packet analysis {"connection_id":190363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:47] local.INFO: Extracted packet for processing {"connection_id":190363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4a"} 
[2026-09-23 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756768768,"raw_latitude":119891672,"longitude_deg":75.6768768,"latitude_deg":11.9891672,"altitude":30,"angle":331,"satellites":29,"speed":25,"hex_longitude":"2d1b6000","hex_latitude":"072566d8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274258432001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22595311843147776,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354921897984,"note":"Value kept but may cause issues"} 
[2026-09-23 08:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790133825000,"timestamp_ms":1790133825000,"timestamp_seconds":1790133825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4a6de8"} 
[2026-09-23 08:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:54:47] 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-09-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:54: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-09-23 08: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-09-23 08:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274258432001,"66":14004,"43":206,"83":41984,"24":25,"16":22595311843147776,"45":1973280354921897984},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 08:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274258432001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:54:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 08:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 08:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22595311843147776,"km_value":22595311843147.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354921897984,"description":"Unknown IO ID 45"} 
[2026-09-23 08:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274258432001,"power":14004,"unknown_43":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1973280354921897984}} 
[2026-09-23 08:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":190363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:54:47] local.INFO: GPS data processed {"connection_id":190363,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:54:47] local.INFO: Acknowledgment sent {"connection_id":190363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:54:57] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:57] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:54:57] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:55:05] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:05] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:05] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:55:06] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b5078012d1b47800725d588002800561d..."} 
[2026-09-23 08:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b5078012d1b47800725d588002800561d..."} 
[2026-09-23 08:55:06] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b5078012d1b47800725d588002800561d..."} 
[2026-09-23 08:55:06] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:06] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119920008,"longitude_deg":75.6762496,"latitude_deg":11.9920008,"altitude":40,"angle":86,"satellites":29,"speed":5,"hex_longitude":"2d1b4780","hex_latitude":"0725d588","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274273792001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22596935340785664,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055581663232,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790133883000,"timestamp_ms":1790133883000,"timestamp_seconds":1790133883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b5078"} 
[2026-09-23 08:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274273792001,"66":14004,"217":206,"83":42752,"24":5,"16":22596935340785664,"45":1965399055581663232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274273792001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22596935340785664,"km_value":22596935340785.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055581663232,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274273792001,"power":14004,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1965399055581663232}} 
[2026-09-23 08:55:06] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:06] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:06] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:06] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:06] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:09] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:09] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:09] local.INFO: Packet analysis {"connection_id":190191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:55:09] local.INFO: Extracted packet for processing {"connection_id":190191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":190191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:09] local.INFO: GPS data processed {"connection_id":190191,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:09] local.INFO: Acknowledgment sent {"connection_id":190191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:11] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:11] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:55:11] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:55:12] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b3138012d0c2fc007075400001100f520..."} 
[2026-09-23 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b3138012d0c2fc007075400001100f520..."} 
[2026-09-23 08:55:12] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b3138012d0c2fc007075400001100f520..."} 
[2026-09-23 08:55:12] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:12] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":755773376,"raw_latitude":117920768,"longitude_deg":75.5773376,"latitude_deg":11.7920768,"altitude":17,"angle":245,"satellites":32,"speed":25,"hex_longitude":"2d0c2fc0","hex_latitude":"07075400","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274271744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33382753567244288,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878835276222625792,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:12] 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-09-23 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133875000,"timestamp_ms":1790133875000,"timestamp_seconds":1790133875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b3138"} 
[2026-09-23 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:12] 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-09-23 08: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-09-23 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274271744001,"66":14439,"221":206,"94":10240,"24":25,"16":33382753567244288,"45":878835276222625792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-23 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274271744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33382753567244288,"km_value":33382753567244.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":878835276222625792,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274271744001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":878835276222625792}} 
[2026-09-23 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:12] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:12] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:32] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:32] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:32] local.INFO: IMEI packet received {"connection_id":193043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":193043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:55:37] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:37] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:55:37] local.INFO: IMEI packet received {"connection_id":193043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":193043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:55:37] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b6018012d1b48800725d4a8002900a91e..."} 
[2026-09-23 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b6018012d1b48800725d4a8002900a91e..."} 
[2026-09-23 08:55:37] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b6018012d1b48800725d4a8002900a91e..."} 
[2026-09-23 08:55:37] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:37] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119919784,"longitude_deg":75.6762752,"latitude_deg":11.9919784,"altitude":41,"angle":169,"satellites":30,"speed":7,"hex_longitude":"2d1b4880","hex_latitude":"0725d4a8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274274048001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22596952520654848,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530558388224,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790133887000,"timestamp_ms":1790133887000,"timestamp_seconds":1790133887,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b6018"} 
[2026-09-23 08:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55: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-09-23 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274274048001,"66":14363,"217":206,"83":42752,"24":7,"16":22596952520654848,"45":1965680530558388224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274274048001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22596952520654848,"km_value":22596952520654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530558388224,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274274048001,"power":14363,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1965680530558388224}} 
[2026-09-23 08:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:37] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:37] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:38] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:38] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc475cc0012d34c18006aa4440000800d128..."} 
[2026-09-23 08:55:38] local.INFO: Packet analysis {"connection_id":193043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:55:38] local.INFO: Extracted packet for processing {"connection_id":193043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc47"} 
[2026-09-23 08:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274130688001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133624000,"timestamp_ms":1790133624000,"timestamp_seconds":1790133624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc475cc0"} 
[2026-09-23 08:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274130688001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274130688001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274130688001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":193043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:38] local.INFO: GPS data processed {"connection_id":193043,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:38] local.INFO: Acknowledgment sent {"connection_id":193043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:43] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4c1b98012d0bb48007071b20001400d920..."} 
[2026-09-23 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4c1b98012d0bb48007071b20001400d920..."} 
[2026-09-23 08:55:43] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4c1b98012d0bb48007071b20001400d920..."} 
[2026-09-23 08:55:43] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:55:43] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117906208,"longitude_deg":75.5741824,"latitude_deg":11.7906208,"altitude":20,"angle":217,"satellites":32,"speed":18,"hex_longitude":"2d0bb480","hex_latitude":"07071b20","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274287104001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33384763611938816,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843650904130103296,"note":"Value kept but may cause issues"} 
[2026-09-23 08:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133935000,"timestamp_ms":1790133935000,"timestamp_seconds":1790133935,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4c1b98"} 
[2026-09-23 08:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-23 08:55:43] 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-09-23 08: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-09-23 08:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274287104001,"66":14613,"163":206,"94":10240,"24":18,"16":33384763611938816,"45":843650904130103296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274287104001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:55:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:55:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33384763611938816,"km_value":33384763611938.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":843650904130103296,"description":"Unknown IO ID 45"} 
[2026-09-23 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274287104001,"power":14613,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":843650904130103296}} 
[2026-09-23 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:55:43] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:55:43] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:55:57] local.INFO: TCP Data received {"connection_id":193044,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:57] local.INFO: Processing buffer {"connection_id":193044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:55:57] local.INFO: IMEI packet received {"connection_id":193044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":193044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:56:03] local.INFO: TCP Data received {"connection_id":193044,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:56:03] local.INFO: Processing buffer {"connection_id":193044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:56:03] local.INFO: IMEI packet received {"connection_id":193044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":193044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:56:05] local.INFO: TCP Data received {"connection_id":193044,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b6400012d1b48800725d408002900b91e..."} 
[2026-09-23 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b6400012d1b48800725d408002900b91e..."} 
[2026-09-23 08:56:05] local.INFO: Processing buffer {"connection_id":193044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b6400012d1b48800725d408002900b91e..."} 
[2026-09-23 08:56:05] local.INFO: Packet analysis {"connection_id":193044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:05] local.INFO: Extracted packet for processing {"connection_id":193044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119919624,"longitude_deg":75.6762752,"latitude_deg":11.9919624,"altitude":41,"angle":185,"satellites":30,"speed":7,"hex_longitude":"2d1b4880","hex_latitude":"0725d408","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274275072001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22596961110589440,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005535041536,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790133888000,"timestamp_ms":1790133888000,"timestamp_seconds":1790133888,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b6400"} 
[2026-09-23 08:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274275072001,"66":14113,"217":206,"83":42752,"24":7,"16":22596961110589440,"45":1965962005535041536},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274275072001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22596961110589440,"km_value":22596961110589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005535041536,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274275072001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1965962005535041536}} 
[2026-09-23 08:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":193044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:05] local.INFO: GPS data processed {"connection_id":193044,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:05] local.INFO: Acknowledgment sent {"connection_id":193044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:05] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:05] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:05] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:56:09] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:09] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:09] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:56:09] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:09] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:09] local.INFO: Packet analysis {"connection_id":193043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:09] local.INFO: Extracted packet for processing {"connection_id":193043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:56: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-09-23 08: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-09-23 08:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":193043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:09] local.INFO: GPS data processed {"connection_id":193043,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:09] local.INFO: Acknowledgment sent {"connection_id":193043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:11] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:11] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:56:11] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:56:11] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4c1f80012d0bb340070719d8001300e720..."} 
[2026-09-23 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4c1f80012d0bb340070719d8001300e720..."} 
[2026-09-23 08:56:11] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4c1f80012d0bb340070719d8001300e720..."} 
[2026-09-23 08:56:11] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:11] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117905880,"longitude_deg":75.5741504,"latitude_deg":11.790588,"altitude":19,"angle":231,"satellites":32,"speed":17,"hex_longitude":"2d0bb340","hex_latitude":"070719d8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274287360001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33384785086775296,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797897469952,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:11] 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-09-23 08:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790133936000,"timestamp_ms":1790133936000,"timestamp_seconds":1790133936,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4c1f80"} 
[2026-09-23 08:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:11] 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-09-23 08: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-09-23 08:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274287360001,"66":14439,"163":206,"94":10240,"24":17,"16":33384785086775296,"45":843439797897469952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274287360001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:56:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33384785086775296,"km_value":33384785086775.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797897469952,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274287360001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":843439797897469952}} 
[2026-09-23 08:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:11] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:11] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:12] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4c2368012d0bb1c0070718f8001300f720..."} 
[2026-09-23 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4c2368012d0bb1c0070718f8001300f720..."} 
[2026-09-23 08:56:12] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4c2368012d0bb1c0070718f8001300f720..."} 
[2026-09-23 08:56:12] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:12] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":755741120,"raw_latitude":117905656,"longitude_deg":75.574112,"latitude_deg":11.7905656,"altitude":19,"angle":247,"satellites":32,"speed":17,"hex_longitude":"2d0bb1c0","hex_latitude":"070718f8","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274287616001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33384806561611776,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954176497664,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:12] 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-09-23 08:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790133937000,"timestamp_ms":1790133937000,"timestamp_seconds":1790133937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4c2368"} 
[2026-09-23 08:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:12] 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-09-23 08: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-09-23 08:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274287616001,"66":14439,"163":206,"94":10240,"24":17,"16":33384806561611776,"45":843087954176497664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274287616001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:56:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33384806561611776,"km_value":33384806561611.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954176497664,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274287616001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":843087954176497664}} 
[2026-09-23 08:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:12] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:12] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:36] local.INFO: TCP Data received {"connection_id":193044,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b67e8012d1b48400725d338002900c81e..."} 
[2026-09-23 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b67e8012d1b48400725d338002900c81e..."} 
[2026-09-23 08:56:36] local.INFO: Processing buffer {"connection_id":193044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b67e8012d1b48400725d338002900c81e..."} 
[2026-09-23 08:56:36] local.INFO: Packet analysis {"connection_id":193044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:36] local.INFO: Extracted packet for processing {"connection_id":193044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919416,"longitude_deg":75.6762688,"latitude_deg":11.9919416,"altitude":41,"angle":200,"satellites":30,"speed":9,"hex_longitude":"2d1b4840","hex_latitude":"0725d338","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274275328001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22596969700524032,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005535000576,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790133889000,"timestamp_ms":1790133889000,"timestamp_seconds":1790133889,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b67e8"} 
[2026-09-23 08:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274275328001,"66":14113,"217":206,"83":42752,"24":9,"16":22596969700524032,"45":1965962005535000576},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274275328001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22596969700524032,"km_value":22596969700524.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005535000576,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274275328001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965962005535000576}} 
[2026-09-23 08:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":193044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:36] local.INFO: GPS data processed {"connection_id":193044,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:36] local.INFO: Acknowledgment sent {"connection_id":193044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:37] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:37] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:37] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:56:42] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:42] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:56:42] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:56:43] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:43] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:56:43] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:43] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:56:43] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4c4690012d0ba080070712a80011010320..."} 
[2026-09-23 08:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:43] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:43] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4c4690012d0ba080070712a80011010320..."} 
[2026-09-23 08:56:43] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4c4690012d0ba080070712a80011010320..."} 
[2026-09-23 08:56:43] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:43] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4c"} 
[2026-09-23 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":755736704,"raw_latitude":117904040,"longitude_deg":75.5736704,"latitude_deg":11.790404,"altitude":17,"angle":259,"satellites":32,"speed":28,"hex_longitude":"2d0ba080","hex_latitude":"070712a8","is_valid_coordinates":true} 
[2026-09-23 08:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274287872001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33385029899911168,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842665741711374336,"note":"Value kept but may cause issues"} 
[2026-09-23 08:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790133946000,"timestamp_ms":1790133946000,"timestamp_seconds":1790133946,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4c4690"} 
[2026-09-23 08:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 08:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274287872001,"66":14537,"163":206,"94":10240,"24":28,"16":33385029899911168,"45":842665741711374336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274287872001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33385029899911168,"km_value":33385029899911.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":842665741711374336,"description":"Unknown IO ID 45"} 
[2026-09-23 08:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274287872001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":842665741711374336}} 
[2026-09-23 08:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:56:43] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:56:43] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:03] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:03] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:03] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:57:07] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:07] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:07] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:57:08] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:08] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:08] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:57:09] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b6fb8012d1b47000725d140002a00d51e..."} 
[2026-09-23 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b6fb8012d1b47000725d140002a00d51e..."} 
[2026-09-23 08:57:09] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b6fb8012d1b47000725d140002a00d51e..."} 
[2026-09-23 08:57:09] local.INFO: Packet analysis {"connection_id":190193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:09] local.INFO: Extracted packet for processing {"connection_id":190193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119918912,"longitude_deg":75.6762368,"latitude_deg":11.9918912,"altitude":42,"angle":213,"satellites":30,"speed":13,"hex_longitude":"2d1b4700","hex_latitude":"0725d140","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274275584001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22596999765295104,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790769664,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133891000,"timestamp_ms":1790133891000,"timestamp_seconds":1790133891,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b6fb8"} 
[2026-09-23 08:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57: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-09-23 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 08:57:09] 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-09-23 08: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-09-23 08:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274275584001,"66":14374,"217":206,"83":42752,"24":13,"16":22596999765295104,"45":1965891636790769664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274275584001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22596999765295104,"km_value":22596999765295.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790769664,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274275584001,"power":14374,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1965891636790769664}} 
[2026-09-23 08:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:09] local.INFO: GPS data processed {"connection_id":190193,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:09] local.INFO: Acknowledgment sent {"connection_id":190193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:10] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:57:10] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:10] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:57:15] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:15] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:15] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:15] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 08:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 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-09-23 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:57: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-09-23 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-09-23 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-09-23 08:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:15] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:15] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:16] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:16] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:57:16] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:57:16] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4d63b8012d0afc0007067e28000600cd1f..."} 
[2026-09-23 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4d63b8012d0afc0007067e28000600cd1f..."} 
[2026-09-23 08:57:17] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4d63b8012d0afc0007067e28000600cd1f..."} 
[2026-09-23 08:57:17] local.INFO: Packet analysis {"connection_id":190367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:17] local.INFO: Extracted packet for processing {"connection_id":190367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:17] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117866024,"longitude_deg":75.5694592,"latitude_deg":11.7866024,"altitude":6,"angle":205,"satellites":31,"speed":18,"hex_longitude":"2d0afc00","hex_latitude":"07067e28","is_valid_coordinates":true} 
[2026-09-23 08:57: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-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274308864001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33387976247476224,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664684066816,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] 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-09-23 08:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790134019000,"timestamp_ms":1790134019000,"timestamp_seconds":1790134019,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4d63b8"} 
[2026-09-23 08:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57:17] 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-09-23 08:57: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-09-23 08:57: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-09-23 08:57: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-09-23 08:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274308864001,"66":14396,"163":206,"94":10240,"24":18,"16":33387976247476224,"45":791507664684066816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274308864001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33387976247476224,"km_value":33387976247476.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664684066816,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274308864001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":791507664684066816}} 
[2026-09-23 08:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":190367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:17] local.INFO: GPS data processed {"connection_id":190367,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:17] local.INFO: Acknowledgment sent {"connection_id":190367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:17] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4d7358012d0af90007067810000700e11f..."} 
[2026-09-23 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4d7358012d0af90007067810000700e11f..."} 
[2026-09-23 08:57:17] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4d7358012d0af90007067810000700e11f..."} 
[2026-09-23 08:57:17] local.INFO: Packet analysis {"connection_id":190367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:17] local.INFO: Extracted packet for processing {"connection_id":190367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:17] local.INFO: GPS Element Parsed {"raw_longitude":755693824,"raw_latitude":117864464,"longitude_deg":75.5693824,"latitude_deg":11.7864464,"altitude":7,"angle":225,"satellites":31,"speed":15,"hex_longitude":"2d0af900","hex_latitude":"07067810","is_valid_coordinates":true} 
[2026-09-23 08:57: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-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274308864001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33388062146822144,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664684066816,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:17] 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-09-23 08:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790134023000,"timestamp_ms":1790134023000,"timestamp_seconds":1790134023,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4d7358"} 
[2026-09-23 08:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57:17] 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-09-23 08:57: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-09-23 08:57: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-09-23 08:57: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-09-23 08:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274308864001,"66":14352,"163":206,"94":10240,"24":15,"16":33388062146822144,"45":791507664684066816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274308864001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33388062146822144,"km_value":33388062146822.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664684066816,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274308864001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":791507664684066816}} 
[2026-09-23 08:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":190367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:17] local.INFO: GPS data processed {"connection_id":190367,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:17] local.INFO: Acknowledgment sent {"connection_id":190367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:32] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:32] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:32] local.INFO: IMEI packet received {"connection_id":191714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:57:37] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:37] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:57:37] local.INFO: IMEI packet received {"connection_id":191714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":191714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:57:38] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:38] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:57:38] local.INFO: Packet analysis {"connection_id":191714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:38] local.INFO: Extracted packet for processing {"connection_id":191714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:57: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-09-23 08: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-09-23 08:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":191714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:38] local.INFO: GPS data processed {"connection_id":191714,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:38] local.INFO: Acknowledgment sent {"connection_id":191714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:40] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4b9e98012d1b41c00725c858002b00bb1e..."} 
[2026-09-23 08:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4b9e98012d1b41c00725c858002b00bb1e..."} 
[2026-09-23 08:57:40] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4b9e98012d1b41c00725c858002b00bb1e..."} 
[2026-09-23 08:57:40] local.INFO: Packet analysis {"connection_id":190193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:40] local.INFO: Extracted packet for processing {"connection_id":190193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916632,"longitude_deg":75.6761024,"latitude_deg":11.9916632,"altitude":43,"angle":187,"satellites":30,"speed":7,"hex_longitude":"2d1b41c0","hex_latitude":"0725c858","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274276096001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597128614313984,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793069752320,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790133903000,"timestamp_ms":1790133903000,"timestamp_seconds":1790133903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4b9e98"} 
[2026-09-23 08:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57: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-09-23 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 08:57:40] 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-09-23 08: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-09-23 08:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274276096001,"66":14070,"217":206,"83":42752,"24":7,"16":22597128614313984,"45":1965539793069752320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274276096001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597128614313984,"km_value":22597128614313.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793069752320,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274276096001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1965539793069752320}} 
[2026-09-23 08:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":190193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:40] local.INFO: GPS data processed {"connection_id":190193,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:40] local.INFO: Acknowledgment sent {"connection_id":190193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:40] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:57:40] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:57:40] local.INFO: IMEI packet received {"connection_id":191713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":191713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:57:48] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4d7b28012d0af70007067640000700f31f..."} 
[2026-09-23 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4d7b28012d0af70007067640000700f31f..."} 
[2026-09-23 08:57:48] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4d7b28012d0af70007067640000700f31f..."} 
[2026-09-23 08:57:48] local.INFO: Packet analysis {"connection_id":190367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:48] local.INFO: Extracted packet for processing {"connection_id":190367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":755693312,"raw_latitude":117864000,"longitude_deg":75.5693312,"latitude_deg":11.7864,"altitude":7,"angle":243,"satellites":31,"speed":13,"hex_longitude":"2d0af700","hex_latitude":"07067640","is_valid_coordinates":true} 
[2026-09-23 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274309888001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33388096506560512,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790663239753535488,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] 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-09-23 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790134025000,"timestamp_ms":1790134025000,"timestamp_seconds":1790134025,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4d7b28"} 
[2026-09-23 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:57:48] 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-09-23 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733148416,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3427590864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2801270787,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504109063798784,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1294028801,"corrected_to":0} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151651,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":7061908102807093504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221685959,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2637234176,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84736372929660666,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5458370474975166475,"note":"Value kept but may cause issues"} 
[2026-09-23 08:57:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,163,94,24,241,157,16,158,160,99,45,126,6,31,10,66,48,128,1,240,60,227,204,4,113,205,42,2,44,80,32,239,56,118,7,40,206,96,11],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":204,"original":1294028801,"validated":0},{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-09-23 08:57:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650681526714368,"timestamp_seconds":504650681526714.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274309888001,"66":14276,"163":206,"94":10240,"24":13,"16":33388096506560512,"45":790663239753535488},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274309888001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33388096506560512,"km_value":33388096506560.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":790663239753535488,"description":"Unknown IO ID 45"} 
[2026-09-23 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274309888001,"power":14276,"unknown_163":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":790663239753535488}} 
[2026-09-23 08:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":190367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:57:48] local.INFO: GPS data processed {"connection_id":190367,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:57:48] local.INFO: Acknowledgment sent {"connection_id":190367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:57:55] local.INFO: TCP Data received {"connection_id":190194,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:55] local.INFO: Processing buffer {"connection_id":190194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:55] local.INFO: IMEI packet received {"connection_id":190194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":190194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:57:57] local.INFO: TCP Data received {"connection_id":190194,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:57] local.INFO: Processing buffer {"connection_id":190194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:57:57] local.INFO: IMEI packet received {"connection_id":190194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":190194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:03] local.INFO: TCP Data received {"connection_id":190194,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:03] local.INFO: Processing buffer {"connection_id":190194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:03] local.INFO: IMEI packet received {"connection_id":190194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":190194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:03] local.INFO: TCP Data received {"connection_id":190194,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4ba280012d1b41c00725c798002b00a71e..."} 
[2026-09-23 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4ba280012d1b41c00725c798002b00a71e..."} 
[2026-09-23 08:58:03] local.INFO: Processing buffer {"connection_id":190194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4ba280012d1b41c00725c798002b00a71e..."} 
[2026-09-23 08:58:03] local.INFO: Packet analysis {"connection_id":190194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:03] local.INFO: Extracted packet for processing {"connection_id":190194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916440,"longitude_deg":75.6761024,"latitude_deg":11.991644,"altitude":43,"angle":167,"satellites":30,"speed":6,"hex_longitude":"2d1b41c0","hex_latitude":"0725c798","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274279168001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597141499215872,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441437696,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790133904000,"timestamp_ms":1790133904000,"timestamp_seconds":1790133904,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4ba280"} 
[2026-09-23 08:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:03] 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-09-23 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 08:58:03] 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-09-23 08: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-09-23 08:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274279168001,"66":14070,"217":206,"83":42752,"24":6,"16":22597141499215872,"45":1964062049441437696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274279168001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597141499215872,"km_value":22597141499215.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441437696,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274279168001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1964062049441437696}} 
[2026-09-23 08:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":190194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:04] local.INFO: GPS data processed {"connection_id":190194,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:04] local.INFO: Acknowledgment sent {"connection_id":190194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:04] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:04] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:04] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:58:05] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:05] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:05] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:09] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:09] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:09] local.INFO: Packet analysis {"connection_id":191714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:09] local.INFO: Extracted packet for processing {"connection_id":191714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:58: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-09-23 08: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-09-23 08:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":191714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:09] local.INFO: GPS data processed {"connection_id":191714,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:09] local.INFO: Acknowledgment sent {"connection_id":191714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:10] local.INFO: TCP Data received {"connection_id":190195,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:58:10] local.INFO: Processing buffer {"connection_id":190195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 08:58:10] local.INFO: IMEI packet received {"connection_id":190195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":190195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:58:11] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:11] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:58:11] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:11] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4d86e0012d0af44007067480000800e81f..."} 
[2026-09-23 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4d86e0012d0af44007067480000800e81f..."} 
[2026-09-23 08:58:12] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4d86e0012d0af44007067480000800e81f..."} 
[2026-09-23 08:58:12] local.INFO: Packet analysis {"connection_id":190368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:58:12] local.INFO: Extracted packet for processing {"connection_id":190368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4d"} 
[2026-09-23 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":755692608,"raw_latitude":117863552,"longitude_deg":75.5692608,"latitude_deg":11.7863552,"altitude":8,"angle":232,"satellites":31,"speed":8,"hex_longitude":"2d0af440","hex_latitude":"07067480","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274310400001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33388135161266176,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790100289799995392,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:12] 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-09-23 08:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134028000,"timestamp_ms":1790134028000,"timestamp_seconds":1790134028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4d86e0"} 
[2026-09-23 08:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 08:58: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-09-23 08: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-09-23 08:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274310400001,"66":14309,"163":206,"94":10240,"24":8,"16":33388135161266176,"45":790100289799995392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 08:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274310400001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 08:58:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33388135161266176,"km_value":33388135161266.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":790100289799995392,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274310400001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":790100289799995392}} 
[2026-09-23 08:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":190368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:12] local.INFO: GPS data processed {"connection_id":190368,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:12] local.INFO: Acknowledgment sent {"connection_id":190368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:32] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:32] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:32] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:58:35] local.INFO: TCP Data received {"connection_id":190194,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d1b42000725c640002b00a71d..."} 
[2026-09-23 08:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d1b42000725c640002b00a71d..."} 
[2026-09-23 08:58:35] local.INFO: Processing buffer {"connection_id":190194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d1b42000725c640002b00a71d..."} 
[2026-09-23 08:58:35] local.INFO: Packet analysis {"connection_id":190194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:35] local.INFO: Extracted packet for processing {"connection_id":190194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756761088,"raw_latitude":119916096,"longitude_deg":75.6761088,"latitude_deg":11.9916096,"altitude":43,"angle":167,"satellites":29,"speed":0,"hex_longitude":"2d1b4200","hex_latitude":"0725c640","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274279424001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597158679085056,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441388544,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 08:58:35] 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-09-23 08: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-09-23 08:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274279424001,"66":13298,"217":206,"83":42752,"24":0,"16":22597158679085056,"45":1964062049441388544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274279424001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597158679085056,"km_value":22597158679085.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441388544,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274279424001,"power":13298,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441388544}} 
[2026-09-23 08:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":190194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:35] local.INFO: GPS data processed {"connection_id":190194,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:35] local.INFO: Acknowledgment sent {"connection_id":190194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:37] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:37] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:58:37] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:58:38] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:38] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:58:38] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:38] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:58: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-09-23 08:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:38] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:38] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:43] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4ebf60012d0b4d000705ff280014006e20..."} 
[2026-09-23 08:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4ebf60012d0b4d000705ff280014006e20..."} 
[2026-09-23 08:58:43] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4ebf60012d0b4d000705ff280014006e20..."} 
[2026-09-23 08:58:43] local.INFO: Packet analysis {"connection_id":190368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:58:43] local.INFO: Extracted packet for processing {"connection_id":190368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833512,"longitude_deg":75.5715328,"latitude_deg":11.7833512,"altitude":20,"angle":110,"satellites":32,"speed":10,"hex_longitude":"2d0b4d00","hex_latitude":"0705ff28","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274330368001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390089371385856,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811703494255122432,"note":"Value kept but may cause issues"} 
[2026-09-23 08:58:43] 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-09-23 08:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134108000,"timestamp_ms":1790134108000,"timestamp_seconds":1790134108,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4ebf60"} 
[2026-09-23 08:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 08:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08: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-09-23 08:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274330368001,"66":14515,"165":206,"94":10240,"24":10,"16":33390089371385856,"45":811703494255122432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 08:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274330368001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:58:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 08:58:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390089371385856,"km_value":33390089371385.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":811703494255122432,"description":"Unknown IO ID 45"} 
[2026-09-23 08:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274330368001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":811703494255122432}} 
[2026-09-23 08:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":190368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:58:43] local.INFO: GPS data processed {"connection_id":190368,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:58:43] local.INFO: Acknowledgment sent {"connection_id":190368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:58:59] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:59] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:58:59] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:59:00] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:00] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:00] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:59:02] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:02] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:02] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 08:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:59:04] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4edea0012d1b41400725c7380028000e20..."} 
[2026-09-23 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4edea0012d1b41400725c7380028000e20..."} 
[2026-09-23 08:59:04] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4edea0012d1b41400725c7380028000e20..."} 
[2026-09-23 08:59:04] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:04] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756760896,"raw_latitude":119916344,"longitude_deg":75.6760896,"latitude_deg":11.9916344,"altitude":40,"angle":14,"satellites":32,"speed":2,"hex_longitude":"2d1b4140","hex_latitude":"0725c738","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274333440001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597184448888832,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311952984064,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790134116000,"timestamp_ms":1790134116000,"timestamp_seconds":1790134116,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4edea0"} 
[2026-09-23 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331648,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3427657864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1317836801,"corrected_to":0} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3326083115,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,72,160,210,45,128,197,40,31,10,66,164,198,43,71,240,204,227,37,4,113,205,58,64,239,1,49,2,80,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":204,"original":1317836801,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-23 08:59:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882687628514426880,"timestamp_seconds":2882687628514427.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274333440001,"66":14080,"217":206,"83":42752,"24":2,"16":22597184448888832,"45":1963921311952984064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274333440001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597184448888832,"km_value":22597184448888.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311952984064,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274333440001,"power":14080,"unknown_217":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1963921311952984064}} 
[2026-09-23 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:04] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:04] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:06] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 08:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:59:06] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:06] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:59:09] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:09] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:09] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:59:09] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:59: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-09-23 08: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-09-23 08:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:09] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:09] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:11] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:11] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 08:59:11] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 08:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:59:11] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4ec348012d0b4e000705ff080014005e20..."} 
[2026-09-23 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4ec348012d0b4e000705ff080014005e20..."} 
[2026-09-23 08:59:11] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4ec348012d0b4e000705ff080014005e20..."} 
[2026-09-23 08:59:11] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:11] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833480,"longitude_deg":75.5715584,"latitude_deg":11.783348,"altitude":20,"angle":94,"satellites":32,"speed":8,"hex_longitude":"2d0b4e00","hex_latitude":"0705ff08","is_valid_coordinates":true} 
[2026-09-23 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274331648001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390102256287744,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137789306880,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:11] 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-09-23 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134109000,"timestamp_ms":1790134109000,"timestamp_seconds":1790134109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4ec348"} 
[2026-09-23 08:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59: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-09-23 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274331648001,"66":14515,"165":206,"94":10240,"24":8,"16":33390102256287744,"45":814307137789306880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274331648001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 08:59:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390102256287744,"km_value":33390102256287.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137789306880,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274331648001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814307137789306880}} 
[2026-09-23 08:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:12] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:12] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:32] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:32] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:32] local.INFO: IMEI packet received {"connection_id":191718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 08:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":191718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 08:59:36] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4eea58012d1b41800725c700002800d320..."} 
[2026-09-23 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4eea58012d1b41800725c700002800d320..."} 
[2026-09-23 08:59:36] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4eea58012d1b41800725c700002800d320..."} 
[2026-09-23 08:59:36] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:36] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756760960,"raw_latitude":119916288,"longitude_deg":75.676096,"latitude_deg":11.9916288,"altitude":40,"angle":211,"satellites":32,"speed":0,"hex_longitude":"2d1b4180","hex_latitude":"0725c700","is_valid_coordinates":true} 
[2026-09-23 08: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-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274333696001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597188743856128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311953008640,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790134119000,"timestamp_ms":1790134119000,"timestamp_seconds":1790134119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4eea58"} 
[2026-09-23 08:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331648,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3427678864,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1319372801,"corrected_to":0} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3326083115,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2550213915,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802154,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,217,83,24,241,157,16,72,160,218,45,64,198,40,32,10,66,210,128,197,31,164,1,240,204,227,71,37,4,113,205,140,239,50,2,80,7,43],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":204,"original":1319372801,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-23 08:59:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882319292118990848,"timestamp_seconds":2882319292118991.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 08:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 08:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 08:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 08:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274333696001,"66":14048,"217":206,"83":42752,"24":0,"16":22597188743856128,"45":1963921311953008640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 08:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 08:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274333696001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 08:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597188743856128,"km_value":22597188743856.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311953008640,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274333696001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963921311953008640}} 
[2026-09-23 08:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:36] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:36] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:37] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:37] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 08:59:37] local.INFO: IMEI packet received {"connection_id":191718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 08:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":191718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 08:59:38] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:38] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 08:59:38] local.INFO: Packet analysis {"connection_id":191718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:59:38] local.INFO: Extracted packet for processing {"connection_id":191718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 08:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 08:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 08:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":191718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:38] local.INFO: GPS data processed {"connection_id":191718,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:38] local.INFO: Acknowledgment sent {"connection_id":191718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:43] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4ec730012d0b4e800705ff100014004d20..."} 
[2026-09-23 08:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4ec730012d0b4e800705ff100014004d20..."} 
[2026-09-23 08:59:43] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4ec730012d0b4e800705ff100014004d20..."} 
[2026-09-23 08:59:43] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:43] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 08:59:43] local.INFO: GPS Element Parsed {"raw_longitude":755715712,"raw_latitude":117833488,"longitude_deg":75.5715712,"latitude_deg":11.7833488,"altitude":20,"angle":77,"satellites":32,"speed":5,"hex_longitude":"2d0b4e80","hex_latitude":"0705ff10","is_valid_coordinates":true} 
[2026-09-23 08:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 08:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274331904001,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390110846222336,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766009344,"note":"Value kept but may cause issues"} 
[2026-09-23 08:59:43] 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-09-23 08:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134110000,"timestamp_ms":1790134110000,"timestamp_seconds":1790134110,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4ec730"} 
[2026-09-23 08:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 08:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 08:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 08:59:43] 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-09-23 08:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 08:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 08:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 08:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 08:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 08:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 08:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 08:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 08:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274331904001,"66":14309,"165":206,"94":10240,"24":5,"16":33390110846222336,"45":814588612766009344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 08:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 08:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 08:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274331904001,"description":"Unknown IO ID 0"} 
[2026-09-23 08:59:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 08:59:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 08:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390110846222336,"km_value":33390110846222.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 08:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766009344,"description":"Unknown IO ID 45"} 
[2026-09-23 08:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274331904001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814588612766009344}} 
[2026-09-23 08:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 08:59:43] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-23 08:59:43] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 08:59:57] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:57] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 08:59:57] local.INFO: IMEI packet received {"connection_id":193045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 08:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":193045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:00:02] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:02] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:02] local.INFO: IMEI packet received {"connection_id":193045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":193045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:00:04] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4eee40012d1b41400725c6b8002900e020..."} 
[2026-09-23 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4eee40012d1b41400725c6b8002900e020..."} 
[2026-09-23 09:00:04] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4eee40012d1b41400725c6b8002900e020..."} 
[2026-09-23 09:00:04] local.INFO: Packet analysis {"connection_id":193045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 09:00:04] local.INFO: Extracted packet for processing {"connection_id":193045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4e"} 
[2026-09-23 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756760896,"raw_latitude":119916216,"longitude_deg":75.6760896,"latitude_deg":11.9916216,"altitude":41,"angle":224,"satellites":32,"speed":4,"hex_longitude":"2d1b4140","hex_latitude":"0725c6b8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274334464001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597193038823424,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963991680697171968,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790134120000,"timestamp_ms":1790134120000,"timestamp_seconds":1790134120,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4eee40"} 
[2026-09-23 09:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 09:00:04] 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-09-23 09: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-09-23 09:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274334464001,"66":14048,"217":206,"83":42752,"24":4,"16":22597193038823424,"45":1963991680697171968},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274334464001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597193038823424,"km_value":22597193038823.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963991680697171968,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274334464001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1963991680697171968}} 
[2026-09-23 09:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":193045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:04] local.INFO: GPS data processed {"connection_id":193045,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:04] local.INFO: Acknowledgment sent {"connection_id":193045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:06] local.INFO: TCP Data received {"connection_id":193046,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:06] local.INFO: Processing buffer {"connection_id":193046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:06] local.INFO: IMEI packet received {"connection_id":193046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":193046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:00:08] local.INFO: TCP Data received {"connection_id":193046,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193046,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:08] local.INFO: Processing buffer {"connection_id":193046,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:00:08] local.INFO: IMEI packet received {"connection_id":193046,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":193046,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:00:09] local.INFO: TCP Data received {"connection_id":193046,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4f1550012d0b4ec00705ff780013004d1e..."} 
[2026-09-23 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4f1550012d0b4ec00705ff780013004d1e..."} 
[2026-09-23 09:00:09] local.INFO: Processing buffer {"connection_id":193046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4f1550012d0b4ec00705ff780013004d1e..."} 
[2026-09-23 09:00:09] local.INFO: Packet analysis {"connection_id":193046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:09] local.INFO: Extracted packet for processing {"connection_id":193046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:09] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833592,"longitude_deg":75.5715776,"latitude_deg":11.7833592,"altitude":19,"angle":77,"satellites":30,"speed":0,"hex_longitude":"2d0b4ec0","hex_latitude":"0705ff78","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274332160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390115141189632,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814729350254366720,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:09] 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-09-23 09:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790134130000,"timestamp_ms":1790134130000,"timestamp_seconds":1790134130,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4f1550"} 
[2026-09-23 09:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00: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-09-23 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 09:00:09] 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-09-23 09: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-09-23 09:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274332160001,"66":13961,"165":206,"94":10240,"24":0,"16":33390115141189632,"45":814729350254366720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274332160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:00:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390115141189632,"km_value":33390115141189.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":814729350254366720,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274332160001,"power":13961,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814729350254366720}} 
[2026-09-23 09:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":193046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:09] local.INFO: GPS data processed {"connection_id":193046,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:09] local.INFO: Acknowledgment sent {"connection_id":193046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:10] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:10] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:10] local.INFO: Packet analysis {"connection_id":191718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 09:00:10] local.INFO: Extracted packet for processing {"connection_id":191718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 09:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":191718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:10] local.INFO: GPS data processed {"connection_id":191718,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:10] local.INFO: Acknowledgment sent {"connection_id":191718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:32] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:32] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:32] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:00:36] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4f1550012d1b40800725c670002900f120..."} 
[2026-09-23 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4f1550012d1b40800725c670002900f120..."} 
[2026-09-23 09:00:36] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4f1550012d1b40800725c670002900f120..."} 
[2026-09-23 09:00:36] local.INFO: Packet analysis {"connection_id":193045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:36] local.INFO: Extracted packet for processing {"connection_id":193045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916144,"longitude_deg":75.6760704,"latitude_deg":11.9916144,"altitude":41,"angle":241,"satellites":32,"speed":1,"hex_longitude":"2d1b4080","hex_latitude":"0725c670","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274334720001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22597205923725312,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311952975872,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790134130000,"timestamp_ms":1790134130000,"timestamp_seconds":1790134130,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4f1550"} 
[2026-09-23 09:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 09:00:36] 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-09-23 09: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-09-23 09:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274334720001,"66":14298,"217":206,"83":42752,"24":1,"16":22597205923725312,"45":1963921311952975872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274334720001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22597205923725312,"km_value":22597205923725.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311952975872,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274334720001,"power":14298,"unknown_217":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1963921311952975872}} 
[2026-09-23 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":193045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:36] local.INFO: GPS data processed {"connection_id":193045,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:36] local.INFO: Acknowledgment sent {"connection_id":193045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:37] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:37] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:00:37] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:00:38] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:38] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4bf488012d34c18006aa4440000800d127..."} 
[2026-09-23 09:00:38] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 09:00:38] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4b"} 
[2026-09-23 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274207744001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790133925000,"timestamp_ms":1790133925000,"timestamp_seconds":1790133925,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4bf488"} 
[2026-09-23 09:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:00: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-09-23 09:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274207744001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274207744001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274207744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:38] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:38] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:40] local.INFO: TCP Data received {"connection_id":193046,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4f2cc0012d0b4f80070600b0001300201f..."} 
[2026-09-23 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4f2cc0012d0b4f80070600b0001300201f..."} 
[2026-09-23 09:00:40] local.INFO: Processing buffer {"connection_id":193046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4f2cc0012d0b4f80070600b0001300201f..."} 
[2026-09-23 09:00:40] local.INFO: Packet analysis {"connection_id":193046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:40] local.INFO: Extracted packet for processing {"connection_id":193046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:00:40] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117833904,"longitude_deg":75.5715968,"latitude_deg":11.7833904,"altitude":19,"angle":32,"satellites":31,"speed":3,"hex_longitude":"2d0b4f80","hex_latitude":"070600b0","is_valid_coordinates":true} 
[2026-09-23 09:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274337280001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390132321058816,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998571008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:00:40] 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-09-23 09:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790134136000,"timestamp_ms":1790134136000,"timestamp_seconds":1790134136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4f2cc0"} 
[2026-09-23 09:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:00: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-09-23 09:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 09:00: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-09-23 09:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193046,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274337280001,"66":14537,"165":206,"94":10240,"24":3,"16":33390132321058816,"45":814799718998571008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274337280001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:00:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:00:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390132321058816,"km_value":33390132321058.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998571008,"description":"Unknown IO ID 45"} 
[2026-09-23 09:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274337280001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":814799718998571008}} 
[2026-09-23 09:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":193046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:00:40] local.INFO: GPS data processed {"connection_id":193046,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:00:40] local.INFO: Acknowledgment sent {"connection_id":193046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:00:57] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:57] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:57] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:00:58] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:00:58] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:00:58] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:01:03] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:01:03] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:01:03] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:01:06] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:06] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:06] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:01:07] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:07] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:07] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:01:10] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:10] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:10] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:01:10] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 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-09-23 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:01:10] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:01:10] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:01:11] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:11] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:01:11] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:01:11] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4f4c00012d0b5300070608780013001420..."} 
[2026-09-23 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4f4c00012d0b5300070608780013001420..."} 
[2026-09-23 09:01:11] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4f4c00012d0b5300070608780013001420..."} 
[2026-09-23 09:01:11] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:01:11] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":755716864,"raw_latitude":117835896,"longitude_deg":75.5716864,"latitude_deg":11.7835896,"altitude":19,"angle":20,"satellites":32,"speed":13,"hex_longitude":"2d0b5300","hex_latitude":"07060878","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274338816001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390239695241216,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231183872,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:11] 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-09-23 09:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134144000,"timestamp_ms":1790134144000,"timestamp_seconds":1790134144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4f4c00"} 
[2026-09-23 09:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 09:01:11] 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-09-23 09: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-09-23 09:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274338816001,"66":14461,"165":206,"94":10240,"24":13,"16":33390239695241216,"45":815010825231183872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274338816001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:01:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:01:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390239695241216,"km_value":33390239695241.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231183872,"description":"Unknown IO ID 45"} 
[2026-09-23 09:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274338816001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":815010825231183872}} 
[2026-09-23 09:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:01:12] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:01:12] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:01:37] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:37] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:37] local.INFO: IMEI packet received {"connection_id":191719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":191719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:01:42] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:42] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:01:42] local.INFO: IMEI packet received {"connection_id":191719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":191719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:01:43] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4f9a20012d0b544007060bd0001300151d..."} 
[2026-09-23 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4f9a20012d0b544007060bd0001300151d..."} 
[2026-09-23 09:01:43] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4f9a20012d0b544007060bd0001300151d..."} 
[2026-09-23 09:01:43] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:01:43] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836752,"longitude_deg":75.5717184,"latitude_deg":11.7836752,"altitude":19,"angle":21,"satellites":29,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060bd0","is_valid_coordinates":true} 
[2026-09-23 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274340864001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390286939881472,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815995987650181120,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] 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-09-23 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134164000,"timestamp_ms":1790134164000,"timestamp_seconds":1790134164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4f9a20"} 
[2026-09-23 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:01:43] 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-09-23 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274340864001,"66":14374,"165":206,"94":10240,"24":0,"16":33390286939881472,"45":815995987650181120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274340864001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390286939881472,"km_value":33390286939881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":815995987650181120,"description":"Unknown IO ID 45"} 
[2026-09-23 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274340864001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815995987650181120}} 
[2026-09-23 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:01:43] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:01:43] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:01:43] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:43] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:01:43] local.INFO: Packet analysis {"connection_id":191719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:01:43] local.INFO: Extracted packet for processing {"connection_id":191719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":191719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:01:43] local.INFO: GPS data processed {"connection_id":191719,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:01:43] local.INFO: Acknowledgment sent {"connection_id":191719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:02:06] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:06] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:06] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:02:11] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:11] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:02:11] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:02:11] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc4fec28012d0b544007060bd0001300151a..."} 
[2026-09-23 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc4fec28012d0b544007060bd0001300151a..."} 
[2026-09-23 09:02:11] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc4fec28012d0b544007060bd0001300151a..."} 
[2026-09-23 09:02:11] local.INFO: Packet analysis {"connection_id":191720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:02:11] local.INFO: Extracted packet for processing {"connection_id":191720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc4f"} 
[2026-09-23 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836752,"longitude_deg":75.5717184,"latitude_deg":11.7836752,"altitude":19,"angle":21,"satellites":26,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060bd0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274345984001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390286939881472,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371288576,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:11] 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-09-23 09:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134185000,"timestamp_ms":1790134185000,"timestamp_seconds":1790134185,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc4fec28"} 
[2026-09-23 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-09-23 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274345984001,"66":14396,"165":206,"94":10240,"24":0,"16":33390286939881472,"45":816347831371288576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274345984001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:02:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:02:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390286939881472,"km_value":33390286939881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371288576,"description":"Unknown IO ID 45"} 
[2026-09-23 09:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274345984001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371288576}} 
[2026-09-23 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":191720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:02:12] local.INFO: GPS data processed {"connection_id":191720,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:02:12] local.INFO: Acknowledgment sent {"connection_id":191720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:02:32] local.INFO: TCP Data received {"connection_id":190199,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:32] local.INFO: Processing buffer {"connection_id":190199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:32] local.INFO: IMEI packet received {"connection_id":190199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":190199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:02:37] local.INFO: TCP Data received {"connection_id":190199,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:37] local.INFO: Processing buffer {"connection_id":190199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:02:37] local.INFO: IMEI packet received {"connection_id":190199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":190199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:02:38] local.INFO: TCP Data received {"connection_id":190199,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:02:38] local.INFO: Processing buffer {"connection_id":190199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:02:38] local.INFO: Packet analysis {"connection_id":190199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:02:38] local.INFO: Extracted packet for processing {"connection_id":190199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:02: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-09-23 09: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-09-23 09:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:02: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-09-23 09:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":190199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:02:38] local.INFO: GPS data processed {"connection_id":190199,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:02:38] local.INFO: Acknowledgment sent {"connection_id":190199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:02:42] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc528ff0012d0b298007061370000f00ee20..."} 
[2026-09-23 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc528ff0012d0b298007061370000f00ee20..."} 
[2026-09-23 09:02:42] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc528ff0012d0b298007061370000f00ee20..."} 
[2026-09-23 09:02:42] local.INFO: Packet analysis {"connection_id":191720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:02:42] local.INFO: Extracted packet for processing {"connection_id":191720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755706240,"raw_latitude":117838704,"longitude_deg":75.570624,"latitude_deg":11.7838704,"altitude":15,"angle":238,"satellites":32,"speed":3,"hex_longitude":"2d0b2980","hex_latitude":"07061370","is_valid_coordinates":true} 
[2026-09-23 09:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274395392001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390995609485312,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804385144861591552,"note":"Value kept but may cause issues"} 
[2026-09-23 09:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790134358000,"timestamp_ms":1790134358000,"timestamp_seconds":1790134358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc528ff0"} 
[2026-09-23 09:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274395392001,"66":14461,"165":206,"94":10240,"24":3,"16":33390995609485312,"45":804385144861591552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274395392001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:02:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:02:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390995609485312,"km_value":33390995609485.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":804385144861591552,"description":"Unknown IO ID 45"} 
[2026-09-23 09:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274395392001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":804385144861591552}} 
[2026-09-23 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":191720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:02:43] local.INFO: GPS data processed {"connection_id":191720,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:02:43] local.INFO: Acknowledgment sent {"connection_id":191720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:03:06] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:06] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:06] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:03:07] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:07] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:07] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:03:08] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:08] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:08] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:03:10] local.INFO: TCP Data received {"connection_id":190199,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:10] local.INFO: Processing buffer {"connection_id":190199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:10] local.INFO: Packet analysis {"connection_id":190199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:03:10] local.INFO: Extracted packet for processing {"connection_id":190199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:03:10] 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-09-23 09:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":190199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:03:10] local.INFO: GPS data processed {"connection_id":190199,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:03:10] local.INFO: Acknowledgment sent {"connection_id":190199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:03:11] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:11] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:03:11] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:03:12] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5293d8012d0b294007061340000f00df20..."} 
[2026-09-23 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5293d8012d0b294007061340000f00df20..."} 
[2026-09-23 09:03:12] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5293d8012d0b294007061340000f00df20..."} 
[2026-09-23 09:03:12] local.INFO: Packet analysis {"connection_id":190373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:03:12] local.INFO: Extracted packet for processing {"connection_id":190373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838656,"longitude_deg":75.5706176,"latitude_deg":11.7838656,"altitude":15,"angle":223,"satellites":32,"speed":2,"hex_longitude":"2d0b2940","hex_latitude":"07061340","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274395648001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390999904452608,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804314776117407744,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:12] 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-09-23 09:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134359000,"timestamp_ms":1790134359000,"timestamp_seconds":1790134359,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5293d8"} 
[2026-09-23 09:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274395648001,"66":14461,"165":206,"94":10240,"24":2,"16":33390999904452608,"45":804314776117407744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274395648001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390999904452608,"km_value":33390999904452.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":804314776117407744,"description":"Unknown IO ID 45"} 
[2026-09-23 09:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274395648001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":804314776117407744}} 
[2026-09-23 09:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":190373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:03:12] local.INFO: GPS data processed {"connection_id":190373,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:03:12] local.INFO: Acknowledgment sent {"connection_id":190373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:03:32] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:32] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:32] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:03:37] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:37] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:03:37] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:03:38] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:38] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:03:38] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:03:38] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:03: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-09-23 09: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-09-23 09:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:03: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-09-23 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:03:38] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:03:38] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:03:43] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5297c0012d0b294007061330001000d021..."} 
[2026-09-23 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5297c0012d0b294007061330001000d021..."} 
[2026-09-23 09:03:43] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5297c0012d0b294007061330001000d021..."} 
[2026-09-23 09:03:43] local.INFO: Packet analysis {"connection_id":190373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:03:43] local.INFO: Extracted packet for processing {"connection_id":190373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc52"} 
[2026-09-23 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838640,"longitude_deg":75.5706176,"latitude_deg":11.783864,"altitude":16,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d0b2940","hex_latitude":"07061330","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274395904001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33390999904452608,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373217792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:03:43] 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-09-23 09:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134360000,"timestamp_ms":1790134360000,"timestamp_seconds":1790134360,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5297c0"} 
[2026-09-23 09:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:03:43] 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-09-23 09:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274395904001,"66":14396,"165":206,"94":10240,"24":0,"16":33390999904452608,"45":804244407373217792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274395904001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:03:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:03:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33390999904452608,"km_value":33390999904452.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373217792,"description":"Unknown IO ID 45"} 
[2026-09-23 09:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274395904001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":804244407373217792}} 
[2026-09-23 09:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":190373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:03:43] local.INFO: GPS data processed {"connection_id":190373,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:03:43] local.INFO: Acknowledgment sent {"connection_id":190373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:04:05] local.INFO: TCP Data received {"connection_id":193049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:05] local.INFO: Processing buffer {"connection_id":193049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:05] local.INFO: IMEI packet received {"connection_id":193049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":193049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:04:10] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:10] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:10] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:04:10] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:04:10] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:04:10] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:04:11] local.INFO: TCP Data received {"connection_id":193049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:11] local.INFO: Processing buffer {"connection_id":193049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:04:11] local.INFO: IMEI packet received {"connection_id":193049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":193049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:04:11] local.INFO: TCP Data received {"connection_id":193049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:11] local.INFO: Processing buffer {"connection_id":193049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:11] local.INFO: Packet analysis {"connection_id":193049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:04:11] local.INFO: Extracted packet for processing {"connection_id":193049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:04:11] local.INFO: GPS Element Parsed {"raw_longitude":755694336,"raw_latitude":117807640,"longitude_deg":75.5694336,"latitude_deg":11.780764,"altitude":24,"angle":249,"satellites":33,"speed":12,"hex_longitude":"2d0afb00","hex_latitude":"07059a18","is_valid_coordinates":true} 
[2026-09-23 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274411008001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33393001359212544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026342406144,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:11] 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-09-23 09:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134438000,"timestamp_ms":1790134438000,"timestamp_seconds":1790134438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc53c870"} 
[2026-09-23 09:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:04: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-09-23 09:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274411008001,"66":14548,"165":206,"94":10240,"24":12,"16":33393001359212544,"45":801500026342406144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274411008001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:04:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:04:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33393001359212544,"km_value":33393001359212.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026342406144,"description":"Unknown IO ID 45"} 
[2026-09-23 09:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274411008001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":801500026342406144}} 
[2026-09-23 09:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":193049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:04:12] local.INFO: GPS data processed {"connection_id":193049,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:04:12] local.INFO: Acknowledgment sent {"connection_id":193049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:04:32] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:32] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:32] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:04:37] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:37] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:04:37] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:04:38] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:38] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:04:38] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:04:38] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:04: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-09-23 09:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:04: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-09-23 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":191721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:04:38] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:04:38] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:04:41] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:04:41] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:04:41] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:04:42] local.INFO: TCP Data received {"connection_id":193049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:42] local.INFO: Processing buffer {"connection_id":193049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:04:42] local.INFO: Packet analysis {"connection_id":193049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:04:42] local.INFO: Extracted packet for processing {"connection_id":193049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":755694336,"raw_latitude":117807640,"longitude_deg":75.5694336,"latitude_deg":11.780764,"altitude":24,"angle":249,"satellites":33,"speed":12,"hex_longitude":"2d0afb00","hex_latitude":"07059a18","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274416128001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33393001359212544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791226189692409856,"note":"Value kept but may cause issues"} 
[2026-09-23 09:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790134438000,"timestamp_ms":1790134438000,"timestamp_seconds":1790134438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc53c870"} 
[2026-09-23 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 09:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274416128001,"66":14548,"165":206,"94":10240,"24":12,"16":33393001359212544,"45":791226189692409856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274416128001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:04:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:04:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33393001359212544,"km_value":33393001359212.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":791226189692409856,"description":"Unknown IO ID 45"} 
[2026-09-23 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274416128001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":791226189692409856}} 
[2026-09-23 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":193049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:04:42] local.INFO: GPS data processed {"connection_id":193049,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:04:42] local.INFO: Acknowledgment sent {"connection_id":193049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:04:50] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 09:04:50] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 09:04:50] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:05:05] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:05] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:05] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:05:09] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:09] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:09] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:05:09] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:09] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:09] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:05:09] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:05: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-09-23 09: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-09-23 09:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":191721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:05:09] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:05:09] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:05:10] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:10] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:10] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:05:11] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:11] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:05:11] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:05:12] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:05:12] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc53c870012d0afb0007059a18001800f921..."} 
[2026-09-23 09:05:12] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:05:12] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc53"} 
[2026-09-23 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":755694336,"raw_latitude":117807640,"longitude_deg":75.5694336,"latitude_deg":11.780764,"altitude":24,"angle":249,"satellites":33,"speed":12,"hex_longitude":"2d0afb00","hex_latitude":"07059a18","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274416128001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33393001359212544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791226189692409856,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:12] 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-09-23 09:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134438000,"timestamp_ms":1790134438000,"timestamp_seconds":1790134438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc53c870"} 
[2026-09-23 09:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 09:05:12] 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-09-23 09: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-09-23 09:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274416128001,"66":14548,"165":206,"94":10240,"24":12,"16":33393001359212544,"45":791226189692409856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274416128001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:05:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:05:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33393001359212544,"km_value":33393001359212.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":791226189692409856,"description":"Unknown IO ID 45"} 
[2026-09-23 09:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274416128001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":791226189692409856}} 
[2026-09-23 09:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883997,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:05:12] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:05:12] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:05:32] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:32] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:32] local.INFO: IMEI packet received {"connection_id":190203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:05:37] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:37] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:05:37] local.INFO: IMEI packet received {"connection_id":190203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:05:38] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:38] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc508c50012d34c18006aa4440000800d127..."} 
[2026-09-23 09:05:38] local.INFO: Packet analysis {"connection_id":190203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:05:38] local.INFO: Extracted packet for processing {"connection_id":190203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc50"} 
[2026-09-23 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274284800001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134226000,"timestamp_ms":1790134226000,"timestamp_seconds":1790134226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc508c50"} 
[2026-09-23 09:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:05: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-09-23 09: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-09-23 09:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:05: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-09-23 09:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274284800001,"66":25647,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274284800001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274284800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:05:38] local.INFO: GPS data processed {"connection_id":190203,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:05:38] local.INFO: Acknowledgment sent {"connection_id":190203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:05:43] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc554358012d0a84c00705a8c80011011e20..."} 
[2026-09-23 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc554358012d0a84c00705a8c80011011e20..."} 
[2026-09-23 09:05:43] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc554358012d0a84c00705a8c80011011e20..."} 
[2026-09-23 09:05:43] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:05:43] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:05:43] local.INFO: GPS Element Parsed {"raw_longitude":755664064,"raw_latitude":117811400,"longitude_deg":75.5664064,"latitude_deg":11.78114,"altitude":17,"angle":286,"satellites":32,"speed":11,"hex_longitude":"2d0a84c0","hex_latitude":"0705a8c8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274440704001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33394736526000128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248674017280,"note":"Value kept but may cause issues"} 
[2026-09-23 09:05:43] 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-09-23 09:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134535000,"timestamp_ms":1790134535000,"timestamp_seconds":1790134535,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc554358"} 
[2026-09-23 09:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274440704001,"66":14428,"153":206,"94":10240,"24":11,"16":33394736526000128,"45":758223248674017280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274440704001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:05:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:05:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33394736526000128,"km_value":33394736526000.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248674017280,"description":"Unknown IO ID 45"} 
[2026-09-23 09:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274440704001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":758223248674017280}} 
[2026-09-23 09:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:05:43] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:05:43] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:07] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:07] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:07] local.INFO: IMEI packet received {"connection_id":193051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":193051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:06:08] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc54e1b0012d1b7680072573d00024006526..."} 
[2026-09-23 09:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc54e1b0012d1b7680072573d00024006526..."} 
[2026-09-23 09:06:08] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc54e1b0012d1b7680072573d00024006526..."} 
[2026-09-23 09:06:08] local.INFO: Packet analysis {"connection_id":193051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc54"} 
[2026-09-23 09:06:08] local.INFO: Extracted packet for processing {"connection_id":193051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc54"} 
[2026-09-23 09:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119894992,"longitude_deg":75.6774528,"latitude_deg":11.9894992,"altitude":36,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d1b7680","hex_latitude":"072573d0","is_valid_coordinates":true} 
[2026-09-23 09:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274429184001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22598919615676416,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854457384960,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790134510000,"timestamp_ms":1790134510000,"timestamp_seconds":1790134510,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc54e1b0"} 
[2026-09-23 09:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06: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-09-23 09:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274429184001,"66":12776,"216":206,"83":42752,"24":0,"16":22598919615676416,"45":1978909854457384960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274429184001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22598919615676416,"km_value":22598919615676.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854457384960,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274429184001,"power":12776,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978909854457384960}} 
[2026-09-23 09:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":193051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:08] local.INFO: GPS data processed {"connection_id":193051,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:08] local.INFO: Acknowledgment sent {"connection_id":193051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:10] local.INFO: TCP Data received {"connection_id":190203,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:10] local.INFO: Processing buffer {"connection_id":190203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:10] local.INFO: Packet analysis {"connection_id":190203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:10] local.INFO: Extracted packet for processing {"connection_id":190203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06: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-09-23 09:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":190203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:10] local.INFO: GPS data processed {"connection_id":190203,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:10] local.INFO: Acknowledgment sent {"connection_id":190203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:11] local.INFO: TCP Data received {"connection_id":193052,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:11] local.INFO: Processing buffer {"connection_id":193052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:11] local.INFO: IMEI packet received {"connection_id":193052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":193052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:06:14] local.INFO: TCP Data received {"connection_id":193052,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:14] local.INFO: Processing buffer {"connection_id":193052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:06:14] local.INFO: IMEI packet received {"connection_id":193052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":193052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:06:14] local.INFO: TCP Data received {"connection_id":193052,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc554b28012d0a82c00705a9b00011013820..."} 
[2026-09-23 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc554b28012d0a82c00705a9b00011013820..."} 
[2026-09-23 09:06:14] local.INFO: Processing buffer {"connection_id":193052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc554b28012d0a82c00705a9b00011013820..."} 
[2026-09-23 09:06:14] local.INFO: Packet analysis {"connection_id":193052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:14] local.INFO: Extracted packet for processing {"connection_id":193052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811632,"longitude_deg":75.5663552,"latitude_deg":11.7811632,"altitude":17,"angle":312,"satellites":32,"speed":11,"hex_longitude":"2d0a82c0","hex_latitude":"0705a9b0","is_valid_coordinates":true} 
[2026-09-23 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274440960001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33394766590771200,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757941773697337344,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:14] 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-09-23 09:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790134537000,"timestamp_ms":1790134537000,"timestamp_seconds":1790134537,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc554b28"} 
[2026-09-23 09:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274440960001,"66":14298,"153":206,"94":10240,"24":11,"16":33394766590771200,"45":757941773697337344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274440960001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:06:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33394766590771200,"km_value":33394766590771.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":757941773697337344,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274440960001,"power":14298,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757941773697337344}} 
[2026-09-23 09:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":193052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:14] local.INFO: GPS data processed {"connection_id":193052,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:14] local.INFO: Acknowledgment sent {"connection_id":193052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:16] local.INFO: TCP Data received {"connection_id":193052,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc554f10012d0a82000705aaa80011014820..."} 
[2026-09-23 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc554f10012d0a82000705aaa80011014820..."} 
[2026-09-23 09:06:16] local.INFO: Processing buffer {"connection_id":193052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc554f10012d0a82000705aaa80011014820..."} 
[2026-09-23 09:06:16] local.INFO: Packet analysis {"connection_id":193052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:16] local.INFO: Extracted packet for processing {"connection_id":193052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811880,"longitude_deg":75.566336,"latitude_deg":11.781188,"altitude":17,"angle":328,"satellites":32,"speed":13,"hex_longitude":"2d0a8200","hex_latitude":"0705aaa8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274441472001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33394779475673088,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743975424,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06: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-09-23 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790134538000,"timestamp_ms":1790134538000,"timestamp_seconds":1790134538,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc554f10"} 
[2026-09-23 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 09:06: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-09-23 09: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-09-23 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274441472001,"66":14515,"153":206,"94":10240,"24":13,"16":33394779475673088,"45":757378823743975424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274441472001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33394779475673088,"km_value":33394779475673.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743975424,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274441472001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757378823743975424}} 
[2026-09-23 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":193052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:16] local.INFO: GPS data processed {"connection_id":193052,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:16] local.INFO: Acknowledgment sent {"connection_id":193052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:37] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:37] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:37] local.INFO: IMEI packet received {"connection_id":193054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":193054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:06:39] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552fd0012d1b7680072573d00024006525..."} 
[2026-09-23 09:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552fd0012d1b7680072573d00024006525..."} 
[2026-09-23 09:06:39] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552fd0012d1b7680072573d00024006525..."} 
[2026-09-23 09:06:39] local.INFO: Packet analysis {"connection_id":193051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:39] local.INFO: Extracted packet for processing {"connection_id":193051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119894992,"longitude_deg":75.6774528,"latitude_deg":11.9894992,"altitude":36,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d1b7680","hex_latitude":"072573d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274434560001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22598919615676416,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854457384960,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790134530000,"timestamp_ms":1790134530000,"timestamp_seconds":1790134530,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552fd0"} 
[2026-09-23 09:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274434560001,"66":14004,"216":206,"83":42752,"24":0,"16":22598919615676416,"45":1978909854457384960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274434560001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22598919615676416,"km_value":22598919615676.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854457384960,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274434560001,"power":14004,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978909854457384960}} 
[2026-09-23 09:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":193051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:39] local.INFO: GPS data processed {"connection_id":193051,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:39] local.INFO: Acknowledgment sent {"connection_id":193051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:42] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:42] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:06:42] local.INFO: IMEI packet received {"connection_id":193054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":193054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:06:43] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:43] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:43] local.INFO: Packet analysis {"connection_id":193054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:43] local.INFO: Extracted packet for processing {"connection_id":193054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":193054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:43] local.INFO: GPS data processed {"connection_id":193054,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:43] local.INFO: Acknowledgment sent {"connection_id":193054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:47] local.INFO: TCP Data received {"connection_id":193052,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc555eb0012d0a7f800705b0b8001101531f..."} 
[2026-09-23 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc555eb0012d0a7f800705b0b8001101531f..."} 
[2026-09-23 09:06:47] local.INFO: Processing buffer {"connection_id":193052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc555eb0012d0a7f800705b0b8001101531f..."} 
[2026-09-23 09:06:47] local.INFO: Packet analysis {"connection_id":193052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:47] local.INFO: Extracted packet for processing {"connection_id":193052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":755662720,"raw_latitude":117813432,"longitude_deg":75.566272,"latitude_deg":11.7813432,"altitude":17,"angle":339,"satellites":31,"speed":19,"hex_longitude":"2d0a7f80","hex_latitude":"0705b0b8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274441728001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33394861080051712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511505920,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06: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-09-23 09:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790134542000,"timestamp_ms":1790134542000,"timestamp_seconds":1790134542,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc555eb0"} 
[2026-09-23 09:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06: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-09-23 09: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":179,"data_length":795,"current_offset":136} 
[2026-09-23 09:06: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-09-23 09: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-09-23 09:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274441728001,"66":14428,"153":206,"94":10240,"24":19,"16":33394861080051712,"45":757167717511505920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274441728001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33394861080051712,"km_value":33394861080051.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511505920,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274441728001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":757167717511505920}} 
[2026-09-23 09:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":193052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:47] local.INFO: GPS data processed {"connection_id":193052,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:47] local.INFO: Acknowledgment sent {"connection_id":193052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:47] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:47] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:06:47] local.INFO: Packet analysis {"connection_id":193054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:47] local.INFO: Extracted packet for processing {"connection_id":193054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":193054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:06:47] local.INFO: GPS data processed {"connection_id":193054,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:06:47] local.INFO: Acknowledgment sent {"connection_id":193054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:06:57] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:57] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:06:57] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:07:02] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:02] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:02] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:07:06] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:06] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:06] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:07:06] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:06] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:06] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:07:07] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:07] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:07] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:07:07] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc561260012d1b6e8007256e88002900bf25..."} 
[2026-09-23 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc561260012d1b6e8007256e88002900bf25..."} 
[2026-09-23 09:07:07] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc561260012d1b6e8007256e88002900bf25..."} 
[2026-09-23 09:07:07] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:07] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756772480,"raw_latitude":119893640,"longitude_deg":75.677248,"latitude_deg":11.989364,"altitude":41,"angle":191,"satellites":37,"speed":11,"hex_longitude":"2d1b6e80","hex_latitude":"07256e88","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274454016001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22599447896653824,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976798792131852288,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790134588000,"timestamp_ms":1790134588000,"timestamp_seconds":1790134588,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc561260"} 
[2026-09-23 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 09:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274454016001,"66":13939,"216":206,"83":42752,"24":11,"16":22599447896653824,"45":1976798792131852288},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274454016001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22599447896653824,"km_value":22599447896653.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976798792131852288,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274454016001,"power":13939,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1976798792131852288}} 
[2026-09-23 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":191724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:07] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:07] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:08] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:08] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:07:08] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:07:08] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc569348012d0a740007060560000f009a22..."} 
[2026-09-23 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc569348012d0a740007060560000f009a22..."} 
[2026-09-23 09:07:08] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc569348012d0a740007060560000f009a22..."} 
[2026-09-23 09:07:08] local.INFO: Packet analysis {"connection_id":190204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:08] local.INFO: Extracted packet for processing {"connection_id":190204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:08] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117835104,"longitude_deg":75.5659776,"latitude_deg":11.7835104,"altitude":15,"angle":154,"satellites":34,"speed":2,"hex_longitude":"2d0a7400","hex_latitude":"07060560","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274461952001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396025016188928,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099377664,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:08] 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-09-23 09:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790134621000,"timestamp_ms":1790134621000,"timestamp_seconds":1790134621,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc569348"} 
[2026-09-23 09:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:07: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-09-23 09: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-09-23 09:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274461952001,"66":14352,"153":206,"94":10240,"24":2,"16":33396025016188928,"45":753156699099377664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274461952001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:07:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396025016188928,"km_value":33396025016188.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099377664,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274461952001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753156699099377664}} 
[2026-09-23 09:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:08] local.INFO: GPS data processed {"connection_id":190204,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:08] local.INFO: Acknowledgment sent {"connection_id":190204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:11] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc569f00012d0a74c0070604b0000f008e22..."} 
[2026-09-23 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc569f00012d0a74c0070604b0000f008e22..."} 
[2026-09-23 09:07:11] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc569f00012d0a74c0070604b0000f008e22..."} 
[2026-09-23 09:07:11] local.INFO: Packet analysis {"connection_id":190204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:11] local.INFO: Extracted packet for processing {"connection_id":190204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834928,"longitude_deg":75.5659968,"latitude_deg":11.7834928,"altitude":15,"angle":142,"satellites":34,"speed":2,"hex_longitude":"2d0a74c0","hex_latitude":"070604b0","is_valid_coordinates":true} 
[2026-09-23 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274462976001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396037901090816,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843502080,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] 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-09-23 09:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134624000,"timestamp_ms":1790134624000,"timestamp_seconds":1790134624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc569f00"} 
[2026-09-23 09:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143808,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3428185864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8592875810300362770,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6926254794868785162,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504109201752064,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1444044801,"corrected_to":0} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3860856850,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638805163403161,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":250,"raw_value":4026608906,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2768371712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84735464544077259,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5068044799840256,"corrected_to":0} 
[2026-09-23 09:07:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,153,94,24,241,157,16,165,160,131,45,192,6,15,33,10,66,127,49,128,1,240,92,227,204,5,4,113,205,18,250,114,34,239,56,2,118,7,9,206,224,200],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":204,"original":1444044801,"validated":0},{"io_id":205,"original":1738080462,"validated":0},{"io_id":200,"original":5068044799840256,"validated":0}]} 
[2026-09-23 09:07:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081033381388615680,"timestamp_seconds":1081033381388615.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 09:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274462976001,"66":14396,"153":206,"94":10240,"24":2,"16":33396037901090816,"45":753227067843502080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274462976001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:07:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396037901090816,"km_value":33396037901090.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843502080,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274462976001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753227067843502080}} 
[2026-09-23 09:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":190204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:11] local.INFO: GPS data processed {"connection_id":190204,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:11] local.INFO: Acknowledgment sent {"connection_id":190204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:32] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:32] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:32] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:07:37] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:37] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:07:37] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:07:38] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:07:38] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:07:38] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:07:38] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:07: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-09-23 09: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-09-23 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:07: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-09-23 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:38] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:38] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:38] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5629d0012d1b6e40072567c0002900b427..."} 
[2026-09-23 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5629d0012d1b6e40072567c0002900b427..."} 
[2026-09-23 09:07:38] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5629d0012d1b6e40072567c0002900b427..."} 
[2026-09-23 09:07:38] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:38] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756772416,"raw_latitude":119891904,"longitude_deg":75.6772416,"latitude_deg":11.9891904,"altitude":41,"angle":180,"satellites":39,"speed":10,"hex_longitude":"2d1b6e40","hex_latitude":"072567c0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274454528001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22599533795999744,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976658054643353600,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134594000,"timestamp_ms":1790134594000,"timestamp_seconds":1790134594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5629d0"} 
[2026-09-23 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-23 09:07:38] 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-09-23 09: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-09-23 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274454528001,"66":14048,"216":206,"83":42752,"24":10,"16":22599533795999744,"45":1976658054643353600},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274454528001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22599533795999744,"km_value":22599533795999.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976658054643353600,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274454528001,"power":14048,"unknown_216":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1976658054643353600}} 
[2026-09-23 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":191724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:38] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:38] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:42] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc56a6d0012d0a754007060478000e007922..."} 
[2026-09-23 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc56a6d0012d0a754007060478000e007922..."} 
[2026-09-23 09:07:42] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc56a6d0012d0a754007060478000e007922..."} 
[2026-09-23 09:07:42] local.INFO: Packet analysis {"connection_id":190204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:42] local.INFO: Extracted packet for processing {"connection_id":190204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117834872,"longitude_deg":75.5660096,"latitude_deg":11.7834872,"altitude":14,"angle":121,"satellites":34,"speed":2,"hex_longitude":"2d0a7540","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-09-23 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274463744001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396046491025408,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075990016,"note":"Value kept but may cause issues"} 
[2026-09-23 09:07:42] 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-09-23 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790134626000,"timestamp_ms":1790134626000,"timestamp_seconds":1790134626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc56a6d0"} 
[2026-09-23 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:07: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-09-23 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274463744001,"66":14407,"153":206,"94":10240,"24":2,"16":33396046491025408,"45":753438174075990016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274463744001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:07:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:07:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396046491025408,"km_value":33396046491025.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075990016,"description":"Unknown IO ID 45"} 
[2026-09-23 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274463744001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753438174075990016}} 
[2026-09-23 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":190204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:07:42] local.INFO: GPS data processed {"connection_id":190204,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:07:42] local.INFO: Acknowledgment sent {"connection_id":190204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:07:57] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:57] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:07:57] local.INFO: IMEI packet received {"connection_id":190205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":190205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:08:03] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:03] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:03] local.INFO: IMEI packet received {"connection_id":190205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":190205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:08:03] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc564140012d1b6d8007256090002900c227..."} 
[2026-09-23 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc564140012d1b6d8007256090002900c227..."} 
[2026-09-23 09:08:03] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc564140012d1b6d8007256090002900c227..."} 
[2026-09-23 09:08:03] local.INFO: Packet analysis {"connection_id":190205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:08:03] local.INFO: Extracted packet for processing {"connection_id":190205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119890064,"longitude_deg":75.6772224,"latitude_deg":11.9890064,"altitude":41,"angle":194,"satellites":39,"speed":12,"hex_longitude":"2d1b6d80","hex_latitude":"07256090","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274456064001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22599623990312960,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976587685898731520,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790134600000,"timestamp_ms":1790134600000,"timestamp_seconds":1790134600,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc564140"} 
[2026-09-23 09:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:03] 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-09-23 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 09:08: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-09-23 09: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-09-23 09:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274456064001,"66":14298,"216":206,"83":42752,"24":12,"16":22599623990312960,"45":1976587685898731520},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274456064001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22599623990312960,"km_value":22599623990312.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976587685898731520,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274456064001,"power":14298,"unknown_216":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1976587685898731520}} 
[2026-09-23 09:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":190205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:03] local.INFO: GPS data processed {"connection_id":190205,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:03] local.INFO: Acknowledgment sent {"connection_id":190205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:06] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:08:06] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:06] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:08:08] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:08] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:08] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:08:09] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:09] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:09] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:08:09] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09: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-09-23 09: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-09-23 09:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:08: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-09-23 09:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:09] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:09] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:11] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:11] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:08:11] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:08:12] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc56c610012d0a7500070603d0000e010a22..."} 
[2026-09-23 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc56c610012d0a7500070603d0000e010a22..."} 
[2026-09-23 09:08:12] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc56c610012d0a7500070603d0000e010a22..."} 
[2026-09-23 09:08:12] local.INFO: Packet analysis {"connection_id":190206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:08:12] local.INFO: Extracted packet for processing {"connection_id":190206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc56"} 
[2026-09-23 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834704,"longitude_deg":75.5660032,"latitude_deg":11.7834704,"altitude":14,"angle":266,"satellites":34,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"070603d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274464256001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396059375927296,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564331008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:12] 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-09-23 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134634000,"timestamp_ms":1790134634000,"timestamp_seconds":1790134634,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc56c610"} 
[2026-09-23 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08: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-09-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274464256001,"66":14374,"153":206,"94":10240,"24":1,"16":33396059375927296,"45":753578911564331008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274464256001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:08:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396059375927296,"km_value":33396059375927.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564331008,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274464256001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753578911564331008}} 
[2026-09-23 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":190206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:12] local.INFO: GPS data processed {"connection_id":190206,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:12] local.INFO: Acknowledgment sent {"connection_id":190206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:17] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc571430012d0a7500070603c8000e010a21..."} 
[2026-09-23 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc571430012d0a7500070603c8000e010a21..."} 
[2026-09-23 09:08:17] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc571430012d0a7500070603c8000e010a21..."} 
[2026-09-23 09:08:17] local.INFO: Packet analysis {"connection_id":190206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:17] local.INFO: Extracted packet for processing {"connection_id":190206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834696,"longitude_deg":75.5660032,"latitude_deg":11.7834696,"altitude":14,"angle":266,"satellites":33,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"070603c8","is_valid_coordinates":true} 
[2026-09-23 09:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274466304001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396059375927296,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820110336,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790134654000,"timestamp_ms":1790134654000,"timestamp_seconds":1790134654,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc571430"} 
[2026-09-23 09:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:08:17] 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-09-23 09:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274466304001,"66":14450,"153":206,"94":10240,"24":0,"16":33396059375927296,"45":753508542820110336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274466304001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:08:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396059375927296,"km_value":33396059375927.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820110336,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274466304001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753508542820110336}} 
[2026-09-23 09:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":190206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:18] local.INFO: GPS data processed {"connection_id":190206,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:18] local.INFO: Acknowledgment sent {"connection_id":190206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:32] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:32] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:32] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:08:36] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc579ce8012d1b1dc00725a680001e01001f..."} 
[2026-09-23 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc579ce8012d1b1dc00725a680001e01001f..."} 
[2026-09-23 09:08:36] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc579ce8012d1b1dc00725a680001e01001f..."} 
[2026-09-23 09:08:36] local.INFO: Packet analysis {"connection_id":190205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:36] local.INFO: Extracted packet for processing {"connection_id":190205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756751808,"raw_latitude":119907968,"longitude_deg":75.6751808,"latitude_deg":11.9907968,"altitude":30,"angle":256,"satellites":31,"speed":24,"hex_longitude":"2d1b1dc0","hex_latitude":"0725a680","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274478592001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601226013114368,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957728862463311872,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790134689000,"timestamp_ms":1790134689000,"timestamp_seconds":1790134689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc579ce8"} 
[2026-09-23 09:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:36] 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-09-23 09: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":27,"data_length":795,"current_offset":136} 
[2026-09-23 09:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274478592001,"66":14494,"216":206,"83":42752,"24":24,"16":22601226013114368,"45":1957728862463311872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274478592001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601226013114368,"km_value":22601226013114.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957728862463311872,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274478592001,"power":14494,"unknown_216":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1957728862463311872}} 
[2026-09-23 09:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":190205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:36] local.INFO: GPS data processed {"connection_id":190205,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:36] local.INFO: Acknowledgment sent {"connection_id":190205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:37] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:37] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:08:37] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:08:38] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:38] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:08:38] local.INFO: Packet analysis {"connection_id":190377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:08:38] local.INFO: Extracted packet for processing {"connection_id":190377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:08: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-09-23 09: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-09-23 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:08:38] 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-09-23 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":190377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:38] local.INFO: GPS data processed {"connection_id":190377,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:38] local.INFO: Acknowledgment sent {"connection_id":190377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:49] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc574ec8012d0a744007060368000e00fe20..."} 
[2026-09-23 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc574ec8012d0a744007060368000e00fe20..."} 
[2026-09-23 09:08:49] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc574ec8012d0a744007060368000e00fe20..."} 
[2026-09-23 09:08:49] local.INFO: Packet analysis {"connection_id":190206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:49] local.INFO: Extracted packet for processing {"connection_id":190206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834600,"longitude_deg":75.565984,"latitude_deg":11.78346,"altitude":14,"angle":254,"satellites":32,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"07060368","is_valid_coordinates":true} 
[2026-09-23 09:08: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-09-23 09:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274471424001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396067965861888,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820108288,"note":"Value kept but may cause issues"} 
[2026-09-23 09:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790134669000,"timestamp_ms":1790134669000,"timestamp_seconds":1790134669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc574ec8"} 
[2026-09-23 09:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:08: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-09-23 09:08: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-09-23 09:08: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-09-23 09:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190206,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274471424001,"66":14396,"153":206,"94":10240,"24":1,"16":33396067965861888,"45":753508542820108288},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274471424001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:08:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:08:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396067965861888,"km_value":33396067965861.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820108288,"description":"Unknown IO ID 45"} 
[2026-09-23 09:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274471424001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753508542820108288}} 
[2026-09-23 09:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":190206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:08:49] local.INFO: GPS data processed {"connection_id":190206,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:08:49] local.INFO: Acknowledgment sent {"connection_id":190206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:08:57] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:57] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:08:57] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:09:02] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:09:02] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:09:02] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:09:03] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc57b458012d1b13400725a398001900e920..."} 
[2026-09-23 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc57b458012d1b13400725a398001900e920..."} 
[2026-09-23 09:09:03] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc57b458012d1b13400725a398001900e920..."} 
[2026-09-23 09:09:03] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:03] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756749120,"raw_latitude":119907224,"longitude_deg":75.674912,"latitude_deg":11.9907224,"altitude":25,"angle":233,"satellites":32,"speed":9,"hex_longitude":"2d1b1340","hex_latitude":"0725a398","is_valid_coordinates":true} 
[2026-09-23 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274480384001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601359157100544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953928950277636096,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790134695000,"timestamp_ms":1790134695000,"timestamp_seconds":1790134695,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc57b458"} 
[2026-09-23 09:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09:03] 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-09-23 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-23 09:09:03] 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-09-23 09:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274480384001,"66":14428,"216":206,"83":42752,"24":9,"16":22601359157100544,"45":1953928950277636096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274480384001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601359157100544,"km_value":22601359157100.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953928950277636096,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274480384001,"power":14428,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1953928950277636096}} 
[2026-09-23 09:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:03] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:03] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:06] local.INFO: TCP Data received {"connection_id":190207,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:06] local.INFO: Processing buffer {"connection_id":190207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:06] local.INFO: IMEI packet received {"connection_id":190207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":190207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:09:10] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:10] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:10] local.INFO: Packet analysis {"connection_id":190377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:09:10] local.INFO: Extracted packet for processing {"connection_id":190377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:09: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-09-23 09: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-09-23 09:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:10] local.INFO: GPS data processed {"connection_id":190377,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:10] local.INFO: Acknowledgment sent {"connection_id":190377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:11] local.INFO: TCP Data received {"connection_id":190207,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:11] local.INFO: Processing buffer {"connection_id":190207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:09:11] local.INFO: IMEI packet received {"connection_id":190207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":190207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:09:11] local.INFO: TCP Data received {"connection_id":190207,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc57eef0012d0a72800705db48001200aa21..."} 
[2026-09-23 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc57eef0012d0a72800705db48001200aa21..."} 
[2026-09-23 09:09:11] local.INFO: Processing buffer {"connection_id":190207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc57eef0012d0a72800705db48001200aa21..."} 
[2026-09-23 09:09:11] local.INFO: Packet analysis {"connection_id":190207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:11] local.INFO: Extracted packet for processing {"connection_id":190207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117824328,"longitude_deg":75.5659392,"latitude_deg":11.7824328,"altitude":18,"angle":170,"satellites":33,"speed":14,"hex_longitude":"2d0a7280","hex_latitude":"0705db48","is_valid_coordinates":true} 
[2026-09-23 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274485248001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396591951872000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631663616,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:11] 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-09-23 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790134710000,"timestamp_ms":1790134710000,"timestamp_seconds":1790134710,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc57eef0"} 
[2026-09-23 09:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09: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-09-23 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:09: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-09-23 09:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274485248001,"66":14374,"153":206,"94":10240,"24":14,"16":33396591951872000,"45":752734486631663616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274485248001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396591951872000,"km_value":33396591951872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631663616,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274485248001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":752734486631663616}} 
[2026-09-23 09:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":190207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:12] local.INFO: GPS data processed {"connection_id":190207,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:12] local.INFO: Acknowledgment sent {"connection_id":190207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:32] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:32] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:32] local.INFO: IMEI packet received {"connection_id":191728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:09:34] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc57b840012d1b12c00725a318001900d422..."} 
[2026-09-23 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc57b840012d1b12c00725a318001900d422..."} 
[2026-09-23 09:09:34] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc57b840012d1b12c00725a318001900d422..."} 
[2026-09-23 09:09:34] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:34] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc57"} 
[2026-09-23 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756748992,"raw_latitude":119907096,"longitude_deg":75.6748992,"latitude_deg":11.9907096,"altitude":25,"angle":212,"satellites":34,"speed":8,"hex_longitude":"2d1b12c0","hex_latitude":"0725a318","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274481920001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601367747035136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950973463021983744,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790134696000,"timestamp_ms":1790134696000,"timestamp_seconds":1790134696,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc57b840"} 
[2026-09-23 09:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09: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-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:09: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-09-23 09: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-09-23 09:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274481920001,"66":14428,"216":206,"83":42752,"24":8,"16":22601367747035136,"45":1950973463021983744},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-23 09:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274481920001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601367747035136,"km_value":22601367747035.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950973463021983744,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274481920001,"power":14428,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1950973463021983744}} 
[2026-09-23 09:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:34] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:34] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:37] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:37] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:09:37] local.INFO: IMEI packet received {"connection_id":191728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":191728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:09:38] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:38] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:09:38] local.INFO: Packet analysis {"connection_id":191728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:09:38] local.INFO: Extracted packet for processing {"connection_id":191728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:09: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-09-23 09:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":191728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:38] local.INFO: GPS data processed {"connection_id":191728,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:38] local.INFO: Acknowledgment sent {"connection_id":191728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:43] local.INFO: TCP Data received {"connection_id":190207,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc583d10012d0a77000705c2c0001400ae21..."} 
[2026-09-23 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc583d10012d0a77000705c2c0001400ae21..."} 
[2026-09-23 09:09:43] local.INFO: Processing buffer {"connection_id":190207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc583d10012d0a77000705c2c0001400ae21..."} 
[2026-09-23 09:09:43] local.INFO: Packet analysis {"connection_id":190207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:09:43] local.INFO: Extracted packet for processing {"connection_id":190207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117818048,"longitude_deg":75.5660544,"latitude_deg":11.7818048,"altitude":20,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d0a7700","hex_latitude":"0705c2c0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274485760001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396905484484608,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375677440,"note":"Value kept but may cause issues"} 
[2026-09-23 09:09:43] 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-09-23 09:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134730000,"timestamp_ms":1790134730000,"timestamp_seconds":1790134730,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc583d10"} 
[2026-09-23 09:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:09:43] 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-09-23 09: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-09-23 09:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274485760001,"66":13754,"153":206,"94":10240,"24":0,"16":33396905484484608,"45":752804855375677440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274485760001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:09:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:09:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396905484484608,"km_value":33396905484484.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375677440,"description":"Unknown IO ID 45"} 
[2026-09-23 09:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274485760001,"power":13754,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752804855375677440}} 
[2026-09-23 09:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":190207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:09:43] local.INFO: GPS data processed {"connection_id":190207,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:09:43] local.INFO: Acknowledgment sent {"connection_id":190207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:09:46] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:09:46] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:09:46] local.INFO: IMEI packet received {"connection_id":191727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":191727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:10:02] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:02] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:02] local.INFO: IMEI packet received {"connection_id":193055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":193055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:10:05] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:05] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:05] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:10:08] local.INFO: TCP Data received {"connection_id":193056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:10:08] local.INFO: Processing buffer {"connection_id":193056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:10:08] local.INFO: IMEI packet received {"connection_id":193056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":193056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:10:10] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:10] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:10] local.INFO: Packet analysis {"connection_id":191728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:10:10] local.INFO: Extracted packet for processing {"connection_id":191728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 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-09-23 09:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:10: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-09-23 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-09-23 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-09-23 09:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:10: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-09-23 09:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:10:10] local.INFO: GPS data processed {"connection_id":191728,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:10:10] local.INFO: Acknowledgment sent {"connection_id":191728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:10:11] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:11] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:10:11] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:10:12] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc585868012d0a77400705c1e00014009920..."} 
[2026-09-23 09:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc585868012d0a77400705c1e00014009920..."} 
[2026-09-23 09:10:12] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc585868012d0a77400705c1e00014009920..."} 
[2026-09-23 09:10:12] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:10:12] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:10:12] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117817824,"longitude_deg":75.5660608,"latitude_deg":11.7817824,"altitude":20,"angle":153,"satellites":32,"speed":1,"hex_longitude":"2d0a7740","hex_latitude":"0705c1e0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274490880001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396914074419200,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492769267712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:12] 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-09-23 09:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134737000,"timestamp_ms":1790134737000,"timestamp_seconds":1790134737,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc585868"} 
[2026-09-23 09:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-23 09:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274490880001,"66":14450,"153":206,"94":10240,"24":1,"16":33396914074419200,"45":754071492769267712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274490880001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:10:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:10:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396914074419200,"km_value":33396914074419.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492769267712,"description":"Unknown IO ID 45"} 
[2026-09-23 09:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274490880001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":754071492769267712}} 
[2026-09-23 09:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:10:12] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:10:12] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:10:32] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:32] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:32] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:10:37] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:37] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:10:37] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:10:38] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:38] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc552418012d34c18006aa4440000800d129..."} 
[2026-09-23 09:10:38] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:10:38] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc55"} 
[2026-09-23 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274361856001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134527000,"timestamp_ms":1790134527000,"timestamp_seconds":1790134527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc552418"} 
[2026-09-23 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 09:10: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-09-23 09: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-09-23 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274361856001,"66":25702,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274361856001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274361856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:10:38] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:10:38] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:10:40] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:40] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:10:40] local.INFO: IMEI packet received {"connection_id":193055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":193055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:10:40] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:10:40] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:10:40] local.INFO: IMEI packet received {"connection_id":193055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":193055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:10:43] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc585c50012d0a77400705c1c80014008c20..."} 
[2026-09-23 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc585c50012d0a77400705c1c80014008c20..."} 
[2026-09-23 09:10:43] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc585c50012d0a77400705c1c80014008c20..."} 
[2026-09-23 09:10:43] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:10:43] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc58"} 
[2026-09-23 09:10:43] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117817800,"longitude_deg":75.5660608,"latitude_deg":11.78178,"altitude":20,"angle":140,"satellites":32,"speed":0,"hex_longitude":"2d0a7740","hex_latitude":"0705c1c8","is_valid_coordinates":true} 
[2026-09-23 09:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274492672001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33396918369386496,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861513388032,"note":"Value kept but may cause issues"} 
[2026-09-23 09:10:43] 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-09-23 09:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134738000,"timestamp_ms":1790134738000,"timestamp_seconds":1790134738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc585c50"} 
[2026-09-23 09:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:10: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-09-23 09:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 09:10:43] 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-09-23 09:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274492672001,"66":14450,"153":206,"94":10240,"24":0,"16":33396918369386496,"45":754141861513388032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 09:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274492672001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:10:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 09:10:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33396918369386496,"km_value":33396918369386.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861513388032,"description":"Unknown IO ID 45"} 
[2026-09-23 09:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274492672001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":754141861513388032}} 
[2026-09-23 09:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:10:43] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:10:43] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:11:05] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:05] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:05] local.INFO: IMEI packet received {"connection_id":193057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":193057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:11:09] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:09] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:09] local.INFO: IMEI packet received {"connection_id":193057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":193057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:11:09] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:09] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:09] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:09] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 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-09-23 09:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:11: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-09-23 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-09-23 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-09-23 09:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:11: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-09-23 09:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:11:09] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:11:09] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:11:11] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:11] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:11:11] local.INFO: IMEI packet received {"connection_id":193057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":193057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:11:12] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59d738012d0a4f0007057cb8000c015422..."} 
[2026-09-23 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59d738012d0a4f0007057cb8000c015422..."} 
[2026-09-23 09:11:12] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59d738012d0a4f0007057cb8000c015422..."} 
[2026-09-23 09:11:12] local.INFO: Packet analysis {"connection_id":193057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:12] local.INFO: Extracted packet for processing {"connection_id":193057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:12] local.INFO: GPS Element Parsed {"raw_longitude":755650304,"raw_latitude":117800120,"longitude_deg":75.5650304,"latitude_deg":11.780012,"altitude":12,"angle":340,"satellites":34,"speed":5,"hex_longitude":"2d0a4f00","hex_latitude":"07057cb8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274514176001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33398142435065856,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743164337417084928,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:12] 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-09-23 09:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790134835000,"timestamp_ms":1790134835000,"timestamp_seconds":1790134835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59d738"} 
[2026-09-23 09:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:11:12] 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-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274514176001,"66":14428,"165":206,"94":10240,"24":5,"16":33398142435065856,"45":743164337417084928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274514176001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:11:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:11:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33398142435065856,"km_value":33398142435065.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":743164337417084928,"description":"Unknown IO ID 45"} 
[2026-09-23 09:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274514176001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":743164337417084928}} 
[2026-09-23 09:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":193057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:11:12] local.INFO: GPS data processed {"connection_id":193057,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:11:12] local.INFO: Acknowledgment sent {"connection_id":193057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:11:37] local.INFO: TCP Data received {"connection_id":193058,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:37] local.INFO: Processing buffer {"connection_id":193058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:37] local.INFO: IMEI packet received {"connection_id":193058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":193058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:11:42] local.INFO: TCP Data received {"connection_id":193058,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:42] local.INFO: Processing buffer {"connection_id":193058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:11:42] local.INFO: IMEI packet received {"connection_id":193058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":193058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:11:43] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5a2558012d0a4c0007058408000c014a20..."} 
[2026-09-23 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5a2558012d0a4c0007058408000c014a20..."} 
[2026-09-23 09:11:43] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5a2558012d0a4c0007058408000c014a20..."} 
[2026-09-23 09:11:43] local.INFO: Packet analysis {"connection_id":193057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5a"} 
[2026-09-23 09:11:43] local.INFO: Extracted packet for processing {"connection_id":193057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5a"} 
[2026-09-23 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":755649536,"raw_latitude":117801992,"longitude_deg":75.5649536,"latitude_deg":11.7801992,"altitude":12,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d0a4c00","hex_latitude":"07058408","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274517760001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33398245514280960,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742812493696251904,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] 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-09-23 09:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134855000,"timestamp_ms":1790134855000,"timestamp_seconds":1790134855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5a2558"} 
[2026-09-23 09:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:11:43] 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-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274517760001,"66":14439,"165":206,"94":10240,"24":0,"16":33398245514280960,"45":742812493696251904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274517760001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33398245514280960,"km_value":33398245514280.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":742812493696251904,"description":"Unknown IO ID 45"} 
[2026-09-23 09:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274517760001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":742812493696251904}} 
[2026-09-23 09:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":193057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:11:43] local.INFO: GPS data processed {"connection_id":193057,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:11:43] local.INFO: Acknowledgment sent {"connection_id":193057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:11:43] local.INFO: TCP Data received {"connection_id":193058,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:43] local.INFO: Processing buffer {"connection_id":193058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:11:43] local.INFO: Packet analysis {"connection_id":193058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:43] local.INFO: Extracted packet for processing {"connection_id":193058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:11: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-09-23 09:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":193058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:11:43] local.INFO: GPS data processed {"connection_id":193058,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:11:43] local.INFO: Acknowledgment sent {"connection_id":193058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:12:07] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:07] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:07] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:12:08] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:08] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:08] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:12:09] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:09] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:09] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:12:10] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:10] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:12:10] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:12:15] local.INFO: TCP Data received {"connection_id":193058,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:15] local.INFO: Processing buffer {"connection_id":193058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:15] local.INFO: Packet analysis {"connection_id":193058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:12:15] local.INFO: Extracted packet for processing {"connection_id":193058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:12: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-09-23 09:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:12: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-09-23 09:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":193058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:12:15] local.INFO: GPS data processed {"connection_id":193058,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:12:15] local.INFO: Acknowledgment sent {"connection_id":193058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:12:32] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:32] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:32] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:12:37] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:37] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:12:37] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:12:38] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:38] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:12:38] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:12:38] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:12: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-09-23 09:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:12:38] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:12:38] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:13:10] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:10] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:10] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:13:10] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:10] 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-09-23 09:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:13:10] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:13:10] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:13:32] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:32] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:32] local.INFO: IMEI packet received {"connection_id":190211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":190211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:13:37] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:37] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:13:37] local.INFO: IMEI packet received {"connection_id":190211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":190211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:13:38] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:38] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:13:38] local.INFO: Packet analysis {"connection_id":190211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:13:38] local.INFO: Extracted packet for processing {"connection_id":190211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:13: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-09-23 09:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":190211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:13:38] local.INFO: GPS data processed {"connection_id":190211,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:13:38] local.INFO: Acknowledgment sent {"connection_id":190211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:14:09] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:09] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:09] local.INFO: Packet analysis {"connection_id":190211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:14:09] local.INFO: Extracted packet for processing {"connection_id":190211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:14: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-09-23 09:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":190211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:14:09] local.INFO: GPS data processed {"connection_id":190211,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:14:09] local.INFO: Acknowledgment sent {"connection_id":190211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:14:32] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:32] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:32] local.INFO: IMEI packet received {"connection_id":193063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":193063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:14:37] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:37] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:14:37] local.INFO: IMEI packet received {"connection_id":193063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":193063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:14:38] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:38] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:14:38] local.INFO: Packet analysis {"connection_id":193063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:14:38] local.INFO: Extracted packet for processing {"connection_id":193063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:14: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-09-23 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":193063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:14:38] local.INFO: GPS data processed {"connection_id":193063,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:14:38] local.INFO: Acknowledgment sent {"connection_id":193063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:15:10] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:10] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:10] local.INFO: Packet analysis {"connection_id":193063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:10] local.INFO: Extracted packet for processing {"connection_id":193063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:10] 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-09-23 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":193063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:15:10] local.INFO: GPS data processed {"connection_id":193063,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:15:10] local.INFO: Acknowledgment sent {"connection_id":193063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:15:35] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:15:35] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:15:35] local.INFO: IMEI packet received {"connection_id":190383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:15:37] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:37] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:37] local.INFO: IMEI packet received {"connection_id":190212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":190212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:15:42] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:42] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:15:42] local.INFO: IMEI packet received {"connection_id":190212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":190212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:15:43] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:43] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:43] local.INFO: Packet analysis {"connection_id":190212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:43] local.INFO: Extracted packet for processing {"connection_id":190212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:43] 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-09-23 09:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":190212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:15:43] local.INFO: GPS data processed {"connection_id":190212,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:15:43] local.INFO: Acknowledgment sent {"connection_id":190212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:15:49] local.INFO: TCP Data received {"connection_id":190212,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:49] local.INFO: Processing buffer {"connection_id":190212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc59bbe0012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:15:49] local.INFO: Packet analysis {"connection_id":190212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:49] local.INFO: Extracted packet for processing {"connection_id":190212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc59"} 
[2026-09-23 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:15:49] 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-09-23 09:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790134828000,"timestamp_ms":1790134828000,"timestamp_seconds":1790134828,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc59bbe0"} 
[2026-09-23 09:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:15:49] 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-09-23 09:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274438912001,"66":25680,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274438912001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":190212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:15:49] local.INFO: GPS data processed {"connection_id":190212,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:15:49] local.INFO: Acknowledgment sent {"connection_id":190212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:15:57] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:15:57] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:15:57] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:16:02] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:16:02] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:16:02] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:16:03] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5d1b28012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5d1b28012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:16:03] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5d1b28012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:16:03] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:16:03] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274567424001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322213888,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790135049000,"timestamp_ms":1790135049000,"timestamp_seconds":1790135049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5d1b28"} 
[2026-09-23 09:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:16: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-09-23 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274567424001,"66":12841,"217":206,"83":42752,"24":0,"16":22601831603503104,"45":1953366000322213888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274567424001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322213888,"description":"Unknown IO ID 45"} 
[2026-09-23 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274567424001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953366000322213888}} 
[2026-09-23 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:16:03] local.INFO: GPS data processed {"connection_id":191733,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:16:03] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:16:10] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:16:10] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:16:10] local.INFO: IMEI packet received {"connection_id":190214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":190214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:16:33] local.INFO: TCP Data received {"connection_id":193065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:33] local.INFO: Processing buffer {"connection_id":193065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:33] local.INFO: IMEI packet received {"connection_id":193065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":193065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:16:34] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5d6948012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5d6948012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:16:34] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5d6948012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:16:34] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:16:34] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":36,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274572544001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790135069000,"timestamp_ms":1790135069000,"timestamp_seconds":1790135069,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5d6948"} 
[2026-09-23 09:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:16:34] 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-09-23 09: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":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:16:34] 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-09-23 09: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-09-23 09:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274572544001,"66":12841,"217":206,"83":42752,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274572544001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:16:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274572544001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:16:35] local.INFO: GPS data processed {"connection_id":191733,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:16:35] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:16:37] local.INFO: TCP Data received {"connection_id":193065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:37] local.INFO: Processing buffer {"connection_id":193065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:16:37] local.INFO: IMEI packet received {"connection_id":193065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":193065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:16:39] local.INFO: TCP Data received {"connection_id":193065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:16:39] local.INFO: Processing buffer {"connection_id":193065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:16:39] local.INFO: Packet analysis {"connection_id":193065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:16:39] local.INFO: Extracted packet for processing {"connection_id":193065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:16:39] 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-09-23 09:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 09:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:16: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-09-23 09:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":193065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:16:39] local.INFO: GPS data processed {"connection_id":193065,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:16:39] local.INFO: Acknowledgment sent {"connection_id":193065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:17:07] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:07] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:07] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:17:10] local.INFO: TCP Data received {"connection_id":193065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:10] local.INFO: Processing buffer {"connection_id":193065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:10] local.INFO: Packet analysis {"connection_id":193065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:10] local.INFO: Extracted packet for processing {"connection_id":193065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:10] 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-09-23 09:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:17: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-09-23 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-09-23 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-09-23 09:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09: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-09-23 09:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":193065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:17:10] local.INFO: GPS data processed {"connection_id":193065,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:17:10] local.INFO: Acknowledgment sent {"connection_id":193065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:17:12] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:12] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:12] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:17:32] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:32] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:32] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:17:37] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:37] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:17:37] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:17:38] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:38] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:17:38] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:38] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 09:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:17: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-09-23 09:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:17:38] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:17:38] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:17:41] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:41] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:41] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:17:42] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5dbb50012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5dbb50012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:17:42] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5dbb50012d1b1bc0072587d0003c00a224..."} 
[2026-09-23 09:17:42] local.INFO: Packet analysis {"connection_id":190384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:17:42] local.INFO: Extracted packet for processing {"connection_id":190384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5d"} 
[2026-09-23 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":36,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274577664001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790135090000,"timestamp_ms":1790135090000,"timestamp_seconds":1790135090,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5dbb50"} 
[2026-09-23 09:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:17:42] 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-09-23 09:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274577664001,"66":12841,"43":206,"83":41984,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274577664001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:17:42] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274577664001,"power":12841,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":190384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:17:42] local.INFO: GPS data processed {"connection_id":190384,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:17:42] local.INFO: Acknowledgment sent {"connection_id":190384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:17:43] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e0970012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e0970012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:17:43] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e0970012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:17:43] local.INFO: Packet analysis {"connection_id":190384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:43] local.INFO: Extracted packet for processing {"connection_id":190384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274583040001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790135110000,"timestamp_ms":1790135110000,"timestamp_seconds":1790135110,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e0970"} 
[2026-09-23 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-09-23 09:17:43] 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-09-23 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274583040001,"66":12776,"43":206,"83":41984,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274583040001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:17:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:17:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274583040001,"power":12776,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":190384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:17:43] local.INFO: GPS data processed {"connection_id":190384,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:17:43] local.ERROR: TCP Connection error {"connection_id":190384,"code":2,"message":"client closed"} 
[2026-09-23 09:17:43] local.INFO: Acknowledgment sent {"connection_id":190384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:17:57] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:57] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:17:57] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:18:04] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:18:04] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:18:04] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:18:05] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e5790012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e5790012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:18:05] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e5790012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:18:05] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:05] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274588160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790135130000,"timestamp_ms":1790135130000,"timestamp_seconds":1790135130,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e5790"} 
[2026-09-23 09:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:18: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-09-23 09: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 09:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274588160001,"66":12743,"43":206,"83":41984,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274588160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:18:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274588160001,"power":12743,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:18:05] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:18:05] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:18:10] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:10] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:10] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:10] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:10] 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-09-23 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:18: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-09-23 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-09-23 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-09-23 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:18: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-09-23 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:18:10] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:18:10] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:18:32] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:32] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:32] local.INFO: IMEI packet received {"connection_id":191735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:18:36] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5ea5b0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5ea5b0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:18:36] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5ea5b0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:18:36] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:36] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593280001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790135150000,"timestamp_ms":1790135150000,"timestamp_seconds":1790135150,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5ea5b0"} 
[2026-09-23 09:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 09:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593280001,"66":12798,"43":206,"83":41984,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593280001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593280001,"power":12798,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:18:36] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:18:36] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:18:37] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:37] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:18:37] local.INFO: IMEI packet received {"connection_id":191735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":191735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:18:38] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:38] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:18:38] local.INFO: Packet analysis {"connection_id":191735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:38] local.INFO: Extracted packet for processing {"connection_id":191735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 09:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:18: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-09-23 09:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":191735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:18:38] local.INFO: GPS data processed {"connection_id":191735,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:18:38] local.INFO: Acknowledgment sent {"connection_id":191735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:19:02] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:02] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:02] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:19:07] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:07] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:07] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:19:10] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:10] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:10] local.INFO: Packet analysis {"connection_id":191735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:10] local.INFO: Extracted packet for processing {"connection_id":191735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:10] 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-09-23 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:19: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-09-23 09: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-09-23 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:19: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-09-23 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":191735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:19:10] local.INFO: GPS data processed {"connection_id":191735,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:19:10] local.INFO: Acknowledgment sent {"connection_id":191735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:19:31] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5ef3d0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5ef3d0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:19:31] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5ef3d0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:19:31] local.INFO: Packet analysis {"connection_id":191736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:31] local.INFO: Extracted packet for processing {"connection_id":191736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274598400001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790135170000,"timestamp_ms":1790135170000,"timestamp_seconds":1790135170,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5ef3d0"} 
[2026-09-23 09:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 09:19: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-09-23 09:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274598400001,"66":12776,"43":206,"83":41984,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274598400001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:19:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274598400001,"power":12776,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":191736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:19:31] local.INFO: GPS data processed {"connection_id":191736,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:19:31] local.INFO: Acknowledgment sent {"connection_id":191736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:19:32] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:32] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:32] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:19:37] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:37] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:19:37] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:19:38] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:38] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:19:38] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:38] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:19: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-09-23 09:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":191737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:19:38] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:19:38] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:19:58] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:19:58] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:19:58] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:20:02] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:20:02] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:20:02] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:20:03] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5f45d8012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5f45d8012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:20:03] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5f45d8012d1b1bc0072587d0003c00a222..."} 
[2026-09-23 09:20:03] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5f"} 
[2026-09-23 09:20:03] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5f"} 
[2026-09-23 09:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274603520001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790135191000,"timestamp_ms":1790135191000,"timestamp_seconds":1790135191,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5f45d8"} 
[2026-09-23 09:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:20: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-09-23 09: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 09:20:03] 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-09-23 09: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-09-23 09:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274603520001,"66":12711,"175":206,"83":42752,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 09:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274603520001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274603520001,"power":12711,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:03] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:03] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:20:10] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:10] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:10] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:10] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:10] 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-09-23 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:20: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-09-23 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-09-23 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-09-23 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":191737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:10] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:10] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:20:34] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5f97e0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5f97e0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:20:34] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5f97e0012d1b1bc0072587d0003c00a223..."} 
[2026-09-23 09:20:34] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5f"} 
[2026-09-23 09:20:34] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5f"} 
[2026-09-23 09:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756751296,"raw_latitude":119900112,"longitude_deg":75.6751296,"latitude_deg":11.9900112,"altitude":60,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d1b1bc0","hex_latitude":"072587d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274608896001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601831603503104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953366000322203648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790135212000,"timestamp_ms":1790135212000,"timestamp_seconds":1790135212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5f97e0"} 
[2026-09-23 09:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:20:34] 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-09-23 09: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 09:20: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-09-23 09: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-09-23 09:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274608896001,"66":12689,"175":206,"83":42752,"24":0,"16":22601831603503104,"45":1953366000322203648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 09:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274608896001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 09:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601831603503104,"km_value":22601831603503.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953366000322203648,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274608896001,"power":12689,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953366000322203648}} 
[2026-09-23 09:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:34] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:34] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:20:37] local.INFO: TCP Data received {"connection_id":190387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:37] local.INFO: Processing buffer {"connection_id":190387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:37] local.INFO: IMEI packet received {"connection_id":190387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":190387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:20:42] local.INFO: TCP Data received {"connection_id":190387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:42] local.INFO: Processing buffer {"connection_id":190387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:20:42] local.INFO: IMEI packet received {"connection_id":190387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":190387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:20:43] local.INFO: TCP Data received {"connection_id":190387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:43] local.INFO: Processing buffer {"connection_id":190387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:43] local.INFO: Packet analysis {"connection_id":190387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:43] local.INFO: Extracted packet for processing {"connection_id":190387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:20: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-09-23 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-09-23 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-09-23 09:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":190387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:43] local.INFO: GPS data processed {"connection_id":190387,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:43] local.INFO: Acknowledgment sent {"connection_id":190387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:20:48] local.INFO: TCP Data received {"connection_id":190387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:48] local.INFO: Processing buffer {"connection_id":190387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:48] local.INFO: Packet analysis {"connection_id":190387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:48] local.INFO: Extracted packet for processing {"connection_id":190387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:48] 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-09-23 09:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 09:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:20:48] 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-09-23 09:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":190387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:48] local.INFO: GPS data processed {"connection_id":190387,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:48] local.INFO: Acknowledgment sent {"connection_id":190387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:20:52] local.INFO: TCP Data received {"connection_id":190387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:52] local.INFO: Processing buffer {"connection_id":190387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc5e53a8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:20:52] local.INFO: Packet analysis {"connection_id":190387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:52] local.INFO: Extracted packet for processing {"connection_id":190387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc5e"} 
[2026-09-23 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274515968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:20:52] 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-09-23 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790135129000,"timestamp_ms":1790135129000,"timestamp_seconds":1790135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc5e53a8"} 
[2026-09-23 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-09-23 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":190387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":190387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274515968001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274515968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274515968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":190387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:20:52] local.INFO: GPS data processed {"connection_id":190387,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:20:52] local.INFO: Acknowledgment sent {"connection_id":190387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:21:00] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:00] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:00] local.INFO: IMEI packet received {"connection_id":193069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":193069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:21:01] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:01] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:01] local.INFO: IMEI packet received {"connection_id":193069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":193069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:21:02] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:02] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:21:02] local.INFO: IMEI packet received {"connection_id":193069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":193069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:21:03] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc629580012d1b1cc007258830003d003523..."} 
[2026-09-23 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc629580012d1b1cc007258830003d003523..."} 
[2026-09-23 09:21:03] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc629580012d1b1cc007258830003d003523..."} 
[2026-09-23 09:21:03] local.INFO: Packet analysis {"connection_id":193069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:03] local.INFO: Extracted packet for processing {"connection_id":193069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756751552,"raw_latitude":119900208,"longitude_deg":75.6751552,"latitude_deg":11.9900208,"altitude":61,"angle":53,"satellites":35,"speed":2,"hex_longitude":"2d1b1cc0","hex_latitude":"07258830","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274664192001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601857373306880,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953577106554759168,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790135408000,"timestamp_ms":1790135408000,"timestamp_seconds":1790135408,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc629580"} 
[2026-09-23 09:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:21: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-09-23 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:21:03] 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-09-23 09: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-09-23 09:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274664192001,"66":13993,"217":206,"83":42752,"24":2,"16":22601857373306880,"45":1953577106554759168},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274664192001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601857373306880,"km_value":22601857373306.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953577106554759168,"description":"Unknown IO ID 45"} 
[2026-09-23 09:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274664192001,"power":13993,"unknown_217":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1953577106554759168}} 
[2026-09-23 09:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":193069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:21:03] local.INFO: GPS data processed {"connection_id":193069,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:21:03] local.INFO: Acknowledgment sent {"connection_id":193069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:21:06] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc629968012d1b1d0007258830003d004824..."} 
[2026-09-23 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc629968012d1b1d0007258830003d004824..."} 
[2026-09-23 09:21:06] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc629968012d1b1d0007258830003d004824..."} 
[2026-09-23 09:21:06] local.INFO: Packet analysis {"connection_id":193069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:06] local.INFO: Extracted packet for processing {"connection_id":193069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756751616,"raw_latitude":119900208,"longitude_deg":75.6751616,"latitude_deg":11.9900208,"altitude":61,"angle":72,"satellites":36,"speed":1,"hex_longitude":"2d1b1d00","hex_latitude":"07258830","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274664448001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601861668274176,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953647475298938880,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790135409000,"timestamp_ms":1790135409000,"timestamp_seconds":1790135409,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc629968"} 
[2026-09-23 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-09-23 09:21: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-09-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:21: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-09-23 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-09-23 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-09-23 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274664448001,"66":13993,"217":206,"83":42752,"24":1,"16":22601861668274176,"45":1953647475298938880},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274664448001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:21:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601861668274176,"km_value":22601861668274.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953647475298938880,"description":"Unknown IO ID 45"} 
[2026-09-23 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274664448001,"power":13993,"unknown_217":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1953647475298938880}} 
[2026-09-23 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":193069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:21:07] local.INFO: GPS data processed {"connection_id":193069,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:21:07] local.INFO: Acknowledgment sent {"connection_id":193069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:21:33] local.INFO: TCP Data received {"connection_id":190216,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:33] local.INFO: Processing buffer {"connection_id":190216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:33] local.INFO: IMEI packet received {"connection_id":190216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":190216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:21:37] local.INFO: TCP Data received {"connection_id":190216,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:37] local.INFO: Processing buffer {"connection_id":190216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:21:37] local.INFO: IMEI packet received {"connection_id":190216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":190216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:21:38] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc629d50012d1b1d0007258830003d005924..."} 
[2026-09-23 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc629d50012d1b1d0007258830003d005924..."} 
[2026-09-23 09:21:38] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc629d50012d1b1d0007258830003d005924..."} 
[2026-09-23 09:21:38] local.INFO: Packet analysis {"connection_id":193069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:38] local.INFO: Extracted packet for processing {"connection_id":193069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756751616,"raw_latitude":119900208,"longitude_deg":75.6751616,"latitude_deg":11.9900208,"altitude":61,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1b1d00","hex_latitude":"07258830","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274664704001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601861668274176,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953717844043116544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135410000,"timestamp_ms":1790135410000,"timestamp_seconds":1790135410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc629d50"} 
[2026-09-23 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-09-23 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274664704001,"66":14070,"217":206,"83":42752,"24":0,"16":22601861668274176,"45":1953717844043116544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274664704001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601861668274176,"km_value":22601861668274.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953717844043116544,"description":"Unknown IO ID 45"} 
[2026-09-23 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274664704001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1953717844043116544}} 
[2026-09-23 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":193069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:21:38] local.INFO: GPS data processed {"connection_id":193069,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:21:38] local.INFO: Acknowledgment sent {"connection_id":193069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:21:38] local.INFO: TCP Data received {"connection_id":190216,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:21:38] local.INFO: Processing buffer {"connection_id":190216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:21:38] local.INFO: Packet analysis {"connection_id":190216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:38] local.INFO: Extracted packet for processing {"connection_id":190216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 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-09-23 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:21: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-09-23 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-09-23 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-09-23 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:21: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-09-23 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":190216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:21:38] local.INFO: GPS data processed {"connection_id":190216,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:21:38] local.INFO: Acknowledgment sent {"connection_id":190216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:21:38] local.INFO: TCP Data received {"connection_id":190388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:21:39] local.INFO: Processing buffer {"connection_id":190388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:21:39] local.INFO: IMEI packet received {"connection_id":190388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":190388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:22:02] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:02] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:02] local.INFO: IMEI packet received {"connection_id":190389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:22:06] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:06] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:22:06] local.INFO: IMEI packet received {"connection_id":190389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":190389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:22:07] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62c460012d1b1c8007258870003d015626..."} 
[2026-09-23 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62c460012d1b1c8007258870003d015626..."} 
[2026-09-23 09:22:07] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62c460012d1b1c8007258870003d015626..."} 
[2026-09-23 09:22:07] local.INFO: Packet analysis {"connection_id":190389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:07] local.INFO: Extracted packet for processing {"connection_id":190389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756751488,"raw_latitude":119900272,"longitude_deg":75.6751488,"latitude_deg":11.9900272,"altitude":61,"angle":342,"satellites":38,"speed":2,"hex_longitude":"2d1b1c80","hex_latitude":"07258870","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274664960001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601870258208768,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953717844043116544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790135420000,"timestamp_ms":1790135420000,"timestamp_seconds":1790135420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62c460"} 
[2026-09-23 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:22:07] 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-09-23 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274664960001,"66":14265,"217":206,"83":42752,"24":2,"16":22601870258208768,"45":1953717844043116544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274664960001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601870258208768,"km_value":22601870258208.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953717844043116544,"description":"Unknown IO ID 45"} 
[2026-09-23 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274664960001,"power":14265,"unknown_217":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1953717844043116544}} 
[2026-09-23 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":190389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:22:07] local.INFO: GPS data processed {"connection_id":190389,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:22:07] local.INFO: Acknowledgment sent {"connection_id":190389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:22:07] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62e3a0012d1b1b0007258d48003e014525..."} 
[2026-09-23 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62e3a0012d1b1b0007258d48003e014525..."} 
[2026-09-23 09:22:07] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62e3a0012d1b1b0007258d48003e014525..."} 
[2026-09-23 09:22:07] local.INFO: Packet analysis {"connection_id":190389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:07] local.INFO: Extracted packet for processing {"connection_id":190389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756751104,"raw_latitude":119901512,"longitude_deg":75.6751104,"latitude_deg":11.9901512,"altitude":62,"angle":325,"satellites":37,"speed":9,"hex_longitude":"2d1b1b00","hex_latitude":"07258d48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274667520001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601934682718208,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953577106554777600,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790135428000,"timestamp_ms":1790135428000,"timestamp_seconds":1790135428,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62e3a0"} 
[2026-09-23 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:22:07] 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-09-23 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274667520001,"66":14189,"217":206,"83":42752,"24":9,"16":22601934682718208,"45":1953577106554777600},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274667520001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601934682718208,"km_value":22601934682718.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953577106554777600,"description":"Unknown IO ID 45"} 
[2026-09-23 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274667520001,"power":14189,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1953577106554777600}} 
[2026-09-23 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":190389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:22:07] local.INFO: GPS data processed {"connection_id":190389,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:22:07] local.INFO: Acknowledgment sent {"connection_id":190389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:22:10] local.INFO: TCP Data received {"connection_id":193070,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:22:10] local.INFO: Processing buffer {"connection_id":193070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:22:10] local.INFO: IMEI packet received {"connection_id":193070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":193070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:22:11] local.INFO: TCP Data received {"connection_id":190216,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:11] local.INFO: Processing buffer {"connection_id":190216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:11] local.INFO: Packet analysis {"connection_id":190216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:11] local.INFO: Extracted packet for processing {"connection_id":190216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:22: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-09-23 09: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-09-23 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:22: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-09-23 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":190216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:22:11] local.INFO: GPS data processed {"connection_id":190216,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:22:11] local.INFO: Acknowledgment sent {"connection_id":190216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:22:32] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:32] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:32] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:22:37] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:37] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:22:37] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:22:38] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:38] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:22:38] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:38] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:22: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-09-23 09:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:22: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-09-23 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":191738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:22:38] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:22:38] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:22:41] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d1b19c007258f10003e015227..."} 
[2026-09-23 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d1b19c007258f10003e015227..."} 
[2026-09-23 09:22:41] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d1b19c007258f10003e015227..."} 
[2026-09-23 09:22:41] local.INFO: Packet analysis {"connection_id":190389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:41] local.INFO: Extracted packet for processing {"connection_id":190389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756750784,"raw_latitude":119901968,"longitude_deg":75.6750784,"latitude_deg":11.9901968,"altitude":62,"angle":338,"satellites":39,"speed":13,"hex_longitude":"2d1b19c0","hex_latitude":"07258f10","is_valid_coordinates":true} 
[2026-09-23 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274669568001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22601960452521984,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953154894090029056,"note":"Value kept but may cause issues"} 
[2026-09-23 09:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 09:22: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-09-23 09:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274669568001,"66":14233,"217":206,"83":42752,"24":13,"16":22601960452521984,"45":1953154894090029056},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274669568001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:22:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22601960452521984,"km_value":22601960452521.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953154894090029056,"description":"Unknown IO ID 45"} 
[2026-09-23 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274669568001,"power":14233,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1953154894090029056}} 
[2026-09-23 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":190389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:22:41] local.INFO: GPS data processed {"connection_id":190389,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:22:41] local.INFO: Acknowledgment sent {"connection_id":190389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:23:01] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:23:01] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:23:01] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:23:02] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.10","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:23:02] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 09:23:02] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:23:09] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:09] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:09] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:23:09] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:23: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-09-23 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":191738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:23:09] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:23:09] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:23:32] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:32] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:32] local.INFO: IMEI packet received {"connection_id":190218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":190218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:23:37] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:37] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:23:37] local.INFO: IMEI packet received {"connection_id":190218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:23:39] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:39] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:23:39] local.INFO: Packet analysis {"connection_id":190218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:23:39] local.INFO: Extracted packet for processing {"connection_id":190218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:23:39] 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-09-23 09:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:23: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-09-23 09: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-09-23 09:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:23:39] 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-09-23 09:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":190218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:23:39] local.INFO: GPS data processed {"connection_id":190218,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:23:39] local.INFO: Acknowledgment sent {"connection_id":190218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:24:10] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:10] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:10] local.INFO: Packet analysis {"connection_id":190218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:24:10] local.INFO: Extracted packet for processing {"connection_id":190218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:10] 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-09-23 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":190218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:24:10] local.INFO: GPS data processed {"connection_id":190218,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:24:10] local.INFO: Acknowledgment sent {"connection_id":190218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:24:32] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:32] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:32] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:24:37] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:37] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:24:37] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:24:38] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:38] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:24:38] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:24:38] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:24: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-09-23 09:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:24:38] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:24:38] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:25:09] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:09] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:09] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:25:09] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:25: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-09-23 09: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-09-23 09:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:25: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-09-23 09:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:25:09] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:25:09] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:25:37] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:25:37] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:25:37] local.INFO: IMEI packet received {"connection_id":193073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":193073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:25:38] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:38] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:25:38] local.INFO: Packet analysis {"connection_id":193073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:25:38] local.INFO: Extracted packet for processing {"connection_id":193073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:25: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-09-23 09: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-09-23 09:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":193073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:25:38] local.INFO: GPS data processed {"connection_id":193073,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:25:38] local.INFO: Acknowledgment sent {"connection_id":193073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:26:10] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:26:10] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc62eb70012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:26:10] local.INFO: Packet analysis {"connection_id":193073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:26:10] local.INFO: Extracted packet for processing {"connection_id":193073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc62"} 
[2026-09-23 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274593024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:10] 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-09-23 09:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790135430000,"timestamp_ms":1790135430000,"timestamp_seconds":1790135430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc62eb70"} 
[2026-09-23 09:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274593024001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274593024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274593024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":193073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:26:10] local.INFO: GPS data processed {"connection_id":193073,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:26:10] local.INFO: Acknowledgment sent {"connection_id":193073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:26:37] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:37] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:37] local.INFO: IMEI packet received {"connection_id":193074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":193074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:26:42] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:42] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:26:42] local.INFO: IMEI packet received {"connection_id":193074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":193074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:26:44] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:26:44] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:26:44] local.INFO: Packet analysis {"connection_id":193074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:26:44] local.INFO: Extracted packet for processing {"connection_id":193074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:26:44] 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-09-23 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":193074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:26:44] local.INFO: GPS data processed {"connection_id":193074,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:26:44] local.INFO: Acknowledgment sent {"connection_id":193074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:27:15] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:15] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:15] local.INFO: Packet analysis {"connection_id":193074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:27:15] local.INFO: Extracted packet for processing {"connection_id":193074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:27: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-09-23 09: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-09-23 09:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:27: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-09-23 09:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":193074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:27:15] local.INFO: GPS data processed {"connection_id":193074,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:27:15] local.INFO: Acknowledgment sent {"connection_id":193074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:27:32] local.INFO: TCP Data received {"connection_id":193075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:32] local.INFO: Processing buffer {"connection_id":193075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:32] local.INFO: IMEI packet received {"connection_id":193075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":193075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:27:35] local.INFO: TCP Data received {"connection_id":190392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:27:35] local.INFO: Processing buffer {"connection_id":190392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:27:35] local.INFO: IMEI packet received {"connection_id":190392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":190392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:27:37] local.INFO: TCP Data received {"connection_id":193075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:37] local.INFO: Processing buffer {"connection_id":193075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:27:37] local.INFO: IMEI packet received {"connection_id":193075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":193075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:27:38] local.INFO: TCP Data received {"connection_id":193075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:38] local.INFO: Processing buffer {"connection_id":193075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:27:38] local.INFO: Packet analysis {"connection_id":193075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:27:38] local.INFO: Extracted packet for processing {"connection_id":193075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:27: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-09-23 09: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-09-23 09:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"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-09-23 09:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":193075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:27:38] local.INFO: GPS data processed {"connection_id":193075,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:27:38] local.INFO: Acknowledgment sent {"connection_id":193075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:27:45] local.INFO: TCP Data received {"connection_id":190222,"ip":"117.225.242.120","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:27:45] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:27:45] local.INFO: IMEI packet received {"connection_id":190222,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":190222,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:28:03] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:03] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:03] local.INFO: IMEI packet received {"connection_id":193076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":193076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:28:04] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc683300012d1b528007257d580029008929..."} 
[2026-09-23 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc683300012d1b528007257d580029008929..."} 
[2026-09-23 09:28:04] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc683300012d1b528007257d580029008929..."} 
[2026-09-23 09:28:04] local.INFO: Packet analysis {"connection_id":193076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:28:04] local.INFO: Extracted packet for processing {"connection_id":193076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119897432,"longitude_deg":75.6765312,"latitude_deg":11.9897432,"altitude":41,"angle":137,"satellites":41,"speed":26,"hex_longitude":"2d1b5280","hex_latitude":"07257d58","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274757120001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22604846670544896,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111762704384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790135776000,"timestamp_ms":1790135776000,"timestamp_seconds":1790135776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc683300"} 
[2026-09-23 09:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:28: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-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:28: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-09-23 09: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-09-23 09:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274757120001,"66":14374,"217":206,"83":42752,"24":26,"16":22604846670544896,"45":1966173111762704384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274757120001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22604846670544896,"km_value":22604846670544.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111762704384,"description":"Unknown IO ID 45"} 
[2026-09-23 09:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274757120001,"power":14374,"unknown_217":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1966173111762704384}} 
[2026-09-23 09:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":193076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:28:04] local.INFO: GPS data processed {"connection_id":193076,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:28:04] local.INFO: Acknowledgment sent {"connection_id":193076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:28:09] local.INFO: TCP Data received {"connection_id":193075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:09] local.INFO: Processing buffer {"connection_id":193075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:09] local.INFO: Packet analysis {"connection_id":193075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:09] local.INFO: Extracted packet for processing {"connection_id":193075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:28: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-09-23 09: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-09-23 09:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"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-09-23 09:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":193075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:28:09] local.INFO: GPS data processed {"connection_id":193075,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:28:09] local.INFO: Acknowledgment sent {"connection_id":193075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:28:10] local.INFO: TCP Data received {"connection_id":190223,"ip":"117.225.242.120","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:10] local.INFO: Processing buffer {"connection_id":190223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:10] local.INFO: IMEI packet received {"connection_id":190223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":190223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:28:11] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:28:11] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:28:11] local.INFO: IMEI packet received {"connection_id":191741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":191741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:28:22] local.INFO: TCP Data received {"connection_id":190223,"ip":"117.225.242.120","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:22] local.INFO: Processing buffer {"connection_id":190223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:22] local.INFO: IMEI packet received {"connection_id":190223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":190223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:28:23] local.INFO: TCP Data received {"connection_id":190223,"ip":"117.225.242.120","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:23] local.INFO: Processing buffer {"connection_id":190223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:28:23] local.INFO: IMEI packet received {"connection_id":190223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":190223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:28:35] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6861e0012d1b6600072566700026009829..."} 
[2026-09-23 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6861e0012d1b6600072566700026009829..."} 
[2026-09-23 09:28:35] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6861e0012d1b6600072566700026009829..."} 
[2026-09-23 09:28:35] local.INFO: Packet analysis {"connection_id":193076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:28:35] local.INFO: Extracted packet for processing {"connection_id":193076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119891568,"longitude_deg":75.6770304,"latitude_deg":11.9891568,"altitude":38,"angle":152,"satellites":41,"speed":20,"hex_longitude":"2d1b6600","hex_latitude":"07256670","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274758656001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22605216037732352,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755296425984,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790135788000,"timestamp_ms":1790135788000,"timestamp_seconds":1790135788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6861e0"} 
[2026-09-23 09:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:28:35] 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-09-23 09: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-09-23 09:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274758656001,"66":14363,"217":206,"83":42752,"24":20,"16":22605216037732352,"45":1968776755296425984},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274758656001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:28:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22605216037732352,"km_value":22605216037732.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755296425984,"description":"Unknown IO ID 45"} 
[2026-09-23 09:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274758656001,"power":14363,"unknown_217":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1968776755296425984}} 
[2026-09-23 09:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":193076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:28:35] local.INFO: GPS data processed {"connection_id":193076,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:28:35] local.INFO: Acknowledgment sent {"connection_id":193076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:28:37] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:37] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:37] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:28:42] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:42] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:28:42] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:28:43] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:43] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:43] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:43] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:28:43] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:28:43] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:28:48] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:48] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:28:48] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:48] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:28:48] 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-09-23 09:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:28:48] 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-09-23 09:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:28:48] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:28:48] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:28:57] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:57] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:28:57] local.INFO: IMEI packet received {"connection_id":193077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":193077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:29:02] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:02] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:02] local.INFO: IMEI packet received {"connection_id":193077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":193077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:29:03] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc686d98012d1b684007256110002600a429..."} 
[2026-09-23 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc686d98012d1b684007256110002600a429..."} 
[2026-09-23 09:29:03] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc686d98012d1b684007256110002600a429..."} 
[2026-09-23 09:29:03] local.INFO: Packet analysis {"connection_id":193077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:29:03] local.INFO: Extracted packet for processing {"connection_id":193077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119890192,"longitude_deg":75.677088,"latitude_deg":11.9890192,"altitude":38,"angle":164,"satellites":41,"speed":19,"hex_longitude":"2d1b6840","hex_latitude":"07256110","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274761728001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22605289052176384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974265517340782592,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790135791000,"timestamp_ms":1790135791000,"timestamp_seconds":1790135791,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc686d98"} 
[2026-09-23 09:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:29: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-09-23 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 09:29: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-09-23 09: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-09-23 09:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274761728001,"66":14276,"217":206,"83":42752,"24":19,"16":22605289052176384,"45":1974265517340782592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274761728001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22605289052176384,"km_value":22605289052176.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974265517340782592,"description":"Unknown IO ID 45"} 
[2026-09-23 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274761728001,"power":14276,"unknown_217":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1974265517340782592}} 
[2026-09-23 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":193077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:29:03] local.INFO: GPS data processed {"connection_id":193077,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:29:03] local.INFO: Acknowledgment sent {"connection_id":193077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:29:32] local.INFO: TCP Data received {"connection_id":193078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:32] local.INFO: Processing buffer {"connection_id":193078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:32] local.INFO: IMEI packet received {"connection_id":193078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":193078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:29:35] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc687950012d1b690007255b68002600b128..."} 
[2026-09-23 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc687950012d1b690007255b68002600b128..."} 
[2026-09-23 09:29:35] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc687950012d1b690007255b68002600b128..."} 
[2026-09-23 09:29:35] local.INFO: Packet analysis {"connection_id":193077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:29:35] local.INFO: Extracted packet for processing {"connection_id":193077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc68"} 
[2026-09-23 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756771072,"raw_latitude":119888744,"longitude_deg":75.6771072,"latitude_deg":11.9888744,"altitude":38,"angle":177,"satellites":40,"speed":18,"hex_longitude":"2d1b6900","hex_latitude":"07255b68","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274762496001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22605357771653120,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836038029312,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790135794000,"timestamp_ms":1790135794000,"timestamp_seconds":1790135794,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc687950"} 
[2026-09-23 09:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 09:29:35] 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-09-23 09: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-09-23 09:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274762496001,"66":14276,"217":206,"83":42752,"24":18,"16":22605357771653120,"45":1974898836038029312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 09:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274762496001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:29:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 09:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22605357771653120,"km_value":22605357771653.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836038029312,"description":"Unknown IO ID 45"} 
[2026-09-23 09:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274762496001,"power":14276,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1974898836038029312}} 
[2026-09-23 09:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":193077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:29:35] local.INFO: GPS data processed {"connection_id":193077,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:29:35] local.INFO: Acknowledgment sent {"connection_id":193077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:29:37] local.INFO: TCP Data received {"connection_id":193078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:37] local.INFO: Processing buffer {"connection_id":193078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:29:37] local.INFO: IMEI packet received {"connection_id":193078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":193078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:29:38] local.INFO: TCP Data received {"connection_id":193078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:29:38] local.INFO: Processing buffer {"connection_id":193078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:29:38] local.INFO: Packet analysis {"connection_id":193078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:29:38] local.INFO: Extracted packet for processing {"connection_id":193078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:29: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-09-23 09:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:29: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-09-23 09:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":193078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:29:38] local.INFO: GPS data processed {"connection_id":193078,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:29:38] local.INFO: Acknowledgment sent {"connection_id":193078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:29:58] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:58] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:29:58] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:30:03] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:03] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:03] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:30:07] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:07] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:30:07] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:30:08] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6aa7e8012d1b57800724c168002500c82a..."} 
[2026-09-23 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6aa7e8012d1b57800724c168002500c82a..."} 
[2026-09-23 09:30:08] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6aa7e8012d1b57800724c168002500c82a..."} 
[2026-09-23 09:30:08] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:08] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119849320,"longitude_deg":75.6766592,"latitude_deg":11.984932,"altitude":37,"angle":200,"satellites":42,"speed":16,"hex_longitude":"2d1b5780","hex_latitude":"0724c168","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274796288001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22607346341511168,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308475904,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790135937000,"timestamp_ms":1790135937000,"timestamp_seconds":1790135937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6aa7e8"} 
[2026-09-23 09:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:30: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-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:30: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-09-23 09: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-09-23 09:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274796288001,"66":14428,"136":206,"83":42752,"24":16,"16":22607346341511168,"45":1971521136308475904},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-23 09:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274796288001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22607346341511168,"km_value":22607346341511.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308475904,"description":"Unknown IO ID 45"} 
[2026-09-23 09:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274796288001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1971521136308475904}} 
[2026-09-23 09:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:30:08] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:30:08] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:30:09] local.INFO: TCP Data received {"connection_id":193078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:09] local.INFO: Processing buffer {"connection_id":193078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:09] local.INFO: Packet analysis {"connection_id":193078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:30:09] local.INFO: Extracted packet for processing {"connection_id":193078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:30: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-09-23 09: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-09-23 09:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:30: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-09-23 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":193078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:30:09] local.INFO: GPS data processed {"connection_id":193078,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:30:09] local.INFO: Acknowledgment sent {"connection_id":193078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:30:09] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6ab788012d1b54000724bae0002600d428..."} 
[2026-09-23 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6ab788012d1b54000724bae0002600d428..."} 
[2026-09-23 09:30:09] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6ab788012d1b54000724bae0002600d428..."} 
[2026-09-23 09:30:09] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:09] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756765696,"raw_latitude":119847648,"longitude_deg":75.6765696,"latitude_deg":11.9847648,"altitude":38,"angle":212,"satellites":40,"speed":23,"hex_longitude":"2d1b5400","hex_latitude":"0724bae0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274799872001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22607436535824384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130167662592,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135941000,"timestamp_ms":1790135941000,"timestamp_seconds":1790135941,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6ab788"} 
[2026-09-23 09:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274799872001,"66":14396,"136":206,"83":42752,"24":23,"16":22607436535824384,"45":1970184130167662592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-23 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274799872001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22607436535824384,"km_value":22607436535824.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130167662592,"description":"Unknown IO ID 45"} 
[2026-09-23 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274799872001,"power":14396,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1970184130167662592}} 
[2026-09-23 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:30:09] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:30:09] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:30:32] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:32] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:32] local.INFO: IMEI packet received {"connection_id":190394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":190394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:30:37] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:37] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:30:37] local.INFO: IMEI packet received {"connection_id":190394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":190394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:30:38] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:38] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:30:38] local.INFO: Packet analysis {"connection_id":190394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:30:38] local.INFO: Extracted packet for processing {"connection_id":190394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 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-09-23 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:30: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-09-23 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-09-23 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-09-23 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":190394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:30:38] local.INFO: GPS data processed {"connection_id":190394,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:30:38] local.INFO: Acknowledgment sent {"connection_id":190394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:30:42] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6abf58012d1b50400724b700002700df29..."} 
[2026-09-23 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6abf58012d1b50400724b700002700df29..."} 
[2026-09-23 09:30:42] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6abf58012d1b50400724b700002700df29..."} 
[2026-09-23 09:30:42] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:42] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756764736,"raw_latitude":119846656,"longitude_deg":75.6764736,"latitude_deg":11.9846656,"altitude":39,"angle":223,"satellites":41,"speed":27,"hex_longitude":"2d1b5040","hex_latitude":"0724b700","is_valid_coordinates":true} 
[2026-09-23 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274800896001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22607500960333824,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969198967748747264,"note":"Value kept but may cause issues"} 
[2026-09-23 09:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790135943000,"timestamp_ms":1790135943000,"timestamp_seconds":1790135943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6abf58"} 
[2026-09-23 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274800896001,"66":14352,"136":206,"83":42752,"24":27,"16":22607500960333824,"45":1969198967748747264},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-23 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274800896001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:30:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-23 09:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22607500960333824,"km_value":22607500960333.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969198967748747264,"description":"Unknown IO ID 45"} 
[2026-09-23 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274800896001,"power":14352,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1969198967748747264}} 
[2026-09-23 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:30:43] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:30:43] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:31:05] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:05] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:05] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:31:07] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:07] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:07] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:31:09] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:31:09] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc678338012d34c18006aa4440000800d12d..."} 
[2026-09-23 09:31:09] local.INFO: Packet analysis {"connection_id":190394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:31:09] local.INFO: Extracted packet for processing {"connection_id":190394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc67"} 
[2026-09-23 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790135731000,"timestamp_ms":1790135731000,"timestamp_seconds":1790135731,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc678338"} 
[2026-09-23 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:31: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-09-23 09: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-09-23 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274670080001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274670080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:31:09] local.INFO: GPS data processed {"connection_id":190394,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:31:09] local.INFO: Acknowledgment sent {"connection_id":190394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:31:12] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:12] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:12] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:31:13] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6acb10012d1b49c00724b170002700eb27..."} 
[2026-09-23 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6acb10012d1b49c00724b170002700eb27..."} 
[2026-09-23 09:31:13] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6acb10012d1b49c00724b170002700eb27..."} 
[2026-09-23 09:31:13] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:31:13] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6a"} 
[2026-09-23 09:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119845232,"longitude_deg":75.6763072,"latitude_deg":11.9845232,"altitude":39,"angle":235,"satellites":39,"speed":29,"hex_longitude":"2d1b49c0","hex_latitude":"0724b170","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274801408001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968143436585828352,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22607608334516224,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 09:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790135946000,"timestamp_ms":1790135946000,"timestamp_seconds":1790135946,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6acb10"} 
[2026-09-23 09:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:31: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-09-23 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137920,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3429478864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4179604341289976064,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944583118848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1783500801,"corrected_to":0} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3636461605,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633621137873800,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288155,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84754056383767768,"corrected_to":0} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":112,"raw_value":12103983048951808,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6683349701860261932,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,136,83,24,241,157,16,81,160,183,45,186,38,40,10,66,167,128,193,37,42,113,64,1,240,92,227,204,36,4,205,3,94,239,55,2,80,7,206,200,112,27],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":204,"original":1783500801,"validated":0},{"io_id":205,"original":1535639758,"validated":0},{"io_id":200,"original":84754056383767768,"validated":0}]} 
[2026-09-23 09:31:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810491534667612160,"timestamp_seconds":2810491534667612.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 09:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274801408001,"66":14461,"45":1968143436585828352,"83":41984,"24":29,"16":22607608334516224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-23 09:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274801408001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968143436585828352,"description":"Unknown IO ID 45"} 
[2026-09-23 09:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22607608334516224,"km_value":22607608334516.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:31:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274801408001,"power":14461,"unknown_45":1968143436585828352,"unknown_83":41984,"ignition":29,"odometer":null}} 
[2026-09-23 09:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":191744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:31:13] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:31:13] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:31:32] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:32] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:32] local.INFO: IMEI packet received {"connection_id":190395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":190395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:31:37] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:37] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:31:37] local.INFO: IMEI packet received {"connection_id":190395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":190395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:31:38] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:31:38] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:31:38] local.INFO: Packet analysis {"connection_id":190395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:31:38] local.INFO: Extracted packet for processing {"connection_id":190395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274747136001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136032000,"timestamp_ms":1790136032000,"timestamp_seconds":1790136032,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c1b00"} 
[2026-09-23 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:31: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-09-23 09: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-09-23 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:31: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-09-23 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274747136001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274747136001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274747136001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":190395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:31:38] local.INFO: GPS data processed {"connection_id":190395,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:31:38] local.INFO: Acknowledgment sent {"connection_id":190395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:31:58] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:31:58] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:31:58] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:32:02] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:02] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:02] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:32:03] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c51b0012d1a910007241ad0002700f525..."} 
[2026-09-23 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c51b0012d1a910007241ad0002700f525..."} 
[2026-09-23 09:32:03] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c51b0012d1a910007241ad0002700f525..."} 
[2026-09-23 09:32:03] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:03] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756715776,"raw_latitude":119806672,"longitude_deg":75.6715776,"latitude_deg":11.9806672,"altitude":39,"angle":245,"satellites":37,"speed":38,"hex_longitude":"2d1a9100","hex_latitude":"07241ad0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274825472001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22610589041819648,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923670390256302080,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136046000,"timestamp_ms":1790136046000,"timestamp_seconds":1790136046,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c51b0"} 
[2026-09-23 09:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:32:03] 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-09-23 09: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 09:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274825472001,"66":13993,"43":206,"83":42752,"24":38,"16":22610589041819648,"45":1923670390256302080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274825472001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22610589041819648,"km_value":22610589041819.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923670390256302080,"description":"Unknown IO ID 45"} 
[2026-09-23 09:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274825472001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1923670390256302080}} 
[2026-09-23 09:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:32:03] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:32:03] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:32:09] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:09] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:09] local.INFO: Packet analysis {"connection_id":190395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:09] local.INFO: Extracted packet for processing {"connection_id":190395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274747136001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136032000,"timestamp_ms":1790136032000,"timestamp_seconds":1790136032,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c1b00"} 
[2026-09-23 09:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:32: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-09-23 09: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-09-23 09:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274747136001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274747136001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274747136001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":190395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:32:09] local.INFO: GPS data processed {"connection_id":190395,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:32:09] local.INFO: Acknowledgment sent {"connection_id":190395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:32:37] local.INFO: TCP Data received {"connection_id":193080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:37] local.INFO: Processing buffer {"connection_id":193080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:37] local.INFO: IMEI packet received {"connection_id":193080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":193080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:32:41] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c7ca8012d1a704007240a78002900ed28..."} 
[2026-09-23 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c7ca8012d1a704007240a78002900ed28..."} 
[2026-09-23 09:32:41] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c7ca8012d1a704007240a78002900ed28..."} 
[2026-09-23 09:32:41] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:41] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756707392,"raw_latitude":119802488,"longitude_deg":75.6707392,"latitude_deg":11.9802488,"altitude":41,"angle":237,"satellites":40,"speed":35,"hex_longitude":"2d1a7040","hex_latitude":"07240a78","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274827776001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22611035718418432,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914311347279679488,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790136057000,"timestamp_ms":1790136057000,"timestamp_seconds":1790136057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c7ca8"} 
[2026-09-23 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-09-23 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:32: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-09-23 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-09-23 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-09-23 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274827776001,"66":14363,"43":206,"83":42752,"24":35,"16":22611035718418432,"45":1914311347279679488},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274827776001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:32:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 09:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22611035718418432,"km_value":22611035718418.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914311347279679488,"description":"Unknown IO ID 45"} 
[2026-09-23 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274827776001,"power":14363,"unknown_43":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1914311347279679488}} 
[2026-09-23 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:32:41] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:32:41] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:32:42] local.INFO: TCP Data received {"connection_id":193080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:42] local.INFO: Processing buffer {"connection_id":193080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:32:42] local.INFO: IMEI packet received {"connection_id":193080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":193080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:32:43] local.INFO: TCP Data received {"connection_id":193080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:43] local.INFO: Processing buffer {"connection_id":193080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:43] local.INFO: Packet analysis {"connection_id":193080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:43] local.INFO: Extracted packet for processing {"connection_id":193080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274747136001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 09:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136032000,"timestamp_ms":1790136032000,"timestamp_seconds":1790136032,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c1b00"} 
[2026-09-23 09:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32: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-09-23 09:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274747136001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274747136001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274747136001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":193080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:32:43] local.INFO: GPS data processed {"connection_id":193080,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:32:43] local.INFO: Acknowledgment sent {"connection_id":193080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:32:48] local.INFO: TCP Data received {"connection_id":193080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:48] local.INFO: Processing buffer {"connection_id":193080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6c1b00012d34c18006aa4440000800d12c..."} 
[2026-09-23 09:32:48] local.INFO: Packet analysis {"connection_id":193080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:48] local.INFO: Extracted packet for processing {"connection_id":193080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6c"} 
[2026-09-23 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274747136001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 09:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:32:48] 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-09-23 09:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790136032000,"timestamp_ms":1790136032000,"timestamp_seconds":1790136032,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6c1b00"} 
[2026-09-23 09:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274747136001,"66":25702,"200":0,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 09:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274747136001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274747136001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":193080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:32:48] local.INFO: GPS data processed {"connection_id":193080,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:32:48] local.INFO: Acknowledgment sent {"connection_id":193080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:32:56] local.INFO: TCP Data received {"connection_id":190397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:56] local.INFO: Processing buffer {"connection_id":190397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:56] local.INFO: IMEI packet received {"connection_id":190397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":190397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:32:57] local.INFO: TCP Data received {"connection_id":190397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:57] local.INFO: Processing buffer {"connection_id":190397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:32:57] local.INFO: IMEI packet received {"connection_id":190397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":190397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:33:02] local.INFO: TCP Data received {"connection_id":190397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:02] local.INFO: Processing buffer {"connection_id":190397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:02] local.INFO: IMEI packet received {"connection_id":190397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":190397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:33:03] local.INFO: TCP Data received {"connection_id":190397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6d9200012d19808007239758004200f924..."} 
[2026-09-23 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6d9200012d19808007239758004200f924..."} 
[2026-09-23 09:33:03] local.INFO: Processing buffer {"connection_id":190397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6d9200012d19808007239758004200f924..."} 
[2026-09-23 09:33:03] local.INFO: Packet analysis {"connection_id":190397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6d"} 
[2026-09-23 09:33:03] local.INFO: Extracted packet for processing {"connection_id":190397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6d"} 
[2026-09-23 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756646016,"raw_latitude":119773016,"longitude_deg":75.6646016,"latitude_deg":11.9773016,"altitude":66,"angle":249,"satellites":36,"speed":39,"hex_longitude":"2d198080","hex_latitude":"07239758","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274847232001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22614497462059008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844364815558780928,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136128000,"timestamp_ms":1790136128000,"timestamp_seconds":1790136128,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6d9200"} 
[2026-09-23 09:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:33:03] 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-09-23 09: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-23 09:33:03] 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-09-23 09: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-09-23 09:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274847232001,"66":13993,"137":206,"83":42752,"24":39,"16":22614497462059008,"45":1844364815558780928},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274847232001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22614497462059008,"km_value":22614497462059.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844364815558780928,"description":"Unknown IO ID 45"} 
[2026-09-23 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274847232001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1844364815558780928}} 
[2026-09-23 09:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":190397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:33:03] local.INFO: GPS data processed {"connection_id":190397,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:33:03] local.INFO: Acknowledgment sent {"connection_id":190397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:33:21] local.INFO: TCP Data received {"connection_id":193081,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:33:21] local.INFO: Processing buffer {"connection_id":193081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:33:21] local.INFO: IMEI packet received {"connection_id":193081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":193081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:33:22] local.INFO: TCP Data received {"connection_id":193081,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6e0b18012d0cb2000705b5500014010122..."} 
[2026-09-23 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6e0b18012d0cb2000705b5500014010122..."} 
[2026-09-23 09:33:22] local.INFO: Processing buffer {"connection_id":193081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6e0b18012d0cb2000705b5500014010122..."} 
[2026-09-23 09:33:22] local.INFO: Packet analysis {"connection_id":193081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:33:22] local.INFO: Extracted packet for processing {"connection_id":193081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":755806720,"raw_latitude":117814608,"longitude_deg":75.580672,"latitude_deg":11.7814608,"altitude":20,"angle":257,"satellites":34,"speed":23,"hex_longitude":"2d0cb200","hex_latitude":"0705b550","is_valid_coordinates":true} 
[2026-09-23 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274855424001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33422911511461888,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135539757056,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:22] 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-09-23 09:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790136159000,"timestamp_ms":1790136159000,"timestamp_seconds":1790136159,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6e0b18"} 
[2026-09-23 09:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:33: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-09-23 09:33: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-09-23 09:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274855424001,"66":14439,"220":206,"94":10240,"24":23,"16":33422911511461888,"45":916975135539757056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-23 09:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274855424001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33422911511461888,"km_value":33422911511461.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135539757056,"description":"Unknown IO ID 45"} 
[2026-09-23 09:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274855424001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":916975135539757056}} 
[2026-09-23 09:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":193081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:33:22] local.INFO: GPS data processed {"connection_id":193081,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:33:22] local.INFO: Acknowledgment sent {"connection_id":193081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:33:29] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:29] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:29] local.INFO: IMEI packet received {"connection_id":193082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":193082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:33:32] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:32] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:32] local.INFO: IMEI packet received {"connection_id":193082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":193082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:33:37] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:37] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:33:37] local.INFO: IMEI packet received {"connection_id":193082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":193082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:33:38] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6e39f8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6e39f8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:33:38] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6e39f8012d34c18006aa4440000800d12b..."} 
[2026-09-23 09:33:38] local.INFO: Packet analysis {"connection_id":193082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:33:38] local.INFO: Extracted packet for processing {"connection_id":193082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821888,"longitude_deg":75.8432128,"latitude_deg":11.1821888,"altitude":8,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-23 09:33: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-09-23 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274824192001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136171000,"timestamp_ms":1790136171000,"timestamp_seconds":1790136171,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6e39f8"} 
[2026-09-23 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-09-23 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 09:33: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-09-23 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-09-23 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-09-23 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:33: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-09-23 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274824192001,"66":25680,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274824192001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274824192001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":193082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:33:38] local.INFO: GPS data processed {"connection_id":193082,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:33:38] local.INFO: Acknowledgment sent {"connection_id":193082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:33:40] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:33:40] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:33:40] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:33:41] local.INFO: TCP Data received {"connection_id":190397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6d9db8012d19764007239250004400ed26..."} 
[2026-09-23 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6d9db8012d19764007239250004400ed26..."} 
[2026-09-23 09:33:41] local.INFO: Processing buffer {"connection_id":190397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6d9db8012d19764007239250004400ed26..."} 
[2026-09-23 09:33:41] local.INFO: Packet analysis {"connection_id":190397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6d"} 
[2026-09-23 09:33:41] local.INFO: Extracted packet for processing {"connection_id":190397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6d"} 
[2026-09-23 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756643392,"raw_latitude":119771728,"longitude_deg":75.6643392,"latitude_deg":11.9771728,"altitude":68,"angle":237,"satellites":38,"speed":38,"hex_longitude":"2d197640","hex_latitude":"07239250","is_valid_coordinates":true} 
[2026-09-23 09:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274848768001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22614639195979776,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837609416117409792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790136131000,"timestamp_ms":1790136131000,"timestamp_seconds":1790136131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6d9db8"} 
[2026-09-23 09:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:33: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-09-23 09:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274848768001,"66":14080,"137":206,"83":42752,"24":38,"16":22614639195979776,"45":1837609416117409792},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 09:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274848768001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:33:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 09:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22614639195979776,"km_value":22614639195979.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837609416117409792,"description":"Unknown IO ID 45"} 
[2026-09-23 09:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274848768001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1837609416117409792}} 
[2026-09-23 09:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":190397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:33:41] local.INFO: GPS data processed {"connection_id":190397,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:33:41] local.INFO: Acknowledgment sent {"connection_id":190397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:33:59] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:59] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:33:59] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:34:00] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:00] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:00] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:34:02] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:02] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:02] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:34:07] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:07] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:07] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:34:08] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6e8048012d18e2c00722f8f00060012326..."} 
[2026-09-23 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6e8048012d18e2c00722f8f00060012326..."} 
[2026-09-23 09:34:08] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6e8048012d18e2c00722f8f00060012326..."} 
[2026-09-23 09:34:08] local.INFO: Packet analysis {"connection_id":190398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:08] local.INFO: Extracted packet for processing {"connection_id":190398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756605632,"raw_latitude":119732464,"longitude_deg":75.6605632,"latitude_deg":11.9732464,"altitude":96,"angle":291,"satellites":38,"speed":39,"hex_longitude":"2d18e2c0","hex_latitude":"0722f8f0","is_valid_coordinates":true} 
[2026-09-23 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274863872001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22617375090147328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795247432111906816,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136189000,"timestamp_ms":1790136189000,"timestamp_seconds":1790136189,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6e8048"} 
[2026-09-23 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:34:08] 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-09-23 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-23 09:34:08] 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-09-23 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274863872001,"66":14004,"137":206,"83":42752,"24":39,"16":22617375090147328,"45":1795247432111906816},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274863872001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:34:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 09:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22617375090147328,"km_value":22617375090147.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795247432111906816,"description":"Unknown IO ID 45"} 
[2026-09-23 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274863872001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1795247432111906816}} 
[2026-09-23 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:34:08] local.INFO: GPS data processed {"connection_id":190398,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:34:08] local.INFO: Acknowledgment sent {"connection_id":190398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:34:09] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6e97b8012d34c08006aa4438000800d12c..."} 
[2026-09-23 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6e97b8012d34c08006aa4438000800d12c..."} 
[2026-09-23 09:34:09] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6e97b8012d34c08006aa4438000800d12c..."} 
[2026-09-23 09:34:09] local.INFO: Packet analysis {"connection_id":193082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:09] local.INFO: Extracted packet for processing {"connection_id":193082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111821880,"longitude_deg":75.8431872,"latitude_deg":11.182188,"altitude":8,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d34c080","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274859776001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592167936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136195000,"timestamp_ms":1790136195000,"timestamp_seconds":1790136195,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6e97b8"} 
[2026-09-23 09:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 09:34:09] 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-09-23 09: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-09-23 09:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274859776001,"66":27691,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801460326592167936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274859776001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592167936,"description":"Unknown IO ID 45"} 
[2026-09-23 09:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274859776001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592167936}} 
[2026-09-23 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":193082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:34:09] local.INFO: GPS data processed {"connection_id":193082,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:34:09] local.INFO: Acknowledgment sent {"connection_id":193082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:34:10] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:34:10] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:34:10] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:34:32] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:32] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:32] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:34:33] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:33] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:33] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:34:35] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:35] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:34:35] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:34:36] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6ee9c0012d34c08006aa4438000800d12a..."} 
[2026-09-23 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6ee9c0012d34c08006aa4438000800d12a..."} 
[2026-09-23 09:34:36] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6ee9c0012d34c08006aa4438000800d12a..."} 
[2026-09-23 09:34:36] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:36] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111821880,"longitude_deg":75.8431872,"latitude_deg":11.182188,"altitude":8,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d34c080","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-09-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274865920001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341160747925504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801178851615455232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790136216000,"timestamp_ms":1790136216000,"timestamp_seconds":1790136216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6ee9c0"} 
[2026-09-23 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:34: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-09-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 09:34: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-09-23 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09: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-09-23 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274865920001,"66":27865,"97":206,"81":23296,"24":0,"16":406341160747925504,"45":3801178851615455232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274865920001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341160747925504,"km_value":406341160747925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801178851615455232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274865920001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801178851615455232}} 
[2026-09-23 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:34:36] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:34:36] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:34:40] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6e9ba0012d18c880072303b00063011128..."} 
[2026-09-23 09:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6e9ba0012d18c880072303b00063011128..."} 
[2026-09-23 09:34:40] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6e9ba0012d18c880072303b00063011128..."} 
[2026-09-23 09:34:40] local.INFO: Packet analysis {"connection_id":190398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:40] local.INFO: Extracted packet for processing {"connection_id":190398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6e"} 
[2026-09-23 09:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119735216,"longitude_deg":75.6598912,"latitude_deg":11.9735216,"altitude":99,"angle":273,"satellites":40,"speed":40,"hex_longitude":"2d18c880","hex_latitude":"072303b0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274864384001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22617722982498304,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793206738530922496,"note":"Value kept but may cause issues"} 
[2026-09-23 09:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790136196000,"timestamp_ms":1790136196000,"timestamp_seconds":1790136196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6e9ba0"} 
[2026-09-23 09:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 09:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274864384001,"66":14048,"137":206,"83":42752,"24":40,"16":22617722982498304,"45":1793206738530922496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 09:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274864384001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:34:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 09:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 09:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22617722982498304,"km_value":22617722982498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793206738530922496,"description":"Unknown IO ID 45"} 
[2026-09-23 09:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274864384001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1793206738530922496}} 
[2026-09-23 09:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":190398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:34:40] local.INFO: GPS data processed {"connection_id":190398,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:34:40] local.INFO: Acknowledgment sent {"connection_id":190398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:34:57] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:57] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:34:57] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:35:01] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:01] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:01] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:35:01] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6f4b68012d189f0007226b88006900ce27..."} 
[2026-09-23 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6f4b68012d189f0007226b88006900ce27..."} 
[2026-09-23 09:35:01] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6f4b68012d189f0007226b88006900ce27..."} 
[2026-09-23 09:35:01] local.INFO: Packet analysis {"connection_id":191749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:01] local.INFO: Extracted packet for processing {"connection_id":191749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756588288,"raw_latitude":119696264,"longitude_deg":75.6588288,"latitude_deg":11.9696264,"altitude":105,"angle":206,"satellites":39,"speed":49,"hex_longitude":"2d189f00","hex_latitude":"07226b88","is_valid_coordinates":true} 
[2026-09-23 09:35: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-09-23 09:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274876672001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22619818926538752,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396199288832,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790136241000,"timestamp_ms":1790136241000,"timestamp_seconds":1790136241,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6f4b68"} 
[2026-09-23 09:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:35: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:35: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":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:35:01] 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-09-23 09:35: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-09-23 09:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274876672001,"66":14113,"105":206,"83":41984,"24":49,"16":22619818926538752,"45":1775966396199288832},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 09:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274876672001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:35:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 09:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22619818926538752,"km_value":22619818926538.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396199288832,"description":"Unknown IO ID 45"} 
[2026-09-23 09:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274876672001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1775966396199288832}} 
[2026-09-23 09:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":191749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:35:01] local.INFO: GPS data processed {"connection_id":191749,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:35:01] local.INFO: Acknowledgment sent {"connection_id":191749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:35:07] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6fad10012d34c70006aa3d60000600c029..."} 
[2026-09-23 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6fad10012d34c70006aa3d60000600c029..."} 
[2026-09-23 09:35:07] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6fad10012d34c70006aa3d60000600c029..."} 
[2026-09-23 09:35:07] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:07] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111820128,"longitude_deg":75.8433536,"latitude_deg":11.1820128,"altitude":6,"angle":192,"satellites":41,"speed":6,"hex_longitude":"2d34c700","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274883584001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341323956682752,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963716096,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790136266000,"timestamp_ms":1790136266000,"timestamp_seconds":1790136266,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6fad10"} 
[2026-09-23 09:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:35: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-09-23 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 09:35: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-09-23 09: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-09-23 09:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35: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-09-23 09:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274883584001,"66":27919,"97":206,"81":23296,"24":6,"16":406341323956682752,"45":3803008438963716096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274883584001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341323956682752,"km_value":406341323956682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963716096,"description":"Unknown IO ID 45"} 
[2026-09-23 09:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274883584001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3803008438963716096}} 
[2026-09-23 09:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:35:07] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:35:07] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:35:31] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:31] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:31] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:35:32] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:32] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:32] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:35:34] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6f66c0012d188b0007224c30006000d625..."} 
[2026-09-23 09:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6f66c0012d188b0007224c30006000d625..."} 
[2026-09-23 09:35:34] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6f66c0012d188b0007224c30006000d625..."} 
[2026-09-23 09:35:34] local.INFO: Packet analysis {"connection_id":191749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:34] local.INFO: Extracted packet for processing {"connection_id":191749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119688240,"longitude_deg":75.6583168,"latitude_deg":11.968824,"altitude":96,"angle":214,"satellites":37,"speed":56,"hex_longitude":"2d188b00","hex_latitude":"07224c30","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274877696001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22620278488039424,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774136808849508352,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790136248000,"timestamp_ms":1790136248000,"timestamp_seconds":1790136248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6f66c0"} 
[2026-09-23 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-09-23 09:35:34] 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-09-23 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 09:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274877696001,"66":14070,"105":206,"83":41984,"24":56,"16":22620278488039424,"45":1774136808849508352},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 09:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274877696001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:35:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 09:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22620278488039424,"km_value":22620278488039.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774136808849508352,"description":"Unknown IO ID 45"} 
[2026-09-23 09:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274877696001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":56,"odometer":null,"unknown_45":1774136808849508352}} 
[2026-09-23 09:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:35:34] local.INFO: GPS data processed {"connection_id":191749,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:35:34] local.INFO: Acknowledgment sent {"connection_id":191749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:35:35] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:35] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:35] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:35:37] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:37] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:35:37] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:35:38] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6fb0f8012d34c70006aa3cb8000600d12c..."} 
[2026-09-23 09:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6fb0f8012d34c70006aa3cb8000600d12c..."} 
[2026-09-23 09:35:38] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6fb0f8012d34c70006aa3cb8000600d12c..."} 
[2026-09-23 09:35:38] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:38] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111819960,"longitude_deg":75.8433536,"latitude_deg":11.181996,"altitude":6,"angle":209,"satellites":44,"speed":6,"hex_longitude":"2d34c700","hex_latitude":"06aa3cb8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274884096001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341328251650048,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963625984,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136267000,"timestamp_ms":1790136267000,"timestamp_seconds":1790136267,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6fb0f8"} 
[2026-09-23 09:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:35: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-09-23 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 09:35: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-09-23 09: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-09-23 09:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35: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-09-23 09:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274884096001,"66":27974,"97":206,"81":23296,"24":6,"16":406341328251650048,"45":3803008438963625984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274884096001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341328251650048,"km_value":406341328251650.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963625984,"description":"Unknown IO ID 45"} 
[2026-09-23 09:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274884096001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3803008438963625984}} 
[2026-09-23 09:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:35:38] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:35:38] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:35:40] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc6fb8c8012d34c60006aa3bb8000600e72c..."} 
[2026-09-23 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc6fb8c8012d34c60006aa3bb8000600e72c..."} 
[2026-09-23 09:35:40] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc6fb8c8012d34c60006aa3bb8000600e72c..."} 
[2026-09-23 09:35:40] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:40] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc6f"} 
[2026-09-23 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111819704,"longitude_deg":75.843328,"latitude_deg":11.1819704,"altitude":6,"angle":231,"satellites":44,"speed":7,"hex_longitude":"2d34c600","hex_latitude":"06aa3bb8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274884352001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341345431519232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963582976,"note":"Value kept but may cause issues"} 
[2026-09-23 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790136269000,"timestamp_ms":1790136269000,"timestamp_seconds":1790136269,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc6fb8c8"} 
[2026-09-23 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 09:35: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-09-23 09: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-09-23 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274884352001,"66":27789,"97":206,"81":23296,"24":7,"16":406341345431519232,"45":3803008438963582976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274884352001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341345431519232,"km_value":406341345431519.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963582976,"description":"Unknown IO ID 45"} 
[2026-09-23 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274884352001,"power":27789,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3803008438963582976}} 
[2026-09-23 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:35:40] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:35:40] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:35:58] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: IMEI packet received {"connection_id":193083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":193083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:35:58] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:58] local.INFO: IMEI packet received {"connection_id":193083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":193083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:35:59] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:59] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:35:59] local.INFO: IMEI packet received {"connection_id":193083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":193083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:36:04] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:04] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:04] local.INFO: IMEI packet received {"connection_id":193083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":193083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:36:04] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc706890012d1851c007218ab8004e007428..."} 
[2026-09-23 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc706890012d1851c007218ab8004e007428..."} 
[2026-09-23 09:36:04] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc706890012d1851c007218ab8004e007428..."} 
[2026-09-23 09:36:04] local.INFO: Packet analysis {"connection_id":193083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:04] local.INFO: Extracted packet for processing {"connection_id":193083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756568512,"raw_latitude":119638712,"longitude_deg":75.6568512,"latitude_deg":11.9638712,"altitude":78,"angle":116,"satellites":40,"speed":37,"hex_longitude":"2d1851c0","hex_latitude":"07218ab8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893568001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22623443878936576,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188299264,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790136314000,"timestamp_ms":1790136314000,"timestamp_seconds":1790136314,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc706890"} 
[2026-09-23 09:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-23 09:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893568001,"66":13276,"106":206,"83":41984,"24":37,"16":22623443878936576,"45":1742681980188299264},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893568001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22623443878936576,"km_value":22623443878936.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188299264,"description":"Unknown IO ID 45"} 
[2026-09-23 09:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893568001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1742681980188299264}} 
[2026-09-23 09:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":193083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:36:05] local.INFO: GPS data processed {"connection_id":193083,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:36:05] local.INFO: Acknowledgment sent {"connection_id":193083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:36:08] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc707c18012d18630007218320004d006927..."} 
[2026-09-23 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc707c18012d18630007218320004d006927..."} 
[2026-09-23 09:36:08] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc707c18012d18630007218320004d006927..."} 
[2026-09-23 09:36:08] local.INFO: Packet analysis {"connection_id":193083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:08] local.INFO: Extracted packet for processing {"connection_id":193083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636768,"longitude_deg":75.6572928,"latitude_deg":11.9636768,"altitude":77,"angle":105,"satellites":39,"speed":36,"hex_longitude":"2d186300","hex_latitude":"07218320","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274896384001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22623675807170560,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752392866883876864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136319000,"timestamp_ms":1790136319000,"timestamp_seconds":1790136319,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc707c18"} 
[2026-09-23 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:36:08] 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-09-23 09: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":220,"data_length":795,"current_offset":136} 
[2026-09-23 09:36: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-09-23 09: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-09-23 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274896384001,"66":13222,"106":206,"83":41984,"24":36,"16":22623675807170560,"45":1752392866883876864},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274896384001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22623675807170560,"km_value":22623675807170.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752392866883876864,"description":"Unknown IO ID 45"} 
[2026-09-23 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274896384001,"power":13222,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1752392866883876864}} 
[2026-09-23 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":193083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:36:08] local.INFO: GPS data processed {"connection_id":193083,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:36:08] local.INFO: Acknowledgment sent {"connection_id":193083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:36:12] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc703d98012d34c50006aa3c98000a004d2e..."} 
[2026-09-23 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc703d98012d34c50006aa3c98000a004d2e..."} 
[2026-09-23 09:36:12] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc703d98012d34c50006aa3c98000a004d2e..."} 
[2026-09-23 09:36:12] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:12] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819928,"longitude_deg":75.8433024,"latitude_deg":11.1819928,"altitude":10,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3c98","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893312001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341439920799744,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010153472,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790136303000,"timestamp_ms":1790136303000,"timestamp_seconds":1790136303,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc703d98"} 
[2026-09-23 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:36: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-09-23 09: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":173,"data_length":795,"current_offset":136} 
[2026-09-23 09:36: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-09-23 09: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-09-23 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:36: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-09-23 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893312001,"66":27908,"97":206,"81":23296,"24":0,"16":406341439920799744,"45":3802445489010153472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893312001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341439920799744,"km_value":406341439920799.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010153472,"description":"Unknown IO ID 45"} 
[2026-09-23 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893312001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010153472}} 
[2026-09-23 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:36:12] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:36:12] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:36:32] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:32] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:32] local.INFO: IMEI packet received {"connection_id":193084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":193084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:36:37] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:37] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:36:37] local.INFO: IMEI packet received {"connection_id":193084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":193084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:36:38] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc704180012d34c54006aa3ca8000900492e..."} 
[2026-09-23 09:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc704180012d34c54006aa3ca8000900492e..."} 
[2026-09-23 09:36:38] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc704180012d34c54006aa3ca8000900492e..."} 
[2026-09-23 09:36:38] local.INFO: Packet analysis {"connection_id":193084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:38] local.INFO: Extracted packet for processing {"connection_id":193084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111819944,"longitude_deg":75.8433088,"latitude_deg":11.1819944,"altitude":9,"angle":73,"satellites":46,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa3ca8","is_valid_coordinates":true} 
[2026-09-23 09:36: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-09-23 09:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893568001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010153472,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136304000,"timestamp_ms":1790136304000,"timestamp_seconds":1790136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc704180"} 
[2026-09-23 09:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:36: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-09-23 09:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893568001,"66":27908,"97":206,"81":23296,"24":2,"16":406341444215767040,"45":3802445489010153472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893568001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010153472,"description":"Unknown IO ID 45"} 
[2026-09-23 09:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893568001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010153472}} 
[2026-09-23 09:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":193084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:36:38] local.INFO: GPS data processed {"connection_id":193084,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:36:38] local.INFO: Acknowledgment sent {"connection_id":193084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:36:41] local.INFO: TCP Data received {"connection_id":193083,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7083e8012d186a4007218208004c005d27..."} 
[2026-09-23 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7083e8012d186a4007218208004c005d27..."} 
[2026-09-23 09:36:41] local.INFO: Processing buffer {"connection_id":193083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7083e8012d186a4007218208004c005d27..."} 
[2026-09-23 09:36:41] local.INFO: Packet analysis {"connection_id":193083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:41] local.INFO: Extracted packet for processing {"connection_id":193083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756574784,"raw_latitude":119636488,"longitude_deg":75.6574784,"latitude_deg":11.9636488,"altitude":76,"angle":93,"satellites":39,"speed":36,"hex_longitude":"2d186a40","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-09-23 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274897664001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22623761706516480,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310231638016,"note":"Value kept but may cause issues"} 
[2026-09-23 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790136321000,"timestamp_ms":1790136321000,"timestamp_seconds":1790136321,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7083e8"} 
[2026-09-23 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-23 09:36: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-09-23 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274897664001,"66":12776,"106":206,"83":41984,"24":36,"16":22623761706516480,"45":1757248310231638016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274897664001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22623761706516480,"km_value":22623761706516.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310231638016,"description":"Unknown IO ID 45"} 
[2026-09-23 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274897664001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1757248310231638016}} 
[2026-09-23 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":193083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:36:41] local.INFO: GPS data processed {"connection_id":193083,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:36:41] local.INFO: Acknowledgment sent {"connection_id":193083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:36:56] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:56] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:56] local.INFO: IMEI packet received {"connection_id":193085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":193085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:36:57] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:57] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:36:57] local.INFO: IMEI packet received {"connection_id":193086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":193086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:36:58] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:58] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:36:58] local.INFO: IMEI packet received {"connection_id":193085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":193085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:37:01] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:37:01] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:37:01] local.INFO: IMEI packet received {"connection_id":193085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":193085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:37:01] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc716678012d0cea400704c0580020005e20..."} 
[2026-09-23 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc716678012d0cea400704c0580020005e20..."} 
[2026-09-23 09:37:01] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc716678012d0cea400704c0580020005e20..."} 
[2026-09-23 09:37:01] local.INFO: Packet analysis {"connection_id":193085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc71"} 
[2026-09-23 09:37:01] local.INFO: Extracted packet for processing {"connection_id":193085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc71"} 
[2026-09-23 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755821120,"raw_latitude":117751896,"longitude_deg":75.582112,"latitude_deg":11.7751896,"altitude":32,"angle":94,"satellites":32,"speed":15,"hex_longitude":"2d0cea40","hex_latitude":"0704c058","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274912000001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33428318875287552,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929078559522146304,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:01] 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-09-23 09:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790136379000,"timestamp_ms":1790136379000,"timestamp_seconds":1790136379,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc716678"} 
[2026-09-23 09:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37:01] 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-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:37:01] 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-09-23 09: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-09-23 09:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274912000001,"66":14439,"95":206,"94":10240,"24":15,"16":33428318875287552,"45":929078559522146304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 09:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274912000001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 09:37:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33428318875287552,"km_value":33428318875287.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":929078559522146304,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274912000001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":929078559522146304}} 
[2026-09-23 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":193085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:02] local.INFO: GPS data processed {"connection_id":193085,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:02] local.INFO: Acknowledgment sent {"connection_id":193085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:02] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:02] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:02] local.INFO: IMEI packet received {"connection_id":193086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":193086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:37:04] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70a328012d1887c0072180e8004c006b27..."} 
[2026-09-23 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70a328012d1887c0072180e8004c006b27..."} 
[2026-09-23 09:37:04] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70a328012d1887c0072180e8004c006b27..."} 
[2026-09-23 09:37:04] local.INFO: Packet analysis {"connection_id":193086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:04] local.INFO: Extracted packet for processing {"connection_id":193086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756582336,"raw_latitude":119636200,"longitude_deg":75.6582336,"latitude_deg":11.96362,"altitude":76,"angle":107,"satellites":39,"speed":40,"hex_longitude":"2d1887c0","hex_latitude":"072180e8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274898176001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22624122483769344,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759289003812718592,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790136329000,"timestamp_ms":1790136329000,"timestamp_seconds":1790136329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70a328"} 
[2026-09-23 09:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 09:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274898176001,"66":13200,"106":206,"83":41984,"24":40,"16":22624122483769344,"45":1759289003812718592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274898176001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22624122483769344,"km_value":22624122483769.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759289003812718592,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274898176001,"power":13200,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1759289003812718592}} 
[2026-09-23 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":193086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:04] local.INFO: GPS data processed {"connection_id":193086,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:04] local.INFO: Acknowledgment sent {"connection_id":193086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:09] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:09] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:09] local.INFO: Packet analysis {"connection_id":193084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:09] local.INFO: Extracted packet for processing {"connection_id":193084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37: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-09-23 09:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:37: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-09-23 09:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37: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-09-23 09:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":193084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:09] local.INFO: GPS data processed {"connection_id":193084,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:09] local.INFO: Acknowledgment sent {"connection_id":193084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:33] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc717230012d0cf0000704bf700020006b21..."} 
[2026-09-23 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc717230012d0cf0000704bf700020006b21..."} 
[2026-09-23 09:37:33] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc717230012d0cf0000704bf700020006b21..."} 
[2026-09-23 09:37:33] local.INFO: Packet analysis {"connection_id":193085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc71"} 
[2026-09-23 09:37:33] local.INFO: Extracted packet for processing {"connection_id":193085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc71"} 
[2026-09-23 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755822592,"raw_latitude":117751664,"longitude_deg":75.5822592,"latitude_deg":11.7751664,"altitude":32,"angle":107,"satellites":33,"speed":22,"hex_longitude":"2d0cf000","hex_latitude":"0704bf70","is_valid_coordinates":true} 
[2026-09-23 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274913024001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33428387594764288,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930626671894091776,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37: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-09-23 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790136382000,"timestamp_ms":1790136382000,"timestamp_seconds":1790136382,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc717230"} 
[2026-09-23 09:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37: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-09-23 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 09:37: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-09-23 09:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274913024001,"66":14396,"95":206,"94":10240,"24":22,"16":33428387594764288,"45":930626671894091776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274913024001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 09:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33428387594764288,"km_value":33428387594764.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":930626671894091776,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274913024001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":930626671894091776}} 
[2026-09-23 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":193085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:33] local.INFO: GPS data processed {"connection_id":193085,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:33] local.INFO: Acknowledgment sent {"connection_id":193085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:35] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:37:35] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:37:35] local.INFO: Packet analysis {"connection_id":193086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:35] local.INFO: Extracted packet for processing {"connection_id":193086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632776,"longitude_deg":75.659136,"latitude_deg":11.9632776,"altitude":77,"angle":119,"satellites":37,"speed":29,"hex_longitude":"2d18ab00","hex_latitude":"07217388","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274900224001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22624582045270016,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767592515625609216,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790136340000,"timestamp_ms":1790136340000,"timestamp_seconds":1790136340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70ce20"} 
[2026-09-23 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37: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-09-23 09: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-09-23 09: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-09-23 09: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-09-23 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274900224001,"66":12972,"106":206,"83":41984,"24":29,"16":22624582045270016,"45":1767592515625609216},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274900224001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22624582045270016,"km_value":22624582045270.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767592515625609216,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274900224001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1767592515625609216}} 
[2026-09-23 09:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:35] local.INFO: GPS data processed {"connection_id":193086,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:35] local.INFO: Acknowledgment sent {"connection_id":193086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:37] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:37] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:37] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:37:42] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:42] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:37:42] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:37:43] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:43] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:43] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:43] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37: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-09-23 09:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:43] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:43] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:47] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:47] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:37:47] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:47] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:37:47] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:37:47] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:37:57] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:57] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:37:57] local.INFO: IMEI packet received {"connection_id":190230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":190230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:38:02] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:02] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:02] local.INFO: IMEI packet received {"connection_id":190230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":190230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:38:03] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:38:03] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70ce20012d18ab0007217388004d007725..."} 
[2026-09-23 09:38:03] local.INFO: Packet analysis {"connection_id":190230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:03] local.INFO: Extracted packet for processing {"connection_id":190230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632776,"longitude_deg":75.659136,"latitude_deg":11.9632776,"altitude":77,"angle":119,"satellites":37,"speed":29,"hex_longitude":"2d18ab00","hex_latitude":"07217388","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274903040001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22624582045270016,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553783296,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136340000,"timestamp_ms":1790136340000,"timestamp_seconds":1790136340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70ce20"} 
[2026-09-23 09:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:38: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-09-23 09: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":172,"data_length":795,"current_offset":136} 
[2026-09-23 09:38:03] 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-09-23 09: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-09-23 09:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274903040001,"66":12972,"106":206,"83":41984,"24":29,"16":22624582045270016,"45":1777514508553783296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274903040001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22624582045270016,"km_value":22624582045270.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553783296,"description":"Unknown IO ID 45"} 
[2026-09-23 09:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274903040001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777514508553783296}} 
[2026-09-23 09:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":190230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:38:03] local.INFO: GPS data processed {"connection_id":190230,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:38:03] local.INFO: Acknowledgment sent {"connection_id":190230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:38:05] local.INFO: TCP Data received {"connection_id":191751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:05] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:05] local.INFO: IMEI packet received {"connection_id":191751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":191751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:38:11] local.INFO: TCP Data received {"connection_id":191751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:11] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:38:11] local.INFO: IMEI packet received {"connection_id":191751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":191751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:38:11] local.INFO: TCP Data received {"connection_id":191751,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc728788012d0d384007047ea0001700ba21..."} 
[2026-09-23 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc728788012d0d384007047ea0001700ba21..."} 
[2026-09-23 09:38:11] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc728788012d0d384007047ea0001700ba21..."} 
[2026-09-23 09:38:11] local.INFO: Packet analysis {"connection_id":191751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:38:11] local.INFO: Extracted packet for processing {"connection_id":191751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":755841088,"raw_latitude":117735072,"longitude_deg":75.5841088,"latitude_deg":11.7735072,"altitude":23,"angle":186,"satellites":33,"speed":10,"hex_longitude":"2d0d3840","hex_latitude":"07047ea0","is_valid_coordinates":true} 
[2026-09-23 09:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274926848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33430066926977024,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038772750336,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:11] 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-09-23 09:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790136453000,"timestamp_ms":1790136453000,"timestamp_seconds":1790136453,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc728788"} 
[2026-09-23 09:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:38:11] 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-09-23 09:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 09:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274926848001,"66":13906,"17":206,"94":11008,"24":10,"16":33430066926977024,"45":953215038772750336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274926848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:38:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33430066926977024,"km_value":33430066926977.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038772750336,"description":"Unknown IO ID 45"} 
[2026-09-23 09:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274926848001,"power":13906,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953215038772750336}} 
[2026-09-23 09:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":191751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:38:12] local.INFO: GPS data processed {"connection_id":191751,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:38:12] local.INFO: Acknowledgment sent {"connection_id":191751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:38:32] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:32] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:32] local.INFO: IMEI packet received {"connection_id":190401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":190401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:38:34] local.INFO: TCP Data received {"connection_id":190230,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70d208012d18ad40072171c0004c008328..."} 
[2026-09-23 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70d208012d18ad40072171c0004c008328..."} 
[2026-09-23 09:38:34] local.INFO: Processing buffer {"connection_id":190230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70d208012d18ad40072171c0004c008328..."} 
[2026-09-23 09:38:34] local.INFO: Packet analysis {"connection_id":190230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:34] local.INFO: Extracted packet for processing {"connection_id":190230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632320,"longitude_deg":75.6591936,"latitude_deg":11.963232,"altitude":76,"angle":131,"satellites":40,"speed":30,"hex_longitude":"2d18ad40","hex_latitude":"072171c0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274903040001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22624620699975680,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553783296,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790136341000,"timestamp_ms":1790136341000,"timestamp_seconds":1790136341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70d208"} 
[2026-09-23 09:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:38:34] 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-09-23 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 09:38:34] 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-09-23 09: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-09-23 09:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274903040001,"66":12972,"106":206,"83":41984,"24":30,"16":22624620699975680,"45":1777514508553783296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274903040001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22624620699975680,"km_value":22624620699975.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553783296,"description":"Unknown IO ID 45"} 
[2026-09-23 09:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274903040001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777514508553783296}} 
[2026-09-23 09:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":190230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:38:34] local.INFO: GPS data processed {"connection_id":190230,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:38:34] local.INFO: Acknowledgment sent {"connection_id":190230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:38:37] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:37] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:38:37] local.INFO: IMEI packet received {"connection_id":190401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":190401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:38:38] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:38:38] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:38:38] local.INFO: Packet analysis {"connection_id":190401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:38] local.INFO: Extracted packet for processing {"connection_id":190401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:38: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-09-23 09: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-09-23 09:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":190401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:38:38] local.INFO: GPS data processed {"connection_id":190401,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:38:38] local.INFO: Acknowledgment sent {"connection_id":190401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:38:42] local.INFO: TCP Data received {"connection_id":191751,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc72a6c8012d0d3640070472c0001700cd21..."} 
[2026-09-23 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc72a6c8012d0d3640070472c0001700cd21..."} 
[2026-09-23 09:38:42] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc72a6c8012d0d3640070472c0001700cd21..."} 
[2026-09-23 09:38:42] local.INFO: Packet analysis {"connection_id":191751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:38:42] local.INFO: Extracted packet for processing {"connection_id":191751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":755840576,"raw_latitude":117732032,"longitude_deg":75.5840576,"latitude_deg":11.7732032,"altitude":23,"angle":205,"satellites":33,"speed":18,"hex_longitude":"2d0d3640","hex_latitude":"070472c0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274931968001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33430217250832384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952581720073216000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790136461000,"timestamp_ms":1790136461000,"timestamp_seconds":1790136461,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc72a6c8"} 
[2026-09-23 09:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-23 09:38:42] 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-09-23 09: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-09-23 09:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274931968001,"66":14450,"17":206,"94":11008,"24":18,"16":33430217250832384,"45":952581720073216000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274931968001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:38:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33430217250832384,"km_value":33430217250832.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":952581720073216000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274931968001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":952581720073216000}} 
[2026-09-23 09:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":191751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:38:43] local.INFO: GPS data processed {"connection_id":191751,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:38:43] local.INFO: Acknowledgment sent {"connection_id":191751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:38:58] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:58] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:38:58] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:39:02] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:02] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:02] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:39:05] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:05] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:05] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:39:07] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:07] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:07] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:39:08] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70d9d8012d18b18007216d28004b008f29..."} 
[2026-09-23 09:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70d9d8012d18b18007216d28004b008f29..."} 
[2026-09-23 09:39:08] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70d9d8012d18b18007216d28004b008f29..."} 
[2026-09-23 09:39:08] local.INFO: Packet analysis {"connection_id":190402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:08] local.INFO: Extracted packet for processing {"connection_id":190402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119631144,"longitude_deg":75.6593024,"latitude_deg":11.9631144,"altitude":75,"angle":143,"satellites":41,"speed":32,"hex_longitude":"2d18b180","hex_latitude":"07216d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274903296001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22624693714419712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251265536,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136343000,"timestamp_ms":1790136343000,"timestamp_seconds":1790136343,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70d9d8"} 
[2026-09-23 09:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39: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-09-23 09: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-09-23 09: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-09-23 09: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-09-23 09:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274903296001,"66":12939,"106":206,"83":41984,"24":32,"16":22624693714419712,"45":1778147827251265536},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274903296001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22624693714419712,"km_value":22624693714419.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251265536,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274903296001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1778147827251265536}} 
[2026-09-23 09:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:08] local.INFO: GPS data processed {"connection_id":190402,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:08] local.INFO: Acknowledgment sent {"connection_id":190402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:10] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:10] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:10] local.INFO: Packet analysis {"connection_id":190401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:10] local.INFO: Extracted packet for processing {"connection_id":190401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:39: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-09-23 09:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:39: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-09-23 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":190401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:10] local.INFO: GPS data processed {"connection_id":190401,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:10] local.INFO: Acknowledgment sent {"connection_id":190401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:11] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:11] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:39:11] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:39:11] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc72ba50012d0d3300070469a0001600c021..."} 
[2026-09-23 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc72ba50012d0d3300070469a0001600c021..."} 
[2026-09-23 09:39:11] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc72ba50012d0d3300070469a0001600c021..."} 
[2026-09-23 09:39:11] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:39:11] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":755839744,"raw_latitude":117729696,"longitude_deg":75.5839744,"latitude_deg":11.7729696,"altitude":22,"angle":192,"satellites":33,"speed":20,"hex_longitude":"2d0d3300","hex_latitude":"070469a0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274934016001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33430337509916672,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952018770119016448,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:11] 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-09-23 09:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790136466000,"timestamp_ms":1790136466000,"timestamp_seconds":1790136466,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc72ba50"} 
[2026-09-23 09:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39:11] 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-09-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 09:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274934016001,"66":14439,"17":206,"94":11008,"24":20,"16":33430337509916672,"45":952018770119016448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274934016001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33430337509916672,"km_value":33430337509916.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":952018770119016448,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274934016001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":952018770119016448}} 
[2026-09-23 09:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:12] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:12] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:13] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc70fd00012d18c34007215228004700a128..."} 
[2026-09-23 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc70fd00012d18c34007215228004700a128..."} 
[2026-09-23 09:39:13] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc70fd00012d18c34007215228004700a128..."} 
[2026-09-23 09:39:13] local.INFO: Packet analysis {"connection_id":190402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:13] local.INFO: Extracted packet for processing {"connection_id":190402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119624232,"longitude_deg":75.6597568,"latitude_deg":11.9624232,"altitude":71,"angle":161,"satellites":40,"speed":38,"hex_longitude":"2d18c340","hex_latitude":"07215228","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274903808001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22625093146378240,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095901984768,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790136352000,"timestamp_ms":1790136352000,"timestamp_seconds":1790136352,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc70fd00"} 
[2026-09-23 09:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39:13] 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-09-23 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 09:39:13] 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-09-23 09: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-09-23 09:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274903808001,"66":13004,"106":206,"83":41984,"24":38,"16":22625093146378240,"45":1779344095901984768},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 09:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274903808001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 09:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22625093146378240,"km_value":22625093146378.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095901984768,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274903808001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1779344095901984768}} 
[2026-09-23 09:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":190402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:13] local.INFO: GPS data processed {"connection_id":190402,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:13] local.INFO: Acknowledgment sent {"connection_id":190402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:25] local.INFO: TCP Data received {"connection_id":190231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:39:25] local.INFO: Processing buffer {"connection_id":190231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:39:25] local.INFO: IMEI packet received {"connection_id":190231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":190231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:39:32] local.INFO: TCP Data received {"connection_id":193087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:32] local.INFO: Processing buffer {"connection_id":193087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:32] local.INFO: IMEI packet received {"connection_id":193087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":193087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:39:37] local.INFO: TCP Data received {"connection_id":193087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:37] local.INFO: Processing buffer {"connection_id":193087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:39:37] local.INFO: IMEI packet received {"connection_id":193087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":193087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:39:39] local.INFO: TCP Data received {"connection_id":193087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:39] local.INFO: Processing buffer {"connection_id":193087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:39:39] local.INFO: Packet analysis {"connection_id":193087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:39] local.INFO: Extracted packet for processing {"connection_id":193087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39: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-09-23 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:39: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-09-23 09: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-09-23 09:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:39: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-09-23 09:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":193087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:39] local.INFO: GPS data processed {"connection_id":193087,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:39] local.INFO: Acknowledgment sent {"connection_id":193087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:43] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc72d1c0012d0d30c007045f68001500cd21..."} 
[2026-09-23 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc72d1c0012d0d30c007045f68001500cd21..."} 
[2026-09-23 09:39:43] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc72d1c0012d0d30c007045f68001500cd21..."} 
[2026-09-23 09:39:43] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:39:43] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc72"} 
[2026-09-23 09:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755839168,"raw_latitude":117727080,"longitude_deg":75.5839168,"latitude_deg":11.772708,"altitude":21,"angle":205,"satellites":33,"speed":12,"hex_longitude":"2d0d30c0","hex_latitude":"07045f68","is_valid_coordinates":true} 
[2026-09-23 09:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274935296001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33430470653902848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951103976444108800,"note":"Value kept but may cause issues"} 
[2026-09-23 09:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136472000,"timestamp_ms":1790136472000,"timestamp_seconds":1790136472,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc72d1c0"} 
[2026-09-23 09:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 09:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274935296001,"66":14396,"17":206,"94":11008,"24":12,"16":33430470653902848,"45":951103976444108800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274935296001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33430470653902848,"km_value":33430470653902.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":951103976444108800,"description":"Unknown IO ID 45"} 
[2026-09-23 09:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274935296001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":951103976444108800}} 
[2026-09-23 09:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:39:43] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:39:43] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:39:57] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:57] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:39:57] local.INFO: IMEI packet received {"connection_id":190232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":190232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:40:02] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:02] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:02] local.INFO: IMEI packet received {"connection_id":190232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":190232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:40:03] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc739128012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc739128012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:40:03] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc739128012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:40:03] local.INFO: Packet analysis {"connection_id":190232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc73"} 
[2026-09-23 09:40:03] local.INFO: Extracted packet for processing {"connection_id":190232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc73"} 
[2026-09-23 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":41,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274944000001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136521000,"timestamp_ms":1790136521000,"timestamp_seconds":1790136521,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc739128"} 
[2026-09-23 09:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40: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-09-23 09: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274944000001,"66":12885,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274944000001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274944000001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":190232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:03] local.INFO: GPS data processed {"connection_id":190232,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:03] local.INFO: Acknowledgment sent {"connection_id":190232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:10] local.INFO: TCP Data received {"connection_id":193087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:10] local.INFO: Processing buffer {"connection_id":193087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:10] local.INFO: Packet analysis {"connection_id":193087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:40:10] local.INFO: Extracted packet for processing {"connection_id":193087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:40: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-09-23 09:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":193087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:10] local.INFO: GPS data processed {"connection_id":193087,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:10] local.INFO: Acknowledgment sent {"connection_id":193087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:10] local.INFO: TCP Data received {"connection_id":193088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:10] local.INFO: Processing buffer {"connection_id":193088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:10] local.INFO: IMEI packet received {"connection_id":193088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":193088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:40:10] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:40:10] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:40:10] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:40:16] local.INFO: TCP Data received {"connection_id":193088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:16] local.INFO: Processing buffer {"connection_id":193088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:40:16] local.INFO: IMEI packet received {"connection_id":193088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":193088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:40:16] local.INFO: TCP Data received {"connection_id":193088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7473b8012d0d2cc00703cf50001400a822..."} 
[2026-09-23 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7473b8012d0d2cc00703cf50001400a822..."} 
[2026-09-23 09:40:16] local.INFO: Processing buffer {"connection_id":193088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7473b8012d0d2cc00703cf50001400a822..."} 
[2026-09-23 09:40:16] local.INFO: Packet analysis {"connection_id":193088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:40:16] local.INFO: Extracted packet for processing {"connection_id":193088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117690192,"longitude_deg":75.5838144,"latitude_deg":11.7690192,"altitude":20,"angle":168,"satellites":34,"speed":14,"hex_longitude":"2d0d2cc0","hex_latitude":"0703cf50","is_valid_coordinates":true} 
[2026-09-23 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274959616001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33432291720036352,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807878256640,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40: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-09-23 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790136579000,"timestamp_ms":1790136579000,"timestamp_seconds":1790136579,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7473b8"} 
[2026-09-23 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 09: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-09-23 09:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274959616001,"66":14439,"16":33432291720036352,"94":11008,"24":14,"45":948781807878256640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274959616001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33432291720036352,"km_value":33432291720036.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807878256640,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274959616001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":948781807878256640}} 
[2026-09-23 09:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":193088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:17] local.INFO: GPS data processed {"connection_id":193088,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:17] local.INFO: Acknowledgment sent {"connection_id":193088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:21] local.INFO: TCP Data received {"connection_id":193088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc748740012d0d2dc00703c9f8001300b622..."} 
[2026-09-23 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc748740012d0d2dc00703c9f8001300b622..."} 
[2026-09-23 09:40:21] local.INFO: Processing buffer {"connection_id":193088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc748740012d0d2dc00703c9f8001300b622..."} 
[2026-09-23 09:40:21] local.INFO: Packet analysis {"connection_id":193088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:40:21] local.INFO: Extracted packet for processing {"connection_id":193088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:40:21] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117688824,"longitude_deg":75.58384,"latitude_deg":11.7688824,"altitude":19,"angle":182,"satellites":34,"speed":7,"hex_longitude":"2d0d2dc0","hex_latitude":"0703c9f8","is_valid_coordinates":true} 
[2026-09-23 09:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274964224001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33432360439513088,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829554176,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40: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-09-23 09:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790136584000,"timestamp_ms":1790136584000,"timestamp_seconds":1790136584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc748740"} 
[2026-09-23 09:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40: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-09-23 09:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 09:40: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-09-23 09:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274964224001,"66":14309,"16":33432360439513088,"94":11008,"24":7,"45":949344757829554176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 09:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274964224001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33432360439513088,"km_value":33432360439513.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829554176,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274964224001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949344757829554176}} 
[2026-09-23 09:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":193088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:21] local.INFO: GPS data processed {"connection_id":193088,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:21] local.INFO: Acknowledgment sent {"connection_id":193088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:32] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:32] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:32] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:40:34] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc73e330012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc73e330012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:40:34] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc73e330012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:40:34] local.INFO: Packet analysis {"connection_id":190232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc73"} 
[2026-09-23 09:40:34] local.INFO: Extracted packet for processing {"connection_id":190232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc73"} 
[2026-09-23 09:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":40,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274949376001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790136542000,"timestamp_ms":1790136542000,"timestamp_seconds":1790136542,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc73e330"} 
[2026-09-23 09:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40:34] 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-09-23 09: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 09:40: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-09-23 09: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-09-23 09:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274949376001,"66":12863,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274949376001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274949376001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":190232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:34] local.INFO: GPS data processed {"connection_id":190232,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:34] local.INFO: Acknowledgment sent {"connection_id":190232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:37] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:37] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:40:37] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:40:39] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:39] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc705120012d34c58006aa3cd0000a003a2e..."} 
[2026-09-23 09:40:39] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:40:39] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc70"} 
[2026-09-23 09:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819984,"longitude_deg":75.8433152,"latitude_deg":11.1819984,"altitude":10,"angle":58,"satellites":46,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274893824001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754335232,"note":"Value kept but may cause issues"} 
[2026-09-23 09:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790136308000,"timestamp_ms":1790136308000,"timestamp_seconds":1790136308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc705120"} 
[2026-09-23 09:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:40: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-09-23 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:40: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-09-23 09: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-09-23 09:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:40: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-09-23 09:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274893824001,"66":27158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754335232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274893824001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754335232,"description":"Unknown IO ID 45"} 
[2026-09-23 09:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274893824001,"power":27158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754335232}} 
[2026-09-23 09:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:40:39] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:40:39] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:40:57] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:57] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:40:57] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:41:02] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:02] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:02] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:41:03] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc743538012d18d6c00720fc48003d00a824..."} 
[2026-09-23 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc743538012d18d6c00720fc48003d00a824..."} 
[2026-09-23 09:41:03] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc743538012d18d6c00720fc48003d00a824..."} 
[2026-09-23 09:41:03] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:03] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274954752001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136563000,"timestamp_ms":1790136563000,"timestamp_seconds":1790136563,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc743538"} 
[2026-09-23 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41: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-09-23 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:03] 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-09-23 09: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-09-23 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274954752001,"66":12819,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274954752001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274954752001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:03] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:03] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:06] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:06] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:06] local.INFO: IMEI packet received {"connection_id":193089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":193089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:41:09] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:09] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:41:09] local.INFO: IMEI packet received {"connection_id":193089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":193089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:41:10] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:10] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:10] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:10] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:10] 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-09-23 09:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:41: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-09-23 09:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:10] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:10] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:10] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74d560012d0d2e800703cc10001300b623..."} 
[2026-09-23 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74d560012d0d2e800703cc10001300b623..."} 
[2026-09-23 09:41:10] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74d560012d0d2e800703cc10001300b623..."} 
[2026-09-23 09:41:10] local.INFO: Packet analysis {"connection_id":193089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:10] local.INFO: Extracted packet for processing {"connection_id":193089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117689360,"longitude_deg":75.5838592,"latitude_deg":11.768936,"altitude":19,"angle":182,"satellites":35,"speed":0,"hex_longitude":"2d0d2e80","hex_latitude":"0703cc10","is_valid_coordinates":true} 
[2026-09-23 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274965504001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33432416274087936,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232805914624,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:10] 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-09-23 09:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790136604000,"timestamp_ms":1790136604000,"timestamp_seconds":1790136604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74d560"} 
[2026-09-23 09:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:10] 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-09-23 09:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274965504001,"66":14450,"16":33432416274087936,"94":11008,"24":0,"45":949626232805914624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 09:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274965504001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33432416274087936,"km_value":33432416274087.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232805914624,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274965504001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":949626232805914624}} 
[2026-09-23 09:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":193089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:10] local.INFO: GPS data processed {"connection_id":193089,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:10] local.INFO: Acknowledgment sent {"connection_id":193089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:32] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:32] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:32] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:41:35] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc748740012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc748740012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:41:35] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc748740012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:41:35] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:35] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":42,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274960128001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790136584000,"timestamp_ms":1790136584000,"timestamp_seconds":1790136584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc748740"} 
[2026-09-23 09:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41:35] 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-09-23 09: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3430041864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944876064768,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":8212032450584958656,"corrected_to":0} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4232577085,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403759872,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":72,"raw_value":17170695804944384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182100860600576,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611982178070957,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2376853869205432360,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195058688,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751278613668092,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,98,160,227,45,192,252,61,40,10,66,145,41,63,1,240,204,32,4,113,205,155,214,72,239,50,2,80,7,164,109,69,248],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":204,"original":8212032450584958656,"validated":0},{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-09-23 09:41:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395698108885893120,"timestamp_seconds":4395698108885893.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 09:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274960128001,"66":12841,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274960128001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274960128001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:35] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:35] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:37] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:37] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:41:37] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:41:38] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:38] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:41:38] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:38] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41: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-09-23 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:38] 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-09-23 09: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-09-23 09:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:41: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-09-23 09:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:38] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:38] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:41] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc751f98012d0d2d800703ccd80012014824..."} 
[2026-09-23 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc751f98012d0d2d800703ccd80012014824..."} 
[2026-09-23 09:41:41] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc751f98012d0d2d800703ccd80012014824..."} 
[2026-09-23 09:41:41] local.INFO: Packet analysis {"connection_id":193089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:41:41] local.INFO: Extracted packet for processing {"connection_id":193089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689560,"longitude_deg":75.5838336,"latitude_deg":11.768956,"altitude":18,"angle":328,"satellites":36,"speed":6,"hex_longitude":"2d0d2d80","hex_latitude":"0703ccd8","is_valid_coordinates":true} 
[2026-09-23 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274970624001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33432433453957120,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339038584832,"note":"Value kept but may cause issues"} 
[2026-09-23 09:41:41] 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-09-23 09:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790136623000,"timestamp_ms":1790136623000,"timestamp_seconds":1790136623,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc751f98"} 
[2026-09-23 09:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 09:41:41] 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-09-23 09:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274970624001,"66":14450,"16":33432433453957120,"94":11008,"24":6,"45":949837339038584832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 09:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274970624001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33432433453957120,"km_value":33432433453957.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:41:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339038584832,"description":"Unknown IO ID 45"} 
[2026-09-23 09:41:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274970624001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949837339038584832}} 
[2026-09-23 09:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":193089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884151,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:41:41] local.INFO: GPS data processed {"connection_id":193089,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:41:41] local.INFO: Acknowledgment sent {"connection_id":193089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:41:58] local.INFO: TCP Data received {"connection_id":193090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:58] local.INFO: Processing buffer {"connection_id":193090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:41:58] local.INFO: IMEI packet received {"connection_id":193090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":193090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:42:02] local.INFO: TCP Data received {"connection_id":193090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:02] local.INFO: Processing buffer {"connection_id":193090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:02] local.INFO: IMEI packet received {"connection_id":193090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":193090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:42:03] local.INFO: TCP Data received {"connection_id":193090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74d948012d18d6c00720fc48003d00a827..."} 
[2026-09-23 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74d948012d18d6c00720fc48003d00a827..."} 
[2026-09-23 09:42:03] local.INFO: Processing buffer {"connection_id":193090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74d948012d18d6c00720fc48003d00a827..."} 
[2026-09-23 09:42:03] local.INFO: Packet analysis {"connection_id":193090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:03] local.INFO: Extracted packet for processing {"connection_id":193090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":39,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274965504001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136605000,"timestamp_ms":1790136605000,"timestamp_seconds":1790136605,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74d948"} 
[2026-09-23 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42:03] 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-09-23 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274965504001,"66":12819,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274965504001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274965504001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":193090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:04] local.INFO: GPS data processed {"connection_id":193090,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:04] local.INFO: Acknowledgment sent {"connection_id":193090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:06] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:06] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:06] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:42:09] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:09] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:09] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:09] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:09] 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-09-23 09:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:42: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-09-23 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:09] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:09] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:11] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:11] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:42:11] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:42:12] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc752380012d0d2d400703cd780012015624..."} 
[2026-09-23 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc752380012d0d2d400703cd780012015624..."} 
[2026-09-23 09:42:12] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc752380012d0d2d400703cd780012015624..."} 
[2026-09-23 09:42:12] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:42:12] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117689720,"longitude_deg":75.5838272,"latitude_deg":11.768972,"altitude":18,"angle":342,"satellites":36,"speed":8,"hex_longitude":"2d0d2d40","hex_latitude":"0703cd78","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274975488001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33432442043891712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061925376,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 09:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790136624000,"timestamp_ms":1790136624000,"timestamp_seconds":1790136624,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc752380"} 
[2026-09-23 09:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:12] 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-09-23 09: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-09-23 09:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274975488001,"66":14407,"16":33432442043891712,"94":11008,"24":8,"45":949555864061925376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 09:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274975488001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33432442043891712,"km_value":33432442043891.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061925376,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458274975488001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949555864061925376}} 
[2026-09-23 09:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":191756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:12] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:12] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:32] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:32] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:32] local.INFO: IMEI packet received {"connection_id":193091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:42:35] local.INFO: TCP Data received {"connection_id":193090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc752b50012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc752b50012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:42:35] local.INFO: Processing buffer {"connection_id":193090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc752b50012d18d6c00720fc48003d00a828..."} 
[2026-09-23 09:42:35] local.INFO: Packet analysis {"connection_id":193090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:42:35] local.INFO: Extracted packet for processing {"connection_id":193090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":40,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274970880001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790136626000,"timestamp_ms":1790136626000,"timestamp_seconds":1790136626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc752b50"} 
[2026-09-23 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42: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-09-23 09: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3430083864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503944876064768,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":8258211938951550656,"corrected_to":0} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4232577085,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403759872,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":72,"raw_value":17170695821721600,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182100860600576,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410231750227,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2376853869205432361,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751278613668092,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,98,160,135,45,192,252,61,42,10,66,53,36,227,1,240,63,204,32,4,113,205,214,72,39,239,50,2,80,7,164,109,69,8],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":204,"original":8258211938951550656,"validated":0},{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-09-23 09:42:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395698121770795008,"timestamp_seconds":4395698121770795.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274970880001,"66":11819,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274970880001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274970880001,"power":11819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:35] local.INFO: GPS data processed {"connection_id":193090,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:35] local.INFO: Acknowledgment sent {"connection_id":193090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:37] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:37] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:42:37] local.INFO: IMEI packet received {"connection_id":193091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":193091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:42:38] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:38] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:42:38] local.INFO: Packet analysis {"connection_id":193091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:38] local.INFO: Extracted packet for processing {"connection_id":193091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:38] 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-09-23 09: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-09-23 09:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:42: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-09-23 09:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":193091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:38] local.INFO: GPS data processed {"connection_id":193091,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:38] local.INFO: Acknowledgment sent {"connection_id":193091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:43] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc770010012d0d2cc007044f880014000823..."} 
[2026-09-23 09:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc770010012d0d2cc007044f880014000823..."} 
[2026-09-23 09:42:43] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc770010012d0d2cc007044f880014000823..."} 
[2026-09-23 09:42:43] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:42:43] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117723016,"longitude_deg":75.5838144,"latitude_deg":11.7723016,"altitude":20,"angle":8,"satellites":35,"speed":14,"hex_longitude":"2d0d2cc0","hex_latitude":"07044f88","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275005952001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434091311333376,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545372594176,"note":"Value kept but may cause issues"} 
[2026-09-23 09:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136746000,"timestamp_ms":1790136746000,"timestamp_seconds":1790136746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc770010"} 
[2026-09-23 09:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:42:43] 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-09-23 09: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-09-23 09:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275005952001,"66":14461,"17":206,"94":11008,"24":14,"16":33434091311333376,"45":948922545372594176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275005952001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434091311333376,"km_value":33434091311333.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545372594176,"description":"Unknown IO ID 45"} 
[2026-09-23 09:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275005952001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":948922545372594176}} 
[2026-09-23 09:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":191756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:42:43] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:42:43] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:42:57] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:57] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:57] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:42:58] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:58] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:42:58] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:02] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:02] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:02] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:03] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc757d58012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc757d58012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:43:03] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc757d58012d18d6c00720fc48003d00a829..."} 
[2026-09-23 09:43:03] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:43:03] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":41,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274976256001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790136647000,"timestamp_ms":1790136647000,"timestamp_seconds":1790136647,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc757d58"} 
[2026-09-23 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-09-23 09:43:03] 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-09-23 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":46,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":815,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274976256001,"66":12798,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274976256001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274976256001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:03] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:03] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:05] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:05] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:05] local.INFO: IMEI packet received {"connection_id":193092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":193092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:43:08] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc75cf60012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc75cf60012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:43:08] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc75cf60012d18d6c00720fc48003d00a82a..."} 
[2026-09-23 09:43:08] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:43:08] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc75"} 
[2026-09-23 09:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":61,"angle":168,"satellites":42,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274981632001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22626218427809792,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136668000,"timestamp_ms":1790136668000,"timestamp_seconds":1790136668,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc75cf60"} 
[2026-09-23 09:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43:08] 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-09-23 09: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274981632001,"66":12722,"103":206,"83":41984,"24":0,"16":22626218427809792,"45":1789829038777059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274981632001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22626218427809792,"km_value":22626218427809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274981632001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-09-23 09:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:08] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:08] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:09] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:09] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:09] local.INFO: IMEI packet received {"connection_id":193092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":193092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:09] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:09] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:09] local.INFO: Packet analysis {"connection_id":193091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:09] local.INFO: Extracted packet for processing {"connection_id":193091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43: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-09-23 09:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:09] 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-09-23 09: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-09-23 09:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43: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-09-23 09:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":193091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:09] local.INFO: GPS data processed {"connection_id":193091,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:09] local.INFO: Acknowledgment sent {"connection_id":193091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:10] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:10] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:43:10] local.INFO: IMEI packet received {"connection_id":193092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":193092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:11] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc771b68012d0d2f4007045af00015001323..."} 
[2026-09-23 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc771b68012d0d2f4007045af00015001323..."} 
[2026-09-23 09:43:11] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc771b68012d0d2f4007045af00015001323..."} 
[2026-09-23 09:43:11] local.INFO: Packet analysis {"connection_id":193092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:11] local.INFO: Extracted packet for processing {"connection_id":193092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:11] local.INFO: GPS Element Parsed {"raw_longitude":755838784,"raw_latitude":117725936,"longitude_deg":75.5838784,"latitude_deg":11.7725936,"altitude":21,"angle":19,"satellites":35,"speed":15,"hex_longitude":"2d0d2f40","hex_latitude":"07045af0","is_valid_coordinates":true} 
[2026-09-23 09:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275006976001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434237340221440,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757837957120,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:11] 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-09-23 09:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790136753000,"timestamp_ms":1790136753000,"timestamp_seconds":1790136753,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc771b68"} 
[2026-09-23 09:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43:11] 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-09-23 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275006976001,"66":14537,"17":206,"94":11008,"24":15,"16":33434237340221440,"45":949344757837957120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275006976001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434237340221440,"km_value":33434237340221.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757837957120,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275006976001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":949344757837957120}} 
[2026-09-23 09:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":193092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:11] local.INFO: GPS data processed {"connection_id":193092,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:11] local.INFO: Acknowledgment sent {"connection_id":193092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:16] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7732d8012d0d3280070464d00016000723..."} 
[2026-09-23 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7732d8012d0d3280070464d00016000723..."} 
[2026-09-23 09:43:16] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7732d8012d0d3280070464d00016000723..."} 
[2026-09-23 09:43:16] local.INFO: Packet analysis {"connection_id":193092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:16] local.INFO: Extracted packet for processing {"connection_id":193092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:16] local.INFO: GPS Element Parsed {"raw_longitude":755839616,"raw_latitude":117728464,"longitude_deg":75.5839616,"latitude_deg":11.7728464,"altitude":22,"angle":7,"satellites":35,"speed":19,"hex_longitude":"2d0d3280","hex_latitude":"070464d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275008768001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434366189240320,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950048445280481280,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790136759000,"timestamp_ms":1790136759000,"timestamp_seconds":1790136759,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7732d8"} 
[2026-09-23 09:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":201,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:16] 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-09-23 09: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-09-23 09:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275008768001,"66":14461,"17":206,"94":11008,"24":19,"16":33434366189240320,"45":950048445280481280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275008768001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434366189240320,"km_value":33434366189240.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":950048445280481280,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275008768001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":950048445280481280}} 
[2026-09-23 09:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":193092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:16] local.INFO: GPS data processed {"connection_id":193092,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:16] local.INFO: Acknowledgment sent {"connection_id":193092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:37] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:37] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:37] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:43:39] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc774a48012d195a800720aaf80032005328..."} 
[2026-09-23 09:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc774a48012d195a800720aaf80032005328..."} 
[2026-09-23 09:43:39] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc774a48012d195a800720aaf80032005328..."} 
[2026-09-23 09:43:39] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:39] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119581432,"longitude_deg":75.6636288,"latitude_deg":11.9581432,"altitude":50,"angle":83,"satellites":40,"speed":34,"hex_longitude":"2d195a80","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275011328001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22628189817798656,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673372198912,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790136765000,"timestamp_ms":1790136765000,"timestamp_seconds":1790136765,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc774a48"} 
[2026-09-23 09:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43: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-09-23 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275011328001,"66":14243,"103":206,"83":41984,"24":34,"16":22628189817798656,"45":1824872673372198912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275011328001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22628189817798656,"km_value":22628189817798.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673372198912,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275011328001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1824872673372198912}} 
[2026-09-23 09:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:39] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:39] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:42] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:42] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:43:42] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:43:43] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:43] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:43] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:43] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43: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-09-23 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:43] 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-09-23 09:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43: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-09-23 09:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:43] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:43] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:47] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:47] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:43:47] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:47] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:47] 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-09-23 09:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:47] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:47] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:47] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc774278012d0d344007046dc80017001423..."} 
[2026-09-23 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc774278012d0d344007046dc80017001423..."} 
[2026-09-23 09:43:47] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc774278012d0d344007046dc80017001423..."} 
[2026-09-23 09:43:47] local.INFO: Packet analysis {"connection_id":193092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:47] local.INFO: Extracted packet for processing {"connection_id":193092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755840064,"raw_latitude":117730760,"longitude_deg":75.5840064,"latitude_deg":11.773076,"altitude":23,"angle":20,"satellites":35,"speed":25,"hex_longitude":"2d0d3440","hex_latitude":"07046dc8","is_valid_coordinates":true} 
[2026-09-23 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275010304001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434482153357312,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950963238955438080,"note":"Value kept but may cause issues"} 
[2026-09-23 09:43: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-09-23 09:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790136763000,"timestamp_ms":1790136763000,"timestamp_seconds":1790136763,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc774278"} 
[2026-09-23 09:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275010304001,"66":14428,"17":206,"94":11008,"24":25,"16":33434482153357312,"45":950963238955438080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275010304001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434482153357312,"km_value":33434482153357.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":950963238955438080,"description":"Unknown IO ID 45"} 
[2026-09-23 09:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275010304001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":950963238955438080}} 
[2026-09-23 09:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":193092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:43:48] local.INFO: GPS data processed {"connection_id":193092,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:43:48] local.INFO: Acknowledgment sent {"connection_id":193092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:43:57] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:57] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:43:57] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:44:03] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:44:03] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:44:03] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:44:04] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc777158012d197ec00720b1c00033004e27..."} 
[2026-09-23 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc777158012d197ec00720b1c00033004e27..."} 
[2026-09-23 09:44:04] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc777158012d197ec00720b1c00033004e27..."} 
[2026-09-23 09:44:04] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:04] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119583168,"longitude_deg":75.6645568,"latitude_deg":11.9583168,"altitude":51,"angle":78,"satellites":39,"speed":35,"hex_longitude":"2d197ec0","hex_latitude":"0720b1c0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275011840001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22628640789364736,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366953359360,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790136775000,"timestamp_ms":1790136775000,"timestamp_seconds":1790136775,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc777158"} 
[2026-09-23 09:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:04] 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-09-23 09:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:04] 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-09-23 09: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-09-23 09:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275011840001,"66":14374,"103":206,"83":41984,"24":35,"16":22628640789364736,"45":1826913366953359360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 09:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275011840001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 09:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22628640789364736,"km_value":22628640789364.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366953359360,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275011840001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1826913366953359360}} 
[2026-09-23 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:04] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:04] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:05] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:05] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:05] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:44:06] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:06] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:06] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:44:10] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:44:10] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:44:10] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:44:11] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc775218012d0d3740070476080018000422..."} 
[2026-09-23 09:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc775218012d0d3740070476080018000422..."} 
[2026-09-23 09:44:11] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc775218012d0d3740070476080018000422..."} 
[2026-09-23 09:44:11] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:11] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:11] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117732872,"longitude_deg":75.5840832,"latitude_deg":11.7732872,"altitude":24,"angle":4,"satellites":34,"speed":16,"hex_longitude":"2d0d3740","hex_latitude":"07047608","is_valid_coordinates":true} 
[2026-09-23 09:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275011328001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434589527539712,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951455820165269504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:11] 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-09-23 09:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790136767000,"timestamp_ms":1790136767000,"timestamp_seconds":1790136767,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc775218"} 
[2026-09-23 09:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:11] 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-09-23 09:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:11] 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-09-23 09:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275011328001,"66":14428,"17":206,"94":11008,"24":16,"16":33434589527539712,"45":951455820165269504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275011328001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434589527539712,"km_value":33434589527539.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":951455820165269504,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275011328001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":951455820165269504}} 
[2026-09-23 09:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:11] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:11] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:12] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc77a038012d0d3a40070490800018000022..."} 
[2026-09-23 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc77a038012d0d3a40070490800018000022..."} 
[2026-09-23 09:44:12] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc77a038012d0d3a40070490800018000022..."} 
[2026-09-23 09:44:12] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:12] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc77"} 
[2026-09-23 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117739648,"longitude_deg":75.58416,"latitude_deg":11.7739648,"altitude":24,"angle":0,"satellites":34,"speed":13,"hex_longitude":"2d0d3a40","hex_latitude":"07049080","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275012352001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33434924534988800,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245095942144,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:12] 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-09-23 09:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790136787000,"timestamp_ms":1790136787000,"timestamp_seconds":1790136787,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc77a038"} 
[2026-09-23 09:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275012352001,"66":13798,"17":206,"94":11008,"24":13,"16":33434924534988800,"45":952300245095942144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275012352001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33434924534988800,"km_value":33434924534988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245095942144,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275012352001,"power":13798,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":952300245095942144}} 
[2026-09-23 09:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:12] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:12] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:32] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:32] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:32] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:44:35] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc783c78012d19c080072034100024009f26..."} 
[2026-09-23 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc783c78012d19c080072034100024009f26..."} 
[2026-09-23 09:44:35] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc783c78012d19c080072034100024009f26..."} 
[2026-09-23 09:44:35] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:44:35] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756662400,"raw_latitude":119550992,"longitude_deg":75.66624,"latitude_deg":11.9550992,"altitude":36,"angle":159,"satellites":38,"speed":44,"hex_longitude":"2d19c080","hex_latitude":"07203410","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275027200001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22630960071704576,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758384656384,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790136827000,"timestamp_ms":1790136827000,"timestamp_seconds":1790136827,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc783c78"} 
[2026-09-23 09:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:35] 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-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:35] 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-09-23 09: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-09-23 09:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275027200001,"66":13472,"101":206,"83":41984,"24":44,"16":22630960071704576,"45":1854849758384656384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275027200001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22630960071704576,"km_value":22630960071704.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758384656384,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275027200001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1854849758384656384}} 
[2026-09-23 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:35] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:35] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:37] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:37] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:44:37] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:44:38] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:38] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:38] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:44:38] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:38] 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-09-23 09: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-09-23 09:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:44: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-09-23 09:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:38] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:38] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:43] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc78e088012d0cdcc00704be68001e011624..."} 
[2026-09-23 09:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc78e088012d0cdcc00704be68001e011624..."} 
[2026-09-23 09:44:43] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc78e088012d0cdcc00704be68001e011624..."} 
[2026-09-23 09:44:43] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:44:43] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117751400,"longitude_deg":75.5817664,"latitude_deg":11.77514,"altitude":30,"angle":278,"satellites":36,"speed":26,"hex_longitude":"2d0cdcc0","hex_latitude":"0704be68","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275036928001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33436608162168832,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930485934405652480,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136869000,"timestamp_ms":1790136869000,"timestamp_seconds":1790136869,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc78e088"} 
[2026-09-23 09:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275036928001,"66":14048,"17":206,"94":11008,"24":26,"16":33436608162168832,"45":930485934405652480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275036928001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33436608162168832,"km_value":33436608162168.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":930485934405652480,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275036928001,"power":14048,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":930485934405652480}} 
[2026-09-23 09:44:43] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:43] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:44:43] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:44:43] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:44:43] 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-09-23 09: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-09-23 09:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:44: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-09-23 09:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:43] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:43] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:44:43] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:44:43] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:01] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:01] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:01] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:45:02] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:02] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:02] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:07] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:07] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:07] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:08] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7857d0012d19cdc0072017b8002400922a..."} 
[2026-09-23 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7857d0012d19cdc0072017b8002400922a..."} 
[2026-09-23 09:45:08] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7857d0012d19cdc0072017b8002400922a..."} 
[2026-09-23 09:45:08] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:08] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543736,"longitude_deg":75.6665792,"latitude_deg":11.9543736,"altitude":36,"angle":146,"satellites":42,"speed":42,"hex_longitude":"2d19cdc0","hex_latitude":"072017b8","is_valid_coordinates":true} 
[2026-09-23 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275027712001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22631346618761216,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855623814570053632,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136834000,"timestamp_ms":1790136834000,"timestamp_seconds":1790136834,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7857d0"} 
[2026-09-23 09:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45:08] 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-09-23 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-23 09:45:08] 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-09-23 09:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275027712001,"66":14396,"101":206,"83":41984,"24":42,"16":22631346618761216,"45":1855623814570053632},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275027712001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22631346618761216,"km_value":22631346618761.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855623814570053632,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275027712001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1855623814570053632}} 
[2026-09-23 09:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:08] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:08] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:08] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc785fa0012d19d340072011b0002400862a..."} 
[2026-09-23 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc785fa0012d19d340072011b0002400862a..."} 
[2026-09-23 09:45:08] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc785fa0012d19d340072011b0002400862a..."} 
[2026-09-23 09:45:08] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:08] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119542192,"longitude_deg":75.66672,"latitude_deg":11.9542192,"altitude":36,"angle":134,"satellites":42,"speed":39,"hex_longitude":"2d19d340","hex_latitude":"072011b0","is_valid_coordinates":true} 
[2026-09-23 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275029504001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22631445403009024,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009612288,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790136836000,"timestamp_ms":1790136836000,"timestamp_seconds":1790136836,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc785fa0"} 
[2026-09-23 09:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45:08] 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-09-23 09:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:45: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-09-23 09:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275029504001,"66":14298,"101":206,"83":41984,"24":39,"16":22631445403009024,"45":1859353358009612288},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275029504001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22631445403009024,"km_value":22631445403009.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009612288,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275029504001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1859353358009612288}} 
[2026-09-23 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:09] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:09] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:11] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:45:11] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:45:11] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:12] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc78f7f8012d0ccd800704c0280020010724..."} 
[2026-09-23 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc78f7f8012d0ccd800704c0280020010724..."} 
[2026-09-23 09:45:12] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc78f7f8012d0ccd800704c0280020010724..."} 
[2026-09-23 09:45:12] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:12] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755813760,"raw_latitude":117751848,"longitude_deg":75.581376,"latitude_deg":11.7751848,"altitude":32,"angle":263,"satellites":36,"speed":24,"hex_longitude":"2d0ccd80","hex_latitude":"0704c028","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275038464001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33436797140729856,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926826759708370944,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:12] 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-09-23 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790136875000,"timestamp_ms":1790136875000,"timestamp_seconds":1790136875,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc78f7f8"} 
[2026-09-23 09:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 09:45: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-09-23 09: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-09-23 09:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275038464001,"66":14450,"17":206,"94":11008,"24":24,"16":33436797140729856,"45":926826759708370944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275038464001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33436797140729856,"km_value":33436797140729.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":926826759708370944,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275038464001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":926826759708370944}} 
[2026-09-23 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":191759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:12] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:12] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:13] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc78ffc8012d0cc8800704be98002200f924..."} 
[2026-09-23 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc78ffc8012d0cc8800704be98002200f924..."} 
[2026-09-23 09:45:13] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc78ffc8012d0cc8800704be98002200f924..."} 
[2026-09-23 09:45:13] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:13] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc78"} 
[2026-09-23 09:45:13] local.INFO: GPS Element Parsed {"raw_longitude":755812480,"raw_latitude":117751448,"longitude_deg":75.581248,"latitude_deg":11.7751448,"altitude":34,"angle":249,"satellites":36,"speed":27,"hex_longitude":"2d0cc880","hex_latitude":"0704be98","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275040000001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33436861565239296,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922534266313648128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:13] 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-09-23 09:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790136877000,"timestamp_ms":1790136877000,"timestamp_seconds":1790136877,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc78ffc8"} 
[2026-09-23 09:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 09:45: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-09-23 09:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275040000001,"66":14439,"17":206,"94":11008,"24":27,"16":33436861565239296,"45":922534266313648128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275040000001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33436861565239296,"km_value":33436861565239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":922534266313648128,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275040000001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":922534266313648128}} 
[2026-09-23 09:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":191759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:13] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:13] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:15] local.INFO: TCP Data received {"connection_id":190410,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:45:15] local.INFO: Processing buffer {"connection_id":190410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:45:15] local.INFO: IMEI packet received {"connection_id":190410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":190410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:45:15] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:15] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:15] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:45:15] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 09:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09: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-09-23 09: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:45:15] 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-09-23 09: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-09-23 09:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:15] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:15] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:32] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:32] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:32] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:45:37] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:37] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:45:37] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:38] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:38] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc74ecd0012d34c54006aa3d28000a003b28..."} 
[2026-09-23 09:45:38] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:45:38] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc74"} 
[2026-09-23 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274894848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498523136,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136610000,"timestamp_ms":1790136610000,"timestamp_seconds":1790136610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc74ecd0"} 
[2026-09-23 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-09-23 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 09:45:38] 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-09-23 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-09-23 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-09-23 09:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:45: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-09-23 09:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274894848001,"66":26408,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802586226498523136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274894848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498523136,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274894848001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498523136}} 
[2026-09-23 09:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:38] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:38] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:39] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc793290012d1a8e80071faee80032008b26..."} 
[2026-09-23 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc793290012d1a8e80071faee80032008b26..."} 
[2026-09-23 09:45:39] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc793290012d1a8e80071faee80032008b26..."} 
[2026-09-23 09:45:39] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:45:39] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756715136,"raw_latitude":119516904,"longitude_deg":75.6715136,"latitude_deg":11.9516904,"altitude":50,"angle":139,"satellites":38,"speed":41,"hex_longitude":"2d1a8e80","hex_latitude":"071faee8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275041536001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22634168412274688,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907696685254760448,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790136890000,"timestamp_ms":1790136890000,"timestamp_seconds":1790136890,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc793290"} 
[2026-09-23 09:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45: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-09-23 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 09:45:39] 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-09-23 09: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-09-23 09:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275041536001,"66":14048,"101":206,"83":41984,"24":41,"16":22634168412274688,"45":1907696685254760448},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275041536001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22634168412274688,"km_value":22634168412274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907696685254760448,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275041536001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1907696685254760448}} 
[2026-09-23 09:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:39] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:39] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:44] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc79ea28012d0cb940070485b0001a00a124..."} 
[2026-09-23 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc79ea28012d0cb940070485b0001a00a124..."} 
[2026-09-23 09:45:44] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc79ea28012d0cb940070485b0001a00a124..."} 
[2026-09-23 09:45:44] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:45:44] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":117736880,"longitude_deg":75.5808576,"latitude_deg":11.773688,"altitude":26,"angle":161,"satellites":36,"speed":40,"hex_longitude":"2d0cb940","hex_latitude":"070485b0","is_valid_coordinates":true} 
[2026-09-23 09:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275054848001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33438622501830656,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914652966962868224,"note":"Value kept but may cause issues"} 
[2026-09-23 09:45:44] 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-09-23 09:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790136937000,"timestamp_ms":1790136937000,"timestamp_seconds":1790136937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc79ea28"} 
[2026-09-23 09:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:45:44] 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-09-23 09:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 09:45: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-09-23 09:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275054848001,"66":14026,"95":206,"94":10240,"24":40,"16":33438622501830656,"45":914652966962868224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 09:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275054848001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:45:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 09:45:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 09:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33438622501830656,"km_value":33438622501830.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":914652966962868224,"description":"Unknown IO ID 45"} 
[2026-09-23 09:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275054848001,"power":14026,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":914652966962868224}} 
[2026-09-23 09:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":191759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:45:44] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:45:44] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:45:54] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:54] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:54] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:45:55] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:55] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:55] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:56] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:56] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:56] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:45:57] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:57] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:45:57] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:46:10] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:10] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:10] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:46:10] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:46: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-09-23 09:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:46: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-09-23 09:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:46:10] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:46:10] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:46:10] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:10] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:10] local.INFO: IMEI packet received {"connection_id":193094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":193094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:46:14] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:14] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:46:14] local.INFO: IMEI packet received {"connection_id":193094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":193094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:46:15] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 09:46:15] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 09:46:15] local.INFO: IMEI packet received {"connection_id":193094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":193094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:46:32] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:32] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:32] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:46:37] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:37] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:46:37] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:46:38] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:38] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:46:38] local.INFO: Packet analysis {"connection_id":190412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:46:38] local.INFO: Extracted packet for processing {"connection_id":190412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 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-09-23 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:46: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-09-23 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":190412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:46:38] local.INFO: GPS data processed {"connection_id":190412,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:46:38] local.INFO: Acknowledgment sent {"connection_id":190412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:47:09] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:09] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:09] local.INFO: Packet analysis {"connection_id":190412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:47:09] local.INFO: Extracted packet for processing {"connection_id":190412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09: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-09-23 09:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:47:09] local.INFO: GPS data processed {"connection_id":190412,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:47:09] local.INFO: Acknowledgment sent {"connection_id":190412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:47:32] local.INFO: TCP Data received {"connection_id":193096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:32] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:32] local.INFO: IMEI packet received {"connection_id":193096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":193096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:47:37] local.INFO: TCP Data received {"connection_id":193096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:37] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:47:37] local.INFO: IMEI packet received {"connection_id":193096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":193096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:47:38] local.INFO: TCP Data received {"connection_id":193096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:38] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:47:38] local.INFO: Packet analysis {"connection_id":193096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:47:38] local.INFO: Extracted packet for processing {"connection_id":193096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":193096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:47:38] local.INFO: GPS data processed {"connection_id":193096,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:47:38] local.INFO: Acknowledgment sent {"connection_id":193096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:48:12] local.INFO: TCP Data received {"connection_id":193096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:12] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:12] local.INFO: Packet analysis {"connection_id":193096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:48:12] local.INFO: Extracted packet for processing {"connection_id":193096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:48:12] 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-09-23 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:48: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-09-23 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:48:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:48:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":193096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:48:12] local.INFO: GPS data processed {"connection_id":193096,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:48:12] local.INFO: Acknowledgment sent {"connection_id":193096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:48:32] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:32] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:32] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:48:37] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:37] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:48:37] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:48:38] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:38] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:48:38] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:48:38] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:48: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-09-23 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:48:38] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:48:38] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:49:09] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:09] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:09] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:09] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49: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-09-23 09:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:49:09] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:49:09] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:49:37] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:37] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:37] local.INFO: IMEI packet received {"connection_id":190239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":190239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:49:42] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:42] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:49:42] local.INFO: IMEI packet received {"connection_id":190239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":190239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:49:43] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:43] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:43] local.INFO: Packet analysis {"connection_id":190239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:43] local.INFO: Extracted packet for processing {"connection_id":190239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49: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-09-23 09:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":190239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:49:43] local.INFO: GPS data processed {"connection_id":190239,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:49:43] local.INFO: Acknowledgment sent {"connection_id":190239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:49:47] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:47] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:49:47] local.INFO: Packet analysis {"connection_id":190239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:47] local.INFO: Extracted packet for processing {"connection_id":190239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":190239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:49:47] local.INFO: GPS data processed {"connection_id":190239,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:49:47] local.INFO: Acknowledgment sent {"connection_id":190239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:50:32] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:32] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:32] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:50:37] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:37] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:50:37] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:50:38] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:50:38] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc798498012d34c54006aa3d28000a003b2a..."} 
[2026-09-23 09:50:38] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:50:38] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc79"} 
[2026-09-23 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458274972160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790136911000,"timestamp_ms":1790136911000,"timestamp_seconds":1790136911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc798498"} 
[2026-09-23 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:50: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-09-23 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458274972160001,"66":26158,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458274972160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458274972160001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:50:38] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:50:38] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:50:40] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:50:40] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:50:40] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:51:02] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:02] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:02] local.INFO: IMEI packet received {"connection_id":193099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":193099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:51:03] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7de5b0012d1b4500071f7b10003f00e025..."} 
[2026-09-23 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7de5b0012d1b4500071f7b10003f00e025..."} 
[2026-09-23 09:51:03] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7de5b0012d1b4500071f7b10003f00e025..."} 
[2026-09-23 09:51:03] local.INFO: Packet analysis {"connection_id":193099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7d"} 
[2026-09-23 09:51:03] local.INFO: Extracted packet for processing {"connection_id":193099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7d"} 
[2026-09-23 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756761856,"raw_latitude":119503632,"longitude_deg":75.6761856,"latitude_deg":11.9503632,"altitude":63,"angle":224,"satellites":37,"speed":23,"hex_longitude":"2d1b4500","hex_latitude":"071f7b10","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275122432001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22638918646104064,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055475195904,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137198000,"timestamp_ms":1790137198000,"timestamp_seconds":1790137198,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7de5b0"} 
[2026-09-23 09:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51: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-09-23 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 09:51:03] 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-09-23 09: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-09-23 09:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275122432001,"66":13102,"101":206,"83":41984,"24":23,"16":22638918646104064,"45":1965399055475195904},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275122432001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22638918646104064,"km_value":22638918646104.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055475195904,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275122432001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1965399055475195904}} 
[2026-09-23 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":193099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:03] local.INFO: GPS data processed {"connection_id":193099,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:03] local.INFO: Acknowledgment sent {"connection_id":193099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:09] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:09] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:09] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:09] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:51:09] 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-09-23 09: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-09-23 09:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:51: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-09-23 09:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:09] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:09] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:10] local.INFO: TCP Data received {"connection_id":190416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:51:10] local.INFO: Processing buffer {"connection_id":190416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 09:51:10] local.INFO: IMEI packet received {"connection_id":190416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 09:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":190416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:51:16] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:51:16] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:51:16] local.INFO: IMEI packet received {"connection_id":193100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":193100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:51:17] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e2048012d0bfdc0070358a0000e00fb23..."} 
[2026-09-23 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e2048012d0bfdc0070358a0000e00fb23..."} 
[2026-09-23 09:51:17] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e2048012d0bfdc0070358a0000e00fb23..."} 
[2026-09-23 09:51:17] local.INFO: Packet analysis {"connection_id":193100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:17] local.INFO: Extracted packet for processing {"connection_id":193100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":755760576,"raw_latitude":117659808,"longitude_deg":75.5760576,"latitude_deg":11.7659808,"altitude":14,"angle":251,"satellites":35,"speed":11,"hex_longitude":"2d0bfdc0","hex_latitude":"070358a0","is_valid_coordinates":true} 
[2026-09-23 09:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126016001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33444635456045056,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864620789831897088,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51: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-09-23 09:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790137213000,"timestamp_ms":1790137213000,"timestamp_seconds":1790137213,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e2048"} 
[2026-09-23 09:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 09:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126016001,"66":14439,"37":206,"94":11008,"24":11,"16":33444635456045056,"45":864620789831897088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 09:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126016001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 09:51:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33444635456045056,"km_value":33444635456045.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":864620789831897088,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126016001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":864620789831897088}} 
[2026-09-23 09:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":193100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:17] local.INFO: GPS data processed {"connection_id":193100,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:17] local.INFO: Acknowledgment sent {"connection_id":193100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:31] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:31] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:31] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:51:34] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7ded80012d1b4140071f77f8003e00ef27..."} 
[2026-09-23 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7ded80012d1b4140071f77f8003e00ef27..."} 
[2026-09-23 09:51:34] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7ded80012d1b4140071f77f8003e00ef27..."} 
[2026-09-23 09:51:34] local.INFO: Packet analysis {"connection_id":193099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7d"} 
[2026-09-23 09:51:34] local.INFO: Extracted packet for processing {"connection_id":193099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7d"} 
[2026-09-23 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756760896,"raw_latitude":119502840,"longitude_deg":75.6760896,"latitude_deg":11.950284,"altitude":62,"angle":239,"satellites":39,"speed":25,"hex_longitude":"2d1b4140","hex_latitude":"071f77f8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275122688001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22638983070613504,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964976843010019328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790137200000,"timestamp_ms":1790137200000,"timestamp_seconds":1790137200,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7ded80"} 
[2026-09-23 09:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51: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-09-23 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:51:34] 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-09-23 09: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-09-23 09:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275122688001,"66":14461,"101":206,"83":41984,"24":25,"16":22638983070613504,"45":1964976843010019328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275122688001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22638983070613504,"km_value":22638983070613.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964976843010019328,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275122688001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1964976843010019328}} 
[2026-09-23 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":193099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:34] local.INFO: GPS data processed {"connection_id":193099,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:34] local.INFO: Acknowledgment sent {"connection_id":193099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:37] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:37] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:51:37] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:51:38] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:38] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:51:38] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:38] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:51: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-09-23 09: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-09-23 09:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:51: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-09-23 09:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:38] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:38] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:48] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7f35a0012d0b9780070350e0001100fa23..."} 
[2026-09-23 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7f35a0012d0b9780070350e0001100fa23..."} 
[2026-09-23 09:51:48] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7f35a0012d0b9780070350e0001100fa23..."} 
[2026-09-23 09:51:48] local.INFO: Packet analysis {"connection_id":193100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:51:48] local.INFO: Extracted packet for processing {"connection_id":193100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":755734400,"raw_latitude":117657824,"longitude_deg":75.57344,"latitude_deg":11.7657824,"altitude":17,"angle":250,"satellites":35,"speed":4,"hex_longitude":"2d0b9780","hex_latitude":"070350e0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275141376001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33445915356299264,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837036242113757184,"note":"Value kept but may cause issues"} 
[2026-09-23 09:51: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-09-23 09:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790137284000,"timestamp_ms":1790137284000,"timestamp_seconds":1790137284,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7f35a0"} 
[2026-09-23 09:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:51: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-09-23 09: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-09-23 09:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275141376001,"66":14407,"37":206,"94":11008,"24":4,"16":33445915356299264,"45":837036242113757184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 09:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275141376001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33445915356299264,"km_value":33445915356299.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":837036242113757184,"description":"Unknown IO ID 45"} 
[2026-09-23 09:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275141376001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":837036242113757184}} 
[2026-09-23 09:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":193100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:51:48] local.INFO: GPS data processed {"connection_id":193100,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:51:48] local.INFO: Acknowledgment sent {"connection_id":193100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:51:57] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:57] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:51:57] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:52:02] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:52:02] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:02] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:52:03] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7edfb0012d1ac440071f90180031014c2b..."} 
[2026-09-23 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7edfb0012d1ac440071f90180031014c2b..."} 
[2026-09-23 09:52:03] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7edfb0012d1ac440071f90180031014c2b..."} 
[2026-09-23 09:52:03] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:03] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509016,"longitude_deg":75.6728896,"latitude_deg":11.9509016,"altitude":49,"angle":332,"satellites":43,"speed":23,"hex_longitude":"2d1ac440","hex_latitude":"071f9018","is_valid_coordinates":true} 
[2026-09-23 09:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275138304001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22640705352499200,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736224256,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137262000,"timestamp_ms":1790137262000,"timestamp_seconds":1790137262,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7edfb0"} 
[2026-09-23 09:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52: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-09-23 09:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992723550,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3430843864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2126540801,"corrected_to":0} 
[2026-09-23 09:52:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84753626887036812,"corrected_to":0} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503945088925696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2230845487,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 09:52:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":14356315405030400,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,111,160,204,45,128,135,48,40,10,66,200,192,134,47,196,1,240,77,227,31,4,113,205,17,165,218,224,42,239,56,2,80,7,49,13,206,176],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":204,"original":2126540801,"validated":0},{"io_id":200,"original":84753626887036812,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 09:52:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458766884643602432,"timestamp_seconds":3458766884643602.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 09:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275138304001,"66":14461,"101":206,"83":41984,"24":23,"16":22640705352499200,"45":1929018414736224256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275138304001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22640705352499200,"km_value":22640705352499.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736224256,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275138304001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1929018414736224256}} 
[2026-09-23 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:03] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:03] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:05] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:05] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:05] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:52:08] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7ee398012d1ac2c0071f91e80032013829..."} 
[2026-09-23 09:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7ee398012d1ac2c0071f91e80032013829..."} 
[2026-09-23 09:52:08] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7ee398012d1ac2c0071f91e80032013829..."} 
[2026-09-23 09:52:08] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:08] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756728512,"raw_latitude":119509480,"longitude_deg":75.6728512,"latitude_deg":11.950948,"altitude":50,"angle":312,"satellites":41,"speed":24,"hex_longitude":"2d1ac2c0","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275139072001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22640731122302976,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759900672,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790137263000,"timestamp_ms":1790137263000,"timestamp_seconds":1790137263,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7ee398"} 
[2026-09-23 09:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52:08] 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-09-23 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 09:52: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-09-23 09: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-09-23 09:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275139072001,"66":14461,"101":206,"83":41984,"24":24,"16":22640731122302976,"45":1928736939759900672},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275139072001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22640731122302976,"km_value":22640731122302.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759900672,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275139072001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928736939759900672}} 
[2026-09-23 09:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:08] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:08] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:09] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:09] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:09] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:09] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:52:09] 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-09-23 09: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-09-23 09:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:52: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-09-23 09:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:09] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:09] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:11] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:11] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:52:11] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:52:12] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7f3988012d0b9740070350d0001100e922..."} 
[2026-09-23 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7f3988012d0b9740070350d0001100e922..."} 
[2026-09-23 09:52:12] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7f3988012d0b9740070350d0001100e922..."} 
[2026-09-23 09:52:12] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:12] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755734336,"raw_latitude":117657808,"longitude_deg":75.5734336,"latitude_deg":11.7657808,"altitude":17,"angle":233,"satellites":34,"speed":0,"hex_longitude":"2d0b9740","hex_latitude":"070350d0","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275144704001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33445919651266560,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835277023509274624,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790137285000,"timestamp_ms":1790137285000,"timestamp_seconds":1790137285,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7f3988"} 
[2026-09-23 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275144704001,"66":14407,"37":206,"94":11008,"24":0,"16":33445919651266560,"45":835277023509274624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275144704001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 09:52:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33445919651266560,"km_value":33445919651266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":835277023509274624,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275144704001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":835277023509274624}} 
[2026-09-23 09:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:12] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:12] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:32] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:32] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:32] local.INFO: IMEI packet received {"connection_id":193102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":193102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:52:37] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:37] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:52:37] local.INFO: IMEI packet received {"connection_id":193102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":193102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:52:38] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:38] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:52:38] local.INFO: Packet analysis {"connection_id":193102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:38] local.INFO: Extracted packet for processing {"connection_id":193102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:52: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-09-23 09:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":193102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:38] local.INFO: GPS data processed {"connection_id":193102,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:38] local.INFO: Acknowledgment sent {"connection_id":193102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:39] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7f9f18012d1a1fc0071ff048002e011e2b..."} 
[2026-09-23 09:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7f9f18012d1a1fc0071ff048002e011e2b..."} 
[2026-09-23 09:52:39] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7f9f18012d1a1fc0071ff048002e011e2b..."} 
[2026-09-23 09:52:39] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:39] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119533640,"longitude_deg":75.6686784,"latitude_deg":11.953364,"altitude":46,"angle":286,"satellites":43,"speed":51,"hex_longitude":"2d1a1fc0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275149568001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22643144893923328,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893271092699994112,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137311000,"timestamp_ms":1790137311000,"timestamp_seconds":1790137311,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7f9f18"} 
[2026-09-23 09:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:52: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-09-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:52: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-09-23 09: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-09-23 09:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275149568001,"66":14635,"101":206,"83":41984,"24":51,"16":22643144893923328,"45":1893271092699994112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 09:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275149568001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 09:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22643144893923328,"km_value":22643144893923.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893271092699994112,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275149568001,"power":14635,"unknown_101":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1893271092699994112}} 
[2026-09-23 09:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:39] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:39] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:44] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7f6868012d0b9640070350780011011123..."} 
[2026-09-23 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7f6868012d0b9640070350780011011123..."} 
[2026-09-23 09:52:44] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7f6868012d0b9640070350780011011123..."} 
[2026-09-23 09:52:44] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:44] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7f"} 
[2026-09-23 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755734080,"raw_latitude":117657720,"longitude_deg":75.573408,"latitude_deg":11.765772,"altitude":17,"angle":273,"satellites":35,"speed":3,"hex_longitude":"2d0b9640","hex_latitude":"07035078","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275144960001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33445932536168448,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835206654765092864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:52:44] 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-09-23 09:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790137297000,"timestamp_ms":1790137297000,"timestamp_seconds":1790137297,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7f6868"} 
[2026-09-23 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-09-23 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:52:44] 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-09-23 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-09-23 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-09-23 09:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275144960001,"66":14461,"37":206,"94":11008,"24":3,"16":33445932536168448,"45":835206654765092864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 09:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275144960001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:52:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 09:52:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33445932536168448,"km_value":33445932536168.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":835206654765092864,"description":"Unknown IO ID 45"} 
[2026-09-23 09:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275144960001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":835206654765092864}} 
[2026-09-23 09:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:52:44] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:52:44] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:52:58] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:58] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:52:58] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:53:01] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:01] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:01] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:02] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:02] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:53:02] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:04] local.INFO: TCP Data received {"connection_id":193103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:04] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:04] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:53:06] local.INFO: TCP Data received {"connection_id":193103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:06] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:06] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:10] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:10] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:10] local.INFO: Packet analysis {"connection_id":193102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:53:10] local.INFO: Extracted packet for processing {"connection_id":193102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":193102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:53:10] local.INFO: GPS data processed {"connection_id":193102,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:53:10] local.INFO: Acknowledgment sent {"connection_id":193102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:53:13] local.INFO: TCP Data received {"connection_id":193103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:13] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:53:13] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:14] local.INFO: TCP Data received {"connection_id":193103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8075f0012d0b6ec007034b00001101531f..."} 
[2026-09-23 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8075f0012d0b6ec007034b00001101531f..."} 
[2026-09-23 09:53:14] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8075f0012d0b6ec007034b00001101531f..."} 
[2026-09-23 09:53:14] local.INFO: Packet analysis {"connection_id":193103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc80"} 
[2026-09-23 09:53:14] local.INFO: Extracted packet for processing {"connection_id":193103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc80"} 
[2026-09-23 09:53:14] local.INFO: GPS Element Parsed {"raw_longitude":755723968,"raw_latitude":117656320,"longitude_deg":75.5723968,"latitude_deg":11.765632,"altitude":17,"angle":339,"satellites":31,"speed":10,"hex_longitude":"2d0b6ec0","hex_latitude":"07034b00","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275164160001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33446615435968512,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823806918207612928,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53: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-09-23 09:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790137366000,"timestamp_ms":1790137366000,"timestamp_seconds":1790137366,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8075f0"} 
[2026-09-23 09:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-23 09:53:14] 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-09-23 09: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-09-23 09:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275164160001,"66":14450,"17":206,"94":11008,"24":10,"16":33446615435968512,"45":823806918207612928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275164160001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:53:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33446615435968512,"km_value":33446615435968.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":823806918207612928,"description":"Unknown IO ID 45"} 
[2026-09-23 09:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275164160001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":823806918207612928}} 
[2026-09-23 09:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":193103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:53:14] local.INFO: GPS data processed {"connection_id":193103,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:53:14] local.INFO: Acknowledgment sent {"connection_id":193103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:53:32] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:32] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:32] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:53:37] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:37] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:53:37] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:53:38] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:38] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:53:38] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:53:38] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:53: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-09-23 09:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:53: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-09-23 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:53:38] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:53:38] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:53:45] local.INFO: TCP Data received {"connection_id":193103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:53:45] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:53:45] local.INFO: Packet analysis {"connection_id":193103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:53:45] local.INFO: Extracted packet for processing {"connection_id":193103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117648760,"longitude_deg":75.5699456,"latitude_deg":11.764876,"altitude":14,"angle":215,"satellites":35,"speed":22,"hex_longitude":"2d0b0f00","hex_latitude":"07032d78","is_valid_coordinates":true} 
[2026-09-23 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275177216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33448165919162368,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801007445094500352,"note":"Value kept but may cause issues"} 
[2026-09-23 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790137421000,"timestamp_ms":1790137421000,"timestamp_seconds":1790137421,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc814cc8"} 
[2026-09-23 09:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 09:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275177216001,"66":14407,"17":206,"94":11008,"24":22,"16":33448165919162368,"45":801007445094500352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275177216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33448165919162368,"km_value":33448165919162.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":801007445094500352,"description":"Unknown IO ID 45"} 
[2026-09-23 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275177216001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":801007445094500352}} 
[2026-09-23 09:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":193103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:53:45] local.INFO: GPS data processed {"connection_id":193103,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:53:45] local.INFO: Acknowledgment sent {"connection_id":193103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:54:06] local.INFO: TCP Data received {"connection_id":193105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:06] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:06] local.INFO: IMEI packet received {"connection_id":193105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":193105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:54:07] local.INFO: TCP Data received {"connection_id":193105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:07] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:07] local.INFO: IMEI packet received {"connection_id":193105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":193105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:54:09] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:09] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:09] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:09] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:54:09] 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-09-23 09: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-09-23 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54: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-09-23 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:54:09] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:54:09] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:54:10] local.INFO: TCP Data received {"connection_id":193105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:10] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:54:10] local.INFO: IMEI packet received {"connection_id":193105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":193105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:54:11] local.INFO: TCP Data received {"connection_id":193105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:54:11] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc814cc8012d0b0f0007032d78000e00d723..."} 
[2026-09-23 09:54:11] local.INFO: Packet analysis {"connection_id":193105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:54:11] local.INFO: Extracted packet for processing {"connection_id":193105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:54:11] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117648760,"longitude_deg":75.5699456,"latitude_deg":11.764876,"altitude":14,"angle":215,"satellites":35,"speed":22,"hex_longitude":"2d0b0f00","hex_latitude":"07032d78","is_valid_coordinates":true} 
[2026-09-23 09:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275179776001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33448165919162368,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796855689185949696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:11] 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-09-23 09:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790137421000,"timestamp_ms":1790137421000,"timestamp_seconds":1790137421,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc814cc8"} 
[2026-09-23 09:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:54:11] 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-09-23 09:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:54: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-09-23 09:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275179776001,"66":14407,"17":206,"94":11008,"24":22,"16":33448165919162368,"45":796855689185949696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275179776001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:54:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33448165919162368,"km_value":33448165919162.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":796855689185949696,"description":"Unknown IO ID 45"} 
[2026-09-23 09:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275179776001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":796855689185949696}} 
[2026-09-23 09:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":193105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:54:11] local.INFO: GPS data processed {"connection_id":193105,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:54:11] local.INFO: Acknowledgment sent {"connection_id":193105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:54:37] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:37] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:37] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:54:42] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:42] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:54:42] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:54:43] local.INFO: TCP Data received {"connection_id":193105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8150b0012d0b0d8007032bd0000d00e324..."} 
[2026-09-23 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8150b0012d0b0d8007032bd0000d00e324..."} 
[2026-09-23 09:54:43] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8150b0012d0b0d8007032bd0000d00e324..."} 
[2026-09-23 09:54:43] local.INFO: Packet analysis {"connection_id":193105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:54:43] local.INFO: Extracted packet for processing {"connection_id":193105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc81"} 
[2026-09-23 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":755699072,"raw_latitude":117648336,"longitude_deg":75.5699072,"latitude_deg":11.7648336,"altitude":13,"angle":227,"satellites":36,"speed":22,"hex_longitude":"2d0b0d80","hex_latitude":"07032bd0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275179776001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33448195983933440,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796855689185949696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790137422000,"timestamp_ms":1790137422000,"timestamp_seconds":1790137422,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8150b0"} 
[2026-09-23 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-09-23 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275179776001,"66":14407,"17":206,"94":11008,"24":22,"16":33448195983933440,"45":796855689185949696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275179776001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33448195983933440,"km_value":33448195983933.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":796855689185949696,"description":"Unknown IO ID 45"} 
[2026-09-23 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275179776001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":796855689185949696}} 
[2026-09-23 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":193105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884211,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:54:43] local.INFO: GPS data processed {"connection_id":193105,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:54:43] local.INFO: Acknowledgment sent {"connection_id":193105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:54:43] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:43] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:43] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:43] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 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-09-23 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54:43] 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-09-23 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:54:43] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:54:43] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:54:47] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:47] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:54:47] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:47] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:54:47] 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-09-23 09: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-09-23 09:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:54:47] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:54:47] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:55:05] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:05] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:05] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:55:07] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:07] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:07] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:55:10] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:10] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:10] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:55:11] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:11] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:55:11] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:55:11] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc823b10012d0af1c00702c700000c007d21..."} 
[2026-09-23 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc823b10012d0af1c00702c700000c007d21..."} 
[2026-09-23 09:55:11] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc823b10012d0af1c00702c700000c007d21..."} 
[2026-09-23 09:55:11] local.INFO: Packet analysis {"connection_id":190420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:11] local.INFO: Extracted packet for processing {"connection_id":190420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:11] local.INFO: GPS Element Parsed {"raw_longitude":755691968,"raw_latitude":117622528,"longitude_deg":75.5691968,"latitude_deg":11.7622528,"altitude":12,"angle":125,"satellites":33,"speed":8,"hex_longitude":"2d0af1c0","hex_latitude":"0702c700","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275195136001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33449570373468160,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439877957632,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:11] 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-09-23 09:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790137482000,"timestamp_ms":1790137482000,"timestamp_seconds":1790137482,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc823b10"} 
[2026-09-23 09:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:55:11] 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-09-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 09:55: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-09-23 09: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-09-23 09:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275195136001,"66":14559,"17":206,"94":11008,"24":8,"16":33449570373468160,"45":788411439877957632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275195136001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:55:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33449570373468160,"km_value":33449570373468.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439877957632,"description":"Unknown IO ID 45"} 
[2026-09-23 09:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275195136001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":788411439877957632}} 
[2026-09-23 09:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":190420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:55:12] local.INFO: GPS data processed {"connection_id":190420,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:55:12] local.INFO: Acknowledgment sent {"connection_id":190420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:55:17] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc823ef8012d0af2c00702c6a0000c006222..."} 
[2026-09-23 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc823ef8012d0af2c00702c6a0000c006222..."} 
[2026-09-23 09:55:17] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc823ef8012d0af2c00702c6a0000c006222..."} 
[2026-09-23 09:55:17] local.INFO: Packet analysis {"connection_id":190420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:17] local.INFO: Extracted packet for processing {"connection_id":190420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":755692224,"raw_latitude":117622432,"longitude_deg":75.5692224,"latitude_deg":11.7622432,"altitude":12,"angle":98,"satellites":34,"speed":9,"hex_longitude":"2d0af2c0","hex_latitude":"0702c6a0","is_valid_coordinates":true} 
[2026-09-23 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275195392001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33449583258370048,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788622546110447616,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55: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-09-23 09:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790137483000,"timestamp_ms":1790137483000,"timestamp_seconds":1790137483,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc823ef8"} 
[2026-09-23 09:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 09:55:17] 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-09-23 09:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275195392001,"66":14559,"17":206,"94":11008,"24":9,"16":33449583258370048,"45":788622546110447616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275195392001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:55:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33449583258370048,"km_value":33449583258370.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":788622546110447616,"description":"Unknown IO ID 45"} 
[2026-09-23 09:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275195392001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":788622546110447616}} 
[2026-09-23 09:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":190420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:55:17] local.INFO: GPS data processed {"connection_id":190420,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:55:17] local.INFO: Acknowledgment sent {"connection_id":190420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:55:32] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:32] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:32] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:55:37] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:37] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:55:37] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:55:38] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:55:38] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc7e1c60012d34c54006aa3d28000a003b25..."} 
[2026-09-23 09:55:38] local.INFO: Packet analysis {"connection_id":190243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:55:38] local.INFO: Extracted packet for processing {"connection_id":190243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc7e"} 
[2026-09-23 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":10,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275049216001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137212000,"timestamp_ms":1790137212000,"timestamp_seconds":1790137212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc7e1c60"} 
[2026-09-23 09:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 09:55: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-09-23 09: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-09-23 09:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:55: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-09-23 09:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275049216001,"66":26071,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275049216001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275049216001,"power":26071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":190243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:55:38] local.INFO: GPS data processed {"connection_id":190243,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:55:38] local.INFO: Acknowledgment sent {"connection_id":190243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:55:49] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc825668012d0afdc00702c4d8000d006f22..."} 
[2026-09-23 09:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc825668012d0afdc00702c4d8000d006f22..."} 
[2026-09-23 09:55:49] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc825668012d0afdc00702c4d8000d006f22..."} 
[2026-09-23 09:55:49] local.INFO: Packet analysis {"connection_id":190420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:49] local.INFO: Extracted packet for processing {"connection_id":190420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:55:49] local.INFO: GPS Element Parsed {"raw_longitude":755695040,"raw_latitude":117621976,"longitude_deg":75.569504,"latitude_deg":11.7621976,"altitude":13,"angle":111,"satellites":34,"speed":17,"hex_longitude":"2d0afdc0","hex_latitude":"0702c4d8","is_valid_coordinates":true} 
[2026-09-23 09:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275195648001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33449720697323520,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788904021087133696,"note":"Value kept but may cause issues"} 
[2026-09-23 09:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790137489000,"timestamp_ms":1790137489000,"timestamp_seconds":1790137489,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc825668"} 
[2026-09-23 09:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:55:49] 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-09-23 09:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 09:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275195648001,"66":14407,"17":206,"94":11008,"24":17,"16":33449720697323520,"45":788904021087133696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275195648001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:55:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33449720697323520,"km_value":33449720697323.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":788904021087133696,"description":"Unknown IO ID 45"} 
[2026-09-23 09:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275195648001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":788904021087133696}} 
[2026-09-23 09:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":190420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884217,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:55:49] local.INFO: GPS data processed {"connection_id":190420,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:55:49] local.INFO: Acknowledgment sent {"connection_id":190420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:56:05] local.INFO: TCP Data received {"connection_id":190244,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:05] local.INFO: Processing buffer {"connection_id":190244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:05] local.INFO: IMEI packet received {"connection_id":190244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":190244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:56:09] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:09] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:09] local.INFO: Packet analysis {"connection_id":190243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:56:09] local.INFO: Extracted packet for processing {"connection_id":190243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:56: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-09-23 09: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-09-23 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:56: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-09-23 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:56:10] local.INFO: GPS data processed {"connection_id":190243,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:56:10] local.INFO: Acknowledgment sent {"connection_id":190243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:56:11] local.INFO: TCP Data received {"connection_id":190244,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:11] local.INFO: Processing buffer {"connection_id":190244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 09:56:11] local.INFO: IMEI packet received {"connection_id":190244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 09:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":190244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:56:12] local.INFO: TCP Data received {"connection_id":190244,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc833ce0012d0b138007029e780014014016..."} 
[2026-09-23 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc833ce0012d0b138007029e780014014016..."} 
[2026-09-23 09:56:12] local.INFO: Processing buffer {"connection_id":190244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc833ce0012d0b138007029e780014014016..."} 
[2026-09-23 09:56:12] local.INFO: Packet analysis {"connection_id":190244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:56:12] local.INFO: Extracted packet for processing {"connection_id":190244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612152,"longitude_deg":75.5700608,"latitude_deg":11.7612152,"altitude":20,"angle":320,"satellites":22,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275211520001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450352057516032,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695315943424,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:12] 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-09-23 09:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790137548000,"timestamp_ms":1790137548000,"timestamp_seconds":1790137548,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc833ce0"} 
[2026-09-23 09:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 09:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 09:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 09:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 09:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275211520001,"66":14537,"17":206,"94":11008,"24":0,"16":33450352057516032,"45":798192695315943424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 09:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 09:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275211520001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 09:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33450352057516032,"km_value":33450352057516.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695315943424,"description":"Unknown IO ID 45"} 
[2026-09-23 09:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275211520001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798192695315943424}} 
[2026-09-23 09:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":190244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:56:12] local.INFO: GPS data processed {"connection_id":190244,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:56:12] local.INFO: Acknowledgment sent {"connection_id":190244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:56:32] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:32] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:32] local.INFO: IMEI packet received {"connection_id":190421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":190421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:56:38] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:38] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:56:38] local.INFO: IMEI packet received {"connection_id":190421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":190421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:56:39] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:39] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:56:39] local.INFO: Packet analysis {"connection_id":190421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:56:39] local.INFO: Extracted packet for processing {"connection_id":190421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:56:39] 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-09-23 09: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-09-23 09:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:56: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-09-23 09:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":190421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:56:39] local.INFO: GPS data processed {"connection_id":190421,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:56:39] local.INFO: Acknowledgment sent {"connection_id":190421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:57:10] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:10] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:10] local.INFO: Packet analysis {"connection_id":190421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:57:10] local.INFO: Extracted packet for processing {"connection_id":190421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 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-09-23 09:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:57:10] 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-09-23 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-09-23 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-09-23 09:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:57: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-09-23 09:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":190421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:57:10] local.INFO: GPS data processed {"connection_id":190421,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:57:10] local.INFO: Acknowledgment sent {"connection_id":190421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:57:31] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:31] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:31] local.INFO: IMEI packet received {"connection_id":193107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":193107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:57:37] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:37] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:57:37] local.INFO: IMEI packet received {"connection_id":193107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":193107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:57:39] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:39] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:57:39] local.INFO: Packet analysis {"connection_id":193107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:57:39] local.INFO: Extracted packet for processing {"connection_id":193107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:57:39] 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-09-23 09: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-09-23 09:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:57:39] 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-09-23 09:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":193107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:57:39] local.INFO: GPS data processed {"connection_id":193107,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:57:39] local.INFO: Acknowledgment sent {"connection_id":193107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:58:07] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:58:07] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:58:07] local.INFO: IMEI packet received {"connection_id":190422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":190422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:58:08] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc833510012d196880071fed10003901162a..."} 
[2026-09-23 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc833510012d196880071fed10003901162a..."} 
[2026-09-23 09:58:08] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc833510012d196880071fed10003901162a..."} 
[2026-09-23 09:58:08] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:58:08] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275206400001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790137546000,"timestamp_ms":1790137546000,"timestamp_seconds":1790137546,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc833510"} 
[2026-09-23 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-09-23 09:58:08] 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-09-23 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3431003864,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2174412801,"corrected_to":0} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199544,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,116,160,145,45,128,237,57,41,10,66,62,236,1,240,69,227,204,31,4,113,205,72,104,40,239,49,2,80,7,5,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":204,"original":2174412801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 09:58:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588700488073216,"timestamp_seconds":4107588700488073.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 09:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275206400001,"66":12504,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275206400001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 09:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275206400001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:58:08] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:58:08] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:58:11] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:11] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:11] local.INFO: Packet analysis {"connection_id":193107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:58:11] local.INFO: Extracted packet for processing {"connection_id":193107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:58:11] 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-09-23 09: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-09-23 09:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:58: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-09-23 09:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":193107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:58:11] local.INFO: GPS data processed {"connection_id":193107,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:58:11] local.INFO: Acknowledgment sent {"connection_id":193107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:58:32] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:32] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:32] local.INFO: IMEI packet received {"connection_id":190245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":190245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:58:37] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:37] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:58:37] local.INFO: IMEI packet received {"connection_id":190245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":190245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:58:38] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:38] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:58:38] local.INFO: Packet analysis {"connection_id":190245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:58:38] local.INFO: Extracted packet for processing {"connection_id":190245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:58:38] 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-09-23 09: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-09-23 09:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:58: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-09-23 09:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":190245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:58:38] local.INFO: GPS data processed {"connection_id":190245,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:58:38] local.INFO: Acknowledgment sent {"connection_id":190245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:58:39] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc838718012d196880071fed10003901162c..."} 
[2026-09-23 09:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc838718012d196880071fed10003901162c..."} 
[2026-09-23 09:58:39] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc838718012d196880071fed10003901162c..."} 
[2026-09-23 09:58:39] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:58:39] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275211776001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137567000,"timestamp_ms":1790137567000,"timestamp_seconds":1790137567,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc838718"} 
[2026-09-23 09:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:58:39] 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-09-23 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 09:58: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-09-23 09: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-09-23 09:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275211776001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 09:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275211776001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 09:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 09:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275211776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 09:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:58:39] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:58:39] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:02] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:02] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:02] local.INFO: IMEI packet received {"connection_id":193108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":193108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:59:07] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:07] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:07] local.INFO: IMEI packet received {"connection_id":193108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":193108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:59:08] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc83d920012d196880071fed10003901162c..."} 
[2026-09-23 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc83d920012d196880071fed10003901162c..."} 
[2026-09-23 09:59:08] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc83d920012d196880071fed10003901162c..."} 
[2026-09-23 09:59:08] local.INFO: Packet analysis {"connection_id":193108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:59:08] local.INFO: Extracted packet for processing {"connection_id":193108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc83"} 
[2026-09-23 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275217152001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790137588000,"timestamp_ms":1790137588000,"timestamp_seconds":1790137588,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc83d920"} 
[2026-09-23 09:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:59:08] 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-09-23 09:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275217152001,"66":12461,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275217152001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275217152001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":193108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:59:08] local.INFO: GPS data processed {"connection_id":193108,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:59:08] local.INFO: Acknowledgment sent {"connection_id":193108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:09] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:09] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:09] local.INFO: Packet analysis {"connection_id":190245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:09] local.INFO: Extracted packet for processing {"connection_id":190245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:59: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-09-23 09: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-09-23 09:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59: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-09-23 09:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:59:09] local.INFO: GPS data processed {"connection_id":190245,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:59:09] local.INFO: Acknowledgment sent {"connection_id":190245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:13] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc842b28012d196880071fed10003901162a..."} 
[2026-09-23 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc842b28012d196880071fed10003901162a..."} 
[2026-09-23 09:59:13] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc842b28012d196880071fed10003901162a..."} 
[2026-09-23 09:59:13] local.INFO: Packet analysis {"connection_id":193108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 09:59:13] local.INFO: Extracted packet for processing {"connection_id":193108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 09: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-09-23 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275222528001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790137609000,"timestamp_ms":1790137609000,"timestamp_seconds":1790137609,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc842b28"} 
[2026-09-23 09:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:59: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-09-23 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 09:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 09: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-09-23 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275222528001,"66":12461,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275222528001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 09:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275222528001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":193108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:59:13] local.INFO: GPS data processed {"connection_id":193108,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:59:13] local.INFO: Acknowledgment sent {"connection_id":193108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:37] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:37] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:37] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 09:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:59:42] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:42] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 09:59:42] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 09:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 09:59:43] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:43] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:43] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:43] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 09:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 09:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 09:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 09:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:59:43] 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-09-23 09:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 09:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 09:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:59:43] local.INFO: GPS data processed {"connection_id":191771,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:59:43] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:49] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:49] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 09:59:49] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:49] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 09:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 09:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 09:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 09:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 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-09-23 09:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 09:59:49] 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-09-23 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-09-23 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-09-23 09:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 09:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 09:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 09:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 09:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 09:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 09:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 09:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 09:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 09:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 09:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 09:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 09:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 09:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 09:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 09:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 09:59:49] local.INFO: GPS data processed {"connection_id":191771,"processed":1,"errors":0,"total":1} 
[2026-09-23 09:59:49] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 09:59:54] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:54] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:54] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 09:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 09:59:57] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:57] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 09:59:57] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 09:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:00:02] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:02] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:02] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:00:03] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc847d30012d196880071fed10003901162c..."} 
[2026-09-23 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc847d30012d196880071fed10003901162c..."} 
[2026-09-23 10:00:03] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc847d30012d196880071fed10003901162c..."} 
[2026-09-23 10:00:03] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 10:00:03] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275227904001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137630000,"timestamp_ms":1790137630000,"timestamp_seconds":1790137630,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc847d30"} 
[2026-09-23 10:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:00: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-09-23 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:00: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-09-23 10: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-09-23 10:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275227904001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275227904001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275227904001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:00:03] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:00:03] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:00:32] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:32] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:32] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:00:35] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc84cf38012d196880071fed10003901162d..."} 
[2026-09-23 10:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc84cf38012d196880071fed10003901162d..."} 
[2026-09-23 10:00:35] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc84cf38012d196880071fed10003901162d..."} 
[2026-09-23 10:00:35] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 10:00:35] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc84"} 
[2026-09-23 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275233280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790137651000,"timestamp_ms":1790137651000,"timestamp_seconds":1790137651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc84cf38"} 
[2026-09-23 10:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:00:35] 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-09-23 10: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-09-23 10:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275233280001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275233280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:00:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275233280001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:00:35] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:00:35] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:00:37] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:37] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:00:37] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:00:38] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 10:00:38] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc82b428012d34c54006aa3d28001b003b24..."} 
[2026-09-23 10:00:38] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 10:00:38] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc82"} 
[2026-09-23 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":27,"angle":59,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275126272001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137513000,"timestamp_ms":1790137513000,"timestamp_seconds":1790137513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc82b428"} 
[2026-09-23 10:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 10:00:38] 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-09-23 10: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-09-23 10:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275126272001,"66":25962,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275126272001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275126272001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:00:38] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:00:38] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:00:58] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: IMEI packet received {"connection_id":190424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":190424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:00:58] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:00:58] local.INFO: IMEI packet received {"connection_id":190424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":190424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:01:02] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:02] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:02] local.INFO: IMEI packet received {"connection_id":190424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":190424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:01:03] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc852140012d196880071fed10003901162c..."} 
[2026-09-23 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc852140012d196880071fed10003901162c..."} 
[2026-09-23 10:01:03] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc852140012d196880071fed10003901162c..."} 
[2026-09-23 10:01:03] local.INFO: Packet analysis {"connection_id":190424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:01:03] local.INFO: Extracted packet for processing {"connection_id":190424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275238656001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137672000,"timestamp_ms":1790137672000,"timestamp_seconds":1790137672,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc852140"} 
[2026-09-23 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:01: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-09-23 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:01: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-09-23 10:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275238656001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275238656001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275238656001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":190424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:01:03] local.INFO: GPS data processed {"connection_id":190424,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:01:03] local.INFO: Acknowledgment sent {"connection_id":190424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:01:09] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:09] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:09] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:01:09] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:01: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-09-23 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:01:10] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:01:10] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:01:32] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:32] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:32] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:01:35] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc857348012d196880071fed10003901162b..."} 
[2026-09-23 10:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc857348012d196880071fed10003901162b..."} 
[2026-09-23 10:01:35] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc857348012d196880071fed10003901162b..."} 
[2026-09-23 10:01:35] local.INFO: Packet analysis {"connection_id":190424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:01:35] local.INFO: Extracted packet for processing {"connection_id":190424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275244032001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790137693000,"timestamp_ms":1790137693000,"timestamp_seconds":1790137693,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc857348"} 
[2026-09-23 10:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:01:35] 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-09-23 10: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-09-23 10:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275244032001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275244032001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275244032001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":190424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:01:35] local.INFO: GPS data processed {"connection_id":190424,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:01:35] local.INFO: Acknowledgment sent {"connection_id":190424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:01:37] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:37] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:01:37] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:01:38] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:38] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:01:38] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:01:38] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:01: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-09-23 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:01:38] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:01:38] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:01:57] local.INFO: TCP Data received {"connection_id":193109,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:57] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:01:57] local.INFO: IMEI packet received {"connection_id":193109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":193109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:02:01] local.INFO: TCP Data received {"connection_id":193109,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:01] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:01] local.INFO: IMEI packet received {"connection_id":193109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":193109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:02:01] local.INFO: TCP Data received {"connection_id":193109,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc85c550012d196880071fed10003901162b..."} 
[2026-09-23 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc85c550012d196880071fed10003901162b..."} 
[2026-09-23 10:02:01] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc85c550012d196880071fed10003901162b..."} 
[2026-09-23 10:02:01] local.INFO: Packet analysis {"connection_id":193109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:02:01] local.INFO: Extracted packet for processing {"connection_id":193109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc85"} 
[2026-09-23 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275249408001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790137714000,"timestamp_ms":1790137714000,"timestamp_seconds":1790137714,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc85c550"} 
[2026-09-23 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-09-23 10:02: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-09-23 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:02: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-09-23 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-09-23 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-09-23 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275249408001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275249408001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:02:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275249408001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":193109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:02:02] local.INFO: GPS data processed {"connection_id":193109,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:02:02] local.INFO: Acknowledgment sent {"connection_id":193109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:02:10] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:10] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:10] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:02:10] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10: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-09-23 10:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:02:10] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:02:10] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:02:32] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:32] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:32] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:02:33] local.INFO: TCP Data received {"connection_id":193109,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc861758012d196880071fed10003901162a..."} 
[2026-09-23 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc861758012d196880071fed10003901162a..."} 
[2026-09-23 10:02:33] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc861758012d196880071fed10003901162a..."} 
[2026-09-23 10:02:33] local.INFO: Packet analysis {"connection_id":193109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:02:33] local.INFO: Extracted packet for processing {"connection_id":193109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275254784001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790137735000,"timestamp_ms":1790137735000,"timestamp_seconds":1790137735,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc861758"} 
[2026-09-23 10:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:02:33] 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-09-23 10: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-09-23 10:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275254784001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275254784001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275254784001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":193109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:02:33] local.INFO: GPS data processed {"connection_id":193109,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:02:33] local.INFO: Acknowledgment sent {"connection_id":193109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:02:38] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:38] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:02:38] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:02:39] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:39] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:02:39] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:02:39] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:02:39] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:02:39] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:02:57] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:57] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:02:57] local.INFO: IMEI packet received {"connection_id":193110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":193110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:03:02] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:02] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:02] local.INFO: IMEI packet received {"connection_id":193110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":193110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:03:03] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc866960012d196880071fed10003901162a..."} 
[2026-09-23 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc866960012d196880071fed10003901162a..."} 
[2026-09-23 10:03:03] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc866960012d196880071fed10003901162a..."} 
[2026-09-23 10:03:03] local.INFO: Packet analysis {"connection_id":193110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:03:03] local.INFO: Extracted packet for processing {"connection_id":193110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275260160001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137756000,"timestamp_ms":1790137756000,"timestamp_seconds":1790137756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc866960"} 
[2026-09-23 10:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:03: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-09-23 10: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:03:03] 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-09-23 10: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-09-23 10:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275260160001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275260160001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275260160001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":193110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:03:03] local.INFO: GPS data processed {"connection_id":193110,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:03:03] local.INFO: Acknowledgment sent {"connection_id":193110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:03:11] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:11] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:11] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:11] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 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-09-23 10:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03: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-09-23 10:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:03:11] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:03:11] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:03:34] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc86bb68012d196880071fed10003901162a..."} 
[2026-09-23 10:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc86bb68012d196880071fed10003901162a..."} 
[2026-09-23 10:03:34] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc86bb68012d196880071fed10003901162a..."} 
[2026-09-23 10:03:34] local.INFO: Packet analysis {"connection_id":193110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:03:34] local.INFO: Extracted packet for processing {"connection_id":193110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc86"} 
[2026-09-23 10:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275265536001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790137777000,"timestamp_ms":1790137777000,"timestamp_seconds":1790137777,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc86bb68"} 
[2026-09-23 10:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:03:34] 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-09-23 10: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-09-23 10:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275265536001,"66":12406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275265536001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275265536001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":193110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:03:34] local.INFO: GPS data processed {"connection_id":193110,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:03:34] local.INFO: Acknowledgment sent {"connection_id":193110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:03:37] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:37] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:37] local.INFO: IMEI packet received {"connection_id":191774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":191774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:03:42] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:42] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:03:42] local.INFO: IMEI packet received {"connection_id":191774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":191774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:03:43] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:43] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:43] local.INFO: Packet analysis {"connection_id":191774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:43] local.INFO: Extracted packet for processing {"connection_id":191774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 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-09-23 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03: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-09-23 10:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":191774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:03:43] local.INFO: GPS data processed {"connection_id":191774,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:03:43] local.INFO: Acknowledgment sent {"connection_id":191774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:03:48] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:48] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:03:48] local.INFO: Packet analysis {"connection_id":191774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:48] local.INFO: Extracted packet for processing {"connection_id":191774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":191774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:03:48] local.INFO: GPS data processed {"connection_id":191774,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:03:48] local.INFO: Acknowledgment sent {"connection_id":191774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:03:57] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:57] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:03:57] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:04:02] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:04:02] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:04:02] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:04:03] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc870d70012d196880071fed100039011629..."} 
[2026-09-23 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc870d70012d196880071fed100039011629..."} 
[2026-09-23 10:04:03] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc870d70012d196880071fed100039011629..."} 
[2026-09-23 10:04:03] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:03] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275270912001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137798000,"timestamp_ms":1790137798000,"timestamp_seconds":1790137798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc870d70"} 
[2026-09-23 10:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:04: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-09-23 10:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 10:04:03] 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-09-23 10: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-09-23 10:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275270912001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275270912001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275270912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:04:03] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:04:03] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:04:32] local.INFO: TCP Data received {"connection_id":193111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:32] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:32] local.INFO: IMEI packet received {"connection_id":193111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":193111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:04:34] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc875f78012d196880071fed10003901162c..."} 
[2026-09-23 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc875f78012d196880071fed10003901162c..."} 
[2026-09-23 10:04:34] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc875f78012d196880071fed10003901162c..."} 
[2026-09-23 10:04:34] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:34] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275276288001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790137819000,"timestamp_ms":1790137819000,"timestamp_seconds":1790137819,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc875f78"} 
[2026-09-23 10:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:04:34] 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-09-23 10:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:04:34] 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-09-23 10:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275276288001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275276288001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275276288001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:04:34] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:04:34] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:04:37] local.INFO: TCP Data received {"connection_id":193111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:37] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:04:37] local.INFO: IMEI packet received {"connection_id":193111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":193111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:04:38] local.INFO: TCP Data received {"connection_id":193111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:04:38] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:04:38] local.INFO: Packet analysis {"connection_id":193111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:38] local.INFO: Extracted packet for processing {"connection_id":193111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 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-09-23 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:04: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-09-23 10:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":193111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:04:38] local.INFO: GPS data processed {"connection_id":193111,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:04:38] local.INFO: Acknowledgment sent {"connection_id":193111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:02] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:02] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:02] local.INFO: IMEI packet received {"connection_id":190247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:05:07] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:07] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:07] local.INFO: IMEI packet received {"connection_id":190247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":190247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:05:08] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc87b180012d196880071fed10003901162d..."} 
[2026-09-23 10:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc87b180012d196880071fed10003901162d..."} 
[2026-09-23 10:05:08] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc87b180012d196880071fed10003901162d..."} 
[2026-09-23 10:05:08] local.INFO: Packet analysis {"connection_id":190247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:08] local.INFO: Extracted packet for processing {"connection_id":190247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275281664001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790137840000,"timestamp_ms":1790137840000,"timestamp_seconds":1790137840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc87b180"} 
[2026-09-23 10:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:05:08] 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-09-23 10:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275281664001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275281664001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275281664001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":190247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:05:08] local.INFO: GPS data processed {"connection_id":190247,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:05:08] local.INFO: Acknowledgment sent {"connection_id":190247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:09] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc880388012d196880071fed10003901162b..."} 
[2026-09-23 10:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc880388012d196880071fed10003901162b..."} 
[2026-09-23 10:05:09] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc880388012d196880071fed10003901162b..."} 
[2026-09-23 10:05:09] local.INFO: Packet analysis {"connection_id":190247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:05:09] local.INFO: Extracted packet for processing {"connection_id":190247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275287040001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790137861000,"timestamp_ms":1790137861000,"timestamp_seconds":1790137861,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc880388"} 
[2026-09-23 10:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:05:09] 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-09-23 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:05:09] 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-09-23 10: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-09-23 10:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275287040001,"66":12374,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275287040001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:05:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275287040001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:05:09] local.INFO: GPS data processed {"connection_id":190247,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:05:09] local.INFO: Acknowledgment sent {"connection_id":190247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:10] local.INFO: TCP Data received {"connection_id":193111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:10] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:10] local.INFO: Packet analysis {"connection_id":193111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:10] local.INFO: Extracted packet for processing {"connection_id":193111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":193111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:05:10] local.INFO: GPS data processed {"connection_id":193111,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:05:10] local.INFO: Acknowledgment sent {"connection_id":193111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:32] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:32] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:32] local.INFO: IMEI packet received {"connection_id":190426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:05:37] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:37] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:05:37] local.INFO: IMEI packet received {"connection_id":190426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:05:38] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:38] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc874bf0012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:05:38] local.INFO: Packet analysis {"connection_id":190426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:38] local.INFO: Extracted packet for processing {"connection_id":190426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc87"} 
[2026-09-23 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275203328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790137814000,"timestamp_ms":1790137814000,"timestamp_seconds":1790137814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc874bf0"} 
[2026-09-23 10:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275203328001,"66":25908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275203328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275203328001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:05:38] local.INFO: GPS data processed {"connection_id":190426,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:05:38] local.INFO: Acknowledgment sent {"connection_id":190426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:40] local.INFO: TCP Data received {"connection_id":190247,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc885590012d196880071fed10003901162c..."} 
[2026-09-23 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc885590012d196880071fed10003901162c..."} 
[2026-09-23 10:05:40] local.INFO: Processing buffer {"connection_id":190247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc885590012d196880071fed10003901162c..."} 
[2026-09-23 10:05:40] local.INFO: Packet analysis {"connection_id":190247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:05:40] local.INFO: Extracted packet for processing {"connection_id":190247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275292416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790137882000,"timestamp_ms":1790137882000,"timestamp_seconds":1790137882,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc885590"} 
[2026-09-23 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-09-23 10:05: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-09-23 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-23 10:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275292416001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275292416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275292416001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":190247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:05:41] local.INFO: GPS data processed {"connection_id":190247,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:05:41] local.INFO: Acknowledgment sent {"connection_id":190247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:05:51] local.INFO: TCP Data received {"connection_id":190248,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:05:51] local.INFO: Processing buffer {"connection_id":190248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:05:51] local.INFO: IMEI packet received {"connection_id":190248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":190248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:05:57] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:57] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:05:57] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:06:02] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:02] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:02] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:06:03] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc88a798012d196880071fed10003901162c..."} 
[2026-09-23 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc88a798012d196880071fed10003901162c..."} 
[2026-09-23 10:06:03] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc88a798012d196880071fed10003901162c..."} 
[2026-09-23 10:06:03] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:06:03] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275297792001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137903000,"timestamp_ms":1790137903000,"timestamp_seconds":1790137903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc88a798"} 
[2026-09-23 10:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:06: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-09-23 10:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:06: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-09-23 10:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275297792001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275297792001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275297792001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:06:03] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:06:03] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:06:08] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc88f9a0012d196880071fed10003901162a..."} 
[2026-09-23 10:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc88f9a0012d196880071fed10003901162a..."} 
[2026-09-23 10:06:08] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc88f9a0012d196880071fed10003901162a..."} 
[2026-09-23 10:06:08] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:06:08] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc88"} 
[2026-09-23 10:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275303168001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790137924000,"timestamp_ms":1790137924000,"timestamp_seconds":1790137924,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc88f9a0"} 
[2026-09-23 10:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:06: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-09-23 10:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275303168001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275303168001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:06:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275303168001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:06:08] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:06:08] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:06:10] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:10] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:10] local.INFO: Packet analysis {"connection_id":190426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:06:10] local.INFO: Extracted packet for processing {"connection_id":190426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 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-09-23 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":190426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:06:10] local.INFO: GPS data processed {"connection_id":190426,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:06:10] local.INFO: Acknowledgment sent {"connection_id":190426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:06:32] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:32] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:32] local.INFO: IMEI packet received {"connection_id":190249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":190249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:06:37] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:37] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:06:37] local.INFO: IMEI packet received {"connection_id":190249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":190249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:06:38] local.INFO: TCP Data received {"connection_id":190250,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:06:38] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:06:38] local.INFO: IMEI packet received {"connection_id":190250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":190250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:06:38] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:38] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:06:38] local.INFO: Packet analysis {"connection_id":190249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:06:38] local.INFO: Extracted packet for processing {"connection_id":190249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 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-09-23 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:06:38] 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-09-23 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-09-23 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-09-23 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:06: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-09-23 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":190249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:06:38] local.INFO: GPS data processed {"connection_id":190249,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:06:38] local.INFO: Acknowledgment sent {"connection_id":190249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:06:39] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc894ba8012d196880071fed10003901162d..."} 
[2026-09-23 10:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc894ba8012d196880071fed10003901162d..."} 
[2026-09-23 10:06:39] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc894ba8012d196880071fed10003901162d..."} 
[2026-09-23 10:06:39] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:06:39] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275308544001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790137945000,"timestamp_ms":1790137945000,"timestamp_seconds":1790137945,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc894ba8"} 
[2026-09-23 10:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:06: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-09-23 10: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:06: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-09-23 10: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-09-23 10:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275308544001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275308544001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275308544001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:06:39] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:06:39] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:06:49] local.INFO: TCP Data received {"connection_id":190250,"ip":"117.224.40.179","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190250,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 10:06:49] local.INFO: Processing buffer {"connection_id":190250,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 10:06:49] local.INFO: IMEI packet received {"connection_id":190250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":190250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:06:54] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:54] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:54] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:06:57] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:57] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:06:57] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:07:02] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:02] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:02] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:07:03] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc899db0012d196880071fed10003901162b..."} 
[2026-09-23 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc899db0012d196880071fed10003901162b..."} 
[2026-09-23 10:07:03] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc899db0012d196880071fed10003901162b..."} 
[2026-09-23 10:07:03] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:07:03] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275313920001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790137966000,"timestamp_ms":1790137966000,"timestamp_seconds":1790137966,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc899db0"} 
[2026-09-23 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:07:03] 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-09-23 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:07: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-09-23 10: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-09-23 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275313920001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275313920001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275313920001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:07:03] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:07:03] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:07:10] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:10] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:10] local.INFO: Packet analysis {"connection_id":190249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:10] local.INFO: Extracted packet for processing {"connection_id":190249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 10:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":190249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:07:10] local.INFO: GPS data processed {"connection_id":190249,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:07:10] local.INFO: Acknowledgment sent {"connection_id":190249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:07:34] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc89efb8012d196880071fed10003901162b..."} 
[2026-09-23 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc89efb8012d196880071fed10003901162b..."} 
[2026-09-23 10:07:34] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc89efb8012d196880071fed10003901162b..."} 
[2026-09-23 10:07:34] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:07:34] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc89"} 
[2026-09-23 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275319296001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790137987000,"timestamp_ms":1790137987000,"timestamp_seconds":1790137987,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc89efb8"} 
[2026-09-23 10:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:07: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-09-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:07:34] 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-09-23 10: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-09-23 10:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275319296001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275319296001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:07:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275319296001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:07:35] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:07:35] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:07:37] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:37] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:37] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:07:42] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:42] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:07:42] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:07:43] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:43] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:43] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:43] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 10:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:07:43] 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-09-23 10:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07: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-09-23 10:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:07:43] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:07:43] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:07:48] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:48] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:07:48] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:48] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:07: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-09-23 10:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 10:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:07:48] 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-09-23 10:07: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-09-23 10:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:07:48] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:07:48] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:07:57] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:57] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:57] local.INFO: IMEI packet received {"connection_id":190252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":190252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:07:58] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:58] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:07:58] local.INFO: IMEI packet received {"connection_id":190252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":190252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:08:02] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:02] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:02] local.INFO: IMEI packet received {"connection_id":190252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":190252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:08:03] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8a41c0012d196880071fed10003901162b..."} 
[2026-09-23 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8a41c0012d196880071fed10003901162b..."} 
[2026-09-23 10:08:03] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8a41c0012d196880071fed10003901162b..."} 
[2026-09-23 10:08:03] local.INFO: Packet analysis {"connection_id":190252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8a"} 
[2026-09-23 10:08:03] local.INFO: Extracted packet for processing {"connection_id":190252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8a"} 
[2026-09-23 10:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275324672001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138008000,"timestamp_ms":1790138008000,"timestamp_seconds":1790138008,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8a41c0"} 
[2026-09-23 10:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:08:03] 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-09-23 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:08: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-09-23 10: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-09-23 10:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275324672001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275324672001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:08:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275324672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":190252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:08:03] local.INFO: GPS data processed {"connection_id":190252,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:08:03] local.INFO: Acknowledgment sent {"connection_id":190252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:08:32] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:32] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:32] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:08:34] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8a93c8012d196880071fed10003901162d..."} 
[2026-09-23 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8a93c8012d196880071fed10003901162d..."} 
[2026-09-23 10:08:34] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8a93c8012d196880071fed10003901162d..."} 
[2026-09-23 10:08:34] local.INFO: Packet analysis {"connection_id":190252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8a"} 
[2026-09-23 10:08:34] local.INFO: Extracted packet for processing {"connection_id":190252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8a"} 
[2026-09-23 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275330048001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138029000,"timestamp_ms":1790138029000,"timestamp_seconds":1790138029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8a93c8"} 
[2026-09-23 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-09-23 10:08:34] 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-09-23 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275330048001,"66":12385,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275330048001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275330048001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":190252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:08:34] local.INFO: GPS data processed {"connection_id":190252,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:08:34] local.INFO: Acknowledgment sent {"connection_id":190252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:08:37] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:37] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:08:37] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:08:38] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:08:38] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:08:38] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:08:38] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 10:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:08:38] 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-09-23 10: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-09-23 10:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:08:38] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:08:38] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:08:58] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:58] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:08:58] local.INFO: IMEI packet received {"connection_id":190255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":190255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:09:00] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:01] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:01] local.INFO: IMEI packet received {"connection_id":190255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":190255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:09:02] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:02] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:02] local.INFO: IMEI packet received {"connection_id":190255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":190255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:09:03] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8e1a20012d196880071fed10003901162b..."} 
[2026-09-23 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8e1a20012d196880071fed10003901162b..."} 
[2026-09-23 10:09:03] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8e1a20012d196880071fed10003901162b..."} 
[2026-09-23 10:09:03] local.INFO: Packet analysis {"connection_id":190255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:03] local.INFO: Extracted packet for processing {"connection_id":190255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275389184001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138260000,"timestamp_ms":1790138260000,"timestamp_seconds":1790138260,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8e1a20"} 
[2026-09-23 10:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:09:03] 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-09-23 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:09: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-09-23 10:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275389184001,"66":12363,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275389184001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275389184001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":190255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:09:03] local.INFO: GPS data processed {"connection_id":190255,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:09:03] local.INFO: Acknowledgment sent {"connection_id":190255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:09:08] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8e6c28012d196880071fed10003901162c..."} 
[2026-09-23 10:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8e6c28012d196880071fed10003901162c..."} 
[2026-09-23 10:09:08] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8e6c28012d196880071fed10003901162c..."} 
[2026-09-23 10:09:08] local.INFO: Packet analysis {"connection_id":190255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:08] local.INFO: Extracted packet for processing {"connection_id":190255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275394560001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790138281000,"timestamp_ms":1790138281000,"timestamp_seconds":1790138281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8e6c28"} 
[2026-09-23 10:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:09: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-09-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 10:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275394560001,"66":12363,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275394560001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:09:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275394560001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":190255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:09:08] local.INFO: GPS data processed {"connection_id":190255,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:09:08] local.INFO: Acknowledgment sent {"connection_id":190255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:09:10] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:10] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8be3b8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:10] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:09:10] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8b"} 
[2026-09-23 10:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275280384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138115000,"timestamp_ms":1790138115000,"timestamp_seconds":1790138115,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8be3b8"} 
[2026-09-23 10:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 10:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275280384001,"66":25843,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275280384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275280384001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:09:10] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:09:10] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:09:32] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:32] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:32] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:09:37] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:37] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:09:37] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:09:38] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8f4eb8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8f4eb8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:38] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8f4eb8012d34c54006aa3d28000b003b27..."} 
[2026-09-23 10:09:38] local.INFO: Packet analysis {"connection_id":190256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:09:38] local.INFO: Extracted packet for processing {"connection_id":190256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820072,"longitude_deg":75.8433088,"latitude_deg":11.1820072,"altitude":11,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10:09: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-09-23 10:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275357440001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138339000,"timestamp_ms":1790138339000,"timestamp_seconds":1790138339,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8f4eb8"} 
[2026-09-23 10:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 10:09: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-09-23 10: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-09-23 10:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:09: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-09-23 10:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275357440001,"66":25875,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275357440001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275357440001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":190256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:09:38] local.INFO: GPS data processed {"connection_id":190256,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:09:38] local.INFO: Acknowledgment sent {"connection_id":190256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:09:39] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8ebe30012d196880071fed10003901162b..."} 
[2026-09-23 10:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8ebe30012d196880071fed10003901162b..."} 
[2026-09-23 10:09:39] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8ebe30012d196880071fed10003901162b..."} 
[2026-09-23 10:09:39] local.INFO: Packet analysis {"connection_id":190255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:39] local.INFO: Extracted packet for processing {"connection_id":190255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8e"} 
[2026-09-23 10:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275399936001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790138302000,"timestamp_ms":1790138302000,"timestamp_seconds":1790138302,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8ebe30"} 
[2026-09-23 10:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:09: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-09-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 10:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275399936001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275399936001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:09:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275399936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":190255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:09:39] local.INFO: GPS data processed {"connection_id":190255,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:09:39] local.INFO: Acknowledgment sent {"connection_id":190255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:09:57] local.INFO: TCP Data received {"connection_id":193112,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:57] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:09:57] local.INFO: IMEI packet received {"connection_id":193112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":193112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:10:02] local.INFO: TCP Data received {"connection_id":193112,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:02] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:02] local.INFO: IMEI packet received {"connection_id":193112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":193112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:10:03] local.INFO: TCP Data received {"connection_id":193112,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8f1038012d196880071fed10003901162c..."} 
[2026-09-23 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8f1038012d196880071fed10003901162c..."} 
[2026-09-23 10:10:03] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8f1038012d196880071fed10003901162c..."} 
[2026-09-23 10:10:03] local.INFO: Packet analysis {"connection_id":193112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:03] local.INFO: Extracted packet for processing {"connection_id":193112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275405312001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138323000,"timestamp_ms":1790138323000,"timestamp_seconds":1790138323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8f1038"} 
[2026-09-23 10:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:10:03] 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-09-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:10: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-09-23 10: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-09-23 10:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275405312001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275405312001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275405312001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":193112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:10:03] local.INFO: GPS data processed {"connection_id":193112,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:10:03] local.INFO: Acknowledgment sent {"connection_id":193112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:10:09] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8f6628012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8f6628012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:10:09] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8f6628012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:10:09] local.INFO: Packet analysis {"connection_id":190256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:09] local.INFO: Extracted packet for processing {"connection_id":190256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275414784001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754368000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138345000,"timestamp_ms":1790138345000,"timestamp_seconds":1790138345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8f6628"} 
[2026-09-23 10:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 10:10: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-09-23 10:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:10: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-09-23 10:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275414784001,"66":22179,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3802515857754368000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275414784001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754368000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275414784001,"power":22179,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754368000}} 
[2026-09-23 10:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":190256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:10:09] local.INFO: GPS data processed {"connection_id":190256,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:10:09] local.INFO: Acknowledgment sent {"connection_id":190256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:10:31] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:31] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:31] local.INFO: IMEI packet received {"connection_id":193113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":193113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:10:34] local.INFO: TCP Data received {"connection_id":193112,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8f6240012d196880071fed10003901162a..."} 
[2026-09-23 10:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8f6240012d196880071fed10003901162a..."} 
[2026-09-23 10:10:34] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8f6240012d196880071fed10003901162a..."} 
[2026-09-23 10:10:34] local.INFO: Packet analysis {"connection_id":193112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:34] local.INFO: Extracted packet for processing {"connection_id":193112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275410688001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138344000,"timestamp_ms":1790138344000,"timestamp_seconds":1790138344,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8f6240"} 
[2026-09-23 10:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:10: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-09-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 10:10:34] 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-09-23 10: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-09-23 10:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275410688001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275410688001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:10:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275410688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":193112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:10:34] local.INFO: GPS data processed {"connection_id":193112,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:10:34] local.INFO: Acknowledgment sent {"connection_id":193112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:10:37] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:37] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:10:37] local.INFO: IMEI packet received {"connection_id":193113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":193113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:10:38] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8fb830012d34c84006aa3cd0000b006b28..."} 
[2026-09-23 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8fb830012d34c84006aa3cd0000b006b28..."} 
[2026-09-23 10:10:38] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8fb830012d34c84006aa3cd0000b006b28..."} 
[2026-09-23 10:10:38] local.INFO: Packet analysis {"connection_id":193113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:38] local.INFO: Extracted packet for processing {"connection_id":193113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275416320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138366000,"timestamp_ms":1790138366000,"timestamp_seconds":1790138366,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8fb830"} 
[2026-09-23 10:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 10:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2095,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10: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-09-23 10:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275416320001,"66":27908,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275416320001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275416320001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":193113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:10:38] local.INFO: GPS data processed {"connection_id":193113,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:10:38] local.INFO: Acknowledgment sent {"connection_id":193113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:10:57] local.INFO: TCP Data received {"connection_id":193114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:57] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:10:57] local.INFO: IMEI packet received {"connection_id":193114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":193114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:11:02] local.INFO: TCP Data received {"connection_id":193114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:11:02] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:11:02] local.INFO: IMEI packet received {"connection_id":193114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":193114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:11:03] local.INFO: TCP Data received {"connection_id":193114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8fb448012d196880071fed10003901162a..."} 
[2026-09-23 10:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8fb448012d196880071fed10003901162a..."} 
[2026-09-23 10:11:03] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8fb448012d196880071fed10003901162a..."} 
[2026-09-23 10:11:03] local.INFO: Packet analysis {"connection_id":193114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:03] local.INFO: Extracted packet for processing {"connection_id":193114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275416064001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138365000,"timestamp_ms":1790138365000,"timestamp_seconds":1790138365,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8fb448"} 
[2026-09-23 10:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:03] 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-09-23 10: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":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3707267301457979032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2384076801,"corrected_to":0} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:11:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":402730265,"corrected_to":0} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,45,128,237,57,44,10,66,190,43,108,1,240,75,227,204,31,4,113,205,200,104,46,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":2384076801,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":402730265,"validated":0}]} 
[2026-09-23 10:11:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588704783040512,"timestamp_seconds":4107588704783040.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 10:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275416064001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275416064001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275416064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":193114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:03] local.INFO: GPS data processed {"connection_id":193114,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:03] local.INFO: Acknowledgment sent {"connection_id":193114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:11:10] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:10] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:10] local.INFO: Packet analysis {"connection_id":193113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:10] local.INFO: Extracted packet for processing {"connection_id":193113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:11: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-09-23 10:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10: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-09-23 10:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":193113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:10] local.INFO: GPS data processed {"connection_id":193113,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:10] local.INFO: Acknowledgment sent {"connection_id":193113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:11:34] local.INFO: TCP Data received {"connection_id":193114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc900650012d196880071fed10003901162c..."} 
[2026-09-23 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc900650012d196880071fed10003901162c..."} 
[2026-09-23 10:11:34] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc900650012d196880071fed10003901162c..."} 
[2026-09-23 10:11:34] local.INFO: Packet analysis {"connection_id":193114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:11:34] local.INFO: Extracted packet for processing {"connection_id":193114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421440001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138386000,"timestamp_ms":1790138386000,"timestamp_seconds":1790138386,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc900650"} 
[2026-09-23 10:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:34] 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-09-23 10:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 10:11:34] 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-09-23 10:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421440001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421440001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421440001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":193114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:34] local.INFO: GPS data processed {"connection_id":193114,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:34] local.INFO: Acknowledgment sent {"connection_id":193114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:11:37] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:37] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:37] local.INFO: IMEI packet received {"connection_id":190259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":190259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:11:41] local.INFO: TCP Data received {"connection_id":190258,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:11:41] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:11:41] local.INFO: IMEI packet received {"connection_id":190258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":190258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:11:42] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:42] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:11:42] local.INFO: IMEI packet received {"connection_id":190259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":190259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:11:43] local.INFO: TCP Data received {"connection_id":190258,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8f6628012c1d3b800abca9d0038b00d625..."} 
[2026-09-23 10:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8f6628012c1d3b800abca9d0038b00d625..."} 
[2026-09-23 10:11:43] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8f6628012c1d3b800abca9d0038b00d625..."} 
[2026-09-23 10:11:43] local.INFO: Packet analysis {"connection_id":190258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:43] local.INFO: Extracted packet for processing {"connection_id":190258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:43] local.INFO: GPS Element Parsed {"raw_longitude":740113280,"raw_latitude":180136400,"longitude_deg":74.011328,"latitude_deg":18.01364,"altitude":907,"angle":214,"satellites":37,"speed":14,"hex_longitude":"2c1d3b80","hex_latitude":"0abca9d0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275412992001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2117395558422609923,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138345000,"timestamp_ms":1790138345000,"timestamp_seconds":1790138345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8f6628"} 
[2026-09-23 10:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-23 10:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275412992001,"66":28104,"247":206,"20":2560,"24":14,"16":3605049519374336,"44":2117395558422609923},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16,44]} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275412992001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-23 10:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":2117395558422609923,"description":"Unknown IO ID 44"} 
[2026-09-23 10:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275412992001,"power":28104,"internal_battery_voltage":206,"unknown_20":2560,"ignition":14,"odometer":null,"unknown_44":2117395558422609923}} 
[2026-09-23 10:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":190258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:43] local.INFO: GPS data processed {"connection_id":190258,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:43] local.INFO: Acknowledgment sent {"connection_id":190258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:11:43] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:43] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:43] local.INFO: Packet analysis {"connection_id":190259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:43] local.INFO: Extracted packet for processing {"connection_id":190259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11: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-09-23 10:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":190259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:43] local.INFO: GPS data processed {"connection_id":190259,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:43] local.INFO: Acknowledgment sent {"connection_id":190259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:11:47] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:47] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:11:47] local.INFO: Packet analysis {"connection_id":190259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:47] local.INFO: Extracted packet for processing {"connection_id":190259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":190259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:11:47] local.INFO: GPS data processed {"connection_id":190259,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:11:47] local.INFO: Acknowledgment sent {"connection_id":190259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:02] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:02] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:02] local.INFO: IMEI packet received {"connection_id":190427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":190427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:12:07] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:07] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:07] local.INFO: IMEI packet received {"connection_id":190427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":190427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:12:08] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc905858012d196880071fed10003901162b..."} 
[2026-09-23 10:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc905858012d196880071fed10003901162b..."} 
[2026-09-23 10:12:08] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc905858012d196880071fed10003901162b..."} 
[2026-09-23 10:12:08] local.INFO: Packet analysis {"connection_id":190427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:08] local.INFO: Extracted packet for processing {"connection_id":190427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275426816001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790138407000,"timestamp_ms":1790138407000,"timestamp_seconds":1790138407,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc905858"} 
[2026-09-23 10:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12: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-09-23 10:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 10:12:08] 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-09-23 10:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275426816001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275426816001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275426816001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":190427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:12:08] local.INFO: GPS data processed {"connection_id":190427,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:12:08] local.INFO: Acknowledgment sent {"connection_id":190427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:09] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc90aa60012d196880071fed10003901162c..."} 
[2026-09-23 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc90aa60012d196880071fed10003901162c..."} 
[2026-09-23 10:12:09] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc90aa60012d196880071fed10003901162c..."} 
[2026-09-23 10:12:09] local.INFO: Packet analysis {"connection_id":190427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:09] local.INFO: Extracted packet for processing {"connection_id":190427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275432192001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138428000,"timestamp_ms":1790138428000,"timestamp_seconds":1790138428,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc90aa60"} 
[2026-09-23 10:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3706996718518331032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2400204801,"corrected_to":0} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:12:09] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,6,45,128,237,57,44,10,66,180,42,98,1,240,227,204,31,4,113,205,190,104,43,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":2400204801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 10:12:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 10:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275432192001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275432192001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:12:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275432192001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":190427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:12:09] local.INFO: GPS data processed {"connection_id":190427,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:12:09] local.INFO: Acknowledgment sent {"connection_id":190427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:10] local.INFO: TCP Data received {"connection_id":190260,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:10] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:10] local.INFO: IMEI packet received {"connection_id":190260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":190260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:12:16] local.INFO: TCP Data received {"connection_id":190260,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:16] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:12:16] local.INFO: IMEI packet received {"connection_id":190260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":190260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:12:17] local.INFO: TCP Data received {"connection_id":190260,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9015f00100000000000000000000000000..."} 
[2026-09-23 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9015f00100000000000000000000000000..."} 
[2026-09-23 10:12:17] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9015f00100000000000000000000000000..."} 
[2026-09-23 10:12:17] local.INFO: Packet analysis {"connection_id":190260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:17] local.INFO: Extracted packet for processing {"connection_id":190260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275416320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2106418034329112579,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790138390000,"timestamp_ms":1790138390000,"timestamp_seconds":1790138390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9015f0"} 
[2026-09-23 10:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:12:17] 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-09-23 10:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":190260,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 10:12:17] local.INFO: GPS data processed {"connection_id":190260,"processed":0,"errors":0,"total":1} 
[2026-09-23 10:12:17] local.INFO: Acknowledgment sent {"connection_id":190260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:32] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:32] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:32] local.INFO: IMEI packet received {"connection_id":193115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":193115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:12:37] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:37] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:12:37] local.INFO: IMEI packet received {"connection_id":193115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":193115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:12:38] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:12:38] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:12:38] local.INFO: Packet analysis {"connection_id":193115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:12:38] local.INFO: Extracted packet for processing {"connection_id":193115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12: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-09-23 10:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:12: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-09-23 10:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:12: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-09-23 10:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":193115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:12:38] local.INFO: GPS data processed {"connection_id":193115,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:12:38] local.INFO: Acknowledgment sent {"connection_id":193115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:41] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc90fc68012d196880071fed10003901162b..."} 
[2026-09-23 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc90fc68012d196880071fed10003901162b..."} 
[2026-09-23 10:12:41] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc90fc68012d196880071fed10003901162b..."} 
[2026-09-23 10:12:41] local.INFO: Packet analysis {"connection_id":190427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:41] local.INFO: Extracted packet for processing {"connection_id":190427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275437568001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790138449000,"timestamp_ms":1790138449000,"timestamp_seconds":1790138449,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc90fc68"} 
[2026-09-23 10:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12: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-09-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3706906524205115032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78297322525556736,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2405580801,"corrected_to":0} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:12:41] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:41] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,88,45,128,237,57,43,10,66,6,44,180,1,240,53,227,204,31,4,113,205,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":2405580801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 10:12:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 10:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275437568001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275437568001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:12:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275437568001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":190427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:12:41] local.INFO: GPS data processed {"connection_id":190427,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:12:41] local.INFO: Acknowledgment sent {"connection_id":190427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:49] local.INFO: TCP Data received {"connection_id":190260,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8fdb58012c1d1fc00abc81f0039000cc2a..."} 
[2026-09-23 10:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8fdb58012c1d1fc00abc81f0039000cc2a..."} 
[2026-09-23 10:12:49] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8fdb58012c1d1fc00abc81f0039000cc2a..."} 
[2026-09-23 10:12:49] local.INFO: Packet analysis {"connection_id":190260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:12:49] local.INFO: Extracted packet for processing {"connection_id":190260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":740106176,"raw_latitude":180126192,"longitude_deg":74.0106176,"latitude_deg":18.0126192,"altitude":912,"angle":204,"satellites":42,"speed":17,"hex_longitude":"2c1d1fc0","hex_latitude":"0abc81f0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:12:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 10:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790138375000,"timestamp_ms":1790138375000,"timestamp_seconds":1790138375,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8fdb58"} 
[2026-09-23 10:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 10:12:49] 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-09-23 10: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-09-23 10:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"234":206,"20":1024,"24":17,"16":3605049519374336},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16]} 
[2026-09-23 10:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 10:12:49] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-23 10:12:49] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:12:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_234":206,"unknown_20":1024,"ignition":17,"odometer":null}} 
[2026-09-23 10:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":190260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:12:49] local.INFO: GPS data processed {"connection_id":190260,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:12:49] local.INFO: Acknowledgment sent {"connection_id":190260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:12:57] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:57] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:12:57] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:13:02] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:02] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:02] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:13:03] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc914e70012d196880071fed10003901162b..."} 
[2026-09-23 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc914e70012d196880071fed10003901162b..."} 
[2026-09-23 10:13:03] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc914e70012d196880071fed10003901162b..."} 
[2026-09-23 10:13:03] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:13:03] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275442944001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138470000,"timestamp_ms":1790138470000,"timestamp_seconds":1790138470,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc914e70"} 
[2026-09-23 10:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13:03] 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-09-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:03] 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-09-23 10: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-09-23 10:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275442944001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275442944001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275442944001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":191779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:03] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:03] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:10] local.INFO: TCP Data received {"connection_id":190261,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:10] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:10] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:13:11] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:11] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:11] local.INFO: Packet analysis {"connection_id":193115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:11] local.INFO: Extracted packet for processing {"connection_id":193115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:13: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-09-23 10:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:13: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-09-23 10: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-09-23 10:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13: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-09-23 10:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":193115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:11] local.INFO: GPS data processed {"connection_id":193115,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:11] local.INFO: Acknowledgment sent {"connection_id":193115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:16] local.INFO: TCP Data received {"connection_id":190261,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:16] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:13:16] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:13:19] local.INFO: TCP Data received {"connection_id":190261,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc908b200100000000000000000000000000..."} 
[2026-09-23 10:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc908b200100000000000000000000000000..."} 
[2026-09-23 10:13:19] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc908b200100000000000000000000000000..."} 
[2026-09-23 10:13:19] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:13:19] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:13: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-09-23 10: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-09-23 10:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275424000001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2098607103722778627,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790138420000,"timestamp_ms":1790138420000,"timestamp_seconds":1790138420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc908b20"} 
[2026-09-23 10:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 10:13:19] local.INFO: GPS data processed {"connection_id":190261,"processed":0,"errors":0,"total":1} 
[2026-09-23 10:13:19] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:32] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:32] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:32] local.INFO: IMEI packet received {"connection_id":190428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":190428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:13:34] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc91a078012d196880071fed100039011629..."} 
[2026-09-23 10:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc91a078012d196880071fed100039011629..."} 
[2026-09-23 10:13:34] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc91a078012d196880071fed100039011629..."} 
[2026-09-23 10:13:34] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:13:34] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275448320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138491000,"timestamp_ms":1790138491000,"timestamp_seconds":1790138491,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc91a078"} 
[2026-09-23 10:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:34] 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-09-23 10: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-09-23 10:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275448320001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275448320001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275448320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":191779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:34] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:34] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:37] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:37] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:13:37] local.INFO: IMEI packet received {"connection_id":190428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":190428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:13:38] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:38] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:38] local.INFO: Packet analysis {"connection_id":190428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:38] local.INFO: Extracted packet for processing {"connection_id":190428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13: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-09-23 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13: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-09-23 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":190428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:38] local.INFO: GPS data processed {"connection_id":190428,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:38] local.INFO: Acknowledgment sent {"connection_id":190428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:43] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:43] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:13:43] local.INFO: Packet analysis {"connection_id":190428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:43] local.INFO: Extracted packet for processing {"connection_id":190428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:13:43] 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-09-23 10:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":190428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:43] local.INFO: GPS data processed {"connection_id":190428,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:43] local.INFO: Acknowledgment sent {"connection_id":190428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:51] local.INFO: TCP Data received {"connection_id":190261,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc903d00012c1ce7400abc76d0038901522c..."} 
[2026-09-23 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc903d00012c1ce7400abc76d0038901522c..."} 
[2026-09-23 10:13:51] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc903d00012c1ce7400abc76d0038901522c..."} 
[2026-09-23 10:13:51] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:13:51] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc90"} 
[2026-09-23 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":740091712,"raw_latitude":180123344,"longitude_deg":74.0091712,"latitude_deg":18.0123344,"altitude":905,"angle":338,"satellites":44,"speed":30,"hex_longitude":"2c1ce740","hex_latitude":"0abc76d0","is_valid_coordinates":true} 
[2026-09-23 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:13:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790138400000,"timestamp_ms":1790138400000,"timestamp_seconds":1790138400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc903d00"} 
[2026-09-23 10:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 10:13:51] 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-09-23 10:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"234":206,"20":1024,"24":30,"16":3605049519374336},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16]} 
[2026-09-23 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 10:13:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-23 10:13:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_234":206,"unknown_20":1024,"ignition":30,"odometer":null}} 
[2026-09-23 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:13:51] local.INFO: GPS data processed {"connection_id":190261,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:13:51] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:13:54] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:54] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:54] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:13:57] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:57] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:13:57] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:14:02] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:02] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:02] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:14:03] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc91f280012d196880071fed10003901162b..."} 
[2026-09-23 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc91f280012d196880071fed10003901162b..."} 
[2026-09-23 10:14:03] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc91f280012d196880071fed10003901162b..."} 
[2026-09-23 10:14:03] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:14:03] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc91"} 
[2026-09-23 10:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275453696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138512000,"timestamp_ms":1790138512000,"timestamp_seconds":1790138512,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc91f280"} 
[2026-09-23 10:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:14:03] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:14: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-09-23 10: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-09-23 10:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275453696001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275453696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275453696001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:14:03] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:14:03] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:15] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:15] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:15] local.INFO: Packet analysis {"connection_id":190428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:14:15] local.INFO: Extracted packet for processing {"connection_id":190428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:14: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-09-23 10:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:14:15] 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-09-23 10:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":190428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:14:15] local.INFO: GPS data processed {"connection_id":190428,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:14:15] local.INFO: Acknowledgment sent {"connection_id":190428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:16] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:16] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:16] local.INFO: IMEI packet received {"connection_id":193116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":193116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:14:21] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:21] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:14:21] local.INFO: IMEI packet received {"connection_id":193116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":193116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:14:23] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc93a0300100000000000000000000000000..."} 
[2026-09-23 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc93a0300100000000000000000000000000..."} 
[2026-09-23 10:14:23] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc93a0300100000000000000000000000000..."} 
[2026-09-23 10:14:23] local.INFO: Packet analysis {"connection_id":193116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:14:23] local.INFO: Extracted packet for processing {"connection_id":193116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:14: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-09-23 10:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275472384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1932044286229536771,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790138622000,"timestamp_ms":1790138622000,"timestamp_seconds":1790138622,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc93a030"} 
[2026-09-23 10:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 10:14:23] 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-09-23 10:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":193116,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 10:14:23] local.INFO: GPS data processed {"connection_id":193116,"processed":0,"errors":0,"total":1} 
[2026-09-23 10:14:23] local.INFO: Acknowledgment sent {"connection_id":193116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:26] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9332d0012c1aa5c00aba74f0033100ba30..."} 
[2026-09-23 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9332d0012c1aa5c00aba74f0033100ba30..."} 
[2026-09-23 10:14:26] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9332d0012c1aa5c00aba74f0033100ba30..."} 
[2026-09-23 10:14:26] local.INFO: Packet analysis {"connection_id":193116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:14:26] local.INFO: Extracted packet for processing {"connection_id":193116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":739943872,"raw_latitude":179991792,"longitude_deg":73.9943872,"latitude_deg":17.9991792,"altitude":817,"angle":186,"satellites":48,"speed":53,"hex_longitude":"2c1aa5c0","hex_latitude":"0aba74f0","is_valid_coordinates":true} 
[2026-09-23 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 10:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790138594000,"timestamp_ms":1790138594000,"timestamp_seconds":1790138594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9332d0"} 
[2026-09-23 10:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-23 10:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"235":206,"20":1024,"24":53,"16":3605049519374336},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,20,24,16]} 
[2026-09-23 10:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 10:14:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 10:14:26] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:14:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_235":206,"unknown_20":1024,"ignition":53,"odometer":null}} 
[2026-09-23 10:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":193116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:14:26] local.INFO: GPS data processed {"connection_id":193116,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:14:26] local.INFO: Acknowledgment sent {"connection_id":193116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:32] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:32] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:32] local.INFO: IMEI packet received {"connection_id":193117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":193117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:14:34] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc924488012d196880071fed10003901162b..."} 
[2026-09-23 10:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc924488012d196880071fed10003901162b..."} 
[2026-09-23 10:14:34] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc924488012d196880071fed10003901162b..."} 
[2026-09-23 10:14:34] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:14:34] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275459072001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138533000,"timestamp_ms":1790138533000,"timestamp_seconds":1790138533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc924488"} 
[2026-09-23 10:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:14:34] 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-09-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3706545746952251032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2427084801,"corrected_to":0} 
[2026-09-23 10:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:14:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,45,128,237,57,41,10,66,78,43,252,1,240,31,227,204,4,113,205,88,104,239,48,2,80,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":2427084801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 10:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 10:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275459072001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275459072001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:14:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275459072001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:14:34] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:14:34] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:37] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:37] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:14:37] local.INFO: IMEI packet received {"connection_id":193117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":193117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:14:38] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:38] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:14:38] local.INFO: Packet analysis {"connection_id":193117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:14:38] local.INFO: Extracted packet for processing {"connection_id":193117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:14: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-09-23 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 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-09-23 10:14: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-09-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:14: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-09-23 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-09-23 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-09-23 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":193117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:14:38] local.INFO: GPS data processed {"connection_id":193117,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:14:38] local.INFO: Acknowledgment sent {"connection_id":193117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:14:57] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:57] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:57] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:14:58] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:58] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:14:58] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:15:02] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:02] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:02] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:15:03] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc929690012d196880071fed10003901162b..."} 
[2026-09-23 10:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc929690012d196880071fed10003901162b..."} 
[2026-09-23 10:15:03] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc929690012d196880071fed10003901162b..."} 
[2026-09-23 10:15:03] local.INFO: Packet analysis {"connection_id":191780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:15:03] local.INFO: Extracted packet for processing {"connection_id":191780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275464448001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138554000,"timestamp_ms":1790138554000,"timestamp_seconds":1790138554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc929690"} 
[2026-09-23 10:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:15: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:15: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-09-23 10: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-09-23 10:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275464448001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275464448001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275464448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":191780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:03] local.INFO: GPS data processed {"connection_id":191780,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:03] local.INFO: Acknowledgment sent {"connection_id":191780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:10] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:15:10] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc8feee0012d34c84006aa3cd0000b006b27..."} 
[2026-09-23 10:15:10] local.INFO: Packet analysis {"connection_id":193117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:15:10] local.INFO: Extracted packet for processing {"connection_id":193117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc8f"} 
[2026-09-23 10:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111819984,"longitude_deg":75.8433856,"latitude_deg":11.1819984,"altitude":11,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3cd0","is_valid_coordinates":true} 
[2026-09-23 10:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275421696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138380000,"timestamp_ms":1790138380000,"timestamp_seconds":1790138380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc8feee0"} 
[2026-09-23 10:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275421696001,"66":27767,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275421696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275421696001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":193117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:10] local.INFO: GPS data processed {"connection_id":193117,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:10] local.INFO: Acknowledgment sent {"connection_id":193117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:11] local.INFO: TCP Data received {"connection_id":191781,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:11] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:11] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:15:13] local.INFO: TCP Data received {"connection_id":191781,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:13] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:13] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:15:15] local.INFO: TCP Data received {"connection_id":191781,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:15] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:15:15] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:15:17] local.INFO: TCP Data received {"connection_id":191781,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc937150012c1a9cc00aba24f0033000ad2f..."} 
[2026-09-23 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc937150012c1a9cc00aba24f0033000ad2f..."} 
[2026-09-23 10:15:17] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc937150012c1a9cc00aba24f0033000ad2f..."} 
[2026-09-23 10:15:17] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:15:17] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":739941568,"raw_latitude":179971312,"longitude_deg":73.9941568,"latitude_deg":17.9971312,"altitude":816,"angle":173,"satellites":47,"speed":41,"hex_longitude":"2c1a9cc0","hex_latitude":"0aba24f0","is_valid_coordinates":true} 
[2026-09-23 10:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275480064001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1920151968453816323,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790138610000,"timestamp_ms":1790138610000,"timestamp_seconds":1790138610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc937150"} 
[2026-09-23 10:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-23 10:15:17] 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-09-23 10:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275480064001,"66":28104,"235":206,"20":1024,"24":41,"16":3605049519374336,"44":1920151968453816323},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,20,24,16,44]} 
[2026-09-23 10:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275480064001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:17] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 10:15:17] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":1920151968453816323,"description":"Unknown IO ID 44"} 
[2026-09-23 10:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275480064001,"power":28104,"unknown_235":206,"unknown_20":1024,"ignition":41,"odometer":null,"unknown_44":1920151968453816323}} 
[2026-09-23 10:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:17] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:17] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:19] local.INFO: TCP Data received {"connection_id":191781,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc93bb88012c1a87400ab9e1b0033200d12f..."} 
[2026-09-23 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc93bb88012c1a87400ab9e1b0033200d12f..."} 
[2026-09-23 10:15:19] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc93bb88012c1a87400ab9e1b0033200d12f..."} 
[2026-09-23 10:15:19] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:15:19] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":739936064,"raw_latitude":179954096,"longitude_deg":73.9936064,"latitude_deg":17.9954096,"altitude":818,"angle":209,"satellites":47,"speed":42,"hex_longitude":"2c1a8740","hex_latitude":"0ab9e1b0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275484160001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1917618693658177539,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790138629000,"timestamp_ms":1790138629000,"timestamp_seconds":1790138629,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc93bb88"} 
[2026-09-23 10:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:15:19] 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-09-23 10: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-09-23 10:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275484160001,"66":28224,"236":206,"20":1024,"24":42,"16":3605049519374336,"44":1917618693658177539},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,20,24,16,44]} 
[2026-09-23 10:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275484160001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":1917618693658177539,"description":"Unknown IO ID 44"} 
[2026-09-23 10:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275484160001,"power":28224,"unknown_236":206,"unknown_20":1024,"ignition":42,"odometer":null,"unknown_44":1917618693658177539}} 
[2026-09-23 10:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:19] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:19] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:32] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:32] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:32] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:15:34] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc92e898012d196880071fed10003901162a..."} 
[2026-09-23 10:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc92e898012d196880071fed10003901162a..."} 
[2026-09-23 10:15:34] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc92e898012d196880071fed10003901162a..."} 
[2026-09-23 10:15:34] local.INFO: Packet analysis {"connection_id":191780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:15:34] local.INFO: Extracted packet for processing {"connection_id":191780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc92"} 
[2026-09-23 10:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275469824001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138575000,"timestamp_ms":1790138575000,"timestamp_seconds":1790138575,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc92e898"} 
[2026-09-23 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-09-23 10:15:34] 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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:15:34] 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-09-23 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-09-23 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-09-23 10:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275469824001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275469824001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275469824001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":191780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:34] local.INFO: GPS data processed {"connection_id":191780,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:34] local.INFO: Acknowledgment sent {"connection_id":191780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:37] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:37] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:15:37] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:15:38] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:15:38] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:15:38] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:15:38] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 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-09-23 10:15: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-09-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:15: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-09-23 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-09-23 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-09-23 10:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:15: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-09-23 10:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:15:38] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:15:38] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:15:57] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:57] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:15:57] local.INFO: IMEI packet received {"connection_id":193118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":193118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:16:00] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:00] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:00] local.INFO: IMEI packet received {"connection_id":193118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":193118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:16:02] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:02] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:02] local.INFO: IMEI packet received {"connection_id":193118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":193118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:16:03] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc933aa0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc933aa0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:03] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc933aa0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:03] local.INFO: Packet analysis {"connection_id":193118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:03] local.INFO: Extracted packet for processing {"connection_id":193118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275475200001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138596000,"timestamp_ms":1790138596000,"timestamp_seconds":1790138596,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc933aa0"} 
[2026-09-23 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-09-23 10:16: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-09-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:16:03] 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-09-23 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-09-23 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-09-23 10:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275475200001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275475200001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275475200001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:03] local.INFO: GPS data processed {"connection_id":193118,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:03] local.INFO: Acknowledgment sent {"connection_id":193118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:08] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc938ca8012d196880071fed10003901162a..."} 
[2026-09-23 10:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc938ca8012d196880071fed10003901162a..."} 
[2026-09-23 10:16:08] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc938ca8012d196880071fed10003901162a..."} 
[2026-09-23 10:16:08] local.INFO: Packet analysis {"connection_id":193118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:08] local.INFO: Extracted packet for processing {"connection_id":193118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275480576001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790138617000,"timestamp_ms":1790138617000,"timestamp_seconds":1790138617,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc938ca8"} 
[2026-09-23 10:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:16:08] 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-09-23 10: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 10:16:08] 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-09-23 10: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-09-23 10:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275480576001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275480576001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275480576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":193118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:08] local.INFO: GPS data processed {"connection_id":193118,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:08] local.INFO: Acknowledgment sent {"connection_id":193118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:11] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:11] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:11] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:11] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:16: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-09-23 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:16: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-09-23 10:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16: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-09-23 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:11] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:11] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:37] local.INFO: TCP Data received {"connection_id":193119,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:37] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:37] local.INFO: IMEI packet received {"connection_id":193119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":193119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:16:39] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc93deb0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc93deb0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:39] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc93deb0012d196880071fed10003901162b..."} 
[2026-09-23 10:16:39] local.INFO: Packet analysis {"connection_id":193118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:39] local.INFO: Extracted packet for processing {"connection_id":193118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc93"} 
[2026-09-23 10:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275485952001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790138638000,"timestamp_ms":1790138638000,"timestamp_seconds":1790138638,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc93deb0"} 
[2026-09-23 10:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:16: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-09-23 10:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275485952001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275485952001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275485952001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":193118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:39] local.INFO: GPS data processed {"connection_id":193118,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:39] local.INFO: Acknowledgment sent {"connection_id":193118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:42] local.INFO: TCP Data received {"connection_id":193119,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:42] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:16:42] local.INFO: IMEI packet received {"connection_id":193119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":193119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:16:43] local.INFO: TCP Data received {"connection_id":193119,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:43] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:43] local.INFO: Packet analysis {"connection_id":193119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:43] local.INFO: Extracted packet for processing {"connection_id":193119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 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-09-23 10:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":193119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:43] local.INFO: GPS data processed {"connection_id":193119,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:43] local.INFO: Acknowledgment sent {"connection_id":193119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:47] local.INFO: TCP Data received {"connection_id":193119,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:47] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:16:47] local.INFO: Packet analysis {"connection_id":193119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:47] local.INFO: Extracted packet for processing {"connection_id":193119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":193119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:16:47] local.INFO: GPS data processed {"connection_id":193119,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:16:47] local.INFO: Acknowledgment sent {"connection_id":193119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:16:57] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:57] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:16:57] local.INFO: IMEI packet received {"connection_id":193120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":193120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:17:02] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:17:02] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:17:02] local.INFO: IMEI packet received {"connection_id":193120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":193120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:17:03] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9430b8012d196880071fed100039011629..."} 
[2026-09-23 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9430b8012d196880071fed100039011629..."} 
[2026-09-23 10:17:03] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9430b8012d196880071fed100039011629..."} 
[2026-09-23 10:17:03] local.INFO: Packet analysis {"connection_id":193120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:03] local.INFO: Extracted packet for processing {"connection_id":193120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275491328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138659000,"timestamp_ms":1790138659000,"timestamp_seconds":1790138659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9430b8"} 
[2026-09-23 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:17: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-09-23 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:17:03] 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-09-23 10:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275491328001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275491328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275491328001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":193120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:17:03] local.INFO: GPS data processed {"connection_id":193120,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:17:03] local.INFO: Acknowledgment sent {"connection_id":193120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:17:32] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:32] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:32] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:17:34] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9482c0012d196880071fed100039011629..."} 
[2026-09-23 10:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9482c0012d196880071fed100039011629..."} 
[2026-09-23 10:17:34] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9482c0012d196880071fed100039011629..."} 
[2026-09-23 10:17:34] local.INFO: Packet analysis {"connection_id":193120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:34] local.INFO: Extracted packet for processing {"connection_id":193120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:17: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-09-23 10:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275496704001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138680000,"timestamp_ms":1790138680000,"timestamp_seconds":1790138680,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9482c0"} 
[2026-09-23 10:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:17:34] 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-09-23 10:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 10:17: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-09-23 10:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275496704001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275496704001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:17:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275496704001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":193120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:17:34] local.INFO: GPS data processed {"connection_id":193120,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:17:34] local.INFO: Acknowledgment sent {"connection_id":193120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:17:37] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:37] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:17:37] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:17:38] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:17:38] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:17:38] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:38] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:17: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-09-23 10:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:17: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-09-23 10: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-09-23 10:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:17:38] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:17:38] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:17:50] local.INFO: TCP Data received {"connection_id":190430,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:50] local.INFO: Processing buffer {"connection_id":190430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:50] local.INFO: IMEI packet received {"connection_id":190430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":190430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:17:52] local.INFO: TCP Data received {"connection_id":190430,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:52] local.INFO: Processing buffer {"connection_id":190430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:17:52] local.INFO: IMEI packet received {"connection_id":190430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":190430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:18:02] local.INFO: TCP Data received {"connection_id":193121,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:02] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:02] local.INFO: IMEI packet received {"connection_id":193121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":193121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:18:06] local.INFO: TCP Data received {"connection_id":193121,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:06] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:06] local.INFO: IMEI packet received {"connection_id":193121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":193121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:18:07] local.INFO: TCP Data received {"connection_id":193121,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc94d4c8012d196880071fed10003901162a..."} 
[2026-09-23 10:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc94d4c8012d196880071fed10003901162a..."} 
[2026-09-23 10:18:07] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc94d4c8012d196880071fed10003901162a..."} 
[2026-09-23 10:18:07] local.INFO: Packet analysis {"connection_id":193121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:07] local.INFO: Extracted packet for processing {"connection_id":193121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275502080001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790138701000,"timestamp_ms":1790138701000,"timestamp_seconds":1790138701,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc94d4c8"} 
[2026-09-23 10:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18:07] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:18:07] 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-09-23 10: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-09-23 10:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275502080001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275502080001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275502080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:07] local.INFO: GPS data processed {"connection_id":193121,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:07] local.INFO: Acknowledgment sent {"connection_id":193121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:08] local.INFO: TCP Data received {"connection_id":193121,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9526d0012d196880071fed10003901162a..."} 
[2026-09-23 10:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9526d0012d196880071fed10003901162a..."} 
[2026-09-23 10:18:08] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9526d0012d196880071fed10003901162a..."} 
[2026-09-23 10:18:08] local.INFO: Packet analysis {"connection_id":193121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:18:08] local.INFO: Extracted packet for processing {"connection_id":193121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275507456001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790138722000,"timestamp_ms":1790138722000,"timestamp_seconds":1790138722,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9526d0"} 
[2026-09-23 10:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18:08] 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-09-23 10:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275507456001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275507456001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275507456001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":193121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:08] local.INFO: GPS data processed {"connection_id":193121,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:08] local.INFO: Acknowledgment sent {"connection_id":193121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:09] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:09] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:09] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:09] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18: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-09-23 10:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:18: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-09-23 10: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-09-23 10:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:18: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-09-23 10:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:09] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:09] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:26] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:26] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:26] local.INFO: IMEI packet received {"connection_id":193122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":193122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:18:31] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:31] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:18:31] local.INFO: IMEI packet received {"connection_id":193122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:18:32] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:32] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:32] local.INFO: IMEI packet received {"connection_id":190431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":190431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:18:32] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc976cd80100000000000000000000000000..."} 
[2026-09-23 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc976cd80100000000000000000000000000..."} 
[2026-09-23 10:18:32] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc976cd80100000000000000000000000000..."} 
[2026-09-23 10:18:32] local.INFO: Packet analysis {"connection_id":193122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:18:32] local.INFO: Extracted packet for processing {"connection_id":193122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275536128001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1830713294530596867,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790138871000,"timestamp_ms":1790138871000,"timestamp_seconds":1790138871,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc976cd8"} 
[2026-09-23 10:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18: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-09-23 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 10:18:32] 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-09-23 10: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-09-23 10:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":193122,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 10:18:32] local.INFO: GPS data processed {"connection_id":193122,"processed":0,"errors":0,"total":1} 
[2026-09-23 10:18:32] local.INFO: Acknowledgment sent {"connection_id":193122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:33] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc96f3c0012c1941400ab5656002fe00be2b..."} 
[2026-09-23 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc96f3c0012c1941400ab5656002fe00be2b..."} 
[2026-09-23 10:18:33] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc96f3c0012c1941400ab5656002fe00be2b..."} 
[2026-09-23 10:18:33] local.INFO: Packet analysis {"connection_id":193122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:18:33] local.INFO: Extracted packet for processing {"connection_id":193122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":739852608,"raw_latitude":179660128,"longitude_deg":73.9852608,"latitude_deg":17.9660128,"altitude":766,"angle":190,"satellites":43,"speed":55,"hex_longitude":"2c194140","hex_latitude":"0ab56560","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790138840000,"timestamp_ms":1790138840000,"timestamp_seconds":1790138840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc96f3c0"} 
[2026-09-23 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:18:33] 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-09-23 10:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"162":206,"20":1024,"24":55,"16":3605049519374336},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,20,24,16]} 
[2026-09-23 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-23 10:18:33] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_162":206,"unknown_20":1024,"ignition":55,"odometer":null}} 
[2026-09-23 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":193122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:33] local.INFO: GPS data processed {"connection_id":193122,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:33] local.INFO: Acknowledgment sent {"connection_id":193122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:37] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:37] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:18:37] local.INFO: IMEI packet received {"connection_id":190431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":190431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:18:38] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:38] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:18:38] local.INFO: Packet analysis {"connection_id":190431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:38] local.INFO: Extracted packet for processing {"connection_id":190431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:18: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-09-23 10: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-09-23 10:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":190431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:38] local.INFO: GPS data processed {"connection_id":190431,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:38] local.INFO: Acknowledgment sent {"connection_id":190431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:39] local.INFO: TCP Data received {"connection_id":193121,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9578d8012d196880071fed100039011629..."} 
[2026-09-23 10:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9578d8012d196880071fed100039011629..."} 
[2026-09-23 10:18:39] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9578d8012d196880071fed100039011629..."} 
[2026-09-23 10:18:39] local.INFO: Packet analysis {"connection_id":193121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:18:39] local.INFO: Extracted packet for processing {"connection_id":193121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275512832001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790138743000,"timestamp_ms":1790138743000,"timestamp_seconds":1790138743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9578d8"} 
[2026-09-23 10:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:18: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-09-23 10:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275512832001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275512832001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:18:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275512832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":193121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:18:39] local.INFO: GPS data processed {"connection_id":193121,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:18:39] local.INFO: Acknowledgment sent {"connection_id":193121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:18:57] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:57] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:18:57] local.INFO: IMEI packet received {"connection_id":193123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":193123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:19:02] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:02] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:02] local.INFO: IMEI packet received {"connection_id":193123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":193123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:19:03] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc95cae0012d196880071fed100039011629..."} 
[2026-09-23 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc95cae0012d196880071fed100039011629..."} 
[2026-09-23 10:19:03] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc95cae0012d196880071fed100039011629..."} 
[2026-09-23 10:19:03] local.INFO: Packet analysis {"connection_id":193123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:19:03] local.INFO: Extracted packet for processing {"connection_id":193123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc95"} 
[2026-09-23 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275518208001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138764000,"timestamp_ms":1790138764000,"timestamp_seconds":1790138764,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc95cae0"} 
[2026-09-23 10:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:19: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-09-23 10: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-09-23 10:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275518208001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275518208001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275518208001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":193123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:19:03] local.INFO: GPS data processed {"connection_id":193123,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:19:03] local.INFO: Acknowledgment sent {"connection_id":193123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:09] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:09] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:09] local.INFO: Packet analysis {"connection_id":190431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:19:09] local.INFO: Extracted packet for processing {"connection_id":190431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19: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-09-23 10: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:19: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-09-23 10: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-09-23 10:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:19: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-09-23 10:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":190431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:19:09] local.INFO: GPS data processed {"connection_id":190431,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:19:09] local.INFO: Acknowledgment sent {"connection_id":190431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:10] local.INFO: TCP Data received {"connection_id":190432,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:10] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:10] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:19:15] local.INFO: TCP Data received {"connection_id":190432,"ip":"117.224.40.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:15] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:19:15] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 10:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:19:17] local.INFO: TCP Data received {"connection_id":190432,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc97d6500100000000000000000000000000..."} 
[2026-09-23 10:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc97d6500100000000000000000000000000..."} 
[2026-09-23 10:19:17] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc97d6500100000000000000000000000000..."} 
[2026-09-23 10:19:17] local.INFO: Packet analysis {"connection_id":190432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:19:17] local.INFO: Extracted packet for processing {"connection_id":190432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:19:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 10:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275543040001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1819806139171561474,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790138898000,"timestamp_ms":1790138898000,"timestamp_seconds":1790138898,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc97d650"} 
[2026-09-23 10:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":190432,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 10:19:17] local.INFO: GPS data processed {"connection_id":190432,"processed":0,"errors":0,"total":1} 
[2026-09-23 10:19:17] local.INFO: Acknowledgment sent {"connection_id":190432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:32] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:32] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:32] local.INFO: IMEI packet received {"connection_id":193124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":193124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:19:34] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc961ce8012d196880071fed10003901162a..."} 
[2026-09-23 10:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc961ce8012d196880071fed10003901162a..."} 
[2026-09-23 10:19:34] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc961ce8012d196880071fed10003901162a..."} 
[2026-09-23 10:19:34] local.INFO: Packet analysis {"connection_id":193123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:19:34] local.INFO: Extracted packet for processing {"connection_id":193123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275523584001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138785000,"timestamp_ms":1790138785000,"timestamp_seconds":1790138785,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc961ce8"} 
[2026-09-23 10:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19: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-09-23 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:19:34] 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-09-23 10: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-09-23 10:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275523584001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275523584001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:19:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275523584001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":193123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:19:34] local.INFO: GPS data processed {"connection_id":193123,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:19:34] local.INFO: Acknowledgment sent {"connection_id":193123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:37] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:37] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:19:37] local.INFO: IMEI packet received {"connection_id":193124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":193124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:19:38] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:38] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:19:38] local.INFO: Packet analysis {"connection_id":193124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:19:38] local.INFO: Extracted packet for processing {"connection_id":193124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:19: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-09-23 10: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-09-23 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:19:38] 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-09-23 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":193124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:19:38] local.INFO: GPS data processed {"connection_id":193124,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:19:38] local.INFO: Acknowledgment sent {"connection_id":193124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:49] local.INFO: TCP Data received {"connection_id":190432,"ip":"117.224.40.179","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc976cd8012c1928400ab4ad6002f300bb30..."} 
[2026-09-23 10:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc976cd8012c1928400ab4ad6002f300bb30..."} 
[2026-09-23 10:19:49] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc976cd8012c1928400ab4ad6002f300bb30..."} 
[2026-09-23 10:19:49] local.INFO: Packet analysis {"connection_id":190432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:19:49] local.INFO: Extracted packet for processing {"connection_id":190432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:19:49] local.INFO: GPS Element Parsed {"raw_longitude":739846208,"raw_latitude":179613024,"longitude_deg":73.9846208,"latitude_deg":17.9613024,"altitude":755,"angle":187,"satellites":48,"speed":58,"hex_longitude":"2c192840","hex_latitude":"0ab4ad60","is_valid_coordinates":true} 
[2026-09-23 10:19: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-09-23 10:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:19:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 10:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790138871000,"timestamp_ms":1790138871000,"timestamp_seconds":1790138871,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc976cd8"} 
[2026-09-23 10:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:19: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 10:19:49] 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-09-23 10:19: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-09-23 10:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 10:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.40.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 10:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 10:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"162":206,"20":1024,"24":58,"16":3605049519374336},"client_ip":"117.224.40.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,20,24,16]} 
[2026-09-23 10:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 10:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 10:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 10:19:49] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-23 10:19:49] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-23 10:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:19:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_162":206,"unknown_20":1024,"ignition":58,"odometer":null}} 
[2026-09-23 10:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":190432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:19:50] local.INFO: GPS data processed {"connection_id":190432,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:19:50] local.INFO: Acknowledgment sent {"connection_id":190432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:19:57] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:57] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:19:57] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:20:02] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:02] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:02] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:20:03] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc966ef0012d196880071fed10003901162a..."} 
[2026-09-23 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc966ef0012d196880071fed10003901162a..."} 
[2026-09-23 10:20:03] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc966ef0012d196880071fed10003901162a..."} 
[2026-09-23 10:20:03] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:20:03] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275528960001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138806000,"timestamp_ms":1790138806000,"timestamp_seconds":1790138806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc966ef0"} 
[2026-09-23 10:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:20: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:20: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-09-23 10: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-09-23 10:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275528960001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275528960001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275528960001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:20:03] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:20:03] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:20:09] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:20:09] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc949648012d34c48006aa3d18000e006b2e..."} 
[2026-09-23 10:20:09] local.INFO: Packet analysis {"connection_id":193124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:20:09] local.INFO: Extracted packet for processing {"connection_id":193124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc94"} 
[2026-09-23 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275425280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684477440,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138685000,"timestamp_ms":1790138685000,"timestamp_seconds":1790138685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc949648"} 
[2026-09-23 10:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:20: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-09-23 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:20: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-09-23 10: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-09-23 10:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:20:09] 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-09-23 10:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275425280001,"66":26039,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3803360282684477440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275425280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684477440,"description":"Unknown IO ID 45"} 
[2026-09-23 10:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275425280001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803360282684477440}} 
[2026-09-23 10:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":193124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:20:09] local.INFO: GPS data processed {"connection_id":193124,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:20:09] local.INFO: Acknowledgment sent {"connection_id":193124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:20:32] local.INFO: TCP Data received {"connection_id":193125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:32] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:32] local.INFO: IMEI packet received {"connection_id":193125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":193125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:20:34] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc96c0f8012d196880071fed100039011629..."} 
[2026-09-23 10:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc96c0f8012d196880071fed100039011629..."} 
[2026-09-23 10:20:34] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc96c0f8012d196880071fed100039011629..."} 
[2026-09-23 10:20:34] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:20:34] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc96"} 
[2026-09-23 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275534336001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138827000,"timestamp_ms":1790138827000,"timestamp_seconds":1790138827,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc96c0f8"} 
[2026-09-23 10:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:20:34] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:20:34] 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-09-23 10: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-09-23 10:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275534336001,"66":12178,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275534336001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:20:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275534336001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:20:34] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:20:34] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:20:37] local.INFO: TCP Data received {"connection_id":193125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:37] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:20:37] local.INFO: IMEI packet received {"connection_id":193125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":193125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:20:38] local.INFO: TCP Data received {"connection_id":193125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:20:38] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:20:38] local.INFO: Packet analysis {"connection_id":193125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:20:38] local.INFO: Extracted packet for processing {"connection_id":193125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:20: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-09-23 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:20: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-09-23 10:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":193125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:20:38] local.INFO: GPS data processed {"connection_id":193125,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:20:38] local.INFO: Acknowledgment sent {"connection_id":193125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:20:57] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:57] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:20:57] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:21:02] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:02] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:02] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:21:03] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc971300012d196880071fed10003901162a..."} 
[2026-09-23 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc971300012d196880071fed10003901162a..."} 
[2026-09-23 10:21:03] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc971300012d196880071fed10003901162a..."} 
[2026-09-23 10:21:03] local.INFO: Packet analysis {"connection_id":190263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:21:03] local.INFO: Extracted packet for processing {"connection_id":190263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275539712001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138848000,"timestamp_ms":1790138848000,"timestamp_seconds":1790138848,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc971300"} 
[2026-09-23 10:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:21: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-09-23 10: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 10:21:03] 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-09-23 10: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-09-23 10:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275539712001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275539712001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275539712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":190263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:21:03] local.INFO: GPS data processed {"connection_id":190263,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:21:03] local.INFO: Acknowledgment sent {"connection_id":190263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:21:09] local.INFO: TCP Data received {"connection_id":193125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:09] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:09] local.INFO: Packet analysis {"connection_id":193125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:21:09] local.INFO: Extracted packet for processing {"connection_id":193125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:21: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-09-23 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":193125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:21:09] local.INFO: GPS data processed {"connection_id":193125,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:21:09] local.INFO: Acknowledgment sent {"connection_id":193125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:21:31] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:31] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:31] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:21:34] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc976508012d196880071fed10003901162b..."} 
[2026-09-23 10:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc976508012d196880071fed10003901162b..."} 
[2026-09-23 10:21:34] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc976508012d196880071fed10003901162b..."} 
[2026-09-23 10:21:34] local.INFO: Packet analysis {"connection_id":190263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:21:34] local.INFO: Extracted packet for processing {"connection_id":190263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275545088001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138869000,"timestamp_ms":1790138869000,"timestamp_seconds":1790138869,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc976508"} 
[2026-09-23 10:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:21: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:21:34] 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-09-23 10: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-09-23 10:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275545088001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275545088001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275545088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":190263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:21:34] local.INFO: GPS data processed {"connection_id":190263,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:21:34] local.INFO: Acknowledgment sent {"connection_id":190263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:21:37] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:37] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:21:37] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:21:38] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:38] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:21:38] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:21:38] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:21: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-09-23 10:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:21:38] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:21:38] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:21:58] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:21:58] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:21:58] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:22:02] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:02] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:02] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:22:03] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc97b710012d196880071fed100039011629..."} 
[2026-09-23 10:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc97b710012d196880071fed100039011629..."} 
[2026-09-23 10:22:03] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc97b710012d196880071fed100039011629..."} 
[2026-09-23 10:22:03] local.INFO: Packet analysis {"connection_id":190264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:22:03] local.INFO: Extracted packet for processing {"connection_id":190264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc97"} 
[2026-09-23 10:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275550464001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138890000,"timestamp_ms":1790138890000,"timestamp_seconds":1790138890,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc97b710"} 
[2026-09-23 10:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:22: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:22: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-09-23 10: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-09-23 10:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275550464001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275550464001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:22:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275550464001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":190264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:22:03] local.INFO: GPS data processed {"connection_id":190264,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:22:03] local.INFO: Acknowledgment sent {"connection_id":190264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:22:10] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:10] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:10] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:22:10] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:10] 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-09-23 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:22: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-09-23 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:22: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-09-23 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:22:10] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:22:10] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:22:32] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:32] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:32] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:22:34] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc980918012d196880071fed10003901162b..."} 
[2026-09-23 10:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc980918012d196880071fed10003901162b..."} 
[2026-09-23 10:22:34] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc980918012d196880071fed10003901162b..."} 
[2026-09-23 10:22:34] local.INFO: Packet analysis {"connection_id":190264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:22:34] local.INFO: Extracted packet for processing {"connection_id":190264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275555840001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138911000,"timestamp_ms":1790138911000,"timestamp_seconds":1790138911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc980918"} 
[2026-09-23 10:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:22: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-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:22:34] 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-09-23 10: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-09-23 10:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275555840001,"66":12178,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275555840001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275555840001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":190264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:22:34] local.INFO: GPS data processed {"connection_id":190264,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:22:34] local.INFO: Acknowledgment sent {"connection_id":190264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:22:37] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:37] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:22:37] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:22:38] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:38] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:22:38] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:22:38] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:22: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-09-23 10:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:22:38] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:22:38] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:22:57] local.INFO: TCP Data received {"connection_id":193126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:57] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:22:57] local.INFO: IMEI packet received {"connection_id":193126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":193126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:23:00] local.INFO: TCP Data received {"connection_id":193126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:00] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:00] local.INFO: IMEI packet received {"connection_id":193126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":193126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:23:02] local.INFO: TCP Data received {"connection_id":193126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:02] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:23:02] local.INFO: IMEI packet received {"connection_id":193126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":193126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:23:03] local.INFO: TCP Data received {"connection_id":193126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc985b20012d196880071fed100039011629..."} 
[2026-09-23 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc985b20012d196880071fed100039011629..."} 
[2026-09-23 10:23:03] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc985b20012d196880071fed100039011629..."} 
[2026-09-23 10:23:03] local.INFO: Packet analysis {"connection_id":193126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:23:03] local.INFO: Extracted packet for processing {"connection_id":193126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275561216001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138932000,"timestamp_ms":1790138932000,"timestamp_seconds":1790138932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc985b20"} 
[2026-09-23 10:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:23: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-09-23 10: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 10:23:03] 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-09-23 10: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-09-23 10:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275561216001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275561216001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275561216001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":193126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:23:03] local.INFO: GPS data processed {"connection_id":193126,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:23:03] local.INFO: Acknowledgment sent {"connection_id":193126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:23:10] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:10] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:10] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:10] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:10] 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-09-23 10:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:23: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-09-23 10:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:23:10] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:23:10] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:23:34] local.INFO: TCP Data received {"connection_id":193126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc98ad28012d196880071fed10003901162c..."} 
[2026-09-23 10:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc98ad28012d196880071fed10003901162c..."} 
[2026-09-23 10:23:34] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc98ad28012d196880071fed10003901162c..."} 
[2026-09-23 10:23:34] local.INFO: Packet analysis {"connection_id":193126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:23:34] local.INFO: Extracted packet for processing {"connection_id":193126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275566592001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790138953000,"timestamp_ms":1790138953000,"timestamp_seconds":1790138953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc98ad28"} 
[2026-09-23 10:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:23: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-09-23 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:23:34] 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-09-23 10:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275566592001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275566592001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275566592001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":193126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:23:34] local.INFO: GPS data processed {"connection_id":193126,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:23:34] local.INFO: Acknowledgment sent {"connection_id":193126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:23:37] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:37] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:37] local.INFO: IMEI packet received {"connection_id":190434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:23:42] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:42] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:23:42] local.INFO: IMEI packet received {"connection_id":190434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":190434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:23:43] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:43] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:43] local.INFO: Packet analysis {"connection_id":190434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:43] local.INFO: Extracted packet for processing {"connection_id":190434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":190434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:23:43] local.INFO: GPS data processed {"connection_id":190434,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:23:43] local.INFO: Acknowledgment sent {"connection_id":190434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:23:48] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:48] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:23:48] local.INFO: Packet analysis {"connection_id":190434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:48] local.INFO: Extracted packet for processing {"connection_id":190434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:23:48] 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-09-23 10:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":190434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:23:48] local.INFO: GPS data processed {"connection_id":190434,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:23:48] local.INFO: Acknowledgment sent {"connection_id":190434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:24:02] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:24:02] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:24:02] local.INFO: IMEI packet received {"connection_id":190435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":190435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:24:03] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc98ff30012d196880071fed10003901162c..."} 
[2026-09-23 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc98ff30012d196880071fed10003901162c..."} 
[2026-09-23 10:24:03] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc98ff30012d196880071fed10003901162c..."} 
[2026-09-23 10:24:03] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:24:03] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc98"} 
[2026-09-23 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275571968001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790138974000,"timestamp_ms":1790138974000,"timestamp_seconds":1790138974,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc98ff30"} 
[2026-09-23 10:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:24: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-09-23 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:24:03] 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-09-23 10: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-09-23 10:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275571968001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275571968001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275571968001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:24:04] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:24:04] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:24:05] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:24:05] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:24:05] local.INFO: IMEI packet received {"connection_id":190266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":190266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:24:32] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:32] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:32] local.INFO: IMEI packet received {"connection_id":193127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":193127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:24:35] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc995138012d196880071fed10003901162b..."} 
[2026-09-23 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc995138012d196880071fed10003901162b..."} 
[2026-09-23 10:24:35] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc995138012d196880071fed10003901162b..."} 
[2026-09-23 10:24:35] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:24:35] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275577344001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790138995000,"timestamp_ms":1790138995000,"timestamp_seconds":1790138995,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc995138"} 
[2026-09-23 10:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:24:35] 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-09-23 10: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-09-23 10:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275577344001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275577344001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:24:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275577344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:24:35] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:24:35] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:24:37] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:37] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:24:37] local.INFO: IMEI packet received {"connection_id":193127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":193127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:24:38] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:24:38] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:24:38] local.INFO: Packet analysis {"connection_id":193127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:24:38] local.INFO: Extracted packet for processing {"connection_id":193127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:24: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-09-23 10:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":193127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:24:38] local.INFO: GPS data processed {"connection_id":193127,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:24:38] local.INFO: Acknowledgment sent {"connection_id":193127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:02] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:02] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:02] local.INFO: IMEI packet received {"connection_id":190267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":190267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:25:06] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:06] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:06] local.INFO: IMEI packet received {"connection_id":190267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":190267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:25:07] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9cd790012d196880071fed10003901162b..."} 
[2026-09-23 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9cd790012d196880071fed10003901162b..."} 
[2026-09-23 10:25:07] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9cd790012d196880071fed10003901162b..."} 
[2026-09-23 10:25:07] local.INFO: Packet analysis {"connection_id":190267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9c"} 
[2026-09-23 10:25:07] local.INFO: Extracted packet for processing {"connection_id":190267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9c"} 
[2026-09-23 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275636480001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790139226000,"timestamp_ms":1790139226000,"timestamp_seconds":1790139226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9cd790"} 
[2026-09-23 10:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:25:07] 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-09-23 10: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-09-23 10:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275636480001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275636480001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275636480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":190267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:25:07] local.INFO: GPS data processed {"connection_id":190267,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:25:07] local.INFO: Acknowledgment sent {"connection_id":190267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:08] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9d2998012d196880071fed100039011629..."} 
[2026-09-23 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9d2998012d196880071fed100039011629..."} 
[2026-09-23 10:25:08] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9d2998012d196880071fed100039011629..."} 
[2026-09-23 10:25:08] local.INFO: Packet analysis {"connection_id":190267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:08] local.INFO: Extracted packet for processing {"connection_id":190267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275641856001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790139247000,"timestamp_ms":1790139247000,"timestamp_seconds":1790139247,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9d2998"} 
[2026-09-23 10:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:25: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-09-23 10:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275641856001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275641856001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:25:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275641856001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":190267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:25:08] local.INFO: GPS data processed {"connection_id":190267,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:25:08] local.INFO: Acknowledgment sent {"connection_id":190267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:09] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:25:09] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc992e10012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:25:09] local.INFO: Packet analysis {"connection_id":193127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:25:09] local.INFO: Extracted packet for processing {"connection_id":193127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc99"} 
[2026-09-23 10:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275503360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790138986000,"timestamp_ms":1790138986000,"timestamp_seconds":1790138986,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc992e10"} 
[2026-09-23 10:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:25: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-09-23 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 10:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:25: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-09-23 10:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275503360001,"66":25962,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275503360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275503360001,"power":25962,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":193127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:25:09] local.INFO: GPS data processed {"connection_id":193127,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:25:09] local.INFO: Acknowledgment sent {"connection_id":193127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:32] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:32] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:32] local.INFO: IMEI packet received {"connection_id":190437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":190437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:25:37] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:37] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:25:37] local.INFO: IMEI packet received {"connection_id":190437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":190437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:25:39] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:25:39] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:25:39] local.INFO: Packet analysis {"connection_id":190437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:39] local.INFO: Extracted packet for processing {"connection_id":190437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] 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-09-23 10:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:25:39] 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-09-23 10:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:25:39] local.INFO: GPS data processed {"connection_id":190437,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:25:39] local.INFO: Acknowledgment sent {"connection_id":190437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:39] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9d7ba0012d196880071fed10003901162a..."} 
[2026-09-23 10:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9d7ba0012d196880071fed10003901162a..."} 
[2026-09-23 10:25:39] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9d7ba0012d196880071fed10003901162a..."} 
[2026-09-23 10:25:39] local.INFO: Packet analysis {"connection_id":190267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:39] local.INFO: Extracted packet for processing {"connection_id":190267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275647232001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790139268000,"timestamp_ms":1790139268000,"timestamp_seconds":1790139268,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9d7ba0"} 
[2026-09-23 10:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275647232001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275647232001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275647232001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:25:39] local.INFO: GPS data processed {"connection_id":190267,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:25:39] local.INFO: Acknowledgment sent {"connection_id":190267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:25:57] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:57] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:25:57] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:26:02] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:02] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:02] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:26:03] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dcda8012d196880071fed100039011627..."} 
[2026-09-23 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dcda8012d196880071fed100039011627..."} 
[2026-09-23 10:26:03] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dcda8012d196880071fed100039011627..."} 
[2026-09-23 10:26:03] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:03] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275652608001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139289000,"timestamp_ms":1790139289000,"timestamp_seconds":1790139289,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dcda8"} 
[2026-09-23 10:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:26: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-09-23 10: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 10:26: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-09-23 10: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-09-23 10:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275652608001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275652608001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275652608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:26:03] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:26:03] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:26:11] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:11] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:11] local.INFO: Packet analysis {"connection_id":190437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:11] local.INFO: Extracted packet for processing {"connection_id":190437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:26: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-09-23 10:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":190437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:26:11] local.INFO: GPS data processed {"connection_id":190437,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:26:11] local.INFO: Acknowledgment sent {"connection_id":190437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:26:31] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:31] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:31] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:26:34] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9e1fb0012d196880071fed10003901162a..."} 
[2026-09-23 10:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9e1fb0012d196880071fed10003901162a..."} 
[2026-09-23 10:26:34] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9e1fb0012d196880071fed10003901162a..."} 
[2026-09-23 10:26:34] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:26:34] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275657984001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139310000,"timestamp_ms":1790139310000,"timestamp_seconds":1790139310,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9e1fb0"} 
[2026-09-23 10:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:26: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:26:34] 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-09-23 10: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-09-23 10:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275657984001,"66":12113,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275657984001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:26:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275657984001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:26:34] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:26:34] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:26:37] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:37] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:26:37] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:26:38] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:38] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:26:38] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:38] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:26:38] local.INFO: GPS data processed {"connection_id":191784,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:26:38] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:26:57] local.INFO: TCP Data received {"connection_id":193128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:57] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:26:57] local.INFO: IMEI packet received {"connection_id":193128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":193128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:27:02] local.INFO: TCP Data received {"connection_id":193128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:02] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:02] local.INFO: IMEI packet received {"connection_id":193128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":193128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:27:03] local.INFO: TCP Data received {"connection_id":193128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9e71b8012d196880071fed10003901162a..."} 
[2026-09-23 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9e71b8012d196880071fed10003901162a..."} 
[2026-09-23 10:27:03] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9e71b8012d196880071fed10003901162a..."} 
[2026-09-23 10:27:03] local.INFO: Packet analysis {"connection_id":193128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:27:03] local.INFO: Extracted packet for processing {"connection_id":193128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275663360001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139331000,"timestamp_ms":1790139331000,"timestamp_seconds":1790139331,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9e71b8"} 
[2026-09-23 10:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:27: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-09-23 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 10:27:03] 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-09-23 10: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-09-23 10:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275663360001,"66":12026,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275663360001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275663360001,"power":12026,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":193128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:27:03] local.INFO: GPS data processed {"connection_id":193128,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:27:03] local.INFO: Acknowledgment sent {"connection_id":193128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:27:09] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:09] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:09] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:27:09] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:27: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-09-23 10:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:27:09] local.INFO: GPS data processed {"connection_id":191784,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:27:09] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:27:31] local.INFO: TCP Data received {"connection_id":193129,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:31] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:31] local.INFO: IMEI packet received {"connection_id":193129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":193129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:27:34] local.INFO: TCP Data received {"connection_id":193128,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9ec3c0012d196880071fed100039011626..."} 
[2026-09-23 10:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9ec3c0012d196880071fed100039011626..."} 
[2026-09-23 10:27:34] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9ec3c0012d196880071fed100039011626..."} 
[2026-09-23 10:27:34] local.INFO: Packet analysis {"connection_id":193128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:27:34] local.INFO: Extracted packet for processing {"connection_id":193128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9e"} 
[2026-09-23 10:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275668736001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139352000,"timestamp_ms":1790139352000,"timestamp_seconds":1790139352,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9ec3c0"} 
[2026-09-23 10:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:27:34] 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-09-23 10: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-23 10:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275668736001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275668736001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275668736001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":193128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:27:34] local.INFO: GPS data processed {"connection_id":193128,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:27:34] local.INFO: Acknowledgment sent {"connection_id":193128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:27:37] local.INFO: TCP Data received {"connection_id":193129,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:37] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:27:37] local.INFO: IMEI packet received {"connection_id":193129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":193129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:27:38] local.INFO: TCP Data received {"connection_id":193129,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:38] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:27:38] local.INFO: Packet analysis {"connection_id":193129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:27:38] local.INFO: Extracted packet for processing {"connection_id":193129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:27: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-09-23 10:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":193129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:27:38] local.INFO: GPS data processed {"connection_id":193129,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:27:38] local.INFO: Acknowledgment sent {"connection_id":193129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:27:57] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:57] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:27:57] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:28:02] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:02] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:02] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:28:03] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9f15c8012d196880071fed10003901162c..."} 
[2026-09-23 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9f15c8012d196880071fed10003901162c..."} 
[2026-09-23 10:28:03] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9f15c8012d196880071fed10003901162c..."} 
[2026-09-23 10:28:03] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:28:03] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275674112001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139373000,"timestamp_ms":1790139373000,"timestamp_seconds":1790139373,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9f15c8"} 
[2026-09-23 10:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:28:03] 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-09-23 10: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-09-23 10:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275674112001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275674112001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275674112001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:28:03] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:28:03] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:28:10] local.INFO: TCP Data received {"connection_id":193129,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:10] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:10] local.INFO: Packet analysis {"connection_id":193129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:10] local.INFO: Extracted packet for processing {"connection_id":193129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:10] 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-09-23 10:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28: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-09-23 10:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":193129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:28:10] local.INFO: GPS data processed {"connection_id":193129,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:28:10] local.INFO: Acknowledgment sent {"connection_id":193129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:28:34] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9f67d0012d196880071fed10003901162a..."} 
[2026-09-23 10:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9f67d0012d196880071fed10003901162a..."} 
[2026-09-23 10:28:34] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9f67d0012d196880071fed10003901162a..."} 
[2026-09-23 10:28:34] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:28:34] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:28: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-09-23 10:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275679488001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139394000,"timestamp_ms":1790139394000,"timestamp_seconds":1790139394,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9f67d0"} 
[2026-09-23 10:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:28: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-09-23 10:28: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":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:28:34] 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-09-23 10:28: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-09-23 10:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275679488001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275679488001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275679488001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:28:34] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:28:34] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:28:37] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:37] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:37] local.INFO: IMEI packet received {"connection_id":190438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":190438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:28:42] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:42] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:28:42] local.INFO: IMEI packet received {"connection_id":190438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":190438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:28:43] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:43] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:43] local.INFO: Packet analysis {"connection_id":190438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:43] local.INFO: Extracted packet for processing {"connection_id":190438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28: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-09-23 10:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":190438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:28:43] local.INFO: GPS data processed {"connection_id":190438,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:28:43] local.INFO: Acknowledgment sent {"connection_id":190438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:28:47] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:47] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:28:47] local.INFO: Packet analysis {"connection_id":190438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:47] local.INFO: Extracted packet for processing {"connection_id":190438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":190438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:28:47] local.INFO: GPS data processed {"connection_id":190438,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:28:47] local.INFO: Acknowledgment sent {"connection_id":190438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:28:57] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:57] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:57] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:28:58] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:58] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:28:58] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:29:02] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:02] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:02] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:29:03] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9fb9d8012d196880071fed100039011629..."} 
[2026-09-23 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9fb9d8012d196880071fed100039011629..."} 
[2026-09-23 10:29:03] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9fb9d8012d196880071fed100039011629..."} 
[2026-09-23 10:29:03] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:29:03] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9f"} 
[2026-09-23 10:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275684864001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139415000,"timestamp_ms":1790139415000,"timestamp_seconds":1790139415,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9fb9d8"} 
[2026-09-23 10:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:29: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-09-23 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:29:03] 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-09-23 10: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-09-23 10:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275684864001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275684864001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:29:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275684864001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:29:03] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:29:03] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:29:30] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:29:30] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:29:30] local.INFO: IMEI packet received {"connection_id":190440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":190440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:29:32] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:32] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:32] local.INFO: IMEI packet received {"connection_id":193130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":193130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:29:34] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca00be0012d196880071fed10003901162a..."} 
[2026-09-23 10:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca00be0012d196880071fed10003901162a..."} 
[2026-09-23 10:29:34] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca00be0012d196880071fed10003901162a..."} 
[2026-09-23 10:29:34] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:29:34] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:29: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-09-23 10:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275690240001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139436000,"timestamp_ms":1790139436000,"timestamp_seconds":1790139436,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca00be0"} 
[2026-09-23 10:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:29:34] 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-09-23 10:29: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-09-23 10:29: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-09-23 10:29: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-09-23 10:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275690240001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275690240001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:29:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275690240001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:29:35] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:29:35] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:29:37] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:37] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:29:37] local.INFO: IMEI packet received {"connection_id":193130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":193130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:29:38] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:29:38] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cc9dc5d8012d34c48006aa3d18000e006b2c..."} 
[2026-09-23 10:29:38] local.INFO: Packet analysis {"connection_id":193130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:29:38] local.INFO: Extracted packet for processing {"connection_id":193130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cc9d"} 
[2026-09-23 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275580416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139287000,"timestamp_ms":1790139287000,"timestamp_seconds":1790139287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cc9dc5d8"} 
[2026-09-23 10:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 10:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275580416001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275580416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275580416001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":193130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:29:38] local.INFO: GPS data processed {"connection_id":193130,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:29:38] local.INFO: Acknowledgment sent {"connection_id":193130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:29:57] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:57] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:29:57] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:30:00] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:00] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:00] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:30:02] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:02] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:30:02] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:30:03] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca05de8012d196880071fed100039011629..."} 
[2026-09-23 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca05de8012d196880071fed100039011629..."} 
[2026-09-23 10:30:03] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca05de8012d196880071fed100039011629..."} 
[2026-09-23 10:30:03] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:30:03] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275695616001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139457000,"timestamp_ms":1790139457000,"timestamp_seconds":1790139457,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca05de8"} 
[2026-09-23 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:30: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-09-23 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:30:03] 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-09-23 10: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-09-23 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275695616001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275695616001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:30:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275695616001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:30:03] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:30:03] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:30:09] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca1fbf8012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca1fbf8012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:30:09] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca1fbf8012d34c48006aa3d18000e006b2d..."} 
[2026-09-23 10:30:09] local.INFO: Packet analysis {"connection_id":193130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:30:09] local.INFO: Extracted packet for processing {"connection_id":193130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820056,"longitude_deg":75.8432896,"latitude_deg":11.1820056,"altitude":14,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3d18","is_valid_coordinates":true} 
[2026-09-23 10:30: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-09-23 10:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275657472001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790139563000,"timestamp_ms":1790139563000,"timestamp_seconds":1790139563,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca1fbf8"} 
[2026-09-23 10:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 10:30: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-09-23 10: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-09-23 10:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275657472001,"66":25875,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275657472001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275657472001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":193130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:30:09] local.INFO: GPS data processed {"connection_id":193130,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:30:09] local.INFO: Acknowledgment sent {"connection_id":193130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:30:10] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:30:10] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:30:10] local.INFO: IMEI packet received {"connection_id":190271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":190271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:30:33] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:33] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:33] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:30:34] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca0aff0012d196880071fed10003901162b..."} 
[2026-09-23 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca0aff0012d196880071fed10003901162b..."} 
[2026-09-23 10:30:34] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca0aff0012d196880071fed10003901162b..."} 
[2026-09-23 10:30:34] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:30:34] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca0"} 
[2026-09-23 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275700992001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139478000,"timestamp_ms":1790139478000,"timestamp_seconds":1790139478,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca0aff0"} 
[2026-09-23 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-09-23 10:30:34] 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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:30:34] 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-09-23 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-09-23 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-09-23 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275700992001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275700992001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275700992001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:30:34] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:30:34] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:30:37] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:37] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:30:37] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:30:38] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca203c8012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca203c8012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:30:38] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca203c8012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:30:38] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:30:38] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275728128001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521830912,"note":"Value kept but may cause issues"} 
[2026-09-23 10:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139565000,"timestamp_ms":1790139565000,"timestamp_seconds":1790139565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca203c8"} 
[2026-09-23 10:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:30: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-09-23 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 10:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275728128001,"66":25702,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3802304751521830912},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275728128001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521830912,"description":"Unknown IO ID 45"} 
[2026-09-23 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275728128001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521830912}} 
[2026-09-23 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:30:38] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:30:38] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:02] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:02] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:02] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:31:03] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:03] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:03] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:31:04] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca101f8012d196880071fed10003901162c..."} 
[2026-09-23 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca101f8012d196880071fed10003901162c..."} 
[2026-09-23 10:31:04] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca101f8012d196880071fed10003901162c..."} 
[2026-09-23 10:31:04] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:04] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275706368001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790139499000,"timestamp_ms":1790139499000,"timestamp_seconds":1790139499,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca101f8"} 
[2026-09-23 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-09-23 10:31: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-09-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:31:04] 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-09-23 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-09-23 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-09-23 10:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275706368001,"66":12211,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275706368001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:31:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275706368001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:31:04] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:31:04] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:07] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca15400012d196880071fed10003901162a..."} 
[2026-09-23 10:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca15400012d196880071fed10003901162a..."} 
[2026-09-23 10:31:07] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca15400012d196880071fed10003901162a..."} 
[2026-09-23 10:31:07] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:07] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275711744001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790139520000,"timestamp_ms":1790139520000,"timestamp_seconds":1790139520,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca15400"} 
[2026-09-23 10:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:31:07] 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-09-23 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 10:31: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-09-23 10: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-09-23 10:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275711744001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275711744001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275711744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:31:08] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:31:08] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:09] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca22308012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca22308012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:09] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca22308012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:09] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:31:09] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275728640001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790139573000,"timestamp_ms":1790139573000,"timestamp_seconds":1790139573,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca22308"} 
[2026-09-23 10:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:31: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-09-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 10:31: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-09-23 10: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-09-23 10:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275728640001,"66":25680,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275728640001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275728640001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:31:09] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:31:09] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:31] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:31] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:31] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:31:37] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:37] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:31:37] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:31:39] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca226f0012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca226f0012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:39] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca226f0012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:31:39] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:31:39] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10:31: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-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275730688001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] 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-09-23 10:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790139574000,"timestamp_ms":1790139574000,"timestamp_seconds":1790139574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca226f0"} 
[2026-09-23 10:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 10:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275730688001,"66":25680,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275730688001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275730688001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:31:39] local.INFO: GPS data processed {"connection_id":191791,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:31:39] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:39] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca1a608012d196880071fed10003901162a..."} 
[2026-09-23 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca1a608012d196880071fed10003901162a..."} 
[2026-09-23 10:31:39] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca1a608012d196880071fed10003901162a..."} 
[2026-09-23 10:31:39] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:39] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275717120001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790139541000,"timestamp_ms":1790139541000,"timestamp_seconds":1790139541,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca1a608"} 
[2026-09-23 10:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:31: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275717120001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275717120001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275717120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:31:39] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:31:39] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:31:57] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:57] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:31:57] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:32:02] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:02] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:02] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:32:03] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca1f810012d196880071fed10003901162a..."} 
[2026-09-23 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca1f810012d196880071fed10003901162a..."} 
[2026-09-23 10:32:03] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca1f810012d196880071fed10003901162a..."} 
[2026-09-23 10:32:03] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:32:03] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca1"} 
[2026-09-23 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275722496001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139562000,"timestamp_ms":1790139562000,"timestamp_seconds":1790139562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca1f810"} 
[2026-09-23 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-09-23 10:32: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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:32: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-09-23 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-09-23 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-09-23 10:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275722496001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275722496001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:32:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275722496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:32:03] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:32:03] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:32:11] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca28c80012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca28c80012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:32:11] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca28c80012d34c04006aa3d10000e00f42e..."} 
[2026-09-23 10:32:11] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:11] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790139600000,"timestamp_ms":1790139600000,"timestamp_seconds":1790139600,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca28c80"} 
[2026-09-23 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 10:32: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-09-23 10: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-09-23 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275730944001,"66":27658,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:32:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275730944001,"power":27658,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:32:12] local.INFO: GPS data processed {"connection_id":191791,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:32:12] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:32:31] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:31] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:31] local.INFO: IMEI packet received {"connection_id":193131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":193131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:32:34] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca24a18012d196880071fed10003901162b..."} 
[2026-09-23 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca24a18012d196880071fed10003901162b..."} 
[2026-09-23 10:32:34] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca24a18012d196880071fed10003901162b..."} 
[2026-09-23 10:32:34] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:34] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275727872001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139583000,"timestamp_ms":1790139583000,"timestamp_seconds":1790139583,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca24a18"} 
[2026-09-23 10:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:32:34] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:32:34] 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-09-23 10: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-09-23 10:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275727872001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275727872001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:32:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275727872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:32:34] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:32:34] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:32:37] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:37] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:32:37] local.INFO: IMEI packet received {"connection_id":193131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":193131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:32:38] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca2de88012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca2de88012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:32:38] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca2de88012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:32:38] local.INFO: Packet analysis {"connection_id":193131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:38] local.INFO: Extracted packet for processing {"connection_id":193131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 10:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 10:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139621000,"timestamp_ms":1790139621000,"timestamp_seconds":1790139621,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca2de88"} 
[2026-09-23 10:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:32:38] 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-09-23 10: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-09-23 10:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275737600001,"66":27876,"200":0,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-23 10:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275737600001,"power":27876,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":193131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:32:38] local.INFO: GPS data processed {"connection_id":193131,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:32:38] local.INFO: Acknowledgment sent {"connection_id":193131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:32:57] local.INFO: TCP Data received {"connection_id":193132,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:57] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:32:57] local.INFO: IMEI packet received {"connection_id":193132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":193132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:33:02] local.INFO: TCP Data received {"connection_id":193132,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:02] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:02] local.INFO: IMEI packet received {"connection_id":193132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":193132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:33:03] local.INFO: TCP Data received {"connection_id":193132,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca29c20012d196880071fed10003901162b..."} 
[2026-09-23 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca29c20012d196880071fed10003901162b..."} 
[2026-09-23 10:33:03] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca29c20012d196880071fed10003901162b..."} 
[2026-09-23 10:33:03] local.INFO: Packet analysis {"connection_id":193132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:33:03] local.INFO: Extracted packet for processing {"connection_id":193132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275733248001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139604000,"timestamp_ms":1790139604000,"timestamp_seconds":1790139604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca29c20"} 
[2026-09-23 10:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:33: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:33: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-09-23 10: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-09-23 10:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275733248001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275733248001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:33:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275733248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":193132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:33:03] local.INFO: GPS data processed {"connection_id":193132,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:33:03] local.INFO: Acknowledgment sent {"connection_id":193132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:33:10] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca33090012d34c04006aa3d10000e00f42a..."} 
[2026-09-23 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca33090012d34c04006aa3d10000e00f42a..."} 
[2026-09-23 10:33:10] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca33090012d34c04006aa3d10000e00f42a..."} 
[2026-09-23 10:33:10] local.INFO: Packet analysis {"connection_id":193131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:33:10] local.INFO: Extracted packet for processing {"connection_id":193131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275742976001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790139642000,"timestamp_ms":1790139642000,"timestamp_seconds":1790139642,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca33090"} 
[2026-09-23 10:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:33: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-09-23 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 10:33: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-09-23 10:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275742976001,"66":27821,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275742976001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275742976001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":193131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:33:10] local.INFO: GPS data processed {"connection_id":193131,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:33:10] local.INFO: Acknowledgment sent {"connection_id":193131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:33:31] local.INFO: TCP Data received {"connection_id":190274,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:31] local.INFO: Processing buffer {"connection_id":190274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:31] local.INFO: IMEI packet received {"connection_id":190274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:33:34] local.INFO: TCP Data received {"connection_id":193132,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca2ee28012d196880071fed10003901162b..."} 
[2026-09-23 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca2ee28012d196880071fed10003901162b..."} 
[2026-09-23 10:33:34] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca2ee28012d196880071fed10003901162b..."} 
[2026-09-23 10:33:34] local.INFO: Packet analysis {"connection_id":193132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:33:34] local.INFO: Extracted packet for processing {"connection_id":193132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca2"} 
[2026-09-23 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275738624001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139625000,"timestamp_ms":1790139625000,"timestamp_seconds":1790139625,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca2ee28"} 
[2026-09-23 10:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:33:34] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:33:34] 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-09-23 10: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-09-23 10:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275738624001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275738624001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275738624001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":193132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:33:34] local.INFO: GPS data processed {"connection_id":193132,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:33:34] local.INFO: Acknowledgment sent {"connection_id":193132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:33:37] local.INFO: TCP Data received {"connection_id":190274,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:37] local.INFO: Processing buffer {"connection_id":190274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:33:37] local.INFO: IMEI packet received {"connection_id":190274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":190274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:33:38] local.INFO: TCP Data received {"connection_id":190274,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca38298012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca38298012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:33:38] local.INFO: Processing buffer {"connection_id":190274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca38298012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:33:38] local.INFO: Packet analysis {"connection_id":190274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:33:38] local.INFO: Extracted packet for processing {"connection_id":190274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275748352001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139663000,"timestamp_ms":1790139663000,"timestamp_seconds":1790139663,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca38298"} 
[2026-09-23 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:33: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-09-23 10:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:33: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-09-23 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275748352001,"66":27865,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275748352001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275748352001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":190274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:33:38] local.INFO: GPS data processed {"connection_id":190274,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:33:38] local.INFO: Acknowledgment sent {"connection_id":190274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:33:57] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:57] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:33:57] local.INFO: IMEI packet received {"connection_id":190275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":190275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:34:02] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:02] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:02] local.INFO: IMEI packet received {"connection_id":190275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:34:03] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca34030012d196880071fed10003901162c..."} 
[2026-09-23 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca34030012d196880071fed10003901162c..."} 
[2026-09-23 10:34:03] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca34030012d196880071fed10003901162c..."} 
[2026-09-23 10:34:03] local.INFO: Packet analysis {"connection_id":190275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:03] local.INFO: Extracted packet for processing {"connection_id":190275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275744000001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139646000,"timestamp_ms":1790139646000,"timestamp_seconds":1790139646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca34030"} 
[2026-09-23 10:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:34: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:34: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-09-23 10: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-09-23 10:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275744000001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275744000001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275744000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":190275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:34:03] local.INFO: GPS data processed {"connection_id":190275,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:34:03] local.INFO: Acknowledgment sent {"connection_id":190275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:34:09] local.INFO: TCP Data received {"connection_id":190274,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca3d4a0012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca3d4a0012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:34:09] local.INFO: Processing buffer {"connection_id":190274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca3d4a0012d34c04006aa3d10000e00f42c..."} 
[2026-09-23 10:34:09] local.INFO: Packet analysis {"connection_id":190274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:09] local.INFO: Extracted packet for processing {"connection_id":190274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275753728001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790139684000,"timestamp_ms":1790139684000,"timestamp_seconds":1790139684,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca3d4a0"} 
[2026-09-23 10:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:34: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-09-23 10: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-09-23 10: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-09-23 10: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-09-23 10:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34: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-09-23 10:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275753728001,"66":27984,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275753728001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275753728001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:34:09] local.INFO: GPS data processed {"connection_id":190274,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:34:09] local.INFO: Acknowledgment sent {"connection_id":190274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:34:34] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca39238012d196880071fed10003901162d..."} 
[2026-09-23 10:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca39238012d196880071fed10003901162d..."} 
[2026-09-23 10:34:34] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca39238012d196880071fed10003901162d..."} 
[2026-09-23 10:34:34] local.INFO: Packet analysis {"connection_id":190275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:34] local.INFO: Extracted packet for processing {"connection_id":190275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:34: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-09-23 10:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275749376001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139667000,"timestamp_ms":1790139667000,"timestamp_seconds":1790139667,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca39238"} 
[2026-09-23 10:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:34:34] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:34:34] 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-09-23 10: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-09-23 10:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275749376001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275749376001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:34:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275749376001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":190275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:34:34] local.INFO: GPS data processed {"connection_id":190275,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:34:34] local.INFO: Acknowledgment sent {"connection_id":190275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:34:37] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:37] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:37] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:34:41] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:42] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:34:42] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:34:43] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca426a8012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca426a8012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:34:43] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca426a8012d34c04006aa3d10000e00f42b..."} 
[2026-09-23 10:34:43] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:34:43] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820048,"longitude_deg":75.8431808,"latitude_deg":11.1820048,"altitude":14,"angle":244,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-23 10:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275759104001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341444215767040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790139705000,"timestamp_ms":1790139705000,"timestamp_seconds":1790139705,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca426a8"} 
[2026-09-23 10:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:34: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-09-23 10:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 10:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34: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-09-23 10:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275759104001,"66":28006,"97":206,"81":23296,"24":0,"16":406341444215767040,"45":3801108482870808576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275759104001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341444215767040,"km_value":406341444215767.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275759104001,"power":28006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:34:43] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:34:43] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:34:47] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca45d58012d34c18006aa3ca00009003c2d..."} 
[2026-09-23 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca45d58012d34c18006aa3ca00009003c2d..."} 
[2026-09-23 10:34:47] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca45d58012d34c18006aa3ca00009003c2d..."} 
[2026-09-23 10:34:47] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:34:47] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111819936,"longitude_deg":75.8432128,"latitude_deg":11.1819936,"altitude":9,"angle":60,"satellites":45,"speed":4,"hex_longitude":"2d34c180","hex_latitude":"06aa3ca0","is_valid_coordinates":true} 
[2026-09-23 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275764480001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341461395636224,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870808576,"note":"Value kept but may cause issues"} 
[2026-09-23 10:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790139719000,"timestamp_ms":1790139719000,"timestamp_seconds":1790139719,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca45d58"} 
[2026-09-23 10:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:34: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-09-23 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 10:34:47] 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-09-23 10:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275764480001,"66":27919,"97":206,"81":23296,"24":4,"16":406341461395636224,"45":3801108482870808576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275764480001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341461395636224,"km_value":406341461395636.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870808576,"description":"Unknown IO ID 45"} 
[2026-09-23 10:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275764480001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3801108482870808576}} 
[2026-09-23 10:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:34:47] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:34:47] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:34:58] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:58] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:34:58] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:35:02] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:35:02] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:35:02] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:35:03] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca3e440012d196880071fed10003901162c..."} 
[2026-09-23 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca3e440012d196880071fed10003901162c..."} 
[2026-09-23 10:35:03] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca3e440012d196880071fed10003901162c..."} 
[2026-09-23 10:35:03] local.INFO: Packet analysis {"connection_id":191793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:35:03] local.INFO: Extracted packet for processing {"connection_id":191793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca3"} 
[2026-09-23 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275754752001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139688000,"timestamp_ms":1790139688000,"timestamp_seconds":1790139688,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca3e440"} 
[2026-09-23 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-09-23 10:35: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-09-23 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 10:35: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-09-23 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-09-23 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-09-23 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275754752001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275754752001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:35:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275754752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":191793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:35:03] local.INFO: GPS data processed {"connection_id":191793,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:35:03] local.INFO: Acknowledgment sent {"connection_id":191793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:35:30] local.INFO: TCP Data received {"connection_id":190442,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:35:30] local.INFO: Processing buffer {"connection_id":190442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:35:30] local.INFO: IMEI packet received {"connection_id":190442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":190442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:35:32] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:32] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:32] local.INFO: IMEI packet received {"connection_id":193134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:35:34] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca43648012d196880071fed10003901162b..."} 
[2026-09-23 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca43648012d196880071fed10003901162b..."} 
[2026-09-23 10:35:34] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca43648012d196880071fed10003901162b..."} 
[2026-09-23 10:35:34] local.INFO: Packet analysis {"connection_id":191793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:35:34] local.INFO: Extracted packet for processing {"connection_id":191793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275760128001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139709000,"timestamp_ms":1790139709000,"timestamp_seconds":1790139709,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca43648"} 
[2026-09-23 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-09-23 10:35:34] 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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:35:34] 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-09-23 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-09-23 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-09-23 10:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275760128001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275760128001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:35:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275760128001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:35:34] local.INFO: GPS data processed {"connection_id":191793,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:35:34] local.INFO: Acknowledgment sent {"connection_id":191793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:35:37] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:37] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:35:37] local.INFO: IMEI packet received {"connection_id":193134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":193134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:35:38] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca46140012d34c20006aa3ce0000900482d..."} 
[2026-09-23 10:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca46140012d34c20006aa3ce0000900482d..."} 
[2026-09-23 10:35:38] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca46140012d34c20006aa3ce0000900482d..."} 
[2026-09-23 10:35:38] local.INFO: Packet analysis {"connection_id":193134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:35:38] local.INFO: Extracted packet for processing {"connection_id":193134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820000,"longitude_deg":75.8432256,"latitude_deg":11.182,"altitude":9,"angle":72,"satellites":45,"speed":5,"hex_longitude":"2d34c200","hex_latitude":"06aa3ce0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275768064001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341469985570816,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591668224,"note":"Value kept but may cause issues"} 
[2026-09-23 10:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790139720000,"timestamp_ms":1790139720000,"timestamp_seconds":1790139720,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca46140"} 
[2026-09-23 10:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 10:35: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-09-23 10: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-09-23 10:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10: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-09-23 10:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275768064001,"66":27919,"97":206,"81":23296,"24":5,"16":406341469985570816,"45":3801460326591668224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275768064001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341469985570816,"km_value":406341469985570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591668224,"description":"Unknown IO ID 45"} 
[2026-09-23 10:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275768064001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3801460326591668224}} 
[2026-09-23 10:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":193134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:35:38] local.INFO: GPS data processed {"connection_id":193134,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:35:38] local.INFO: Acknowledgment sent {"connection_id":193134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:02] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:02] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:02] local.INFO: IMEI packet received {"connection_id":190443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":190443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:36:07] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:07] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:07] local.INFO: IMEI packet received {"connection_id":190443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":190443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:36:08] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca48850012d196880071fed10003901162c..."} 
[2026-09-23 10:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca48850012d196880071fed10003901162c..."} 
[2026-09-23 10:36:08] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca48850012d196880071fed10003901162c..."} 
[2026-09-23 10:36:08] local.INFO: Packet analysis {"connection_id":190443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:08] local.INFO: Extracted packet for processing {"connection_id":190443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275765504001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790139730000,"timestamp_ms":1790139730000,"timestamp_seconds":1790139730,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca48850"} 
[2026-09-23 10:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:36:08] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:36: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-09-23 10: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-09-23 10:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275765504001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275765504001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:36:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275765504001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":190443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:36:08] local.INFO: GPS data processed {"connection_id":190443,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:36:08] local.INFO: Acknowledgment sent {"connection_id":190443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:09] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca46910012d34c2c006aa3d280009005d2e..."} 
[2026-09-23 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca46910012d34c2c006aa3d280009005d2e..."} 
[2026-09-23 10:36:09] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca46910012d34c2c006aa3d280009005d2e..."} 
[2026-09-23 10:36:09] local.INFO: Packet analysis {"connection_id":193134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:09] local.INFO: Extracted packet for processing {"connection_id":193134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820072,"longitude_deg":75.8432448,"latitude_deg":11.1820072,"altitude":9,"angle":93,"satellites":46,"speed":4,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275768320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341478575505408,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080039936,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790139722000,"timestamp_ms":1790139722000,"timestamp_seconds":1790139722,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca46910"} 
[2026-09-23 10:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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-09-23 10: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-09-23 10: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-09-23 10:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275768320001,"66":27821,"97":206,"81":23296,"24":4,"16":406341478575505408,"45":3801601064080039936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275768320001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341478575505408,"km_value":406341478575505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080039936,"description":"Unknown IO ID 45"} 
[2026-09-23 10:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275768320001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3801601064080039936}} 
[2026-09-23 10:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":193134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:36:09] local.INFO: GPS data processed {"connection_id":193134,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:36:09] local.INFO: Acknowledgment sent {"connection_id":193134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:10] local.INFO: TCP Data received {"connection_id":193135,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:36:10] local.INFO: Processing buffer {"connection_id":193135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:36:10] local.INFO: IMEI packet received {"connection_id":193135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":193135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:36:13] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca4da58012d196880071fed10003901162c..."} 
[2026-09-23 10:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca4da58012d196880071fed10003901162c..."} 
[2026-09-23 10:36:13] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca4da58012d196880071fed10003901162c..."} 
[2026-09-23 10:36:13] local.INFO: Packet analysis {"connection_id":190443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:13] local.INFO: Extracted packet for processing {"connection_id":190443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275770880001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790139751000,"timestamp_ms":1790139751000,"timestamp_seconds":1790139751,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca4da58"} 
[2026-09-23 10:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275770880001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275770880001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:36:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275770880001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":190443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:36:13] local.INFO: GPS data processed {"connection_id":190443,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:36:13] local.INFO: Acknowledgment sent {"connection_id":190443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:36] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: IMEI packet received {"connection_id":190277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:36:36] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:36:36] local.INFO: IMEI packet received {"connection_id":190277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:36:39] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca46cf8012d34c38006aa3d300009006c2e..."} 
[2026-09-23 10:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca46cf8012d34c38006aa3d300009006c2e..."} 
[2026-09-23 10:36:39] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca46cf8012d34c38006aa3d300009006c2e..."} 
[2026-09-23 10:36:39] local.INFO: Packet analysis {"connection_id":190277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:39] local.INFO: Extracted packet for processing {"connection_id":190277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111820080,"longitude_deg":75.843264,"latitude_deg":11.182008,"altitude":9,"angle":108,"satellites":46,"speed":1,"hex_longitude":"2d34c380","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275768832001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341487165440000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312591360,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790139723000,"timestamp_ms":1790139723000,"timestamp_seconds":1790139723,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca46cf8"} 
[2026-09-23 10:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:36: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-09-23 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:36: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-09-23 10: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-09-23 10:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36: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-09-23 10:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275768832001,"66":27767,"97":206,"81":23296,"24":1,"16":406341487165440000,"45":3801812170312591360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275768832001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341487165440000,"km_value":406341487165440,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312591360,"description":"Unknown IO ID 45"} 
[2026-09-23 10:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275768832001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3801812170312591360}} 
[2026-09-23 10:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:36:39] local.INFO: GPS data processed {"connection_id":190277,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:36:39] local.INFO: Acknowledgment sent {"connection_id":190277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:44] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:36:44] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:36:44] local.INFO: Packet analysis {"connection_id":190277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:44] local.INFO: Extracted packet for processing {"connection_id":190277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820104,"longitude_deg":75.8432704,"latitude_deg":11.1820104,"altitude":9,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3d48","is_valid_coordinates":true} 
[2026-09-23 10:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275769088001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545126400,"note":"Value kept but may cause issues"} 
[2026-09-23 10:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790139732000,"timestamp_ms":1790139732000,"timestamp_seconds":1790139732,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca49020"} 
[2026-09-23 10:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:36: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-09-23 10: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-09-23 10:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275769088001,"66":28028,"97":206,"81":23296,"24":0,"16":406341491460407296,"45":3802023276545126400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275769088001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545126400,"description":"Unknown IO ID 45"} 
[2026-09-23 10:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275769088001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545126400}} 
[2026-09-23 10:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":190277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:36:44] local.INFO: GPS data processed {"connection_id":190277,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:36:44] local.INFO: Acknowledgment sent {"connection_id":190277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:36:57] local.INFO: TCP Data received {"connection_id":191794,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:57] local.INFO: Processing buffer {"connection_id":191794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:36:57] local.INFO: IMEI packet received {"connection_id":191794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":191794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:37:00] local.INFO: TCP Data received {"connection_id":191794,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:00] local.INFO: Processing buffer {"connection_id":191794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:00] local.INFO: IMEI packet received {"connection_id":191794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":191794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:37:01] local.INFO: TCP Data received {"connection_id":191794,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca52c60012d196880071fed10003901162a..."} 
[2026-09-23 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca52c60012d196880071fed10003901162a..."} 
[2026-09-23 10:37:01] local.INFO: Processing buffer {"connection_id":191794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca52c60012d196880071fed10003901162a..."} 
[2026-09-23 10:37:01] local.INFO: Packet analysis {"connection_id":191794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:37:01] local.INFO: Extracted packet for processing {"connection_id":191794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275776256001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790139772000,"timestamp_ms":1790139772000,"timestamp_seconds":1790139772,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca52c60"} 
[2026-09-23 10:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:37: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-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:37:01] 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-09-23 10: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-09-23 10:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275776256001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275776256001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275776256001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":191794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:37:01] local.INFO: GPS data processed {"connection_id":191794,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:37:01] local.INFO: Acknowledgment sent {"connection_id":191794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:37:17] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:37:17] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca49020012d34c3c006aa3d480009006f2e..."} 
[2026-09-23 10:37:17] local.INFO: Packet analysis {"connection_id":190277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:37:17] local.INFO: Extracted packet for processing {"connection_id":190277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca4"} 
[2026-09-23 10:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820104,"longitude_deg":75.8432704,"latitude_deg":11.1820104,"altitude":9,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3d48","is_valid_coordinates":true} 
[2026-09-23 10:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275769088001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545126400,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790139732000,"timestamp_ms":1790139732000,"timestamp_seconds":1790139732,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca49020"} 
[2026-09-23 10:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:37: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-09-23 10: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-09-23 10:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:37:17] 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-09-23 10:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275769088001,"66":28028,"97":206,"81":23296,"24":0,"16":406341491460407296,"45":3802023276545126400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275769088001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545126400,"description":"Unknown IO ID 45"} 
[2026-09-23 10:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275769088001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545126400}} 
[2026-09-23 10:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":190277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:37:17] local.INFO: GPS data processed {"connection_id":190277,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:37:17] local.INFO: Acknowledgment sent {"connection_id":190277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:37:31] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:31] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:31] local.INFO: IMEI packet received {"connection_id":190445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":190445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:37:32] local.INFO: TCP Data received {"connection_id":191794,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca57e68012d196880071fed10003901162c..."} 
[2026-09-23 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca57e68012d196880071fed10003901162c..."} 
[2026-09-23 10:37:32] local.INFO: Processing buffer {"connection_id":191794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca57e68012d196880071fed10003901162c..."} 
[2026-09-23 10:37:32] local.INFO: Packet analysis {"connection_id":191794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:37:32] local.INFO: Extracted packet for processing {"connection_id":191794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275781632001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790139793000,"timestamp_ms":1790139793000,"timestamp_seconds":1790139793,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca57e68"} 
[2026-09-23 10:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:37: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:37: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-09-23 10: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-09-23 10:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275781632001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275781632001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275781632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":191794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:37:32] local.INFO: GPS data processed {"connection_id":191794,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:37:32] local.INFO: Acknowledgment sent {"connection_id":191794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:37:37] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:37] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:37:37] local.INFO: IMEI packet received {"connection_id":190445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":190445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:37:38] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca8aae8012d34c3c006aa4698000a006f2d..."} 
[2026-09-23 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca8aae8012d34c3c006aa4698000a006f2d..."} 
[2026-09-23 10:37:38] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca8aae8012d34c3c006aa4698000a006f2d..."} 
[2026-09-23 10:37:38] local.INFO: Packet analysis {"connection_id":190445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca8"} 
[2026-09-23 10:37:38] local.INFO: Extracted packet for processing {"connection_id":190445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca8"} 
[2026-09-23 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822488,"longitude_deg":75.8432704,"latitude_deg":11.1822488,"altitude":10,"angle":111,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4698","is_valid_coordinates":true} 
[2026-09-23 10:37: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-09-23 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275771392001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289310208,"note":"Value kept but may cause issues"} 
[2026-09-23 10:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140001000,"timestamp_ms":1790140001000,"timestamp_seconds":1790140001,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca8aae8"} 
[2026-09-23 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 10:37:38] 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-09-23 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:37:38] 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-09-23 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275771392001,"66":26452,"9":206,"81":23296,"24":0,"16":406341491460407296,"45":3802093645289310208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-23 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275771392001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:37:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-23 10:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289310208,"description":"Unknown IO ID 45"} 
[2026-09-23 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275771392001,"power":26452,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289310208}} 
[2026-09-23 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":190445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:37:38] local.INFO: GPS data processed {"connection_id":190445,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:37:38] local.INFO: Acknowledgment sent {"connection_id":190445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:37:57] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:57] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:37:57] local.INFO: IMEI packet received {"connection_id":193137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":193137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:38:02] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:02] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:02] local.INFO: IMEI packet received {"connection_id":193137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":193137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:38:03] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca5d070012d196880071fed10003901162c..."} 
[2026-09-23 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca5d070012d196880071fed10003901162c..."} 
[2026-09-23 10:38:03] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca5d070012d196880071fed10003901162c..."} 
[2026-09-23 10:38:03] local.INFO: Packet analysis {"connection_id":193137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:38:03] local.INFO: Extracted packet for processing {"connection_id":193137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca5"} 
[2026-09-23 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275787008001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139814000,"timestamp_ms":1790139814000,"timestamp_seconds":1790139814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca5d070"} 
[2026-09-23 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:38: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-09-23 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:38: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-09-23 10: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-09-23 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275787008001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275787008001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275787008001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":193137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:38:03] local.INFO: GPS data processed {"connection_id":193137,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:38:03] local.INFO: Acknowledgment sent {"connection_id":193137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:38:09] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca8ba88012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca8ba88012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:09] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca8ba88012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:09] local.INFO: Packet analysis {"connection_id":190445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca8"} 
[2026-09-23 10:38:09] local.INFO: Extracted packet for processing {"connection_id":190445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca8"} 
[2026-09-23 10:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823216,"longitude_deg":75.8433088,"latitude_deg":11.1823216,"altitude":10,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4970","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275840256001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289920512,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790140005000,"timestamp_ms":1790140005000,"timestamp_seconds":1790140005,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca8ba88"} 
[2026-09-23 10:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-23 10:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38: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-09-23 10:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275840256001,"66":26115,"9":206,"81":23296,"24":0,"16":406341491460407296,"45":3802093645289920512},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-23 10:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275840256001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:38:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-23 10:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289920512,"description":"Unknown IO ID 45"} 
[2026-09-23 10:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275840256001,"power":26115,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289920512}} 
[2026-09-23 10:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":190445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:38:09] local.INFO: GPS data processed {"connection_id":190445,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:38:09] local.INFO: Acknowledgment sent {"connection_id":190445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:38:34] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca62278012d196880071fed10003901162c..."} 
[2026-09-23 10:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca62278012d196880071fed10003901162c..."} 
[2026-09-23 10:38:34] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca62278012d196880071fed10003901162c..."} 
[2026-09-23 10:38:34] local.INFO: Packet analysis {"connection_id":193137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca6"} 
[2026-09-23 10:38:34] local.INFO: Extracted packet for processing {"connection_id":193137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca6"} 
[2026-09-23 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275792384001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790139835000,"timestamp_ms":1790139835000,"timestamp_seconds":1790139835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca62278"} 
[2026-09-23 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-09-23 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:38:34] 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-09-23 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-09-23 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-09-23 10:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275792384001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275792384001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:38:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275792384001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":193137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:38:34] local.INFO: GPS data processed {"connection_id":193137,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:38:34] local.INFO: Acknowledgment sent {"connection_id":193137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:38:37] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:37] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:37] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:38:42] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:42] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:38:42] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:38:43] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca90c90012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca90c90012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:43] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca90c90012d34c54006aa4970000a000b2d..."} 
[2026-09-23 10:38:43] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:38:43] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823216,"longitude_deg":75.8433088,"latitude_deg":11.1823216,"altitude":10,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4970","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275841280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755172864,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790140026000,"timestamp_ms":1790140026000,"timestamp_seconds":1790140026,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca90c90"} 
[2026-09-23 10:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:38: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-09-23 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 10:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38:43] 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-09-23 10:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275841280001,"66":27908,"97":206,"81":23296,"24":0,"16":406341491460407296,"45":3802515857755172864},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275841280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755172864,"description":"Unknown IO ID 45"} 
[2026-09-23 10:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275841280001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755172864}} 
[2026-09-23 10:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:38:43] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:38:43] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:38:47] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca95e98012d34c54006aa4970000a000b30..."} 
[2026-09-23 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca95e98012d34c54006aa4970000a000b30..."} 
[2026-09-23 10:38:47] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca95e98012d34c54006aa4970000a000b30..."} 
[2026-09-23 10:38:47] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:38:47] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823216,"longitude_deg":75.8433088,"latitude_deg":11.1823216,"altitude":10,"angle":11,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4970","is_valid_coordinates":true} 
[2026-09-23 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341491460407296,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755172864,"note":"Value kept but may cause issues"} 
[2026-09-23 10:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790140047000,"timestamp_ms":1790140047000,"timestamp_seconds":1790140047,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca95e98"} 
[2026-09-23 10:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:38: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-09-23 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:38:47] 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-09-23 10:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275846656001,"66":27865,"97":206,"81":23296,"24":0,"16":406341491460407296,"45":3802515857755172864},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341491460407296,"km_value":406341491460407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755172864,"description":"Unknown IO ID 45"} 
[2026-09-23 10:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275846656001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755172864}} 
[2026-09-23 10:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:38:47] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:38:47] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:38:57] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:57] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:38:57] local.INFO: IMEI packet received {"connection_id":190447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":190447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:39:02] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:02] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:02] local.INFO: IMEI packet received {"connection_id":190447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:39:03] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca67480012d196880071fed10003901162c..."} 
[2026-09-23 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca67480012d196880071fed10003901162c..."} 
[2026-09-23 10:39:03] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca67480012d196880071fed10003901162c..."} 
[2026-09-23 10:39:03] local.INFO: Packet analysis {"connection_id":190447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca6"} 
[2026-09-23 10:39:03] local.INFO: Extracted packet for processing {"connection_id":190447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca6"} 
[2026-09-23 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275797760001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790139856000,"timestamp_ms":1790139856000,"timestamp_seconds":1790139856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca67480"} 
[2026-09-23 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-09-23 10:39: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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:39: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-09-23 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-09-23 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-09-23 10:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275797760001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275797760001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275797760001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":190447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:39:03] local.INFO: GPS data processed {"connection_id":190447,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:39:03] local.INFO: Acknowledgment sent {"connection_id":190447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:39:32] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:32] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:32] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:39:34] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:34] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:39:34] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:39:34] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca9fad8012d196880071fed10003901162c..."} 
[2026-09-23 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca9fad8012d196880071fed10003901162c..."} 
[2026-09-23 10:39:34] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca9fad8012d196880071fed10003901162c..."} 
[2026-09-23 10:39:34] local.INFO: Packet analysis {"connection_id":190447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:39:34] local.INFO: Extracted packet for processing {"connection_id":190447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275856896001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140087000,"timestamp_ms":1790140087000,"timestamp_seconds":1790140087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca9fad8"} 
[2026-09-23 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-09-23 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:39:34] 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-09-23 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-09-23 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-09-23 10:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275856896001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275856896001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:39:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275856896001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":190447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:39:34] local.INFO: GPS data processed {"connection_id":190447,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:39:34] local.INFO: Acknowledgment sent {"connection_id":190447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:39:35] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:39:35] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:39:35] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:39:35] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111824096,"longitude_deg":75.8433408,"latitude_deg":11.1824096,"altitude":22,"angle":357,"satellites":48,"speed":4,"hex_longitude":"2d34c680","hex_latitude":"06aa4ce0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275852032001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341538705047552,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755172864,"note":"Value kept but may cause issues"} 
[2026-09-23 10:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790140068000,"timestamp_ms":1790140068000,"timestamp_seconds":1790140068,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca9b0a0"} 
[2026-09-23 10:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 10:39: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-09-23 10: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-09-23 10:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:39:35] 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-09-23 10:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275852032001,"66":27821,"97":206,"81":23296,"24":4,"16":406341538705047552,"45":3802515857755172864},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275852032001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341538705047552,"km_value":406341538705047.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755172864,"description":"Unknown IO ID 45"} 
[2026-09-23 10:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275852032001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802515857755172864}} 
[2026-09-23 10:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:39:35] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:39:35] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:39:57] local.INFO: TCP Data received {"connection_id":193139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:57] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:39:57] local.INFO: IMEI packet received {"connection_id":193139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":193139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:40:02] local.INFO: TCP Data received {"connection_id":193139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:02] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:02] local.INFO: IMEI packet received {"connection_id":193139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":193139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:40:03] local.INFO: TCP Data received {"connection_id":193139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaa4ce0012d196880071fed10003901162c..."} 
[2026-09-23 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaa4ce0012d196880071fed10003901162c..."} 
[2026-09-23 10:40:03] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaa4ce0012d196880071fed10003901162c..."} 
[2026-09-23 10:40:03] local.INFO: Packet analysis {"connection_id":193139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:03] local.INFO: Extracted packet for processing {"connection_id":193139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275862272001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140108000,"timestamp_ms":1790140108000,"timestamp_seconds":1790140108,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaa4ce0"} 
[2026-09-23 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-09-23 10:40: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-09-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:40:03] 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-09-23 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-09-23 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-09-23 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275862272001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275862272001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:40:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275862272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":193139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:40:03] local.INFO: GPS data processed {"connection_id":193139,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:40:03] local.INFO: Acknowledgment sent {"connection_id":193139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:40:06] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:40:06] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cca9b0a0012d34c68006aa4ce00016016530..."} 
[2026-09-23 10:40:06] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:40:06] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cca9"} 
[2026-09-23 10:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111824096,"longitude_deg":75.8433408,"latitude_deg":11.1824096,"altitude":22,"angle":357,"satellites":48,"speed":4,"hex_longitude":"2d34c680","hex_latitude":"06aa4ce0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275857408001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341538705047552,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476286464,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790140068000,"timestamp_ms":1790140068000,"timestamp_seconds":1790140068,"priority":1,"record_length":96,"hex_timestamp":"000001a0cca9b0a0"} 
[2026-09-23 10:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:40: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-09-23 10: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-09-23 10:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:40:06] 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-09-23 10:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275857408001,"66":27821,"97":206,"81":23296,"24":4,"16":406341538705047552,"45":3802867701476286464},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275857408001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341538705047552,"km_value":406341538705047.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476286464,"description":"Unknown IO ID 45"} 
[2026-09-23 10:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275857408001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802867701476286464}} 
[2026-09-23 10:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:40:06] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:40:06] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:40:32] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:32] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:32] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:40:34] local.INFO: TCP Data received {"connection_id":193139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaa9ee8012d196880071fed10003901162c..."} 
[2026-09-23 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaa9ee8012d196880071fed10003901162c..."} 
[2026-09-23 10:40:34] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaa9ee8012d196880071fed10003901162c..."} 
[2026-09-23 10:40:34] local.INFO: Packet analysis {"connection_id":193139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:34] local.INFO: Extracted packet for processing {"connection_id":193139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275867648001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140129000,"timestamp_ms":1790140129000,"timestamp_seconds":1790140129,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaa9ee8"} 
[2026-09-23 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:40:34] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:40:34] 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-09-23 10: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-09-23 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275867648001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275867648001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275867648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":193139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:40:34] local.INFO: GPS data processed {"connection_id":193139,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:40:34] local.INFO: Acknowledgment sent {"connection_id":193139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:40:37] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:37] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:40:37] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:40:38] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaa02a8012d34c68006aa4fc80016016130..."} 
[2026-09-23 10:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaa02a8012d34c68006aa4fc80016016130..."} 
[2026-09-23 10:40:38] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaa02a8012d34c68006aa4fc80016016130..."} 
[2026-09-23 10:40:38] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:38] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111824840,"longitude_deg":75.8433408,"latitude_deg":11.182484,"altitude":22,"angle":353,"satellites":48,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4fc8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275857408001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406341577359753216,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476286464,"note":"Value kept but may cause issues"} 
[2026-09-23 10:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140089000,"timestamp_ms":1790140089000,"timestamp_seconds":1790140089,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaa02a8"} 
[2026-09-23 10:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:40: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-09-23 10: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":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:40: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-09-23 10: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-09-23 10:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:40:38] 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-09-23 10:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275857408001,"66":27767,"97":206,"81":23296,"24":0,"16":406341577359753216,"45":3802867701476286464},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275857408001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406341577359753216,"km_value":406341577359753.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476286464,"description":"Unknown IO ID 45"} 
[2026-09-23 10:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275857408001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701476286464}} 
[2026-09-23 10:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":191797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:40:38] local.INFO: GPS data processed {"connection_id":191797,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:40:38] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:40:57] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:57] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:40:57] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:41:02] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:41:02] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:41:02] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:41:03] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaaf0f0012d196880071fed10003901162b..."} 
[2026-09-23 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaaf0f0012d196880071fed10003901162b..."} 
[2026-09-23 10:41:03] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaaf0f0012d196880071fed10003901162b..."} 
[2026-09-23 10:41:03] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:41:03] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaa"} 
[2026-09-23 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275873024001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140150000,"timestamp_ms":1790140150000,"timestamp_seconds":1790140150,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaaf0f0"} 
[2026-09-23 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:41: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:41: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-09-23 10: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-09-23 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275873024001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275873024001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275873024001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:41:03] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:41:03] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:41:10] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccabbff8012d350bc006aa68e0000c012030..."} 
[2026-09-23 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccabbff8012d350bc006aa68e0000c012030..."} 
[2026-09-23 10:41:10] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccabbff8012d350bc006aa68e0000c012030..."} 
[2026-09-23 10:41:10] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:41:10] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758451136,"raw_latitude":111831264,"longitude_deg":75.8451136,"latitude_deg":11.1831264,"altitude":12,"angle":288,"satellites":48,"speed":9,"hex_longitude":"2d350bc0","hex_latitude":"06aa68e0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275891456001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406342616741838848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822782056080336896,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790140203000,"timestamp_ms":1790140203000,"timestamp_seconds":1790140203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccabbff8"} 
[2026-09-23 10:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-23 10:41: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-09-23 10: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-09-23 10:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275891456001,"66":27789,"97":206,"81":23296,"24":9,"16":406342616741838848,"45":3822782056080336896},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275891456001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406342616741838848,"km_value":406342616741838.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822782056080336896,"description":"Unknown IO ID 45"} 
[2026-09-23 10:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275891456001,"power":27789,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3822782056080336896}} 
[2026-09-23 10:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":191797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:41:10] local.INFO: GPS data processed {"connection_id":191797,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:41:10] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:41:31] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:31] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:31] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:41:32] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:33] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:33] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:41:34] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccab42f8012d196880071fed10003901162c..."} 
[2026-09-23 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccab42f8012d196880071fed10003901162c..."} 
[2026-09-23 10:41:34] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccab42f8012d196880071fed10003901162c..."} 
[2026-09-23 10:41:34] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:41:34] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275878400001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140171000,"timestamp_ms":1790140171000,"timestamp_seconds":1790140171,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccab42f8"} 
[2026-09-23 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-09-23 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:41:34] 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-09-23 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-09-23 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-09-23 10:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275878400001,"66":11406,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275878400001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:41:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275878400001,"power":11406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:41:34] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:41:34] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:41:35] local.INFO: TCP Data received {"connection_id":191798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:41:35] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:41:35] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:41:48] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:48] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:41:48] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:41:50] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:41:50] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:41:50] local.INFO: Packet analysis {"connection_id":190448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:41:50] local.INFO: Extracted packet for processing {"connection_id":190448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758442624,"raw_latitude":111834520,"longitude_deg":75.8442624,"latitude_deg":11.183452,"altitude":12,"angle":288,"satellites":45,"speed":29,"hex_longitude":"2d34ea80","hex_latitude":"06aa7598","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275891968001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406343054828503040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822359843615334400,"note":"Value kept but may cause issues"} 
[2026-09-23 10:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790140224000,"timestamp_ms":1790140224000,"timestamp_seconds":1790140224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccac1200"} 
[2026-09-23 10:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:41: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-09-23 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 10:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:41:50] 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-09-23 10:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275891968001,"66":27745,"97":206,"81":23296,"24":29,"16":406343054828503040,"45":3822359843615334400},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275891968001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406343054828503040,"km_value":406343054828503.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822359843615334400,"description":"Unknown IO ID 45"} 
[2026-09-23 10:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275891968001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3822359843615334400}} 
[2026-09-23 10:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":190448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:41:50] local.INFO: GPS data processed {"connection_id":190448,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:41:50] local.INFO: Acknowledgment sent {"connection_id":190448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:42:02] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:02] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:02] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:42:07] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:07] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:07] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:42:08] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccab9500012d196880071fed10003901162b..."} 
[2026-09-23 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccab9500012d196880071fed10003901162b..."} 
[2026-09-23 10:42:08] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccab9500012d196880071fed10003901162b..."} 
[2026-09-23 10:42:08] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:42:08] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275883776001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140192000,"timestamp_ms":1790140192000,"timestamp_seconds":1790140192,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccab9500"} 
[2026-09-23 10:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-09-23 10:42:08] 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-09-23 10: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-09-23 10:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275883776001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275883776001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:42:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275883776001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:42:08] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:42:08] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:42:10] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:42:10] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:42:10] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:42:13] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccabe708012d196880071fed10003901162c..."} 
[2026-09-23 10:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccabe708012d196880071fed10003901162c..."} 
[2026-09-23 10:42:13] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccabe708012d196880071fed10003901162c..."} 
[2026-09-23 10:42:13] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:42:13] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccab"} 
[2026-09-23 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275889152001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790140213000,"timestamp_ms":1790140213000,"timestamp_seconds":1790140213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccabe708"} 
[2026-09-23 10:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275889152001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275889152001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:42:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275889152001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":191799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:42:13] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:42:13] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:42:34] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:34] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:34] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:42:38] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:38] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:38] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:42:42] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:42] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:42:42] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:42:42] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:42:42] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccac1200012d34ea8006aa7598000c01202d..."} 
[2026-09-23 10:42:42] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:42:42] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758442624,"raw_latitude":111834520,"longitude_deg":75.8442624,"latitude_deg":11.183452,"altitude":12,"angle":288,"satellites":45,"speed":29,"hex_longitude":"2d34ea80","hex_latitude":"06aa7598","is_valid_coordinates":true} 
[2026-09-23 10:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275897344001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406343054828503040,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813000800640538624,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790140224000,"timestamp_ms":1790140224000,"timestamp_seconds":1790140224,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccac1200"} 
[2026-09-23 10:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275897344001,"66":27745,"97":206,"81":23296,"24":29,"16":406343054828503040,"45":3813000800640538624},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275897344001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406343054828503040,"km_value":406343054828503.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813000800640538624,"description":"Unknown IO ID 45"} 
[2026-09-23 10:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275897344001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3813000800640538624}} 
[2026-09-23 10:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:42:42] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:42:42] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:42:43] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccac3cf8012d34c74006aa81b0000a01212e..."} 
[2026-09-23 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccac3cf8012d34c74006aa81b0000a01212e..."} 
[2026-09-23 10:42:43] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccac3cf8012d34c74006aa81b0000a01212e..."} 
[2026-09-23 10:42:43] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:42:43] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111837616,"longitude_deg":75.84336,"latitude_deg":11.1837616,"altitude":10,"angle":289,"satellites":46,"speed":33,"hex_longitude":"2d34c740","hex_latitude":"06aa81b0","is_valid_coordinates":true} 
[2026-09-23 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275897344001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406343510095036416,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813000800640538624,"note":"Value kept but may cause issues"} 
[2026-09-23 10:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790140235000,"timestamp_ms":1790140235000,"timestamp_seconds":1790140235,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccac3cf8"} 
[2026-09-23 10:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 10:42: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-09-23 10:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:42:43] 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-09-23 10:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275897344001,"66":27821,"97":206,"81":23296,"24":33,"16":406343510095036416,"45":3813000800640538624},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275897344001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406343510095036416,"km_value":406343510095036.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813000800640538624,"description":"Unknown IO ID 45"} 
[2026-09-23 10:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275897344001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3813000800640538624}} 
[2026-09-23 10:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:42:43] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:42:43] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:42:57] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:57] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:57] local.INFO: IMEI packet received {"connection_id":190280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":190280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:42:58] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:58] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:42:58] local.INFO: IMEI packet received {"connection_id":190280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":190280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:43:02] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:02] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:02] local.INFO: IMEI packet received {"connection_id":190280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:43:03] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccac3910012d196880071fed10003901162a..."} 
[2026-09-23 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccac3910012d196880071fed10003901162a..."} 
[2026-09-23 10:43:03] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccac3910012d196880071fed10003901162a..."} 
[2026-09-23 10:43:03] local.INFO: Packet analysis {"connection_id":190280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:03] local.INFO: Extracted packet for processing {"connection_id":190280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275894528001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140234000,"timestamp_ms":1790140234000,"timestamp_seconds":1790140234,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccac3910"} 
[2026-09-23 10:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43: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-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:43:03] 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-09-23 10: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-09-23 10:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275894528001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275894528001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275894528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":190280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:03] local.INFO: GPS data processed {"connection_id":190280,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:03] local.INFO: Acknowledgment sent {"connection_id":190280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:07] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccac8b18012d196880071fed100039011629..."} 
[2026-09-23 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccac8b18012d196880071fed100039011629..."} 
[2026-09-23 10:43:07] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccac8b18012d196880071fed100039011629..."} 
[2026-09-23 10:43:07] local.INFO: Packet analysis {"connection_id":190280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:07] local.INFO: Extracted packet for processing {"connection_id":190280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275899904001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790140255000,"timestamp_ms":1790140255000,"timestamp_seconds":1790140255,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccac8b18"} 
[2026-09-23 10:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:43:07] 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-09-23 10: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-09-23 10:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275899904001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275899904001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275899904001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":190280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:08] local.INFO: GPS data processed {"connection_id":190280,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:08] local.INFO: Acknowledgment sent {"connection_id":190280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:14] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaddef0012d33b14006aa22b8000c009b2c..."} 
[2026-09-23 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaddef0012d33b14006aa22b8000c009b2c..."} 
[2026-09-23 10:43:14] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaddef0012d33b14006aa22b8000c009b2c..."} 
[2026-09-23 10:43:14] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:14] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":111813304,"longitude_deg":75.8362432,"latitude_deg":11.1813304,"altitude":12,"angle":155,"satellites":44,"speed":15,"hex_longitude":"2d33b140","hex_latitude":"06aa22b8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275927040001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347543069327360,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289203968000,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790140342000,"timestamp_ms":1790140342000,"timestamp_seconds":1790140342,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaddef0"} 
[2026-09-23 10:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43: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-09-23 10:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275927040001,"66":27658,"76":206,"81":23296,"24":15,"16":406347543069327360,"45":3724547289203968000},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275927040001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347543069327360,"km_value":406347543069327.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289203968000,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275927040001,"power":27658,"unknown_76":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3724547289203968000}} 
[2026-09-23 10:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:14] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:14] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:32] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:32] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:32] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:43:37] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:37] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:43:37] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:43:37] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccadeaa8012d33b20006aa2050000d00b52c..."} 
[2026-09-23 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccadeaa8012d33b20006aa2050000d00b52c..."} 
[2026-09-23 10:43:37] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccadeaa8012d33b20006aa2050000d00b52c..."} 
[2026-09-23 10:43:37] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:37] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812688,"longitude_deg":75.8362624,"latitude_deg":11.1812688,"altitude":13,"angle":181,"satellites":44,"speed":6,"hex_longitude":"2d33b200","hex_latitude":"06aa2050","is_valid_coordinates":true} 
[2026-09-23 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275927552001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347577429065728,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764180494336,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140345000,"timestamp_ms":1790140345000,"timestamp_seconds":1790140345,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccadeaa8"} 
[2026-09-23 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:43: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-09-23 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275927552001,"66":27658,"76":206,"81":23296,"24":6,"16":406347577429065728,"45":3724828764180494336},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275927552001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347577429065728,"km_value":406347577429065.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764180494336,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275927552001,"power":27658,"unknown_76":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3724828764180494336}} 
[2026-09-23 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:37] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:37] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:39] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccacdd20012d196880071fed10003901162a..."} 
[2026-09-23 10:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccacdd20012d196880071fed10003901162a..."} 
[2026-09-23 10:43:39] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccacdd20012d196880071fed10003901162a..."} 
[2026-09-23 10:43:39] local.INFO: Packet analysis {"connection_id":190280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:39] local.INFO: Extracted packet for processing {"connection_id":190280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccac"} 
[2026-09-23 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275905280001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790140276000,"timestamp_ms":1790140276000,"timestamp_seconds":1790140276,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccacdd20"} 
[2026-09-23 10:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43: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-09-23 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275905280001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275905280001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275905280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":190280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:39] local.INFO: GPS data processed {"connection_id":190280,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:39] local.INFO: Acknowledgment sent {"connection_id":190280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:42] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccadf278012d33b20006aa1f38000d00ca2d..."} 
[2026-09-23 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccadf278012d33b20006aa1f38000d00ca2d..."} 
[2026-09-23 10:43:42] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccadf278012d33b20006aa1f38000d00ca2d..."} 
[2026-09-23 10:43:42] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:42] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812408,"longitude_deg":75.8362624,"latitude_deg":11.1812408,"altitude":13,"angle":202,"satellites":45,"speed":6,"hex_longitude":"2d33b200","hex_latitude":"06aa1f38","is_valid_coordinates":true} 
[2026-09-23 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275928320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347590313967616,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412869632,"note":"Value kept but may cause issues"} 
[2026-09-23 10:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790140347000,"timestamp_ms":1790140347000,"timestamp_seconds":1790140347,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccadf278"} 
[2026-09-23 10:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:43: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-09-23 10:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:43: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-09-23 10:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275928320001,"66":27713,"76":206,"81":23296,"24":6,"16":406347590313967616,"45":3725039870412869632},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275928320001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347590313967616,"km_value":406347590313967.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412869632,"description":"Unknown IO ID 45"} 
[2026-09-23 10:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275928320001,"power":27713,"unknown_76":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3725039870412869632}} 
[2026-09-23 10:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:43:42] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:43:42] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:43:57] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:57] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:43:57] local.INFO: IMEI packet received {"connection_id":193140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":193140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:44:00] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:00] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:00] local.INFO: IMEI packet received {"connection_id":193140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":193140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:44:01] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccad2f28012d196880071fed10003901162c..."} 
[2026-09-23 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccad2f28012d196880071fed10003901162c..."} 
[2026-09-23 10:44:01] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccad2f28012d196880071fed10003901162c..."} 
[2026-09-23 10:44:01] local.INFO: Packet analysis {"connection_id":193140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:44:01] local.INFO: Extracted packet for processing {"connection_id":193140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275910656001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790140297000,"timestamp_ms":1790140297000,"timestamp_seconds":1790140297,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccad2f28"} 
[2026-09-23 10:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:44:01] 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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:44:01] 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-09-23 10: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-09-23 10:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275910656001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275910656001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:44:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275910656001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":193140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:44:01] local.INFO: GPS data processed {"connection_id":193140,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:44:01] local.INFO: Acknowledgment sent {"connection_id":193140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:44:13] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccae4480012d33b18006aa1e20000d00ca2e..."} 
[2026-09-23 10:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccae4480012d33b18006aa1e20000d00ca2e..."} 
[2026-09-23 10:44:13] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccae4480012d33b18006aa1e20000d00ca2e..."} 
[2026-09-23 10:44:13] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:44:13] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758362496,"raw_latitude":111812128,"longitude_deg":75.8362496,"latitude_deg":11.1812128,"altitude":13,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d33b180","hex_latitude":"06aa1e20","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275928832001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347607493836800,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412797952,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790140368000,"timestamp_ms":1790140368000,"timestamp_seconds":1790140368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccae4480"} 
[2026-09-23 10:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 10:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:44: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-09-23 10:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275928832001,"66":27995,"76":206,"81":23296,"24":0,"16":406347607493836800,"45":3725039870412797952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275928832001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347607493836800,"km_value":406347607493836.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412797952,"description":"Unknown IO ID 45"} 
[2026-09-23 10:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275928832001,"power":27995,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412797952}} 
[2026-09-23 10:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:44:13] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:44:13] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:44:28] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:28] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:28] local.INFO: IMEI packet received {"connection_id":190281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":190281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:44:32] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:32] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:32] local.INFO: IMEI packet received {"connection_id":190281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":190281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:44:33] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccad8130012d196880071fed10003901162c..."} 
[2026-09-23 10:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccad8130012d196880071fed10003901162c..."} 
[2026-09-23 10:44:33] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccad8130012d196880071fed10003901162c..."} 
[2026-09-23 10:44:33] local.INFO: Packet analysis {"connection_id":193140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:44:33] local.INFO: Extracted packet for processing {"connection_id":193140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275916032001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790140318000,"timestamp_ms":1790140318000,"timestamp_seconds":1790140318,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccad8130"} 
[2026-09-23 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-09-23 10:44: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-09-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:44: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-09-23 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-09-23 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-09-23 10:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275916032001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275916032001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275916032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":193140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:44:33] local.INFO: GPS data processed {"connection_id":193140,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:44:33] local.INFO: Acknowledgment sent {"connection_id":193140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:44:37] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:37] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:44:37] local.INFO: IMEI packet received {"connection_id":190281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:44:37] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccae9688012d33b18006aa1e20000d00ca2d..."} 
[2026-09-23 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccae9688012d33b18006aa1e20000d00ca2d..."} 
[2026-09-23 10:44:37] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccae9688012d33b18006aa1e20000d00ca2d..."} 
[2026-09-23 10:44:37] local.INFO: Packet analysis {"connection_id":190281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:44:37] local.INFO: Extracted packet for processing {"connection_id":190281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758362496,"raw_latitude":111812128,"longitude_deg":75.8362496,"latitude_deg":11.1812128,"altitude":13,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d33b180","hex_latitude":"06aa1e20","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275934208001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347607493836800,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924370944,"note":"Value kept but may cause issues"} 
[2026-09-23 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140389000,"timestamp_ms":1790140389000,"timestamp_seconds":1790140389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccae9688"} 
[2026-09-23 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-09-23 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-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 10:44: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-09-23 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-09-23 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-09-23 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275934208001,"66":27974,"76":206,"81":23296,"24":0,"16":406347607493836800,"45":3724899132924370944},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275934208001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:44:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347607493836800,"km_value":406347607493836.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924370944,"description":"Unknown IO ID 45"} 
[2026-09-23 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275934208001,"power":27974,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724899132924370944}} 
[2026-09-23 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":190281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:44:37] local.INFO: GPS data processed {"connection_id":190281,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:44:37] local.INFO: Acknowledgment sent {"connection_id":190281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:44:57] local.INFO: TCP Data received {"connection_id":190451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:57] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:44:57] local.INFO: IMEI packet received {"connection_id":190451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":190451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:45:02] local.INFO: TCP Data received {"connection_id":190451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:02] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:02] local.INFO: IMEI packet received {"connection_id":190451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:45:03] local.INFO: TCP Data received {"connection_id":190451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccadd338012d196880071fed10003901162b..."} 
[2026-09-23 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccadd338012d196880071fed10003901162b..."} 
[2026-09-23 10:45:03] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccadd338012d196880071fed10003901162b..."} 
[2026-09-23 10:45:03] local.INFO: Packet analysis {"connection_id":190451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:45:03] local.INFO: Extracted packet for processing {"connection_id":190451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccad"} 
[2026-09-23 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275921408001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140339000,"timestamp_ms":1790140339000,"timestamp_seconds":1790140339,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccadd338"} 
[2026-09-23 10:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:45: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:45: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-09-23 10: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-09-23 10:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275921408001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275921408001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275921408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:45:03] local.INFO: GPS data processed {"connection_id":190451,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:45:03] local.INFO: Acknowledgment sent {"connection_id":190451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:45:08] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaee890012d33ae4006aa1ac8000700ca2d..."} 
[2026-09-23 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaee890012d33ae4006aa1ac8000700ca2d..."} 
[2026-09-23 10:45:08] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaee890012d33ae4006aa1ac8000700ca2d..."} 
[2026-09-23 10:45:08] local.INFO: Packet analysis {"connection_id":190281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:45:08] local.INFO: Extracted packet for processing {"connection_id":190281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811272,"longitude_deg":75.8361664,"latitude_deg":11.1811272,"altitude":7,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ac8","is_valid_coordinates":true} 
[2026-09-23 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275939584001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899132924370944,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140410000,"timestamp_ms":1790140410000,"timestamp_seconds":1790140410,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaee890"} 
[2026-09-23 10:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:45: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-09-23 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 10:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:45:08] 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-09-23 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275939584001,"66":27984,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3724899132924370944},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275939584001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:45:08] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899132924370944,"description":"Unknown IO ID 45"} 
[2026-09-23 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275939584001,"power":27984,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724899132924370944}} 
[2026-09-23 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":190281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:45:08] local.INFO: GPS data processed {"connection_id":190281,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:45:08] local.INFO: Acknowledgment sent {"connection_id":190281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:45:32] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:45:32] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:32] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:45:34] local.INFO: TCP Data received {"connection_id":190451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccae2540012d196880071fed10003901162c..."} 
[2026-09-23 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccae2540012d196880071fed10003901162c..."} 
[2026-09-23 10:45:34] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccae2540012d196880071fed10003901162c..."} 
[2026-09-23 10:45:34] local.INFO: Packet analysis {"connection_id":190451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:45:34] local.INFO: Extracted packet for processing {"connection_id":190451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275926784001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140360000,"timestamp_ms":1790140360000,"timestamp_seconds":1790140360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccae2540"} 
[2026-09-23 10:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:45:34] 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-09-23 10:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275926784001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275926784001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:45:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275926784001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":190451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:45:34] local.INFO: GPS data processed {"connection_id":190451,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:45:34] local.INFO: Acknowledgment sent {"connection_id":190451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:45:37] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:37] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:45:37] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:45:37] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaf3a98012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaf3a98012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:45:37] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaf3a98012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:45:37] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:45:37] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275944960001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249842176,"note":"Value kept but may cause issues"} 
[2026-09-23 10:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140431000,"timestamp_ms":1790140431000,"timestamp_seconds":1790140431,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaf3a98"} 
[2026-09-23 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-09-23 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-09-23 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 10:45: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-09-23 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-09-23 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-09-23 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275944960001,"66":27995,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249842176},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275944960001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:45:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249842176,"description":"Unknown IO ID 45"} 
[2026-09-23 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275944960001,"power":27995,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249842176}} 
[2026-09-23 10:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:45:37] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:45:37] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:45:57] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:57] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:45:57] local.INFO: IMEI packet received {"connection_id":193142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":193142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:46:02] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:02] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:02] local.INFO: IMEI packet received {"connection_id":193142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":193142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:46:07] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccae7748012d196880071fed10003901162c..."} 
[2026-09-23 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccae7748012d196880071fed10003901162c..."} 
[2026-09-23 10:46:07] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccae7748012d196880071fed10003901162c..."} 
[2026-09-23 10:46:07] local.INFO: Packet analysis {"connection_id":193142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:46:07] local.INFO: Extracted packet for processing {"connection_id":193142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275932160001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790140381000,"timestamp_ms":1790140381000,"timestamp_seconds":1790140381,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccae7748"} 
[2026-09-23 10:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:46: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:46:07] 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-09-23 10: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-09-23 10:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275932160001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275932160001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275932160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":193142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:46:07] local.INFO: GPS data processed {"connection_id":193142,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:46:07] local.INFO: Acknowledgment sent {"connection_id":193142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:46:08] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaf8ca0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaf8ca0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:46:08] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaf8ca0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:46:08] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:46:08] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275950336001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249846272,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140452000,"timestamp_ms":1790140452000,"timestamp_seconds":1790140452,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaf8ca0"} 
[2026-09-23 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:46: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-09-23 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:46:08] 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-09-23 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275950336001,"66":27974,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249846272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275950336001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:46:08] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249846272,"description":"Unknown IO ID 45"} 
[2026-09-23 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275950336001,"power":27974,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249846272}} 
[2026-09-23 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:46:08] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:46:08] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:46:32] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:32] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:32] local.INFO: IMEI packet received {"connection_id":193143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":193143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:46:35] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:35] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:46:35] local.INFO: IMEI packet received {"connection_id":193143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":193143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:46:35] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccafdea8012d33ae4006aa1ad8000700ca2a..."} 
[2026-09-23 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccafdea8012d33ae4006aa1ad8000700ca2a..."} 
[2026-09-23 10:46:35] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccafdea8012d33ae4006aa1ad8000700ca2a..."} 
[2026-09-23 10:46:35] local.INFO: Packet analysis {"connection_id":193143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:46:35] local.INFO: Extracted packet for processing {"connection_id":193143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275955712001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249846272,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790140473000,"timestamp_ms":1790140473000,"timestamp_seconds":1790140473,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccafdea8"} 
[2026-09-23 10:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:46: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-09-23 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 10:46: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-09-23 10: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-09-23 10:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:46:35] 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-09-23 10:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275955712001,"66":27843,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249846272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275955712001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249846272,"description":"Unknown IO ID 45"} 
[2026-09-23 10:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275955712001,"power":27843,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249846272}} 
[2026-09-23 10:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":193143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:46:35] local.INFO: GPS data processed {"connection_id":193143,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:46:35] local.INFO: Acknowledgment sent {"connection_id":193143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:46:38] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaec950012d196880071fed10003901162b..."} 
[2026-09-23 10:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaec950012d196880071fed10003901162b..."} 
[2026-09-23 10:46:38] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaec950012d196880071fed10003901162b..."} 
[2026-09-23 10:46:38] local.INFO: Packet analysis {"connection_id":193142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:46:38] local.INFO: Extracted packet for processing {"connection_id":193142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccae"} 
[2026-09-23 10:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275937536001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140402000,"timestamp_ms":1790140402000,"timestamp_seconds":1790140402,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaec950"} 
[2026-09-23 10:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:46: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275937536001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275937536001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:46:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275937536001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":193142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:46:38] local.INFO: GPS data processed {"connection_id":193142,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:46:38] local.INFO: Acknowledgment sent {"connection_id":193142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:46:57] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:57] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:46:57] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:47:02] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:47:02] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:47:02] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:47:03] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaf1b58012d196880071fed10003901162a..."} 
[2026-09-23 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaf1b58012d196880071fed10003901162a..."} 
[2026-09-23 10:47:03] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaf1b58012d196880071fed10003901162a..."} 
[2026-09-23 10:47:03] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:47:03] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275942912001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140423000,"timestamp_ms":1790140423000,"timestamp_seconds":1790140423,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaf1b58"} 
[2026-09-23 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-09-23 10:47: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-09-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:47:03] 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-09-23 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-09-23 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-09-23 10:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275942912001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275942912001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275942912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:47:03] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:47:03] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:47:06] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb030b0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb030b0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:47:06] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb030b0012d33ae4006aa1ad8000700ca2b..."} 
[2026-09-23 10:47:06] local.INFO: Packet analysis {"connection_id":193143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:47:06] local.INFO: Extracted packet for processing {"connection_id":193143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275961088001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249846272,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790140494000,"timestamp_ms":1790140494000,"timestamp_seconds":1790140494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb030b0"} 
[2026-09-23 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-09-23 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-09-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 10:47: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-09-23 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-09-23 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-09-23 10:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:47:06] 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-09-23 10:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275961088001,"66":27832,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249846272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275961088001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249846272,"description":"Unknown IO ID 45"} 
[2026-09-23 10:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275961088001,"power":27832,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249846272}} 
[2026-09-23 10:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":193143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:47:06] local.INFO: GPS data processed {"connection_id":193143,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:47:06] local.INFO: Acknowledgment sent {"connection_id":193143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:47:25] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:47:25] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:47:25] local.INFO: IMEI packet received {"connection_id":190282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":190282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:47:32] local.INFO: TCP Data received {"connection_id":193144,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:32] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:32] local.INFO: IMEI packet received {"connection_id":193144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":193144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:47:34] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccaf6d60012d196880071fed10003901162c..."} 
[2026-09-23 10:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccaf6d60012d196880071fed10003901162c..."} 
[2026-09-23 10:47:34] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccaf6d60012d196880071fed10003901162c..."} 
[2026-09-23 10:47:34] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:47:34] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275948288001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140444000,"timestamp_ms":1790140444000,"timestamp_seconds":1790140444,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccaf6d60"} 
[2026-09-23 10:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:47: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:47:34] 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-09-23 10: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-09-23 10:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275948288001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275948288001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:47:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275948288001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:47:34] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:47:34] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:47:37] local.INFO: TCP Data received {"connection_id":193144,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:37] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:47:37] local.INFO: IMEI packet received {"connection_id":193144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":193144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:47:37] local.INFO: TCP Data received {"connection_id":193144,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb082b8012d33ae4006aa1ad8000700ca2e..."} 
[2026-09-23 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb082b8012d33ae4006aa1ad8000700ca2e..."} 
[2026-09-23 10:47:37] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb082b8012d33ae4006aa1ad8000700ca2e..."} 
[2026-09-23 10:47:37] local.INFO: Packet analysis {"connection_id":193144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:47:37] local.INFO: Extracted packet for processing {"connection_id":193144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275966464001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249846272,"note":"Value kept but may cause issues"} 
[2026-09-23 10:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140515000,"timestamp_ms":1790140515000,"timestamp_seconds":1790140515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb082b8"} 
[2026-09-23 10:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":184,"data_length":795,"current_offset":136} 
[2026-09-23 10:47: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-09-23 10: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-09-23 10:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275966464001,"66":27919,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249846272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275966464001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249846272,"description":"Unknown IO ID 45"} 
[2026-09-23 10:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275966464001,"power":27919,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249846272}} 
[2026-09-23 10:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":193144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:47:37] local.INFO: GPS data processed {"connection_id":193144,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:47:37] local.INFO: Acknowledgment sent {"connection_id":193144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:48:02] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:02] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:02] local.INFO: IMEI packet received {"connection_id":190283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:48:07] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:07] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:07] local.INFO: IMEI packet received {"connection_id":190283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":190283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:48:08] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccafbf68012d196880071fed10003901162b..."} 
[2026-09-23 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccafbf68012d196880071fed10003901162b..."} 
[2026-09-23 10:48:08] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccafbf68012d196880071fed10003901162b..."} 
[2026-09-23 10:48:08] local.INFO: Packet analysis {"connection_id":190283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:48:08] local.INFO: Extracted packet for processing {"connection_id":190283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccaf"} 
[2026-09-23 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275953664001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140465000,"timestamp_ms":1790140465000,"timestamp_seconds":1790140465,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccafbf68"} 
[2026-09-23 10:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:48:08] 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-09-23 10:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:48: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-09-23 10: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-09-23 10:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275953664001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275953664001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:48:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275953664001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":190283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:48:08] local.INFO: GPS data processed {"connection_id":190283,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:48:08] local.INFO: Acknowledgment sent {"connection_id":190283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:48:10] local.INFO: TCP Data received {"connection_id":193144,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb0d4c0012d33ae4006aa1ad8000700ca2f..."} 
[2026-09-23 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb0d4c0012d33ae4006aa1ad8000700ca2f..."} 
[2026-09-23 10:48:10] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb0d4c0012d33ae4006aa1ad8000700ca2f..."} 
[2026-09-23 10:48:10] local.INFO: Packet analysis {"connection_id":193144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:48:10] local.INFO: Extracted packet for processing {"connection_id":193144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758361664,"raw_latitude":111811288,"longitude_deg":75.8361664,"latitude_deg":11.1811288,"altitude":7,"angle":202,"satellites":47,"speed":0,"hex_longitude":"2d33ae40","hex_latitude":"06aa1ad8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275971840001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347676213313536,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339249846272,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790140536000,"timestamp_ms":1790140536000,"timestamp_seconds":1790140536,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb0d4c0"} 
[2026-09-23 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-09-23 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-09-23 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 10: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-09-23 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-09-23 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-09-23 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275971840001,"66":27908,"76":206,"81":23296,"24":0,"16":406347676213313536,"45":3723984339249846272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275971840001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347676213313536,"km_value":406347676213313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339249846272,"description":"Unknown IO ID 45"} 
[2026-09-23 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275971840001,"power":27908,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3723984339249846272}} 
[2026-09-23 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":193144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:48:10] local.INFO: GPS data processed {"connection_id":193144,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:48:10] local.INFO: Acknowledgment sent {"connection_id":193144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:48:10] local.INFO: TCP Data received {"connection_id":190453,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:48:10] local.INFO: Processing buffer {"connection_id":190453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:48:10] local.INFO: IMEI packet received {"connection_id":190453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":190453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:48:13] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb01170012d196880071fed10003901162b..."} 
[2026-09-23 10:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb01170012d196880071fed10003901162b..."} 
[2026-09-23 10:48:13] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb01170012d196880071fed10003901162b..."} 
[2026-09-23 10:48:13] local.INFO: Packet analysis {"connection_id":190283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:48:13] local.INFO: Extracted packet for processing {"connection_id":190283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275959040001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790140486000,"timestamp_ms":1790140486000,"timestamp_seconds":1790140486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb01170"} 
[2026-09-23 10:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:48: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-09-23 10:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275959040001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275959040001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275959040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":190283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:48:13] local.INFO: GPS data processed {"connection_id":190283,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:48:13] local.INFO: Acknowledgment sent {"connection_id":190283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:48:31] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:31] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:31] local.INFO: IMEI packet received {"connection_id":190454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":190454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:48:36] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:36] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:48:36] local.INFO: IMEI packet received {"connection_id":190454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":190454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:48:37] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb26b00012d33a9c006aa20a80007001d2f..."} 
[2026-09-23 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb26b00012d33a9c006aa20a80007001d2f..."} 
[2026-09-23 10:48:37] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb26b00012d33a9c006aa20a80007001d2f..."} 
[2026-09-23 10:48:37] local.INFO: Packet analysis {"connection_id":190454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:48:37] local.INFO: Extracted packet for processing {"connection_id":190454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758360512,"raw_latitude":111812776,"longitude_deg":75.8360512,"latitude_deg":11.1812776,"altitude":7,"angle":29,"satellites":47,"speed":2,"hex_longitude":"2d33a9c0","hex_latitude":"06aa20a8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276003328001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406347805062332416,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722647333110806528,"note":"Value kept but may cause issues"} 
[2026-09-23 10:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140640000,"timestamp_ms":1790140640000,"timestamp_seconds":1790140640,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb26b00"} 
[2026-09-23 10:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 10:48: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-09-23 10: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-09-23 10:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276003328001,"66":27865,"75":206,"81":23296,"24":2,"16":406347805062332416,"45":3722647333110806528},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-23 10:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276003328001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:48:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-23 10:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406347805062332416,"km_value":406347805062332.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722647333110806528,"description":"Unknown IO ID 45"} 
[2026-09-23 10:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276003328001,"power":27865,"unknown_75":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3722647333110806528}} 
[2026-09-23 10:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":190454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:48:37] local.INFO: GPS data processed {"connection_id":190454,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:48:37] local.INFO: Acknowledgment sent {"connection_id":190454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:48:54] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:54] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:54] local.INFO: IMEI packet received {"connection_id":190455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":190455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:48:57] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:57] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:48:57] local.INFO: IMEI packet received {"connection_id":190455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":190455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:49:02] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:02] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:02] local.INFO: IMEI packet received {"connection_id":190455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:49:03] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb06378012d196880071fed10003901162c..."} 
[2026-09-23 10:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb06378012d196880071fed10003901162c..."} 
[2026-09-23 10:49:03] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb06378012d196880071fed10003901162c..."} 
[2026-09-23 10:49:03] local.INFO: Packet analysis {"connection_id":190455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:49:03] local.INFO: Extracted packet for processing {"connection_id":190455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275964416001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140507000,"timestamp_ms":1790140507000,"timestamp_seconds":1790140507,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb06378"} 
[2026-09-23 10:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:49: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:49: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-09-23 10: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-09-23 10:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275964416001,"66":11928,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275964416001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275964416001,"power":11928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":190455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:49:03] local.INFO: GPS data processed {"connection_id":190455,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:49:03] local.INFO: Acknowledgment sent {"connection_id":190455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:49:10] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb2bd08012d33b50006aa32680009001530..."} 
[2026-09-23 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb2bd08012d33b50006aa32680009001530..."} 
[2026-09-23 10:49:10] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb2bd08012d33b50006aa32680009001530..."} 
[2026-09-23 10:49:10] local.INFO: Packet analysis {"connection_id":190454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:49:10] local.INFO: Extracted packet for processing {"connection_id":190454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758363392,"raw_latitude":111817320,"longitude_deg":75.8363392,"latitude_deg":11.181732,"altitude":9,"angle":21,"satellites":48,"speed":17,"hex_longitude":"2d33b500","hex_latitude":"06aa3268","is_valid_coordinates":true} 
[2026-09-23 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276003840001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406348071350304768,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722717701855029248,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790140661000,"timestamp_ms":1790140661000,"timestamp_seconds":1790140661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb2bd08"} 
[2026-09-23 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 10:49: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-09-23 10:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276003840001,"66":27919,"75":206,"81":23296,"24":17,"16":406348071350304768,"45":3722717701855029248},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-23 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276003840001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:49:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-23 10:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406348071350304768,"km_value":406348071350304.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722717701855029248,"description":"Unknown IO ID 45"} 
[2026-09-23 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276003840001,"power":27919,"unknown_75":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":3722717701855029248}} 
[2026-09-23 10:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":190454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:49:10] local.INFO: GPS data processed {"connection_id":190454,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:49:10] local.INFO: Acknowledgment sent {"connection_id":190454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:49:34] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb0b580012d196880071fed10003901162c..."} 
[2026-09-23 10:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb0b580012d196880071fed10003901162c..."} 
[2026-09-23 10:49:34] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb0b580012d196880071fed10003901162c..."} 
[2026-09-23 10:49:34] local.INFO: Packet analysis {"connection_id":190455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:49:34] local.INFO: Extracted packet for processing {"connection_id":190455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb0"} 
[2026-09-23 10:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275969792001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140528000,"timestamp_ms":1790140528000,"timestamp_seconds":1790140528,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb0b580"} 
[2026-09-23 10:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:49: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-09-23 10: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 10:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275969792001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275969792001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:49:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275969792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":190455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:49:34] local.INFO: GPS data processed {"connection_id":190455,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:49:34] local.INFO: Acknowledgment sent {"connection_id":190455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:49:42] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:42] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:42] local.INFO: IMEI packet received {"connection_id":193145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":193145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:49:47] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:47] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:49:47] local.INFO: IMEI packet received {"connection_id":193145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":193145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:49:48] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb2e030012d33bd4006aa4128000a002030..."} 
[2026-09-23 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb2e030012d33bd4006aa4128000a002030..."} 
[2026-09-23 10:49:48] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb2e030012d33bd4006aa4128000a002030..."} 
[2026-09-23 10:49:48] local.INFO: Packet analysis {"connection_id":193145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:49:48] local.INFO: Extracted packet for processing {"connection_id":193145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758365504,"raw_latitude":111821096,"longitude_deg":75.8365504,"latitude_deg":11.1821096,"altitude":10,"angle":32,"satellites":48,"speed":25,"hex_longitude":"2d33bd40","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-23 10:49: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-09-23 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276009216001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406348277508734976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725884295344187392,"note":"Value kept but may cause issues"} 
[2026-09-23 10:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790140670000,"timestamp_ms":1790140670000,"timestamp_seconds":1790140670,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb2e030"} 
[2026-09-23 10:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:49: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-09-23 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 10:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10:49: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-09-23 10:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:49:48] 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-09-23 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276009216001,"66":27908,"75":206,"81":23296,"24":25,"16":406348277508734976,"45":3725884295344187392},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-23 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276009216001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406348277508734976,"km_value":406348277508735.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725884295344187392,"description":"Unknown IO ID 45"} 
[2026-09-23 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276009216001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3725884295344187392}} 
[2026-09-23 10:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":193145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:49:48] local.INFO: GPS data processed {"connection_id":193145,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:49:48] local.INFO: Acknowledgment sent {"connection_id":193145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:49:57] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:57] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:57] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:49:58] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:58] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:49:58] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:50:02] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:02] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:02] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:50:03] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb10788012d196880071fed10003901162b..."} 
[2026-09-23 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb10788012d196880071fed10003901162b..."} 
[2026-09-23 10:50:03] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb10788012d196880071fed10003901162b..."} 
[2026-09-23 10:50:03] local.INFO: Packet analysis {"connection_id":190285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:50:03] local.INFO: Extracted packet for processing {"connection_id":190285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275975168001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140549000,"timestamp_ms":1790140549000,"timestamp_seconds":1790140549,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb10788"} 
[2026-09-23 10:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:50: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:50: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-09-23 10: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-09-23 10:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275975168001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275975168001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:50:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275975168001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":190285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:50:04] local.INFO: GPS data processed {"connection_id":190285,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:50:04] local.INFO: Acknowledgment sent {"connection_id":190285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:50:31] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:31] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:31] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:50:35] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb15990012d196880071fed10003901162b..."} 
[2026-09-23 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb15990012d196880071fed10003901162b..."} 
[2026-09-23 10:50:35] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb15990012d196880071fed10003901162b..."} 
[2026-09-23 10:50:35] local.INFO: Packet analysis {"connection_id":190285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:50:35] local.INFO: Extracted packet for processing {"connection_id":190285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275980544001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790140570000,"timestamp_ms":1790140570000,"timestamp_seconds":1790140570,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb15990"} 
[2026-09-23 10:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:50: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-09-23 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:50: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-09-23 10:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275980544001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275980544001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275980544001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":190285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:50:35] local.INFO: GPS data processed {"connection_id":190285,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:50:35] local.INFO: Acknowledgment sent {"connection_id":190285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:50:37] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:37] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:50:37] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:50:38] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb2ff70012d33c5c006aa4c880009002b30..."} 
[2026-09-23 10:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb2ff70012d33c5c006aa4c880009002b30..."} 
[2026-09-23 10:50:38] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb2ff70012d33c5c006aa4c880009002b30..."} 
[2026-09-23 10:50:38] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:50:38] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758367680,"raw_latitude":111824008,"longitude_deg":75.836768,"latitude_deg":11.1824008,"altitude":9,"angle":43,"satellites":48,"speed":18,"hex_longitude":"2d33c5c0","hex_latitude":"06aa4c88","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276011520001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406348453602394112,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728206463903016960,"note":"Value kept but may cause issues"} 
[2026-09-23 10:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140678000,"timestamp_ms":1790140678000,"timestamp_seconds":1790140678,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb2ff70"} 
[2026-09-23 10:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:50: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-09-23 10: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-09-23 10:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:50:38] 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-09-23 10:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276011520001,"66":27713,"75":206,"81":23296,"24":18,"16":406348453602394112,"45":3728206463903016960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-23 10:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276011520001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:50:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-23 10:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406348453602394112,"km_value":406348453602394.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728206463903016960,"description":"Unknown IO ID 45"} 
[2026-09-23 10:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276011520001,"power":27713,"unknown_75":206,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":3728206463903016960}} 
[2026-09-23 10:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:50:38] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:50:38] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:50:58] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:58] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:50:58] local.INFO: IMEI packet received {"connection_id":190456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":190456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:51:00] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:00] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:00] local.INFO: IMEI packet received {"connection_id":190456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":190456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:51:02] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:02] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:02] local.INFO: IMEI packet received {"connection_id":190456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:51:03] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb1ab98012d196880071fed10003901162a..."} 
[2026-09-23 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb1ab98012d196880071fed10003901162a..."} 
[2026-09-23 10:51:03] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb1ab98012d196880071fed10003901162a..."} 
[2026-09-23 10:51:03] local.INFO: Packet analysis {"connection_id":190456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:51:03] local.INFO: Extracted packet for processing {"connection_id":190456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275985920001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140591000,"timestamp_ms":1790140591000,"timestamp_seconds":1790140591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb1ab98"} 
[2026-09-23 10:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:51: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-09-23 10: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:51:03] 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-09-23 10: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-09-23 10:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275985920001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275985920001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:51:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275985920001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":190456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:51:03] local.INFO: GPS data processed {"connection_id":190456,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:51:03] local.INFO: Acknowledgment sent {"connection_id":190456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:51:07] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb1fda0012d196880071fed10003901162b..."} 
[2026-09-23 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb1fda0012d196880071fed10003901162b..."} 
[2026-09-23 10:51:07] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb1fda0012d196880071fed10003901162b..."} 
[2026-09-23 10:51:07] local.INFO: Packet analysis {"connection_id":190456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:51:07] local.INFO: Extracted packet for processing {"connection_id":190456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb1"} 
[2026-09-23 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275991296001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790140612000,"timestamp_ms":1790140612000,"timestamp_seconds":1790140612,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb1fda0"} 
[2026-09-23 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:51: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-09-23 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:51:07] 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-09-23 10:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275991296001,"66":11895,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275991296001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275991296001,"power":11895,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:51:08] local.INFO: GPS data processed {"connection_id":190456,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:51:08] local.INFO: Acknowledgment sent {"connection_id":190456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:51:10] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb4d818012d34c70006aa8298000a006b30..."} 
[2026-09-23 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb4d818012d34c70006aa8298000a006b30..."} 
[2026-09-23 10:51:10] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb4d818012d34c70006aa8298000a006b30..."} 
[2026-09-23 10:51:10] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb4"} 
[2026-09-23 10:51:10] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb4"} 
[2026-09-23 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111837848,"longitude_deg":75.8433536,"latitude_deg":11.1837848,"altitude":10,"angle":107,"satellites":48,"speed":43,"hex_longitude":"2d34c700","hex_latitude":"06aa8298","is_valid_coordinates":true} 
[2026-09-23 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276042240001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406351893871198208,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793016077295788032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790140799000,"timestamp_ms":1790140799000,"timestamp_seconds":1790140799,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb4d818"} 
[2026-09-23 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 10:51: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-09-23 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276042240001,"66":27800,"97":206,"81":23296,"24":43,"16":406351893871198208,"45":3793016077295788032},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276042240001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406351893871198208,"km_value":406351893871198.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793016077295788032,"description":"Unknown IO ID 45"} 
[2026-09-23 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276042240001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3793016077295788032}} 
[2026-09-23 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:51:10] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:51:10] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:51:31] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:31] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:31] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:51:33] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:33] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:33] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:51:37] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:37] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:51:37] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:51:39] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb24fa8012d196880071fed10003901162c..."} 
[2026-09-23 10:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb24fa8012d196880071fed10003901162c..."} 
[2026-09-23 10:51:39] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb24fa8012d196880071fed10003901162c..."} 
[2026-09-23 10:51:39] local.INFO: Packet analysis {"connection_id":190456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:51:39] local.INFO: Extracted packet for processing {"connection_id":190456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458275996672001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790140633000,"timestamp_ms":1790140633000,"timestamp_seconds":1790140633,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb24fa8"} 
[2026-09-23 10:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:51: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-09-23 10: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458275996672001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458275996672001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:51:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458275996672001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":190456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:51:39] local.INFO: GPS data processed {"connection_id":190456,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:51:39] local.INFO: Acknowledgment sent {"connection_id":190456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:51:40] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb4fb40012d34ec0006aa7570000a006d2f..."} 
[2026-09-23 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb4fb40012d34ec0006aa7570000a006d2f..."} 
[2026-09-23 10:51:40] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb4fb40012d34ec0006aa7570000a006d2f..."} 
[2026-09-23 10:51:40] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb4"} 
[2026-09-23 10:51:40] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb4"} 
[2026-09-23 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758443008,"raw_latitude":111834480,"longitude_deg":75.8443008,"latitude_deg":11.183448,"altitude":10,"angle":109,"satellites":47,"speed":44,"hex_longitude":"2d34ec00","hex_latitude":"06aa7570","is_valid_coordinates":true} 
[2026-09-23 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276044544001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406352374907535360,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438968162304,"note":"Value kept but may cause issues"} 
[2026-09-23 10:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790140808000,"timestamp_ms":1790140808000,"timestamp_seconds":1790140808,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb4fb40"} 
[2026-09-23 10:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 10:51: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-09-23 10:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:51:40] 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-09-23 10:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276044544001,"66":27865,"97":206,"81":23296,"24":44,"16":406352374907535360,"45":3803008438968162304},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276044544001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406352374907535360,"km_value":406352374907535.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438968162304,"description":"Unknown IO ID 45"} 
[2026-09-23 10:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276044544001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":3803008438968162304}} 
[2026-09-23 10:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:51:40] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:51:40] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:51:57] local.INFO: TCP Data received {"connection_id":193146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:57] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:51:57] local.INFO: IMEI packet received {"connection_id":193146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":193146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:52:02] local.INFO: TCP Data received {"connection_id":193146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:02] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:02] local.INFO: IMEI packet received {"connection_id":193146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":193146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:52:03] local.INFO: TCP Data received {"connection_id":193146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb2a1b0012d196880071fed10003901162b..."} 
[2026-09-23 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb2a1b0012d196880071fed10003901162b..."} 
[2026-09-23 10:52:03] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb2a1b0012d196880071fed10003901162b..."} 
[2026-09-23 10:52:03] local.INFO: Packet analysis {"connection_id":193146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:52:03] local.INFO: Extracted packet for processing {"connection_id":193146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276002048001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140654000,"timestamp_ms":1790140654000,"timestamp_seconds":1790140654,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb2a1b0"} 
[2026-09-23 10:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:52: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-09-23 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:52:03] 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-09-23 10:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276002048001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276002048001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:52:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276002048001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":193146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:52:03] local.INFO: GPS data processed {"connection_id":193146,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:52:03] local.INFO: Acknowledgment sent {"connection_id":193146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:52:11] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb52250012d350d4006aa68f0000a006d2e..."} 
[2026-09-23 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb52250012d350d4006aa68f0000a006d2e..."} 
[2026-09-23 10:52:11] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb52250012d350d4006aa68f0000a006d2e..."} 
[2026-09-23 10:52:11] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb5"} 
[2026-09-23 10:52:11] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb5"} 
[2026-09-23 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758451520,"raw_latitude":111831280,"longitude_deg":75.845152,"latitude_deg":11.183128,"altitude":10,"angle":109,"satellites":46,"speed":30,"hex_longitude":"2d350d40","hex_latitude":"06aa68f0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276046848001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406352808699232256,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813423013105594368,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790140818000,"timestamp_ms":1790140818000,"timestamp_seconds":1790140818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb52250"} 
[2026-09-23 10:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:52: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-09-23 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 10:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276046848001,"66":27930,"97":206,"81":23296,"24":30,"16":406352808699232256,"45":3813423013105594368},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 10:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276046848001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 10:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406352808699232256,"km_value":406352808699232.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813423013105594368,"description":"Unknown IO ID 45"} 
[2026-09-23 10:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276046848001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3813423013105594368}} 
[2026-09-23 10:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:52:11] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:52:11] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:52:31] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:31] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:31] local.INFO: IMEI packet received {"connection_id":191808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":191808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:52:34] local.INFO: TCP Data received {"connection_id":193146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb2f3b8012d196880071fed10003901162b..."} 
[2026-09-23 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb2f3b8012d196880071fed10003901162b..."} 
[2026-09-23 10:52:34] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb2f3b8012d196880071fed10003901162b..."} 
[2026-09-23 10:52:34] local.INFO: Packet analysis {"connection_id":193146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:52:34] local.INFO: Extracted packet for processing {"connection_id":193146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb2"} 
[2026-09-23 10:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276007424001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140675000,"timestamp_ms":1790140675000,"timestamp_seconds":1790140675,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb2f3b8"} 
[2026-09-23 10:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:52: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-09-23 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:52:34] 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-09-23 10:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276007424001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276007424001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:52:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276007424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":193146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:52:34] local.INFO: GPS data processed {"connection_id":193146,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:52:34] local.INFO: Acknowledgment sent {"connection_id":193146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:52:36] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:36] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:52:36] local.INFO: IMEI packet received {"connection_id":191808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":191808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:52:37] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb564b8012d352e0006aa59e8000a007230..."} 
[2026-09-23 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb564b8012d352e0006aa59e8000a007230..."} 
[2026-09-23 10:52:37] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb564b8012d352e0006aa59e8000a007230..."} 
[2026-09-23 10:52:37] local.INFO: Packet analysis {"connection_id":191808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb5"} 
[2026-09-23 10:52:37] local.INFO: Extracted packet for processing {"connection_id":191808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb5"} 
[2026-09-23 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758459904,"raw_latitude":111827432,"longitude_deg":75.8459904,"latitude_deg":11.1827432,"altitude":10,"angle":114,"satellites":48,"speed":28,"hex_longitude":"2d352e00","hex_latitude":"06aa59e8","is_valid_coordinates":true} 
[2026-09-23 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276049408001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406353251080863744,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822782056080404480,"note":"Value kept but may cause issues"} 
[2026-09-23 10:52:37] 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-09-23 10:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140835000,"timestamp_ms":1790140835000,"timestamp_seconds":1790140835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb564b8"} 
[2026-09-23 10:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 10:52: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-09-23 10:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276049408001,"66":27843,"78":206,"81":23296,"24":28,"16":406353251080863744,"45":3822782056080404480},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 10:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276049408001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:52:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 10:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406353251080863744,"km_value":406353251080863.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822782056080404480,"description":"Unknown IO ID 45"} 
[2026-09-23 10:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276049408001,"power":27843,"unknown_78":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3822782056080404480}} 
[2026-09-23 10:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":191808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:52:37] local.INFO: GPS data processed {"connection_id":191808,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:52:37] local.INFO: Acknowledgment sent {"connection_id":191808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:52:57] local.INFO: TCP Data received {"connection_id":190287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:57] local.INFO: Processing buffer {"connection_id":190287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:52:57] local.INFO: IMEI packet received {"connection_id":190287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":190287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:53:02] local.INFO: TCP Data received {"connection_id":190287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:53:02] local.INFO: Processing buffer {"connection_id":190287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:53:02] local.INFO: IMEI packet received {"connection_id":190287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":190287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:53:03] local.INFO: TCP Data received {"connection_id":190287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb345c0012d196880071fed10003901162b..."} 
[2026-09-23 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb345c0012d196880071fed10003901162b..."} 
[2026-09-23 10:53:03] local.INFO: Processing buffer {"connection_id":190287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb345c0012d196880071fed10003901162b..."} 
[2026-09-23 10:53:03] local.INFO: Packet analysis {"connection_id":190287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb3"} 
[2026-09-23 10:53:03] local.INFO: Extracted packet for processing {"connection_id":190287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb3"} 
[2026-09-23 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276012800001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790140696000,"timestamp_ms":1790140696000,"timestamp_seconds":1790140696,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb345c0"} 
[2026-09-23 10:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:53: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-09-23 10: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-09-23 10: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-09-23 10: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-09-23 10:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276012800001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276012800001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276012800001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":190287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:53:03] local.INFO: GPS data processed {"connection_id":190287,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:53:03] local.INFO: Acknowledgment sent {"connection_id":190287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:53:08] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb6dfa0012d36a54006a9c8a80009008331..."} 
[2026-09-23 10:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb6dfa0012d36a54006a9c8a80009008331..."} 
[2026-09-23 10:53:08] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb6dfa0012d36a54006a9c8a80009008331..."} 
[2026-09-23 10:53:08] local.INFO: Packet analysis {"connection_id":191808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb6"} 
[2026-09-23 10:53:08] local.INFO: Extracted packet for processing {"connection_id":191808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb6"} 
[2026-09-23 10:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758555968,"raw_latitude":111790248,"longitude_deg":75.8555968,"latitude_deg":11.1790248,"altitude":9,"angle":131,"satellites":49,"speed":45,"hex_longitude":"2d36a540","hex_latitude":"06a9c8a8","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276078080001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406358173113384960,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935653521731213312,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140932000,"timestamp_ms":1790140932000,"timestamp_seconds":1790140932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb6dfa0"} 
[2026-09-23 10:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:53: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-09-23 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 10:53: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-09-23 10: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-09-23 10:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:08] 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-09-23 10:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276078080001,"66":27908,"150":206,"81":23296,"24":45,"16":406358173113384960,"45":3935653521731213312},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,81,24,16,45]} 
[2026-09-23 10:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276078080001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:53:08] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-23 10:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406358173113384960,"km_value":406358173113384.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935653521731213312,"description":"Unknown IO ID 45"} 
[2026-09-23 10:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276078080001,"power":27908,"unknown_150":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":3935653521731213312}} 
[2026-09-23 10:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":191808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:53:08] local.INFO: GPS data processed {"connection_id":191808,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:53:08] local.INFO: Acknowledgment sent {"connection_id":191808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:53:30] local.INFO: TCP Data received {"connection_id":193148,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:53:30] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:53:30] local.INFO: IMEI packet received {"connection_id":193148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":193148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:53:31] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:31] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:31] local.INFO: IMEI packet received {"connection_id":190458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":190458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:53:34] local.INFO: TCP Data received {"connection_id":190287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb6cc18012d196880071fed10003901162b..."} 
[2026-09-23 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb6cc18012d196880071fed10003901162b..."} 
[2026-09-23 10:53:34] local.INFO: Processing buffer {"connection_id":190287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb6cc18012d196880071fed10003901162b..."} 
[2026-09-23 10:53:34] local.INFO: Packet analysis {"connection_id":190287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb6"} 
[2026-09-23 10:53:34] local.INFO: Extracted packet for processing {"connection_id":190287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb6"} 
[2026-09-23 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276071936001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790140927000,"timestamp_ms":1790140927000,"timestamp_seconds":1790140927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb6cc18"} 
[2026-09-23 10:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:53: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:53:34] 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-09-23 10: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-09-23 10:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276071936001,"66":12004,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276071936001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:53:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276071936001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":190287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:53:34] local.INFO: GPS data processed {"connection_id":190287,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:53:34] local.INFO: Acknowledgment sent {"connection_id":190287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:53:36] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: IMEI packet received {"connection_id":190458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":190458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:53:36] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:53:36] local.INFO: IMEI packet received {"connection_id":190458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":190458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:53:37] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb702c8012d36c04006a9b1380009007930..."} 
[2026-09-23 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb702c8012d36c04006a9b1380009007930..."} 
[2026-09-23 10:53:37] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb702c8012d36c04006a9b1380009007930..."} 
[2026-09-23 10:53:37] local.INFO: Packet analysis {"connection_id":190458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:53:37] local.INFO: Extracted packet for processing {"connection_id":190458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758562880,"raw_latitude":111784248,"longitude_deg":75.856288,"latitude_deg":11.1784248,"altitude":9,"angle":121,"satellites":48,"speed":34,"hex_longitude":"2d36c040","hex_latitude":"06a9b138","is_valid_coordinates":true} 
[2026-09-23 10:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276078592001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406358611200049152,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3937623846567847936,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790140941000,"timestamp_ms":1790140941000,"timestamp_seconds":1790140941,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb702c8"} 
[2026-09-23 10:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:53: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-09-23 10:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276078592001,"66":27887,"150":206,"81":23296,"24":34,"16":406358611200049152,"45":3937623846567847936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,81,24,16,45]} 
[2026-09-23 10:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276078592001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:53:37] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-23 10:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406358611200049152,"km_value":406358611200049.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3937623846567847936,"description":"Unknown IO ID 45"} 
[2026-09-23 10:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276078592001,"power":27887,"unknown_150":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3937623846567847936}} 
[2026-09-23 10:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":190458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:53:37] local.INFO: GPS data processed {"connection_id":190458,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:53:37] local.INFO: Acknowledgment sent {"connection_id":190458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:53:43] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb72208012d36d9c006a9a4d80009006d31..."} 
[2026-09-23 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb72208012d36d9c006a9a4d80009006d31..."} 
[2026-09-23 10:53:43] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb72208012d36d9c006a9a4d80009006d31..."} 
[2026-09-23 10:53:43] local.INFO: Packet analysis {"connection_id":190458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:53:43] local.INFO: Extracted packet for processing {"connection_id":190458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758569408,"raw_latitude":111781080,"longitude_deg":75.8569408,"latitude_deg":11.178108,"altitude":9,"angle":109,"satellites":49,"speed":38,"hex_longitude":"2d36d9c0","hex_latitude":"06a9a4d8","is_valid_coordinates":true} 
[2026-09-23 10:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276080896001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406358959092400128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945223670937499648,"note":"Value kept but may cause issues"} 
[2026-09-23 10:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790140949000,"timestamp_ms":1790140949000,"timestamp_seconds":1790140949,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb72208"} 
[2026-09-23 10:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:53: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-09-23 10:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 10:53:43] 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-09-23 10:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:53:43] 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-09-23 10:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276080896001,"66":27876,"76":206,"81":23296,"24":38,"16":406358959092400128,"45":3945223670937499648},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-23 10:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276080896001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:53:43] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-23 10:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406358959092400128,"km_value":406358959092400.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945223670937499648,"description":"Unknown IO ID 45"} 
[2026-09-23 10:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276080896001,"power":27876,"unknown_76":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3945223670937499648}} 
[2026-09-23 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":190458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:53:43] local.INFO: GPS data processed {"connection_id":190458,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:53:43] local.INFO: Acknowledgment sent {"connection_id":190458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:02] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:02] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:02] local.INFO: IMEI packet received {"connection_id":193149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":193149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:54:07] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:07] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:07] local.INFO: IMEI packet received {"connection_id":193149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":193149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:54:08] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb71e20012d196880071fed10003901162c..."} 
[2026-09-23 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb71e20012d196880071fed10003901162c..."} 
[2026-09-23 10:54:08] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb71e20012d196880071fed10003901162c..."} 
[2026-09-23 10:54:08] local.INFO: Packet analysis {"connection_id":193149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:08] local.INFO: Extracted packet for processing {"connection_id":193149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276077312001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790140948000,"timestamp_ms":1790140948000,"timestamp_seconds":1790140948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb71e20"} 
[2026-09-23 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-09-23 10:54:08] 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-09-23 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 10:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 10:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276077312001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276077312001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276077312001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:08] local.INFO: GPS data processed {"connection_id":193149,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:08] local.INFO: Acknowledgment sent {"connection_id":193149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:09] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb77028012d196880071fed10003901162c..."} 
[2026-09-23 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb77028012d196880071fed10003901162c..."} 
[2026-09-23 10:54:09] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb77028012d196880071fed10003901162c..."} 
[2026-09-23 10:54:09] local.INFO: Packet analysis {"connection_id":193149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:09] local.INFO: Extracted packet for processing {"connection_id":193149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276082688001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790140969000,"timestamp_ms":1790140969000,"timestamp_seconds":1790140969,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb77028"} 
[2026-09-23 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-09-23 10:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:54:09] 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-09-23 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-09-23 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-09-23 10:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276082688001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276082688001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276082688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":193149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:09] local.INFO: GPS data processed {"connection_id":193149,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:09] local.INFO: Acknowledgment sent {"connection_id":193149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:13] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:54:13] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:54:13] local.INFO: IMEI packet received {"connection_id":190459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":190459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:54:15] local.INFO: TCP Data received {"connection_id":190458,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb74530012d36fe8006a99b480008006331..."} 
[2026-09-23 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb74530012d36fe8006a99b480008006331..."} 
[2026-09-23 10:54:15] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb74530012d36fe8006a99b480008006331..."} 
[2026-09-23 10:54:15] local.INFO: Packet analysis {"connection_id":190458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:15] local.INFO: Extracted packet for processing {"connection_id":190458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758578816,"raw_latitude":111778632,"longitude_deg":75.8578816,"latitude_deg":11.1778632,"altitude":8,"angle":99,"satellites":49,"speed":43,"hex_longitude":"2d36fe80","hex_latitude":"06a99b48","is_valid_coordinates":true} 
[2026-09-23 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276082944001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406359422948868096,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3952401282842810368,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790140958000,"timestamp_ms":1790140958000,"timestamp_seconds":1790140958,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb74530"} 
[2026-09-23 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:54: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-09-23 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 10:54: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-09-23 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:15] 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-09-23 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276082944001,"66":27908,"51":206,"81":23296,"24":43,"16":406359422948868096,"45":3952401282842810368},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276082944001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:15] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406359422948868096,"km_value":406359422948868.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3952401282842810368,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276082944001,"power":27908,"unknown_51":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3952401282842810368}} 
[2026-09-23 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":190458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:15] local.INFO: GPS data processed {"connection_id":190458,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:15] local.INFO: Acknowledgment sent {"connection_id":190458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:37] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:37] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:37] local.INFO: IMEI packet received {"connection_id":193150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":193150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:54:41] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c230012d196880071fed10003901162a..."} 
[2026-09-23 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c230012d196880071fed10003901162a..."} 
[2026-09-23 10:54:41] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c230012d196880071fed10003901162a..."} 
[2026-09-23 10:54:41] local.INFO: Packet analysis {"connection_id":193149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:41] local.INFO: Extracted packet for processing {"connection_id":193149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276088064001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790140990000,"timestamp_ms":1790140990000,"timestamp_seconds":1790140990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c230"} 
[2026-09-23 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-09-23 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:54:41] 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-09-23 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-09-23 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-09-23 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276088064001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276088064001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276088064001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":193149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:41] local.INFO: GPS data processed {"connection_id":193149,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:41] local.INFO: Acknowledgment sent {"connection_id":193149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:42] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:42] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:54:42] local.INFO: IMEI packet received {"connection_id":193150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":193150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:54:44] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb76858012d3724c006a994a00008006230..."} 
[2026-09-23 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb76858012d3724c006a994a00008006230..."} 
[2026-09-23 10:54:44] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb76858012d3724c006a994a00008006230..."} 
[2026-09-23 10:54:44] local.INFO: Packet analysis {"connection_id":193150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:44] local.INFO: Extracted packet for processing {"connection_id":193150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758588608,"raw_latitude":111776928,"longitude_deg":75.8588608,"latitude_deg":11.1776928,"altitude":8,"angle":98,"satellites":48,"speed":34,"hex_longitude":"2d3724c0","hex_latitude":"06a994a0","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406359895395270656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3962745488236300288,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790140967000,"timestamp_ms":1790140967000,"timestamp_seconds":1790140967,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb76858"} 
[2026-09-23 10:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:54: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-09-23 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 10:54: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-09-23 10: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-09-23 10:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:44] 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-09-23 10:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276085248001,"66":27995,"51":206,"81":23296,"24":34,"16":406359895395270656,"45":3962745488236300288},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:44] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406359895395270656,"km_value":406359895395270.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3962745488236300288,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276085248001,"power":27995,"unknown_51":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3962745488236300288}} 
[2026-09-23 10:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":193150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:44] local.INFO: GPS data processed {"connection_id":193150,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:44] local.INFO: Acknowledgment sent {"connection_id":193150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:47] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb79350012d37490006a98d28000a00632f..."} 
[2026-09-23 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb79350012d37490006a98d28000a00632f..."} 
[2026-09-23 10:54:47] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb79350012d37490006a98d28000a00632f..."} 
[2026-09-23 10:54:47] local.INFO: Packet analysis {"connection_id":193150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:47] local.INFO: Extracted packet for processing {"connection_id":193150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758597888,"raw_latitude":111775016,"longitude_deg":75.8597888,"latitude_deg":11.1775016,"altitude":10,"angle":99,"satellites":47,"speed":34,"hex_longitude":"2d374900","hex_latitude":"06a98d28","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276087552001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360346366836736,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3973511906095046656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790140978000,"timestamp_ms":1790140978000,"timestamp_seconds":1790140978,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb79350"} 
[2026-09-23 10:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:54: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-09-23 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:54:47] 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-09-23 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276087552001,"66":28006,"51":206,"81":23296,"24":34,"16":406360346366836736,"45":3973511906095046656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276087552001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:54:47] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360346366836736,"km_value":406360346366836.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3973511906095046656,"description":"Unknown IO ID 45"} 
[2026-09-23 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276087552001,"power":28006,"unknown_51":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3973511906095046656}} 
[2026-09-23 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":193150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:54:47] local.INFO: GPS data processed {"connection_id":193150,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:54:47] local.INFO: Acknowledgment sent {"connection_id":193150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:54:57] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:57] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:54:57] local.INFO: IMEI packet received {"connection_id":190289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":190289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:55:02] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:02] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:02] local.INFO: IMEI packet received {"connection_id":190289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":190289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:55:03] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb81438012d196880071fed10003901162b..."} 
[2026-09-23 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb81438012d196880071fed10003901162b..."} 
[2026-09-23 10:55:03] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb81438012d196880071fed10003901162b..."} 
[2026-09-23 10:55:03] local.INFO: Packet analysis {"connection_id":190289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:55:03] local.INFO: Extracted packet for processing {"connection_id":190289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093440001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141011000,"timestamp_ms":1790141011000,"timestamp_seconds":1790141011,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb81438"} 
[2026-09-23 10:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:55: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-09-23 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:55:03] 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-09-23 10:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093440001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093440001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093440001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":190289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:55:03] local.INFO: GPS data processed {"connection_id":190289,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:55:03] local.INFO: Acknowledgment sent {"connection_id":190289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:55:32] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:32] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:32] local.INFO: IMEI packet received {"connection_id":193152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":193152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:55:34] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb86640012d196880071fed10003901162b..."} 
[2026-09-23 10:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb86640012d196880071fed10003901162b..."} 
[2026-09-23 10:55:34] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb86640012d196880071fed10003901162b..."} 
[2026-09-23 10:55:34] local.INFO: Packet analysis {"connection_id":190289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:55:34] local.INFO: Extracted packet for processing {"connection_id":190289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276098816001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141032000,"timestamp_ms":1790141032000,"timestamp_seconds":1790141032,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb86640"} 
[2026-09-23 10:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:55: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-09-23 10:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:55:34] 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-09-23 10:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276098816001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276098816001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:55:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276098816001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":190289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:55:34] local.INFO: GPS data processed {"connection_id":190289,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:55:34] local.INFO: Acknowledgment sent {"connection_id":190289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:55:37] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:37] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:55:37] local.INFO: IMEI packet received {"connection_id":193152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":193152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:55:38] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:55:38] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:55:38] local.INFO: Packet analysis {"connection_id":193152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:55:38] local.INFO: Extracted packet for processing {"connection_id":193152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758607104,"raw_latitude":111774224,"longitude_deg":75.8607104,"latitude_deg":11.1774224,"altitude":12,"angle":88,"satellites":50,"speed":36,"hex_longitude":"2d376d00","hex_latitude":"06a98a10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276090368001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360788748468224,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3983715374000318464,"note":"Value kept but may cause issues"} 
[2026-09-23 10:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140988000,"timestamp_ms":1790140988000,"timestamp_seconds":1790140988,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7ba60"} 
[2026-09-23 10:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 10:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:55: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-09-23 10:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276090368001,"66":27767,"51":206,"81":23296,"24":36,"16":406360788748468224,"45":3983715374000318464},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276090368001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:55:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360788748468224,"km_value":406360788748468.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3983715374000318464,"description":"Unknown IO ID 45"} 
[2026-09-23 10:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276090368001,"power":27767,"unknown_51":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3983715374000318464}} 
[2026-09-23 10:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":193152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:55:38] local.INFO: GPS data processed {"connection_id":193152,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:55:38] local.INFO: Acknowledgment sent {"connection_id":193152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:55:54] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:54] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:54] local.INFO: IMEI packet received {"connection_id":193153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":193153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:55:57] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:57] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:55:57] local.INFO: IMEI packet received {"connection_id":193153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":193153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:56:02] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:02] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:02] local.INFO: IMEI packet received {"connection_id":193153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":193153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:56:03] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb8b848012d196880071fed100039011629..."} 
[2026-09-23 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb8b848012d196880071fed100039011629..."} 
[2026-09-23 10:56:03] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb8b848012d196880071fed100039011629..."} 
[2026-09-23 10:56:03] local.INFO: Packet analysis {"connection_id":193153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:56:03] local.INFO: Extracted packet for processing {"connection_id":193153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb8"} 
[2026-09-23 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276104192001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141053000,"timestamp_ms":1790141053000,"timestamp_seconds":1790141053,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb8b848"} 
[2026-09-23 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-09-23 10:56: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-09-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 10:56:03] 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-09-23 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-09-23 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-09-23 10:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276104192001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276104192001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:56:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276104192001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":193153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:56:03] local.INFO: GPS data processed {"connection_id":193153,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:56:03] local.INFO: Acknowledgment sent {"connection_id":193153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:56:09] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:56:09] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7ba60012d376d0006a98a10000c005832..."} 
[2026-09-23 10:56:09] local.INFO: Packet analysis {"connection_id":193152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:56:09] local.INFO: Extracted packet for processing {"connection_id":193152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758607104,"raw_latitude":111774224,"longitude_deg":75.8607104,"latitude_deg":11.1774224,"altitude":12,"angle":88,"satellites":50,"speed":36,"hex_longitude":"2d376d00","hex_latitude":"06a98a10","is_valid_coordinates":true} 
[2026-09-23 10:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360788748468224,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790140988000,"timestamp_ms":1790140988000,"timestamp_seconds":1790140988,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7ba60"} 
[2026-09-23 10:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:56: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-09-23 10:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27767,"51":206,"81":23296,"24":36,"16":406360788748468224,"45":3993848473161699328},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:56:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360788748468224,"km_value":406360788748468.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27767,"unknown_51":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":193152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:56:09] local.INFO: GPS data processed {"connection_id":193152,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:56:09] local.INFO: Acknowledgment sent {"connection_id":193152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:56:32] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:32] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:32] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:56:34] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb90a50012d196880071fed10003901162b..."} 
[2026-09-23 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb90a50012d196880071fed10003901162b..."} 
[2026-09-23 10:56:34] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb90a50012d196880071fed10003901162b..."} 
[2026-09-23 10:56:34] local.INFO: Packet analysis {"connection_id":193153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:56:34] local.INFO: Extracted packet for processing {"connection_id":193153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276109568001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141074000,"timestamp_ms":1790141074000,"timestamp_seconds":1790141074,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb90a50"} 
[2026-09-23 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-09-23 10:56: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-09-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 10:56:34] 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-09-23 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-09-23 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-09-23 10:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276109568001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276109568001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276109568001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":193153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:56:34] local.INFO: GPS data processed {"connection_id":193153,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:56:34] local.INFO: Acknowledgment sent {"connection_id":193153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:56:37] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:37] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:56:37] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:56:38] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:56:38] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:56:38] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:56:38] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774368,"longitude_deg":75.8609472,"latitude_deg":11.1774368,"altitude":12,"angle":87,"satellites":50,"speed":27,"hex_longitude":"2d377640","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-09-23 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 10:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140991000,"timestamp_ms":1790140991000,"timestamp_seconds":1790140991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c618"} 
[2026-09-23 10:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:56: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-09-23 10:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:56: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-09-23 10:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27876,"51":206,"81":23296,"24":27,"16":406360900417617920,"45":3993848473161699328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:56:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27876,"unknown_51":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:56:38] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:56:38] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:56:57] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:57] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:57] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:56:58] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:58] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:56:58] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:57:02] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:02] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:02] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:57:03] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb95c58012d196880071fed10003901162a..."} 
[2026-09-23 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb95c58012d196880071fed10003901162a..."} 
[2026-09-23 10:57:03] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb95c58012d196880071fed10003901162a..."} 
[2026-09-23 10:57:03] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:57:03] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276114944001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141095000,"timestamp_ms":1790141095000,"timestamp_seconds":1790141095,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb95c58"} 
[2026-09-23 10:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:57: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:57: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-09-23 10: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-09-23 10:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276114944001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276114944001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276114944001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:57:03] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:57:03] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:57:09] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:09] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:09] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:57:09] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774368,"longitude_deg":75.8609472,"latitude_deg":11.1774368,"altitude":12,"angle":87,"satellites":50,"speed":27,"hex_longitude":"2d377640","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-09-23 10:57: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-09-23 10:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790140991000,"timestamp_ms":1790140991000,"timestamp_seconds":1790140991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c618"} 
[2026-09-23 10:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:57: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-09-23 10:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 10:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:57: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-09-23 10:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27876,"51":206,"81":23296,"24":27,"16":406360900417617920,"45":3993848473161699328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:57:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27876,"unknown_51":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:57:09] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:57:09] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:57:31] local.INFO: TCP Data received {"connection_id":193154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:31] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:31] local.INFO: IMEI packet received {"connection_id":193154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":193154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:57:35] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb9ae60012d196880071fed10003901162a..."} 
[2026-09-23 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb9ae60012d196880071fed10003901162a..."} 
[2026-09-23 10:57:35] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb9ae60012d196880071fed10003901162a..."} 
[2026-09-23 10:57:35] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:57:35] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb9"} 
[2026-09-23 10:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276120320001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790141116000,"timestamp_ms":1790141116000,"timestamp_seconds":1790141116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb9ae60"} 
[2026-09-23 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-09-23 10:57: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-09-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3695451846426683032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465702,"corrected_to":0} 
[2026-09-23 10:57:35] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3088332801,"corrected_to":0} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,10,45,128,237,57,43,66,184,41,1,240,200,227,204,31,4,113,205,194,104,42,239,47,2,80,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":200,"original":13465702,"validated":0},{"io_id":204,"original":3088332801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 10:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588704783040512,"timestamp_seconds":4107588704783040.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 10:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276120320001,"66":12113,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276120320001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276120320001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:57:35] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:57:35] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:57:37] local.INFO: TCP Data received {"connection_id":193154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:37] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:57:37] local.INFO: IMEI packet received {"connection_id":193154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":193154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:57:38] local.INFO: TCP Data received {"connection_id":193154,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:38] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:57:38] local.INFO: Packet analysis {"connection_id":193154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:57:38] local.INFO: Extracted packet for processing {"connection_id":193154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774368,"longitude_deg":75.8609472,"latitude_deg":11.1774368,"altitude":12,"angle":87,"satellites":50,"speed":27,"hex_longitude":"2d377640","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-09-23 10:57: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-09-23 10:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140991000,"timestamp_ms":1790140991000,"timestamp_seconds":1790140991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c618"} 
[2026-09-23 10:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10: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-09-23 10: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:57: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-09-23 10: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-09-23 10:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:57: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-09-23 10:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27876,"51":206,"81":23296,"24":27,"16":406360900417617920,"45":3993848473161699328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:57:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27876,"unknown_51":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":193154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:57:38] local.INFO: GPS data processed {"connection_id":193154,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:57:38] local.INFO: Acknowledgment sent {"connection_id":193154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:57:57] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:57] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:57:57] local.INFO: IMEI packet received {"connection_id":193155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":193155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:58:00] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:00] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:00] local.INFO: IMEI packet received {"connection_id":193155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":193155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:58:02] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:02] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:02] local.INFO: IMEI packet received {"connection_id":193155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":193155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:58:03] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccba0068012d196880071fed10003901162c..."} 
[2026-09-23 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccba0068012d196880071fed10003901162c..."} 
[2026-09-23 10:58:03] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccba0068012d196880071fed10003901162c..."} 
[2026-09-23 10:58:03] local.INFO: Packet analysis {"connection_id":193155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:03] local.INFO: Extracted packet for processing {"connection_id":193155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276125696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141137000,"timestamp_ms":1790141137000,"timestamp_seconds":1790141137,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccba0068"} 
[2026-09-23 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-09-23 10:58: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-09-23 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 10:58:03] 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-09-23 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-09-23 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-09-23 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276125696001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276125696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276125696001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":193155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:58:03] local.INFO: GPS data processed {"connection_id":193155,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:58:03] local.INFO: Acknowledgment sent {"connection_id":193155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:58:07] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccba5270012d196880071fed10003901162c..."} 
[2026-09-23 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccba5270012d196880071fed10003901162c..."} 
[2026-09-23 10:58:07] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccba5270012d196880071fed10003901162c..."} 
[2026-09-23 10:58:07] local.INFO: Packet analysis {"connection_id":193155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:07] local.INFO: Extracted packet for processing {"connection_id":193155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276131072001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790141158000,"timestamp_ms":1790141158000,"timestamp_seconds":1790141158,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccba5270"} 
[2026-09-23 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:58: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-09-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3695271457800251032,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78297322525556736,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3099084801,"corrected_to":0} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,174,45,128,237,57,42,10,66,92,1,240,255,227,204,31,4,113,205,104,43,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3099084801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 10:58:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276131072001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276131072001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276131072001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":193155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:58:08] local.INFO: GPS data processed {"connection_id":193155,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:58:08] local.INFO: Acknowledgment sent {"connection_id":193155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:58:09] local.INFO: TCP Data received {"connection_id":193154,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:09] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:09] local.INFO: Packet analysis {"connection_id":193154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:58:09] local.INFO: Extracted packet for processing {"connection_id":193154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774368,"longitude_deg":75.8609472,"latitude_deg":11.1774368,"altitude":12,"angle":87,"satellites":50,"speed":27,"hex_longitude":"2d377640","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-09-23 10:58: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-09-23 10:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790140991000,"timestamp_ms":1790140991000,"timestamp_seconds":1790140991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c618"} 
[2026-09-23 10:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:58: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-09-23 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:58: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-09-23 10: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-09-23 10:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:58: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-09-23 10:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27876,"51":206,"81":23296,"24":27,"16":406360900417617920,"45":3993848473161699328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:58:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27876,"unknown_51":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":193154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:58:09] local.INFO: GPS data processed {"connection_id":193154,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:58:09] local.INFO: Acknowledgment sent {"connection_id":193154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:58:31] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:31] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:31] local.INFO: IMEI packet received {"connection_id":190293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":190293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:58:37] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:37] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:58:37] local.INFO: IMEI packet received {"connection_id":190293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":190293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:58:38] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:38] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccb7c618012d37764006a98aa0000c005732..."} 
[2026-09-23 10:58:38] local.INFO: Packet analysis {"connection_id":190293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:58:38] local.INFO: Extracted packet for processing {"connection_id":190293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccb7"} 
[2026-09-23 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774368,"longitude_deg":75.8609472,"latitude_deg":11.1774368,"altitude":12,"angle":87,"satellites":50,"speed":27,"hex_longitude":"2d377640","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-09-23 10:58: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-09-23 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276092928001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993848473161699328,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790140991000,"timestamp_ms":1790140991000,"timestamp_seconds":1790140991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccb7c618"} 
[2026-09-23 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:58: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-09-23 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 10:58: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-09-23 10: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-09-23 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:58: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-09-23 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276092928001,"66":27876,"51":206,"81":23296,"24":27,"16":406360900417617920,"45":3993848473161699328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276092928001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:58:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 10:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993848473161699328,"description":"Unknown IO ID 45"} 
[2026-09-23 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276092928001,"power":27876,"unknown_51":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3993848473161699328}} 
[2026-09-23 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":190293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:58:38] local.INFO: GPS data processed {"connection_id":190293,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:58:38] local.INFO: Acknowledgment sent {"connection_id":190293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:58:39] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbaa478012d196880071fed10003901162b..."} 
[2026-09-23 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbaa478012d196880071fed10003901162b..."} 
[2026-09-23 10:58:39] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbaa478012d196880071fed10003901162b..."} 
[2026-09-23 10:58:39] local.INFO: Packet analysis {"connection_id":193155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:39] local.INFO: Extracted packet for processing {"connection_id":193155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276136448001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790141179000,"timestamp_ms":1790141179000,"timestamp_seconds":1790141179,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbaa478"} 
[2026-09-23 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 10: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-09-23 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276136448001,"66":11961,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276136448001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276136448001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":193155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:58:39] local.INFO: GPS data processed {"connection_id":193155,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:58:39] local.INFO: Acknowledgment sent {"connection_id":193155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:58:57] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:57] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:58:57] local.INFO: IMEI packet received {"connection_id":193156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 10:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":193156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:59:02] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:59:02] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 10:59:02] local.INFO: IMEI packet received {"connection_id":193156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 10:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":193156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:59:03] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbaf680012d196880071fed10003901162c..."} 
[2026-09-23 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbaf680012d196880071fed10003901162c..."} 
[2026-09-23 10:59:03] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbaf680012d196880071fed10003901162c..."} 
[2026-09-23 10:59:03] local.INFO: Packet analysis {"connection_id":193156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:59:03] local.INFO: Extracted packet for processing {"connection_id":193156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccba"} 
[2026-09-23 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276141824001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141200000,"timestamp_ms":1790141200000,"timestamp_seconds":1790141200,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbaf680"} 
[2026-09-23 10:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:59: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-09-23 10: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 10:59:03] 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-09-23 10: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-09-23 10:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276141824001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276141824001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:59:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276141824001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":193156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:59:03] local.INFO: GPS data processed {"connection_id":193156,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:59:03] local.INFO: Acknowledgment sent {"connection_id":193156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:59:09] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:09] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:09] local.INFO: Packet analysis {"connection_id":190293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 10:59:09] local.INFO: Extracted packet for processing {"connection_id":190293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 10:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:59: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-09-23 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 10:59: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-09-23 10: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-09-23 10:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:59:09] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 10:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:59:09] local.INFO: GPS data processed {"connection_id":190293,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:59:09] local.INFO: Acknowledgment sent {"connection_id":190293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:59:31] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:31] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:31] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 10:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:59:34] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbb4888012d196880071fed10003901162d..."} 
[2026-09-23 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbb4888012d196880071fed10003901162d..."} 
[2026-09-23 10:59:34] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbb4888012d196880071fed10003901162d..."} 
[2026-09-23 10:59:34] local.INFO: Packet analysis {"connection_id":193156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 10:59:34] local.INFO: Extracted packet for processing {"connection_id":193156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 10:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276147200001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141221000,"timestamp_ms":1790141221000,"timestamp_seconds":1790141221,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbb4888"} 
[2026-09-23 10:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:59: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-09-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 10:59:34] 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-09-23 10: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-09-23 10:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 10:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 10:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 10:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276147200001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 10:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 10:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 10:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276147200001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 10:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 10:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 10:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276147200001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 10:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":193156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:59:34] local.INFO: GPS data processed {"connection_id":193156,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:59:34] local.INFO: Acknowledgment sent {"connection_id":193156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 10:59:35] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:59:35] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 10:59:35] local.INFO: IMEI packet received {"connection_id":191810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 10:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":191810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 10:59:37] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:37] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 10:59:37] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 10:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 10:59:38] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:38] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 10:59:38] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 10:59:38] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 10:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 10: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-09-23 10:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 10:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 10:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 10:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 10:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 10:59: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-09-23 10: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-09-23 10:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 10:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 10:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 10:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 10:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 10:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 10:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 10:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 10:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 10:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 10:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 10:59:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 10:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 10:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 10:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 10:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 10:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 10:59:38] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-23 10:59:38] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:02] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:02] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:02] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:00:06] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:06] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:06] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:00:07] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbb9a90012d196880071fed10003901162d..."} 
[2026-09-23 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbb9a90012d196880071fed10003901162d..."} 
[2026-09-23 11:00:07] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbb9a90012d196880071fed10003901162d..."} 
[2026-09-23 11:00:07] local.INFO: Packet analysis {"connection_id":190461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 11:00:07] local.INFO: Extracted packet for processing {"connection_id":190461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276152576001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790141242000,"timestamp_ms":1790141242000,"timestamp_seconds":1790141242,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbb9a90"} 
[2026-09-23 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:00:07] 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-09-23 11: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-09-23 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276152576001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276152576001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276152576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":190461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:07] local.INFO: GPS data processed {"connection_id":190461,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:07] local.INFO: Acknowledgment sent {"connection_id":190461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:08] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbbec98012d196880071fed10003901162c..."} 
[2026-09-23 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbbec98012d196880071fed10003901162c..."} 
[2026-09-23 11:00:08] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbbec98012d196880071fed10003901162c..."} 
[2026-09-23 11:00:08] local.INFO: Packet analysis {"connection_id":190461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 11:00:08] local.INFO: Extracted packet for processing {"connection_id":190461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbb"} 
[2026-09-23 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276157952001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790141263000,"timestamp_ms":1790141263000,"timestamp_seconds":1790141263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbbec98"} 
[2026-09-23 11:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:00: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-09-23 11:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276157952001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276157952001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276157952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":190461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:08] local.INFO: GPS data processed {"connection_id":190461,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:08] local.INFO: Acknowledgment sent {"connection_id":190461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:09] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:09] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:09] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:09] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 11:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00: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-09-23 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:00: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-09-23 11: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-09-23 11:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00: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-09-23 11:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:09] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 11:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:09] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:09] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:10] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:10] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:10] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:00:15] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:15] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:15] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:00:20] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:20] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:00:20] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 11:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:00:37] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:37] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:37] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:00:39] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc3ea0012d196880071fed10003901162d..."} 
[2026-09-23 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc3ea0012d196880071fed10003901162d..."} 
[2026-09-23 11:00:39] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc3ea0012d196880071fed10003901162d..."} 
[2026-09-23 11:00:39] local.INFO: Packet analysis {"connection_id":190461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:39] local.INFO: Extracted packet for processing {"connection_id":190461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276163328001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790141284000,"timestamp_ms":1790141284000,"timestamp_seconds":1790141284,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc3ea0"} 
[2026-09-23 11:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276163328001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276163328001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276163328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":190461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:39] local.INFO: GPS data processed {"connection_id":190461,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:39] local.INFO: Acknowledgment sent {"connection_id":190461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:42] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:42] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:00:42] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:00:43] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:43] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:43] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:43] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 11:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00: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-09-23 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:43] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 11:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:43] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:43] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:48] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:48] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:00:48] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:48] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 11:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:00:48] 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-09-23 11:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:00:48] 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-09-23 11:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 11:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:00:48] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:00:48] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:00:57] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:57] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:00:57] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:01:02] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:02] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:02] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:01:03] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc90a8012d196880071fed10003901162d..."} 
[2026-09-23 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc90a8012d196880071fed10003901162d..."} 
[2026-09-23 11:01:03] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc90a8012d196880071fed10003901162d..."} 
[2026-09-23 11:01:03] local.INFO: Packet analysis {"connection_id":190463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:03] local.INFO: Extracted packet for processing {"connection_id":190463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276168704001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141305000,"timestamp_ms":1790141305000,"timestamp_seconds":1790141305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc90a8"} 
[2026-09-23 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:01: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:01: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-09-23 11: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-09-23 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276168704001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276168704001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276168704001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":190463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:01:03] local.INFO: GPS data processed {"connection_id":190463,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:01:03] local.INFO: Acknowledgment sent {"connection_id":190463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:01:32] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:32] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:32] local.INFO: IMEI packet received {"connection_id":190465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":190465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:01:34] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbce2b0012d196880071fed10003901162c..."} 
[2026-09-23 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbce2b0012d196880071fed10003901162c..."} 
[2026-09-23 11:01:34] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbce2b0012d196880071fed10003901162c..."} 
[2026-09-23 11:01:34] local.INFO: Packet analysis {"connection_id":190463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:34] local.INFO: Extracted packet for processing {"connection_id":190463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276174080001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141326000,"timestamp_ms":1790141326000,"timestamp_seconds":1790141326,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbce2b0"} 
[2026-09-23 11:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:01: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:01:34] 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-09-23 11: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-09-23 11:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276174080001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276174080001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276174080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":190463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:01:34] local.INFO: GPS data processed {"connection_id":190463,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:01:34] local.INFO: Acknowledgment sent {"connection_id":190463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:01:37] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:37] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:01:37] local.INFO: IMEI packet received {"connection_id":190465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":190465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:01:38] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:01:38] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbc6998012d378a4006a98e90000a005332..."} 
[2026-09-23 11:01:38] local.INFO: Packet analysis {"connection_id":190465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:38] local.INFO: Extracted packet for processing {"connection_id":190465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbc"} 
[2026-09-23 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276093696001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696309760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141295000,"timestamp_ms":1790141295000,"timestamp_seconds":1790141295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbc6998"} 
[2026-09-23 11:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:01: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-09-23 11: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-09-23 11:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:01: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-09-23 11:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276093696001,"66":26571,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":3996452116696309760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276093696001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:01:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696309760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276093696001,"power":26571,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3996452116696309760}} 
[2026-09-23 11:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":190465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:01:38] local.INFO: GPS data processed {"connection_id":190465,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:01:38] local.INFO: Acknowledgment sent {"connection_id":190465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:01:57] local.INFO: TCP Data received {"connection_id":190466,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:57] local.INFO: Processing buffer {"connection_id":190466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:01:57] local.INFO: IMEI packet received {"connection_id":190466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":190466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:02:02] local.INFO: TCP Data received {"connection_id":190466,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:02] local.INFO: Processing buffer {"connection_id":190466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:02] local.INFO: IMEI packet received {"connection_id":190466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":190466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:02:03] local.INFO: TCP Data received {"connection_id":190466,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbd34b8012d196880071fed10003901162c..."} 
[2026-09-23 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbd34b8012d196880071fed10003901162c..."} 
[2026-09-23 11:02:03] local.INFO: Processing buffer {"connection_id":190466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbd34b8012d196880071fed10003901162c..."} 
[2026-09-23 11:02:03] local.INFO: Packet analysis {"connection_id":190466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:02:03] local.INFO: Extracted packet for processing {"connection_id":190466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276179456001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141347000,"timestamp_ms":1790141347000,"timestamp_seconds":1790141347,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbd34b8"} 
[2026-09-23 11:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:02: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-09-23 11:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:02: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-09-23 11:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276179456001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276179456001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276179456001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":190466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:02:03] local.INFO: GPS data processed {"connection_id":190466,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:02:03] local.INFO: Acknowledgment sent {"connection_id":190466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:02:08] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbf1148012d378a4006a98e90000a005332..."} 
[2026-09-23 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbf1148012d378a4006a98e90000a005332..."} 
[2026-09-23 11:02:08] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbf1148012d378a4006a98e90000a005332..."} 
[2026-09-23 11:02:08] local.INFO: Packet analysis {"connection_id":190465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:02:08] local.INFO: Extracted packet for processing {"connection_id":190465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775376,"longitude_deg":75.8614592,"latitude_deg":11.1775376,"altitude":10,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98e90","is_valid_coordinates":true} 
[2026-09-23 11:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276171520001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002081616230780928,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790141469000,"timestamp_ms":1790141469000,"timestamp_seconds":1790141469,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbf1148"} 
[2026-09-23 11:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:02: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-09-23 11:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 11:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:02: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-09-23 11:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276171520001,"66":26430,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":4002081616230780928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276171520001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:02:08] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002081616230780928,"description":"Unknown IO ID 45"} 
[2026-09-23 11:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276171520001,"power":26430,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4002081616230780928}} 
[2026-09-23 11:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:02:08] local.INFO: GPS data processed {"connection_id":190465,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:02:08] local.INFO: Acknowledgment sent {"connection_id":190465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:02:31] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:31] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:31] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:02:34] local.INFO: TCP Data received {"connection_id":190466,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbd86c0012d196880071fed10003901162c..."} 
[2026-09-23 11:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbd86c0012d196880071fed10003901162c..."} 
[2026-09-23 11:02:34] local.INFO: Processing buffer {"connection_id":190466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbd86c0012d196880071fed10003901162c..."} 
[2026-09-23 11:02:34] local.INFO: Packet analysis {"connection_id":190466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:02:34] local.INFO: Extracted packet for processing {"connection_id":190466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276184832001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141368000,"timestamp_ms":1790141368000,"timestamp_seconds":1790141368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbd86c0"} 
[2026-09-23 11:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:02: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-09-23 11: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":233,"data_length":795,"current_offset":136} 
[2026-09-23 11:02:34] 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-09-23 11: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-09-23 11:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276184832001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276184832001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276184832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:02:34] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:34] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:34] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":190466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:02:34] local.INFO: GPS data processed {"connection_id":190466,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:02:34] local.INFO: Acknowledgment sent {"connection_id":190466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:02:37] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:37] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:02:37] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:02:39] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbf76d8012d378a4006a98ed8000a004a31..."} 
[2026-09-23 11:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbf76d8012d378a4006a98ed8000a004a31..."} 
[2026-09-23 11:02:39] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbf76d8012d378a4006a98ed8000a004a31..."} 
[2026-09-23 11:02:39] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:02:39] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775448,"longitude_deg":75.8614592,"latitude_deg":11.1775448,"altitude":10,"angle":74,"satellites":49,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98ed8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276216064001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002081616230780928,"note":"Value kept but may cause issues"} 
[2026-09-23 11:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790141495000,"timestamp_ms":1790141495000,"timestamp_seconds":1790141495,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbf76d8"} 
[2026-09-23 11:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:02: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-09-23 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-23 11:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:02: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-09-23 11:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276216064001,"66":27865,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":4002081616230780928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276216064001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:02:39] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002081616230780928,"description":"Unknown IO ID 45"} 
[2026-09-23 11:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276216064001,"power":27865,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4002081616230780928}} 
[2026-09-23 11:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:02:39] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:02:39] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:02:57] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:57] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:02:57] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:03:02] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:02] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:02] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:03:03] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbdd8c8012d196880071fed10003901162e..."} 
[2026-09-23 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbdd8c8012d196880071fed10003901162e..."} 
[2026-09-23 11:03:03] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbdd8c8012d196880071fed10003901162e..."} 
[2026-09-23 11:03:03] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:03:03] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbd"} 
[2026-09-23 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276190208001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141389000,"timestamp_ms":1790141389000,"timestamp_seconds":1790141389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbdd8c8"} 
[2026-09-23 11:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:03: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:03: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-09-23 11: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-09-23 11:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276190208001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276190208001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276190208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:03:03] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:03:03] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:03:12] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbfc8e0012d378a4006a98ed8000a004a32..."} 
[2026-09-23 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbfc8e0012d378a4006a98ed8000a004a32..."} 
[2026-09-23 11:03:12] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbfc8e0012d378a4006a98ed8000a004a32..."} 
[2026-09-23 11:03:12] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:03:12] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758614592,"raw_latitude":111775448,"longitude_deg":75.8614592,"latitude_deg":11.1775448,"altitude":10,"angle":74,"satellites":50,"speed":0,"hex_longitude":"2d378a40","hex_latitude":"06a98ed8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276222720001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360900417617920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002081616230799360,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790141516000,"timestamp_ms":1790141516000,"timestamp_seconds":1790141516,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbfc8e0"} 
[2026-09-23 11:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:03: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-09-23 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:03: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-09-23 11: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-09-23 11:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:03: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-09-23 11:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276222720001,"66":27800,"48":206,"81":23296,"24":0,"16":406360900417617920,"45":4002081616230799360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276222720001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:03:12] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360900417617920,"km_value":406360900417617.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002081616230799360,"description":"Unknown IO ID 45"} 
[2026-09-23 11:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276222720001,"power":27800,"unknown_48":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4002081616230799360}} 
[2026-09-23 11:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:03:12] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:03:12] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:03:31] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:31] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:31] local.INFO: IMEI packet received {"connection_id":193157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":193157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:03:34] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbe2ad0012d196880071fed10003901162e..."} 
[2026-09-23 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbe2ad0012d196880071fed10003901162e..."} 
[2026-09-23 11:03:34] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbe2ad0012d196880071fed10003901162e..."} 
[2026-09-23 11:03:34] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:03:34] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276195584001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141410000,"timestamp_ms":1790141410000,"timestamp_seconds":1790141410,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbe2ad0"} 
[2026-09-23 11:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:03: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-09-23 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3694189126041659032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3163596801,"corrected_to":0} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,134,45,128,237,57,44,10,66,52,226,1,240,255,227,204,31,4,113,205,62,104,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3163596801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:03:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276195584001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276195584001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276195584001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:03:34] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:34] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:34] local.INFO: IMEI packet received {"connection_id":193157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":193157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:03:34] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:03:34] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:03:36] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:36] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:03:36] local.INFO: IMEI packet received {"connection_id":193157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":193157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:03:38] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbfff90012d378c8006a98e18000c005f33..."} 
[2026-09-23 11:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbfff90012d378c8006a98e18000c005f33..."} 
[2026-09-23 11:03:38] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbfff90012d378c8006a98e18000c005f33..."} 
[2026-09-23 11:03:38] local.INFO: Packet analysis {"connection_id":193157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:03:38] local.INFO: Extracted packet for processing {"connection_id":193157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758615168,"raw_latitude":111775256,"longitude_deg":75.8615168,"latitude_deg":11.1775256,"altitude":12,"angle":95,"satellites":51,"speed":4,"hex_longitude":"2d378c80","hex_latitude":"06a98e18","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276228096001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406360930482388992,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002081616230799360,"note":"Value kept but may cause issues"} 
[2026-09-23 11:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141530000,"timestamp_ms":1790141530000,"timestamp_seconds":1790141530,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbfff90"} 
[2026-09-23 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-09-23 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-09-23 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":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:03: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-09-23 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-09-23 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-09-23 11:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276228096001,"66":27930,"48":206,"81":23296,"24":4,"16":406360930482388992,"45":4002081616230799360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-23 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276228096001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:03:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 11:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406360930482388992,"km_value":406360930482389.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002081616230799360,"description":"Unknown IO ID 45"} 
[2026-09-23 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276228096001,"power":27930,"unknown_48":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":4002081616230799360}} 
[2026-09-23 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":193157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:03:38] local.INFO: GPS data processed {"connection_id":193157,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:03:38] local.INFO: Acknowledgment sent {"connection_id":193157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:03:58] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: IMEI packet received {"connection_id":190467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":190467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:03:58] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:03:58] local.INFO: IMEI packet received {"connection_id":190467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":190467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:04:02] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:02] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:02] local.INFO: IMEI packet received {"connection_id":190467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":190467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:04:03] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbe7cd8012d196880071fed10003901162d..."} 
[2026-09-23 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbe7cd8012d196880071fed10003901162d..."} 
[2026-09-23 11:04:03] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbe7cd8012d196880071fed10003901162d..."} 
[2026-09-23 11:04:03] local.INFO: Packet analysis {"connection_id":190467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:04:03] local.INFO: Extracted packet for processing {"connection_id":190467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276200960001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141431000,"timestamp_ms":1790141431000,"timestamp_seconds":1790141431,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbe7cd8"} 
[2026-09-23 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-09-23 11:04: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-09-23 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 11:04: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-09-23 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-09-23 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-09-23 11:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276200960001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276200960001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276200960001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":190467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:04:03] local.INFO: GPS data processed {"connection_id":190467,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:04:03] local.INFO: Acknowledgment sent {"connection_id":190467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:04:09] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc02e70012d379cc006a98e10000c005433..."} 
[2026-09-23 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc02e70012d379cc006a98e10000c005433..."} 
[2026-09-23 11:04:09] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc02e70012d379cc006a98e10000c005433..."} 
[2026-09-23 11:04:09] local.INFO: Packet analysis {"connection_id":193157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:04:09] local.INFO: Extracted packet for processing {"connection_id":193157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758619328,"raw_latitude":111775248,"longitude_deg":75.8619328,"latitude_deg":11.1775248,"altitude":12,"angle":84,"satellites":51,"speed":23,"hex_longitude":"2d379cc0","hex_latitude":"06a98e10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276231680001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406361128050884608,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002714934928349184,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141542000,"timestamp_ms":1790141542000,"timestamp_seconds":1790141542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc02e70"} 
[2026-09-23 11:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:04: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-09-23 11: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-09-23 11:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:04: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-09-23 11:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276231680001,"66":27865,"50":206,"81":23296,"24":23,"16":406361128050884608,"45":4002714934928349184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-23 11:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276231680001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:04:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-23 11:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406361128050884608,"km_value":406361128050884.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002714934928349184,"description":"Unknown IO ID 45"} 
[2026-09-23 11:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276231680001,"power":27865,"unknown_50":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":4002714934928349184}} 
[2026-09-23 11:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":193157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:04:09] local.INFO: GPS data processed {"connection_id":193157,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:04:09] local.INFO: Acknowledgment sent {"connection_id":193157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:04:31] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:31] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:31] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:04:34] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbecee0012d196880071fed10003901162e..."} 
[2026-09-23 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbecee0012d196880071fed10003901162e..."} 
[2026-09-23 11:04:34] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbecee0012d196880071fed10003901162e..."} 
[2026-09-23 11:04:34] local.INFO: Packet analysis {"connection_id":190467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:04:34] local.INFO: Extracted packet for processing {"connection_id":190467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbe"} 
[2026-09-23 11:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276206336001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141452000,"timestamp_ms":1790141452000,"timestamp_seconds":1790141452,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbecee0"} 
[2026-09-23 11:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:04: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-09-23 11: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 11:04:34] 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-09-23 11:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276206336001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276206336001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276206336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":190467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:04:34] local.INFO: GPS data processed {"connection_id":190467,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:04:34] local.INFO: Acknowledgment sent {"connection_id":190467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:04:37] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:37] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:04:37] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:04:38] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc05d50012d37c10006a991a8000b005533..."} 
[2026-09-23 11:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc05d50012d37c10006a991a8000b005533..."} 
[2026-09-23 11:04:38] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc05d50012d37c10006a991a8000b005533..."} 
[2026-09-23 11:04:38] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:04:38] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758628608,"raw_latitude":111776168,"longitude_deg":75.8628608,"latitude_deg":11.1776168,"altitude":11,"angle":85,"satellites":51,"speed":32,"hex_longitude":"2d37c100","hex_latitude":"06a991a8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276234752001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406361570432516096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4007288903299895296,"note":"Value kept but may cause issues"} 
[2026-09-23 11:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141554000,"timestamp_ms":1790141554000,"timestamp_seconds":1790141554,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc05d50"} 
[2026-09-23 11:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:04: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-09-23 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:04: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-09-23 11: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-09-23 11:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:04: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-09-23 11:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276234752001,"66":27767,"50":206,"81":23296,"24":32,"16":406361570432516096,"45":4007288903299895296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-23 11:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276234752001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:04:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-23 11:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406361570432516096,"km_value":406361570432516.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4007288903299895296,"description":"Unknown IO ID 45"} 
[2026-09-23 11:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276234752001,"power":27767,"unknown_50":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4007288903299895296}} 
[2026-09-23 11:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:04:38] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:04:38] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:04:57] local.INFO: TCP Data received {"connection_id":190468,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:57] local.INFO: Processing buffer {"connection_id":190468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:04:57] local.INFO: IMEI packet received {"connection_id":190468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":190468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:05:00] local.INFO: TCP Data received {"connection_id":190468,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:00] local.INFO: Processing buffer {"connection_id":190468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:00] local.INFO: IMEI packet received {"connection_id":190468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":190468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:05:02] local.INFO: TCP Data received {"connection_id":190468,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:02] local.INFO: Processing buffer {"connection_id":190468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:05:02] local.INFO: IMEI packet received {"connection_id":190468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:05:03] local.INFO: TCP Data received {"connection_id":190468,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbf20e8012d196880071fed10003901162d..."} 
[2026-09-23 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbf20e8012d196880071fed10003901162d..."} 
[2026-09-23 11:05:03] local.INFO: Processing buffer {"connection_id":190468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbf20e8012d196880071fed10003901162d..."} 
[2026-09-23 11:05:03] local.INFO: Packet analysis {"connection_id":190468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:05:03] local.INFO: Extracted packet for processing {"connection_id":190468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276211712001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141473000,"timestamp_ms":1790141473000,"timestamp_seconds":1790141473,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbf20e8"} 
[2026-09-23 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:05: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:05: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-09-23 11: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-09-23 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276211712001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276211712001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276211712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":190468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:05:03] local.INFO: GPS data processed {"connection_id":190468,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:05:03] local.INFO: Acknowledgment sent {"connection_id":190468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:05:09] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc08848012d37e74006a994e0000b005531..."} 
[2026-09-23 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc08848012d37e74006a994e0000b005531..."} 
[2026-09-23 11:05:09] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc08848012d37e74006a994e0000b005531..."} 
[2026-09-23 11:05:09] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:05:09] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758638400,"raw_latitude":111776992,"longitude_deg":75.86384,"latitude_deg":11.1776992,"altitude":11,"angle":85,"satellites":49,"speed":32,"hex_longitude":"2d37e740","hex_latitude":"06a994e0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276237824001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406362038583951360,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4017492371205892096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:09] 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-09-23 11:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141565000,"timestamp_ms":1790141565000,"timestamp_seconds":1790141565,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc08848"} 
[2026-09-23 11:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:05: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-09-23 11: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-09-23 11:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:05: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-09-23 11:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276237824001,"66":27767,"46":206,"81":23296,"24":32,"16":406362038583951360,"45":4017492371205892096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276237824001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:05:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406362038583951360,"km_value":406362038583951.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4017492371205892096,"description":"Unknown IO ID 45"} 
[2026-09-23 11:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276237824001,"power":27767,"unknown_46":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4017492371205892096}} 
[2026-09-23 11:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:05:09] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:05:09] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:05:31] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:31] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:31] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:05:32] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:32] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:32] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:05:34] local.INFO: TCP Data received {"connection_id":190468,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbf72f0012d196880071fed10003901162f..."} 
[2026-09-23 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbf72f0012d196880071fed10003901162f..."} 
[2026-09-23 11:05:34] local.INFO: Processing buffer {"connection_id":190468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbf72f0012d196880071fed10003901162f..."} 
[2026-09-23 11:05:34] local.INFO: Packet analysis {"connection_id":190468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:05:34] local.INFO: Extracted packet for processing {"connection_id":190468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:05: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-09-23 11:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276217088001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141494000,"timestamp_ms":1790141494000,"timestamp_seconds":1790141494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbf72f0"} 
[2026-09-23 11:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:05: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:05:34] 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-09-23 11: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-09-23 11:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276217088001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276217088001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276217088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":190468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:05:34] local.INFO: GPS data processed {"connection_id":190468,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:05:34] local.INFO: Acknowledgment sent {"connection_id":190468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:05:37] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:37] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:05:37] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:05:38] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc0b340012d380b4006a997d0000b005531..."} 
[2026-09-23 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc0b340012d380b4006a997d0000b005531..."} 
[2026-09-23 11:05:38] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc0b340012d380b4006a997d0000b005531..."} 
[2026-09-23 11:05:38] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:05:38] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758647616,"raw_latitude":111777744,"longitude_deg":75.8647616,"latitude_deg":11.1777744,"altitude":11,"angle":85,"satellites":49,"speed":33,"hex_longitude":"2d380b40","hex_latitude":"06a997d0","is_valid_coordinates":true} 
[2026-09-23 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276240640001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406362476670615552,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4028258789065285632,"note":"Value kept but may cause issues"} 
[2026-09-23 11:05: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-09-23 11:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141576000,"timestamp_ms":1790141576000,"timestamp_seconds":1790141576,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc0b340"} 
[2026-09-23 11:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:05: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-09-23 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:05: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-09-23 11:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:05: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-09-23 11:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276240640001,"66":27995,"46":206,"81":23296,"24":33,"16":406362476670615552,"45":4028258789065285632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276240640001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:05:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406362476670615552,"km_value":406362476670615.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4028258789065285632,"description":"Unknown IO ID 45"} 
[2026-09-23 11:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276240640001,"power":27995,"unknown_46":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":4028258789065285632}} 
[2026-09-23 11:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:05:38] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:05:38] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:05:45] local.INFO: TCP Data received {"connection_id":190297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:05:45] local.INFO: Processing buffer {"connection_id":190297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:05:45] local.INFO: IMEI packet received {"connection_id":190297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":190297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:06:02] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:02] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:02] local.INFO: IMEI packet received {"connection_id":191817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":191817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:06:03] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:03] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:03] local.INFO: IMEI packet received {"connection_id":191817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":191817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:06:04] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccbfc4f8012d196880071fed10003901162e..."} 
[2026-09-23 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccbfc4f8012d196880071fed10003901162e..."} 
[2026-09-23 11:06:04] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccbfc4f8012d196880071fed10003901162e..."} 
[2026-09-23 11:06:04] local.INFO: Packet analysis {"connection_id":191817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:06:04] local.INFO: Extracted packet for processing {"connection_id":191817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccbf"} 
[2026-09-23 11:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276222464001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790141515000,"timestamp_ms":1790141515000,"timestamp_seconds":1790141515,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccbfc4f8"} 
[2026-09-23 11:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:06: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:06: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-09-23 11: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-09-23 11:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276222464001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276222464001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276222464001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":191817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:04] local.INFO: GPS data processed {"connection_id":191817,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:04] local.INFO: Acknowledgment sent {"connection_id":191817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:07] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc01700012d196880071fed10003901162f..."} 
[2026-09-23 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc01700012d196880071fed10003901162f..."} 
[2026-09-23 11:06:07] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc01700012d196880071fed10003901162f..."} 
[2026-09-23 11:06:07] local.INFO: Packet analysis {"connection_id":191817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:07] local.INFO: Extracted packet for processing {"connection_id":191817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276227840001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790141536000,"timestamp_ms":1790141536000,"timestamp_seconds":1790141536,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc01700"} 
[2026-09-23 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:06: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-09-23 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:06:07] 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-09-23 11:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276227840001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276227840001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276227840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:07] local.INFO: GPS data processed {"connection_id":191817,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:07] local.INFO: Acknowledgment sent {"connection_id":191817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:09] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc0e9f0012d3830c006a998a8000d005e34..."} 
[2026-09-23 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc0e9f0012d3830c006a998a8000d005e34..."} 
[2026-09-23 11:06:09] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc0e9f0012d3830c006a998a8000d005e34..."} 
[2026-09-23 11:06:09] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:09] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758657216,"raw_latitude":111777960,"longitude_deg":75.8657216,"latitude_deg":11.177796,"altitude":13,"angle":94,"satellites":52,"speed":24,"hex_longitude":"2d3830c0","hex_latitude":"06a998a8","is_valid_coordinates":true} 
[2026-09-23 11:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276243456001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406362936232116224,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4038391888227061760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:09] 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-09-23 11:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141590000,"timestamp_ms":1790141590000,"timestamp_seconds":1790141590,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc0e9f0"} 
[2026-09-23 11:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 11:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:06: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-09-23 11:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276243456001,"66":27800,"46":206,"81":23296,"24":24,"16":406362936232116224,"45":4038391888227061760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276243456001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406362936232116224,"km_value":406362936232116.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4038391888227061760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276243456001,"power":27800,"unknown_46":206,"unknown_81":23296,"ignition":24,"odometer":null,"unknown_45":4038391888227061760}} 
[2026-09-23 11:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:09] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:09] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:10] local.INFO: TCP Data received {"connection_id":191818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:06:10] local.INFO: Processing buffer {"connection_id":191818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:06:10] local.INFO: IMEI packet received {"connection_id":191818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":191818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:06:35] local.INFO: TCP Data received {"connection_id":193158,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:35] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:35] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:06:36] local.INFO: TCP Data received {"connection_id":193158,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:36] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:36] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:06:39] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc06908012d196880071fed10003901162e..."} 
[2026-09-23 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc06908012d196880071fed10003901162e..."} 
[2026-09-23 11:06:39] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc06908012d196880071fed10003901162e..."} 
[2026-09-23 11:06:39] local.INFO: Packet analysis {"connection_id":191817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:39] local.INFO: Extracted packet for processing {"connection_id":191817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276233216001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790141557000,"timestamp_ms":1790141557000,"timestamp_seconds":1790141557,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc06908"} 
[2026-09-23 11:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276233216001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276233216001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276233216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:39] local.INFO: GPS data processed {"connection_id":191817,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:39] local.INFO: Acknowledgment sent {"connection_id":191817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:42] local.INFO: TCP Data received {"connection_id":193158,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:42] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:06:42] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:06:42] local.INFO: TCP Data received {"connection_id":193158,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc12870012d38544006a99348000d006432..."} 
[2026-09-23 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc12870012d38544006a99348000d006432..."} 
[2026-09-23 11:06:42] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc12870012d38544006a99348000d006432..."} 
[2026-09-23 11:06:42] local.INFO: Packet analysis {"connection_id":193158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:06:42] local.INFO: Extracted packet for processing {"connection_id":193158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758666304,"raw_latitude":111776584,"longitude_deg":75.8666304,"latitude_deg":11.1776584,"altitude":13,"angle":100,"satellites":50,"speed":18,"hex_longitude":"2d385440","hex_latitude":"06a99348","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276247040001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406363374318780416,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4048947199853766656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06: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-09-23 11:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790141606000,"timestamp_ms":1790141606000,"timestamp_seconds":1790141606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc12870"} 
[2026-09-23 11:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:06: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-09-23 11: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-09-23 11:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11: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-09-23 11:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276247040001,"66":27767,"46":206,"81":23296,"24":18,"16":406363374318780416,"45":4048947199853766656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276247040001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406363374318780416,"km_value":406363374318780.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4048947199853766656,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276247040001,"power":27767,"unknown_46":206,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":4048947199853766656}} 
[2026-09-23 11:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":193158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:42] local.INFO: GPS data processed {"connection_id":193158,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:42] local.INFO: Acknowledgment sent {"connection_id":193158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:47] local.INFO: TCP Data received {"connection_id":193158,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc17690012d3877c006a98b78000e006833..."} 
[2026-09-23 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc17690012d3877c006a98b78000e006833..."} 
[2026-09-23 11:06:47] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc17690012d3877c006a98b78000e006833..."} 
[2026-09-23 11:06:47] local.INFO: Packet analysis {"connection_id":193158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:06:47] local.INFO: Extracted packet for processing {"connection_id":193158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758675392,"raw_latitude":111774584,"longitude_deg":75.8675392,"latitude_deg":11.1774584,"altitude":14,"angle":104,"satellites":51,"speed":25,"hex_longitude":"2d3877c0","hex_latitude":"06a98b78","is_valid_coordinates":true} 
[2026-09-23 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276251136001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406363816700411904,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4058939561526642688,"note":"Value kept but may cause issues"} 
[2026-09-23 11:06:47] 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-09-23 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790141626000,"timestamp_ms":1790141626000,"timestamp_seconds":1790141626,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc17690"} 
[2026-09-23 11:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:06: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-09-23 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276251136001,"66":27887,"46":206,"81":23296,"24":25,"16":406363816700411904,"45":4058939561526642688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276251136001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:06:47] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406363816700411904,"km_value":406363816700411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4058939561526642688,"description":"Unknown IO ID 45"} 
[2026-09-23 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276251136001,"power":27887,"unknown_46":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":4058939561526642688}} 
[2026-09-23 11:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":193158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:06:47] local.INFO: GPS data processed {"connection_id":193158,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:06:47] local.INFO: Acknowledgment sent {"connection_id":193158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:06:57] local.INFO: TCP Data received {"connection_id":191819,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:57] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:06:57] local.INFO: IMEI packet received {"connection_id":191819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:07:02] local.INFO: TCP Data received {"connection_id":191819,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:02] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:02] local.INFO: IMEI packet received {"connection_id":191819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:07:03] local.INFO: TCP Data received {"connection_id":191819,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc0bb10012d196880071fed10003901162d..."} 
[2026-09-23 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc0bb10012d196880071fed10003901162d..."} 
[2026-09-23 11:07:03] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc0bb10012d196880071fed10003901162d..."} 
[2026-09-23 11:07:03] local.INFO: Packet analysis {"connection_id":191819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:07:03] local.INFO: Extracted packet for processing {"connection_id":191819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc0"} 
[2026-09-23 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276238592001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141578000,"timestamp_ms":1790141578000,"timestamp_seconds":1790141578,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc0bb10"} 
[2026-09-23 11:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:07: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3693467571535931032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3206604801,"corrected_to":0} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,23,45,128,237,57,47,10,66,196,46,114,1,240,255,227,204,31,4,113,205,206,104,239,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3206604801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276238592001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276238592001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276238592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":191819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:07:03] local.INFO: GPS data processed {"connection_id":191819,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:07:03] local.INFO: Acknowledgment sent {"connection_id":191819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:07:31] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:31] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:31] local.INFO: IMEI packet received {"connection_id":190298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:07:34] local.INFO: TCP Data received {"connection_id":191819,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc10d18012d196880071fed10003901162d..."} 
[2026-09-23 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc10d18012d196880071fed10003901162d..."} 
[2026-09-23 11:07:34] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc10d18012d196880071fed10003901162d..."} 
[2026-09-23 11:07:34] local.INFO: Packet analysis {"connection_id":191819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:07:34] local.INFO: Extracted packet for processing {"connection_id":191819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276243968001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141599000,"timestamp_ms":1790141599000,"timestamp_seconds":1790141599,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc10d18"} 
[2026-09-23 11:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:07: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-09-23 11: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":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:07:34] 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-09-23 11: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-09-23 11:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276243968001,"66":12232,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276243968001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:07:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276243968001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":191819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:07:34] local.INFO: GPS data processed {"connection_id":191819,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:07:34] local.INFO: Acknowledgment sent {"connection_id":191819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:07:37] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:37] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:07:37] local.INFO: IMEI packet received {"connection_id":190298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":190298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:07:38] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc1b8f8012d389a8006a98218000c006934..."} 
[2026-09-23 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc1b8f8012d389a8006a98218000c006934..."} 
[2026-09-23 11:07:38] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc1b8f8012d389a8006a98218000c006934..."} 
[2026-09-23 11:07:38] local.INFO: Packet analysis {"connection_id":190298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:07:38] local.INFO: Extracted packet for processing {"connection_id":190298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758684288,"raw_latitude":111772184,"longitude_deg":75.8684288,"latitude_deg":11.1772184,"altitude":12,"angle":105,"satellites":52,"speed":11,"hex_longitude":"2d389a80","hex_latitude":"06a98218","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276256256001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406364254787076096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068931923199358976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:07: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-09-23 11:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141643000,"timestamp_ms":1790141643000,"timestamp_seconds":1790141643,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc1b8f8"} 
[2026-09-23 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-09-23 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-09-23 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":239,"data_length":795,"current_offset":136} 
[2026-09-23 11:07: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-09-23 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-09-23 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-09-23 11:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276256256001,"66":27843,"46":206,"81":23296,"24":11,"16":406364254787076096,"45":4068931923199358976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276256256001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:07:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406364254787076096,"km_value":406364254787076.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068931923199358976,"description":"Unknown IO ID 45"} 
[2026-09-23 11:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276256256001,"power":27843,"unknown_46":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":4068931923199358976}} 
[2026-09-23 11:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":190298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:07:38] local.INFO: GPS data processed {"connection_id":190298,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:07:38] local.INFO: Acknowledgment sent {"connection_id":190298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:07:57] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:57] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:07:57] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:08:02] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:02] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:02] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:08:03] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc15f20012d196880071fed10003901162b..."} 
[2026-09-23 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc15f20012d196880071fed10003901162b..."} 
[2026-09-23 11:08:03] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc15f20012d196880071fed10003901162b..."} 
[2026-09-23 11:08:03] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:03] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276249344001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141620000,"timestamp_ms":1790141620000,"timestamp_seconds":1790141620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc15f20"} 
[2026-09-23 11:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:08: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-09-23 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 11:08:03] 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-09-23 11: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-09-23 11:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276249344001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276249344001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:08:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276249344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:08:03] local.INFO: GPS data processed {"connection_id":191820,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:08:03] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:08:09] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc1fb60012d38bdc006a97968000c006b34..."} 
[2026-09-23 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc1fb60012d38bdc006a97968000c006b34..."} 
[2026-09-23 11:08:09] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc1fb60012d38bdc006a97968000c006b34..."} 
[2026-09-23 11:08:09] local.INFO: Packet analysis {"connection_id":190298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:09] local.INFO: Extracted packet for processing {"connection_id":190298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758693312,"raw_latitude":111769960,"longitude_deg":75.8693312,"latitude_deg":11.176996,"altitude":12,"angle":107,"satellites":52,"speed":13,"hex_longitude":"2d38bdc0","hex_latitude":"06a97968","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276260608001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406364697168707584,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4078713178639439872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:09] 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-09-23 11:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141660000,"timestamp_ms":1790141660000,"timestamp_seconds":1790141660,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc1fb60"} 
[2026-09-23 11:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:08: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-09-23 11:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:08: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-09-23 11: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-09-23 11:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:08: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-09-23 11:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276260608001,"66":27930,"46":206,"81":23296,"24":13,"16":406364697168707584,"45":4078713178639439872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276260608001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:08:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406364697168707584,"km_value":406364697168707.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4078713178639439872,"description":"Unknown IO ID 45"} 
[2026-09-23 11:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276260608001,"power":27930,"unknown_46":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4078713178639439872}} 
[2026-09-23 11:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":190298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:08:09] local.INFO: GPS data processed {"connection_id":190298,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:08:09] local.INFO: Acknowledgment sent {"connection_id":190298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:08:31] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:31] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:31] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:08:34] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc1b128012d196880071fed10003901162d..."} 
[2026-09-23 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc1b128012d196880071fed10003901162d..."} 
[2026-09-23 11:08:34] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc1b128012d196880071fed10003901162d..."} 
[2026-09-23 11:08:34] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:34] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc1"} 
[2026-09-23 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276254720001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141641000,"timestamp_ms":1790141641000,"timestamp_seconds":1790141641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc1b128"} 
[2026-09-23 11:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:08: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-09-23 11:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:08:34] 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-09-23 11: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-09-23 11:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276254720001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276254720001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276254720001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:08:34] local.INFO: GPS data processed {"connection_id":191820,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:08:34] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:08:37] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:37] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:08:37] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:08:38] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc24598012d38e14006a970d0000d006733..."} 
[2026-09-23 11:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc24598012d38e14006a970d0000d006733..."} 
[2026-09-23 11:08:38] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc24598012d38e14006a970d0000d006733..."} 
[2026-09-23 11:08:38] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:08:38] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758702400,"raw_latitude":111767760,"longitude_deg":75.87024,"latitude_deg":11.176776,"altitude":13,"angle":103,"satellites":51,"speed":30,"hex_longitude":"2d38e140","hex_latitude":"06a970d0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276264960001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406365143845306368,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4088635171567921152,"note":"Value kept but may cause issues"} 
[2026-09-23 11:08: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-09-23 11:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790141679000,"timestamp_ms":1790141679000,"timestamp_seconds":1790141679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc24598"} 
[2026-09-23 11:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:08: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-09-23 11: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-09-23 11:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:08: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-09-23 11:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276264960001,"66":27767,"46":206,"81":23296,"24":30,"16":406365143845306368,"45":4088635171567921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276264960001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:08:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406365143845306368,"km_value":406365143845306.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4088635171567921152,"description":"Unknown IO ID 45"} 
[2026-09-23 11:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276264960001,"power":27767,"unknown_46":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4088635171567921152}} 
[2026-09-23 11:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:08:38] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:08:38] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:08:57] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:57] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:08:57] local.INFO: IMEI packet received {"connection_id":190472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":190472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:09:02] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:02] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:02] local.INFO: IMEI packet received {"connection_id":190472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":190472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:09:03] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc20330012d196880071fed10003901162e..."} 
[2026-09-23 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc20330012d196880071fed10003901162e..."} 
[2026-09-23 11:09:03] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc20330012d196880071fed10003901162e..."} 
[2026-09-23 11:09:03] local.INFO: Packet analysis {"connection_id":190472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:03] local.INFO: Extracted packet for processing {"connection_id":190472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276260096001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141662000,"timestamp_ms":1790141662000,"timestamp_seconds":1790141662,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc20330"} 
[2026-09-23 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:09: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-09-23 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:09: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-09-23 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276260096001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276260096001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276260096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":190472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:09:03] local.INFO: GPS data processed {"connection_id":190472,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:09:03] local.INFO: Acknowledgment sent {"connection_id":190472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:09:09] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc28030012d39040006a96988000d006533..."} 
[2026-09-23 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc28030012d39040006a96988000d006533..."} 
[2026-09-23 11:09:09] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc28030012d39040006a96988000d006533..."} 
[2026-09-23 11:09:09] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:09] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758711296,"raw_latitude":111765896,"longitude_deg":75.8711296,"latitude_deg":11.1765896,"altitude":13,"angle":101,"satellites":51,"speed":10,"hex_longitude":"2d390400","hex_latitude":"06a96988","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276269824001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406365577637003264,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098627533240586240,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:09] 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-09-23 11:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790141694000,"timestamp_ms":1790141694000,"timestamp_seconds":1790141694,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc28030"} 
[2026-09-23 11:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:09: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-09-23 11: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-09-23 11:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:09: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-09-23 11:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276269824001,"66":27800,"46":206,"81":23296,"24":10,"16":406365577637003264,"45":4098627533240586240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276269824001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:09:09] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406365577637003264,"km_value":406365577637003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098627533240586240,"description":"Unknown IO ID 45"} 
[2026-09-23 11:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276269824001,"power":27800,"unknown_46":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":4098627533240586240}} 
[2026-09-23 11:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:09:09] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:09:09] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:09:31] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:31] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:31] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:09:34] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc58988012d196880071fed10003901162f..."} 
[2026-09-23 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc58988012d196880071fed10003901162f..."} 
[2026-09-23 11:09:34] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc58988012d196880071fed10003901162f..."} 
[2026-09-23 11:09:34] local.INFO: Packet analysis {"connection_id":190472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc5"} 
[2026-09-23 11:09:34] local.INFO: Extracted packet for processing {"connection_id":190472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc5"} 
[2026-09-23 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276319232001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141893000,"timestamp_ms":1790141893000,"timestamp_seconds":1790141893,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc58988"} 
[2026-09-23 11:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:09: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:09:34] 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-09-23 11: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-09-23 11:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276319232001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276319232001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:09:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276319232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":190472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:09:34] local.INFO: GPS data processed {"connection_id":190472,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:09:34] local.INFO: Acknowledgment sent {"connection_id":190472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:09:38] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:38] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:09:38] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:09:39] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc2d238012d390e8006a96858000e005f35..."} 
[2026-09-23 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc2d238012d390e8006a96858000e005f35..."} 
[2026-09-23 11:09:39] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc2d238012d390e8006a96858000e005f35..."} 
[2026-09-23 11:09:39] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:39] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc2"} 
[2026-09-23 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758713984,"raw_latitude":111765592,"longitude_deg":75.8713984,"latitude_deg":11.1765592,"altitude":14,"angle":95,"satellites":53,"speed":0,"hex_longitude":"2d390e80","hex_latitude":"06a96858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276273664001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406365706486022144,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108408788680804352,"note":"Value kept but may cause issues"} 
[2026-09-23 11:09: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-09-23 11:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790141715000,"timestamp_ms":1790141715000,"timestamp_seconds":1790141715,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc2d238"} 
[2026-09-23 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-09-23 11:09: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-09-23 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":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:09: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-09-23 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-09-23 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-09-23 11:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276273664001,"66":27908,"46":206,"81":23296,"24":0,"16":406365706486022144,"45":4108408788680804352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 11:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276273664001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:09:39] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 11:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406365706486022144,"km_value":406365706486022.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108408788680804352,"description":"Unknown IO ID 45"} 
[2026-09-23 11:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276273664001,"power":27908,"unknown_46":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4108408788680804352}} 
[2026-09-23 11:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:09:39] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:09:39] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:09:57] local.INFO: TCP Data received {"connection_id":193159,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:57] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:09:57] local.INFO: IMEI packet received {"connection_id":193159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":193159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:10:02] local.INFO: TCP Data received {"connection_id":193159,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:02] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:02] local.INFO: IMEI packet received {"connection_id":193159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":193159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:10:03] local.INFO: TCP Data received {"connection_id":193159,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc5db90012d196880071fed10003901162e..."} 
[2026-09-23 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc5db90012d196880071fed10003901162e..."} 
[2026-09-23 11:10:03] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc5db90012d196880071fed10003901162e..."} 
[2026-09-23 11:10:03] local.INFO: Packet analysis {"connection_id":193159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc5"} 
[2026-09-23 11:10:03] local.INFO: Extracted packet for processing {"connection_id":193159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc5"} 
[2026-09-23 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276324608001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141914000,"timestamp_ms":1790141914000,"timestamp_seconds":1790141914,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc5db90"} 
[2026-09-23 11:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:10: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-09-23 11: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":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:10: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-09-23 11: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-09-23 11:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276324608001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276324608001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:10:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276324608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":193159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:10:03] local.INFO: GPS data processed {"connection_id":193159,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:10:03] local.INFO: Acknowledgment sent {"connection_id":193159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:10:11] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc60688012d3952c006a95570000f005f33..."} 
[2026-09-23 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc60688012d3952c006a95570000f005f33..."} 
[2026-09-23 11:10:11] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc60688012d3952c006a95570000f005f33..."} 
[2026-09-23 11:10:11] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:11] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758731456,"raw_latitude":111760752,"longitude_deg":75.8731456,"latitude_deg":11.1760752,"altitude":15,"angle":95,"satellites":51,"speed":5,"hex_longitude":"2d3952c0","hex_latitude":"06a95570","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276332800001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406366582659350528,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130574943095451648,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790141925000,"timestamp_ms":1790141925000,"timestamp_seconds":1790141925,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc60688"} 
[2026-09-23 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-09-23 11:10: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-09-23 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":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:10: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-09-23 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-09-23 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-09-23 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276332800001,"66":27876,"91":206,"81":23296,"24":5,"16":406366582659350528,"45":4130574943095451648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-23 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276332800001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:10:11] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 11:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406366582659350528,"km_value":406366582659350.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130574943095451648,"description":"Unknown IO ID 45"} 
[2026-09-23 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276332800001,"power":27876,"unknown_91":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":4130574943095451648}} 
[2026-09-23 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:10:11] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:10:11] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:10:31] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:10:31] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:10:31] local.INFO: IMEI packet received {"connection_id":191821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":191821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:10:34] local.INFO: TCP Data received {"connection_id":193159,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc62d98012d196880071fed10003901162c..."} 
[2026-09-23 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc62d98012d196880071fed10003901162c..."} 
[2026-09-23 11:10:34] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc62d98012d196880071fed10003901162c..."} 
[2026-09-23 11:10:34] local.INFO: Packet analysis {"connection_id":193159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:34] local.INFO: Extracted packet for processing {"connection_id":193159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276329984001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141935000,"timestamp_ms":1790141935000,"timestamp_seconds":1790141935,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc62d98"} 
[2026-09-23 11:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:10: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:10:34] 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-09-23 11: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-09-23 11:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276329984001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276329984001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:10:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276329984001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":193159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:10:34] local.INFO: GPS data processed {"connection_id":193159,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:10:34] local.INFO: Acknowledgment sent {"connection_id":193159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:10:39] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:10:39] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:10:39] local.INFO: IMEI packet received {"connection_id":191821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":191821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:10:55] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc65890012d39544006a95590000e005f31..."} 
[2026-09-23 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc65890012d39544006a95590000e005f31..."} 
[2026-09-23 11:10:55] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0cc..."} 
[2026-09-23 11:10:55] local.INFO: IMEI packet received {"connection_id":191821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":191821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:10:55] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc6aa98012d39560006a95618000b005f33..."} 
[2026-09-23 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc6aa98012d39560006a95618000b005f33..."} 
[2026-09-23 11:10:55] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0ccc65890012d39544006a95590000e005f31..."} 
[2026-09-23 11:10:55] local.INFO: Packet analysis {"connection_id":191821,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:55] local.INFO: Extracted packet for processing {"connection_id":191821,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758731840,"raw_latitude":111760784,"longitude_deg":75.873184,"latitude_deg":11.1760784,"altitude":14,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2d395440","hex_latitude":"06a95590","is_valid_coordinates":true} 
[2026-09-23 11:10: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-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276332800001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406366604134187008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130574943095451648,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790141946000,"timestamp_ms":1790141946000,"timestamp_seconds":1790141946,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc65890"} 
[2026-09-23 11:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:10: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-09-23 11:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:10: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-09-23 11:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276332800001,"66":27604,"91":206,"81":23296,"24":0,"16":406366604134187008,"45":4130574943095451648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276332800001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406366604134187008,"km_value":406366604134187.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130574943095451648,"description":"Unknown IO ID 45"} 
[2026-09-23 11:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276332800001,"power":27604,"unknown_91":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4130574943095451648}} 
[2026-09-23 11:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":191821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:10:55] local.INFO: GPS data processed {"connection_id":191821,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:10:55] local.INFO: Acknowledgment sent {"connection_id":191821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:10:55] local.INFO: Packet analysis {"connection_id":191821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:55] local.INFO: Extracted packet for processing {"connection_id":191821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758732288,"raw_latitude":111760920,"longitude_deg":75.8732288,"latitude_deg":11.176092,"altitude":11,"angle":95,"satellites":51,"speed":2,"hex_longitude":"2d395600","hex_latitude":"06a95618","is_valid_coordinates":true} 
[2026-09-23 11:10: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-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276338176001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406366625609023488,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130997155560525824,"note":"Value kept but may cause issues"} 
[2026-09-23 11:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790141967000,"timestamp_ms":1790141967000,"timestamp_seconds":1790141967,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc6aa98"} 
[2026-09-23 11:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:10: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-09-23 11:10: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":212,"data_length":795,"current_offset":136} 
[2026-09-23 11:10:55] 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-09-23 11:10: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-09-23 11:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276338176001,"66":27919,"91":206,"81":23296,"24":2,"16":406366625609023488,"45":4130997155560525824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-23 11:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276338176001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406366625609023488,"km_value":406366625609023.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130997155560525824,"description":"Unknown IO ID 45"} 
[2026-09-23 11:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276338176001,"power":27919,"unknown_91":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":4130997155560525824}} 
[2026-09-23 11:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":191821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:10:55] local.INFO: GPS data processed {"connection_id":191821,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:10:55] local.INFO: Acknowledgment sent {"connection_id":191821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:10:57] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: IMEI packet received {"connection_id":190475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":190475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:10:57] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:10:57] local.INFO: IMEI packet received {"connection_id":190475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":190475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:11:02] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:02] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:02] local.INFO: IMEI packet received {"connection_id":190475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:11:03] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc67fa0012d196880071fed10003901162e..."} 
[2026-09-23 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc67fa0012d196880071fed10003901162e..."} 
[2026-09-23 11:11:03] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc67fa0012d196880071fed10003901162e..."} 
[2026-09-23 11:11:03] local.INFO: Packet analysis {"connection_id":190475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:03] local.INFO: Extracted packet for processing {"connection_id":190475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276335360001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141956000,"timestamp_ms":1790141956000,"timestamp_seconds":1790141956,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc67fa0"} 
[2026-09-23 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:11: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:11: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-09-23 11: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-09-23 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276335360001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276335360001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276335360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":190475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:11:03] local.INFO: GPS data processed {"connection_id":190475,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:11:03] local.INFO: Acknowledgment sent {"connection_id":190475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:11:34] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc6d1a8012d196880071fed100039011630..."} 
[2026-09-23 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc6d1a8012d196880071fed100039011630..."} 
[2026-09-23 11:11:34] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc6d1a8012d196880071fed100039011630..."} 
[2026-09-23 11:11:34] local.INFO: Packet analysis {"connection_id":190475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:34] local.INFO: Extracted packet for processing {"connection_id":190475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276340736001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790141977000,"timestamp_ms":1790141977000,"timestamp_seconds":1790141977,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc6d1a8"} 
[2026-09-23 11:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:11: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-09-23 11:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691753879584827032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3640708472,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3308748801,"corrected_to":0} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:11:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,45,128,237,57,44,10,66,219,46,137,1,240,255,227,204,31,4,113,205,229,104,47,239,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3308748801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:11:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276340736001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276340736001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:11:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276340736001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":190475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:11:34] local.INFO: GPS data processed {"connection_id":190475,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:11:34] local.INFO: Acknowledgment sent {"connection_id":190475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:11:35] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:35] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:35] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:11:36] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:36] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:36] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:11:37] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:11:37] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:11:37] local.INFO: IMEI packet received {"connection_id":191822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":191822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:11:42] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:42] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:11:42] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:11:43] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc6fca0012d39564006a95630000b005f31..."} 
[2026-09-23 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc6fca0012d39564006a95630000b005f31..."} 
[2026-09-23 11:11:43] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc6fca0012d39564006a95630000b005f31..."} 
[2026-09-23 11:11:43] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:43] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc6"} 
[2026-09-23 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758732352,"raw_latitude":111760944,"longitude_deg":75.8732352,"latitude_deg":11.1760944,"altitude":11,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2d395640","hex_latitude":"06a95630","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276343552001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406366629903990784,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131489736769804288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790141988000,"timestamp_ms":1790141988000,"timestamp_seconds":1790141988,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc6fca0"} 
[2026-09-23 11:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 11:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:11: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-09-23 11:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276343552001,"66":27908,"91":206,"81":23296,"24":0,"16":406366629903990784,"45":4131489736769804288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-23 11:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276343552001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406366629903990784,"km_value":406366629903990.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131489736769804288,"description":"Unknown IO ID 45"} 
[2026-09-23 11:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276343552001,"power":27908,"unknown_91":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4131489736769804288}} 
[2026-09-23 11:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:11:43] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:11:43] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:11:57] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:57] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:11:57] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:12:00] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:00] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:00] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:12:02] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:02] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:12:02] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:12:03] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc723b0012d196880071fed100039011630..."} 
[2026-09-23 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc723b0012d196880071fed100039011630..."} 
[2026-09-23 11:12:03] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc723b0012d196880071fed100039011630..."} 
[2026-09-23 11:12:03] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:03] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276346112001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790141998000,"timestamp_ms":1790141998000,"timestamp_seconds":1790141998,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc723b0"} 
[2026-09-23 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-09-23 11:12: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-09-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691663685271611032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3375730278179143886,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3314124801,"corrected_to":0} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,127,45,128,237,57,46,10,66,44,219,1,240,255,227,204,31,4,113,205,55,104,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3314124801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:12:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588730552844288,"timestamp_seconds":4107588730552844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 11:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276346112001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276346112001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:12:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276346112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:12:03] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:12:03] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:12:10] local.INFO: TCP Data received {"connection_id":191823,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:12:10] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:12:10] local.INFO: IMEI packet received {"connection_id":191823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":191823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:12:14] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc71fc8012d39570006a957c0000b001a32..."} 
[2026-09-23 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc71fc8012d39570006a957c0000b001a32..."} 
[2026-09-23 11:12:14] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc71fc8012d39570006a957c0000b001a32..."} 
[2026-09-23 11:12:14] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:14] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758732544,"raw_latitude":111761344,"longitude_deg":75.8732544,"latitude_deg":11.1761344,"altitude":11,"angle":26,"satellites":50,"speed":7,"hex_longitude":"2d395700","hex_latitude":"06a957c0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276348928001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406366651378827264,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131560105513988096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790141997000,"timestamp_ms":1790141997000,"timestamp_seconds":1790141997,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc71fc8"} 
[2026-09-23 11:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:12: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-09-23 11:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:12: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-09-23 11: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-09-23 11:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276348928001,"66":27876,"91":206,"81":23296,"24":7,"16":406366651378827264,"45":4131560105513988096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-23 11:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276348928001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:12:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 11:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406366651378827264,"km_value":406366651378827.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131560105513988096,"description":"Unknown IO ID 45"} 
[2026-09-23 11:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276348928001,"power":27876,"unknown_91":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":4131560105513988096}} 
[2026-09-23 11:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:12:14] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:12:14] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:12:34] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc775b8012d196880071fed10003901162f..."} 
[2026-09-23 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc775b8012d196880071fed10003901162f..."} 
[2026-09-23 11:12:34] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc775b8012d196880071fed10003901162f..."} 
[2026-09-23 11:12:34] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:34] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276351488001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142019000,"timestamp_ms":1790142019000,"timestamp_seconds":1790142019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc775b8"} 
[2026-09-23 11:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:12: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:12:34] 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-09-23 11: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-09-23 11:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276351488001,"66":11961,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276351488001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276351488001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:12:34] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:12:34] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:12:46] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:46] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:46] local.INFO: IMEI packet received {"connection_id":190302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":190302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:12:49] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:49] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:12:49] local.INFO: IMEI packet received {"connection_id":190302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":190302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:12:49] local.INFO: TCP Data received {"connection_id":190302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc8bdd8012d39050006aa9188000c015933..."} 
[2026-09-23 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc8bdd8012d39050006aa9188000c015933..."} 
[2026-09-23 11:12:49] local.INFO: Processing buffer {"connection_id":190302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc8bdd8012d39050006aa9188000c015933..."} 
[2026-09-23 11:12:49] local.INFO: Packet analysis {"connection_id":190302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:12:49] local.INFO: Extracted packet for processing {"connection_id":190302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758711552,"raw_latitude":111841672,"longitude_deg":75.8711552,"latitude_deg":11.1841672,"altitude":12,"angle":345,"satellites":51,"speed":48,"hex_longitude":"2d390500","hex_latitude":"06aa9188","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276376320001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406370684353118208,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111434644697466880,"note":"Value kept but may cause issues"} 
[2026-09-23 11:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790142103000,"timestamp_ms":1790142103000,"timestamp_seconds":1790142103,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc8bdd8"} 
[2026-09-23 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:12: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-09-23 11: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-09-23 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276376320001,"66":27789,"163":206,"81":23296,"24":48,"16":406370684353118208,"45":4111434644697466880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-23 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276376320001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:12:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 11:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406370684353118208,"km_value":406370684353118.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111434644697466880,"description":"Unknown IO ID 45"} 
[2026-09-23 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276376320001,"power":27789,"unknown_163":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":4111434644697466880}} 
[2026-09-23 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":190302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:12:49] local.INFO: GPS data processed {"connection_id":190302,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:12:49] local.INFO: Acknowledgment sent {"connection_id":190302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:13:02] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:02] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:02] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:13:03] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:03] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:03] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:13:04] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc7c7c0012d196880071fed10003901162b..."} 
[2026-09-23 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc7c7c0012d196880071fed10003901162b..."} 
[2026-09-23 11:13:04] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc7c7c0012d196880071fed10003901162b..."} 
[2026-09-23 11:13:04] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:13:04] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc7"} 
[2026-09-23 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276356864001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790142040000,"timestamp_ms":1790142040000,"timestamp_seconds":1790142040,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc7c7c0"} 
[2026-09-23 11:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:13: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-09-23 11:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 11:13:04] 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-09-23 11:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276356864001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276356864001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:13:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276356864001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:13:04] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:13:04] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:13:07] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc819c8012d196880071fed10003901162e..."} 
[2026-09-23 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc819c8012d196880071fed10003901162e..."} 
[2026-09-23 11:13:07] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc819c8012d196880071fed10003901162e..."} 
[2026-09-23 11:13:07] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:07] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276362240001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790142061000,"timestamp_ms":1790142061000,"timestamp_seconds":1790142061,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc819c8"} 
[2026-09-23 11:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:13: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691393102331963032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3330252801,"corrected_to":0} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:13:07] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,117,45,128,237,57,47,10,66,35,48,209,1,240,227,204,31,4,113,205,104,44,239,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3330252801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276362240001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276362240001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276362240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:13:07] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:13:07] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:13:30] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:30] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:30] local.INFO: IMEI packet received {"connection_id":190303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":190303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:13:31] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:31] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:31] local.INFO: IMEI packet received {"connection_id":190303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":190303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:13:37] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:37] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:13:37] local.INFO: IMEI packet received {"connection_id":190303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":190303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:13:37] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc8d930012d38fc0006aab380000c015934..."} 
[2026-09-23 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc8d930012d38fc0006aab380000c015934..."} 
[2026-09-23 11:13:37] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc8d930012d38fc0006aab380000c015934..."} 
[2026-09-23 11:13:37] local.INFO: Packet analysis {"connection_id":190303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:37] local.INFO: Extracted packet for processing {"connection_id":190303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758709248,"raw_latitude":111850368,"longitude_deg":75.8709248,"latitude_deg":11.1850368,"altitude":12,"angle":345,"satellites":52,"speed":52,"hex_longitude":"2d38fc00","hex_latitude":"06aab380","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276378368001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406371122439782400,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108690263676913664,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790142110000,"timestamp_ms":1790142110000,"timestamp_seconds":1790142110,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc8d930"} 
[2026-09-23 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-09-23 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-09-23 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":141,"data_length":795,"current_offset":136} 
[2026-09-23 11:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 11:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276378368001,"66":27876,"163":206,"81":23296,"24":52,"16":406371122439782400,"45":4108690263676913664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-23 11:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276378368001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:13:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 11:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 11:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406371122439782400,"km_value":406371122439782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108690263676913664,"description":"Unknown IO ID 45"} 
[2026-09-23 11:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276378368001,"power":27876,"unknown_163":206,"unknown_81":23296,"ignition":52,"odometer":null,"unknown_45":4108690263676913664}} 
[2026-09-23 11:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":190303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:13:37] local.INFO: GPS data processed {"connection_id":190303,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:13:37] local.INFO: Acknowledgment sent {"connection_id":190303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:13:38] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc86bd0012d196880071fed100039011630..."} 
[2026-09-23 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc86bd0012d196880071fed100039011630..."} 
[2026-09-23 11:13:38] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc86bd0012d196880071fed100039011630..."} 
[2026-09-23 11:13:38] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:38] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276367616001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142082000,"timestamp_ms":1790142082000,"timestamp_seconds":1790142082,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc86bd0"} 
[2026-09-23 11:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691302908018747032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3335628801,"corrected_to":0} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:13:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,116,160,199,45,128,237,57,43,10,66,117,47,35,1,240,255,227,204,31,4,113,205,127,104,46,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3335628801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:13:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276367616001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276367616001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:13:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276367616001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:13:39] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:13:39] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:13:57] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:57] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:13:57] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:14:02] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:02] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:02] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:14:03] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc8bdd8012d196880071fed100039011631..."} 
[2026-09-23 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc8bdd8012d196880071fed100039011631..."} 
[2026-09-23 11:14:03] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc8bdd8012d196880071fed100039011631..."} 
[2026-09-23 11:14:03] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:14:03] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc8"} 
[2026-09-23 11:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":49,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276372992001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142103000,"timestamp_ms":1790142103000,"timestamp_seconds":1790142103,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc8bdd8"} 
[2026-09-23 11:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:14: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691212713705531032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3341004801,"corrected_to":0} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,116,160,25,45,128,237,57,46,10,66,199,43,117,1,240,185,227,204,31,4,113,205,209,104,48,239,2,80,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3341004801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:14:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588730552844288,"timestamp_seconds":4107588730552844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276372992001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276372992001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:14:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276372992001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:14:03] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:14:03] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:14:09] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccca2150012d38898006ac64c8000b015934..."} 
[2026-09-23 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccca2150012d38898006ac64c8000b015934..."} 
[2026-09-23 11:14:09] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccca2150012d38898006ac64c8000b015934..."} 
[2026-09-23 11:14:09] local.INFO: Packet analysis {"connection_id":190303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:14:09] local.INFO: Extracted packet for processing {"connection_id":190303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758679936,"raw_latitude":111961288,"longitude_deg":75.8679936,"latitude_deg":11.1961288,"altitude":11,"angle":345,"satellites":52,"speed":57,"hex_longitude":"2d388980","hex_latitude":"06ac64c8","is_valid_coordinates":true} 
[2026-09-23 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276399872001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406376675832496128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076883591336785920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790142194000,"timestamp_ms":1790142194000,"timestamp_seconds":1790142194,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccca2150"} 
[2026-09-23 11:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:14: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-09-23 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 11:14: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-09-23 11:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:14: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-09-23 11:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276399872001,"66":27865,"186":206,"81":49664,"24":57,"16":406376675832496128,"45":4076883591336785920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-23 11:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276399872001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:14:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-23 11:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406376675832496128,"km_value":406376675832496.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076883591336785920,"description":"Unknown IO ID 45"} 
[2026-09-23 11:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276399872001,"power":27865,"unknown_186":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4076883591336785920}} 
[2026-09-23 11:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":190303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:14:09] local.INFO: GPS data processed {"connection_id":190303,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:14:09] local.INFO: Acknowledgment sent {"connection_id":190303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:14:34] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc90fe0012d196880071fed100039011632..."} 
[2026-09-23 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc90fe0012d196880071fed100039011632..."} 
[2026-09-23 11:14:34] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc90fe0012d196880071fed100039011632..."} 
[2026-09-23 11:14:34] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:14:34] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":50,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276378368001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142124000,"timestamp_ms":1790142124000,"timestamp_seconds":1790142124,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc90fe0"} 
[2026-09-23 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-09-23 11:14: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-09-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691122519392315032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3346380801,"corrected_to":0} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,107,45,128,237,57,48,10,66,25,46,199,1,240,227,204,31,4,113,205,35,104,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3346380801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588734847811584,"timestamp_seconds":4107588734847811.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 11:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276378368001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276378368001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:14:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276378368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:14:34] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:14:34] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:14:46] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:46] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:46] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:14:50] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:50] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:14:50] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:14:51] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccca3ca8012d387f8006ac8b58000c015832..."} 
[2026-09-23 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccca3ca8012d387f8006ac8b58000c015832..."} 
[2026-09-23 11:14:51] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccca3ca8012d387f8006ac8b58000c015832..."} 
[2026-09-23 11:14:51] local.INFO: Packet analysis {"connection_id":191825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:14:51] local.INFO: Extracted packet for processing {"connection_id":191825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758677376,"raw_latitude":111971160,"longitude_deg":75.8677376,"latitude_deg":11.197116,"altitude":12,"angle":344,"satellites":50,"speed":58,"hex_longitude":"2d387f80","hex_latitude":"06ac8b58","is_valid_coordinates":true} 
[2026-09-23 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276401664001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406377169753735168,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4073928104083769344,"note":"Value kept but may cause issues"} 
[2026-09-23 11:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790142201000,"timestamp_ms":1790142201000,"timestamp_seconds":1790142201,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccca3ca8"} 
[2026-09-23 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276401664001,"66":27876,"186":206,"81":49664,"24":58,"16":406377169753735168,"45":4073928104083769344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-23 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276401664001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:14:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-23 11:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406377169753735168,"km_value":406377169753735.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4073928104083769344,"description":"Unknown IO ID 45"} 
[2026-09-23 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276401664001,"power":27876,"unknown_186":206,"unknown_81":49664,"ignition":58,"odometer":null,"unknown_45":4073928104083769344}} 
[2026-09-23 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":191825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:14:51] local.INFO: GPS data processed {"connection_id":191825,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:14:51] local.INFO: Acknowledgment sent {"connection_id":191825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:14:57] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:57] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:14:57] local.INFO: IMEI packet received {"connection_id":190304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":190304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:15:02] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:02] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:02] local.INFO: IMEI packet received {"connection_id":190304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:15:03] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc961e8012d196880071fed100039011630..."} 
[2026-09-23 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc961e8012d196880071fed100039011630..."} 
[2026-09-23 11:15:03] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc961e8012d196880071fed100039011630..."} 
[2026-09-23 11:15:03] local.INFO: Packet analysis {"connection_id":190304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:15:03] local.INFO: Extracted packet for processing {"connection_id":190304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276383744001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142145000,"timestamp_ms":1790142145000,"timestamp_seconds":1790142145,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc961e8"} 
[2026-09-23 11:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:15: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3691032325079099032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3351756801,"corrected_to":0} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,189,45,128,237,57,49,10,66,107,48,25,1,240,227,204,31,4,113,205,117,104,47,239,46,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3351756801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:15:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588739142778880,"timestamp_seconds":4107588739142779.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276383744001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276383744001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276383744001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":190304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:15:03] local.INFO: GPS data processed {"connection_id":190304,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:15:03] local.INFO: Acknowledgment sent {"connection_id":190304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:15:31] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:31] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:31] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:15:33] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:33] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:33] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:15:34] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccc9b3f0012d196880071fed100039011630..."} 
[2026-09-23 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccc9b3f0012d196880071fed100039011630..."} 
[2026-09-23 11:15:34] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccc9b3f0012d196880071fed100039011630..."} 
[2026-09-23 11:15:34] local.INFO: Packet analysis {"connection_id":190304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:15:34] local.INFO: Extracted packet for processing {"connection_id":190304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccc9"} 
[2026-09-23 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276389120001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142166000,"timestamp_ms":1790142166000,"timestamp_seconds":1790142166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccc9b3f0"} 
[2026-09-23 11:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:15: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690942130765883032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3366723078924402894,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3357132801,"corrected_to":0} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,15,45,128,237,57,50,10,66,189,49,107,1,240,227,204,31,4,113,205,199,104,43,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3357132801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588730552844288,"timestamp_seconds":4107588730552844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276389120001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276389120001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:15:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276389120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":190304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:15:34] local.INFO: GPS data processed {"connection_id":190304,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:15:34] local.INFO: Acknowledgment sent {"connection_id":190304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:15:37] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:37] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:15:37] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:15:38] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccca5800012d38750006acb188000f015932..."} 
[2026-09-23 11:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccca5800012d38750006acb188000f015932..."} 
[2026-09-23 11:15:38] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccca5800012d38750006acb188000f015932..."} 
[2026-09-23 11:15:38] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:15:38] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758674688,"raw_latitude":111980936,"longitude_deg":75.8674688,"latitude_deg":11.1980936,"altitude":15,"angle":345,"satellites":50,"speed":56,"hex_longitude":"2d387500","hex_latitude":"06acb188","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276403456001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406377659380006912,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071113354319190016,"note":"Value kept but may cause issues"} 
[2026-09-23 11:15:38] 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-09-23 11:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142208000,"timestamp_ms":1790142208000,"timestamp_seconds":1790142208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccca5800"} 
[2026-09-23 11:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:15: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-09-23 11: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-09-23 11:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:15: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-09-23 11:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276403456001,"66":27745,"185":206,"81":49664,"24":56,"16":406377659380006912,"45":4071113354319190016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-23 11:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276403456001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:15:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 11:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406377659380006912,"km_value":406377659380006.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071113354319190016,"description":"Unknown IO ID 45"} 
[2026-09-23 11:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276403456001,"power":27745,"unknown_185":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4071113354319190016}} 
[2026-09-23 11:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:15:38] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:15:38] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:15:58] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:58] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:15:58] local.INFO: IMEI packet received {"connection_id":193161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":193161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:16:02] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:02] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:02] local.INFO: IMEI packet received {"connection_id":193161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":193161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:16:03] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccca05f8012d196880071fed100039011632..."} 
[2026-09-23 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccca05f8012d196880071fed100039011632..."} 
[2026-09-23 11:16:03] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccca05f8012d196880071fed100039011632..."} 
[2026-09-23 11:16:03] local.INFO: Packet analysis {"connection_id":193161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:16:03] local.INFO: Extracted packet for processing {"connection_id":193161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":50,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276394496001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142187000,"timestamp_ms":1790142187000,"timestamp_seconds":1790142187,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccca05f8"} 
[2026-09-23 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:16: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:16: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-09-23 11: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-09-23 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276394496001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276394496001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276394496001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:16:03] local.INFO: GPS data processed {"connection_id":193161,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:16:03] local.INFO: Acknowledgment sent {"connection_id":193161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:16:10] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccbea58012d37bac006ae3b20000d014732..."} 
[2026-09-23 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccbea58012d37bac006ae3b20000d014732..."} 
[2026-09-23 11:16:10] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccbea58012d37bac006ae3b20000d014732..."} 
[2026-09-23 11:16:10] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:16:10] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758627008,"raw_latitude":112081696,"longitude_deg":75.8627008,"latitude_deg":11.2081696,"altitude":13,"angle":327,"satellites":50,"speed":49,"hex_longitude":"2d37bac0","hex_latitude":"06ae3b20","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276429568001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406383101103570944,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4021433020955951104,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16: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-09-23 11:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790142311000,"timestamp_ms":1790142311000,"timestamp_seconds":1790142311,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccbea58"} 
[2026-09-23 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-09-23 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-09-23 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":184,"data_length":795,"current_offset":136} 
[2026-09-23 11:16: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-09-23 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-09-23 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-09-23 11:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276429568001,"66":27930,"6":206,"81":49664,"24":49,"16":406383101103570944,"45":4021433020955951104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 11:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276429568001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:16:10] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 11:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406383101103570944,"km_value":406383101103570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4021433020955951104,"description":"Unknown IO ID 45"} 
[2026-09-23 11:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276429568001,"power":27930,"unknown_6":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4021433020955951104}} 
[2026-09-23 11:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:16:10] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:16:10] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:16:33] local.INFO: TCP Data received {"connection_id":193163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:33] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:33] local.INFO: IMEI packet received {"connection_id":193163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":193163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:16:34] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccca5800012d196880071fed100039011630..."} 
[2026-09-23 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccca5800012d196880071fed100039011630..."} 
[2026-09-23 11:16:34] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccca5800012d196880071fed100039011630..."} 
[2026-09-23 11:16:34] local.INFO: Packet analysis {"connection_id":193161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:16:34] local.INFO: Extracted packet for processing {"connection_id":193161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276399872001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142208000,"timestamp_ms":1790142208000,"timestamp_seconds":1790142208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccca5800"} 
[2026-09-23 11:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:16: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-09-23 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 11:16: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-09-23 11:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276399872001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276399872001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276399872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":193161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:16:34] local.INFO: GPS data processed {"connection_id":193161,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:16:34] local.INFO: Acknowledgment sent {"connection_id":193161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:16:37] local.INFO: TCP Data received {"connection_id":193163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:37] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:37] local.INFO: IMEI packet received {"connection_id":193163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":193163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:16:42] local.INFO: TCP Data received {"connection_id":193163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:42] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:16:42] local.INFO: IMEI packet received {"connection_id":193163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":193163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:16:42] local.INFO: TCP Data received {"connection_id":193163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccc0998012d37a60006ae5be0000c014832..."} 
[2026-09-23 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccc0998012d37a60006ae5be0000c014832..."} 
[2026-09-23 11:16:42] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccc0998012d37a60006ae5be0000c014832..."} 
[2026-09-23 11:16:42] local.INFO: Packet analysis {"connection_id":193163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:16:42] local.INFO: Extracted packet for processing {"connection_id":193163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758621696,"raw_latitude":112090080,"longitude_deg":75.8621696,"latitude_deg":11.209008,"altitude":12,"angle":328,"satellites":50,"speed":49,"hex_longitude":"2d37a600","hex_latitude":"06ae5be0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276431616001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406383577844940800,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4015733152679665664,"note":"Value kept but may cause issues"} 
[2026-09-23 11:16:42] 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-09-23 11:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790142319000,"timestamp_ms":1790142319000,"timestamp_seconds":1790142319,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccc0998"} 
[2026-09-23 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-09-23 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-09-23 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 11:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 11:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276431616001,"66":27789,"6":206,"81":49664,"24":49,"16":406383577844940800,"45":4015733152679665664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 11:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276431616001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:16:42] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 11:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406383577844940800,"km_value":406383577844940.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4015733152679665664,"description":"Unknown IO ID 45"} 
[2026-09-23 11:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276431616001,"power":27789,"unknown_6":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4015733152679665664}} 
[2026-09-23 11:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":193163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:16:42] local.INFO: GPS data processed {"connection_id":193163,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:16:42] local.INFO: Acknowledgment sent {"connection_id":193163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:16:57] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:57] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:16:57] local.INFO: IMEI packet received {"connection_id":193164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":193164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:17:02] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:02] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:02] local.INFO: IMEI packet received {"connection_id":193164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":193164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:17:03] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccaaa08012d196880071fed100039011630..."} 
[2026-09-23 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccaaa08012d196880071fed100039011630..."} 
[2026-09-23 11:17:03] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccaaa08012d196880071fed100039011630..."} 
[2026-09-23 11:17:03] local.INFO: Packet analysis {"connection_id":193164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:17:03] local.INFO: Extracted packet for processing {"connection_id":193164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276405248001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142229000,"timestamp_ms":1790142229000,"timestamp_seconds":1790142229,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccaaa08"} 
[2026-09-23 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-09-23 11:17: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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:17: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-09-23 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-09-23 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-09-23 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276405248001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276405248001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276405248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":193164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:17:03] local.INFO: GPS data processed {"connection_id":193164,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:17:03] local.INFO: Acknowledgment sent {"connection_id":193164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:17:13] local.INFO: TCP Data received {"connection_id":193163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccc24f0012d3792c006ae7978000c014731..."} 
[2026-09-23 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccc24f0012d3792c006ae7978000c014731..."} 
[2026-09-23 11:17:13] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccc24f0012d3792c006ae7978000c014731..."} 
[2026-09-23 11:17:13] local.INFO: Packet analysis {"connection_id":193163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:17:13] local.INFO: Extracted packet for processing {"connection_id":193163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758616768,"raw_latitude":112097656,"longitude_deg":75.8616768,"latitude_deg":11.2097656,"altitude":12,"angle":327,"satellites":49,"speed":52,"hex_longitude":"2d3792c0","hex_latitude":"06ae7978","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276433664001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406384011636637696,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4009892546915065856,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:13] 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-09-23 11:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790142326000,"timestamp_ms":1790142326000,"timestamp_seconds":1790142326,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccc24f0"} 
[2026-09-23 11:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:17: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-09-23 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 11:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:17: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-09-23 11:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276433664001,"66":27908,"6":206,"81":49664,"24":52,"16":406384011636637696,"45":4009892546915065856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 11:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276433664001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:17:13] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 11:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406384011636637696,"km_value":406384011636637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4009892546915065856,"description":"Unknown IO ID 45"} 
[2026-09-23 11:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276433664001,"power":27908,"unknown_6":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4009892546915065856}} 
[2026-09-23 11:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":193163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:17:13] local.INFO: GPS data processed {"connection_id":193163,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:17:13] local.INFO: Acknowledgment sent {"connection_id":193163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:17:31] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:31] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:31] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:17:32] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:32] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:32] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:17:34] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccafc10012d196880071fed10003901162e..."} 
[2026-09-23 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccafc10012d196880071fed10003901162e..."} 
[2026-09-23 11:17:34] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccafc10012d196880071fed10003901162e..."} 
[2026-09-23 11:17:34] local.INFO: Packet analysis {"connection_id":193164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:17:34] local.INFO: Extracted packet for processing {"connection_id":193164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccca"} 
[2026-09-23 11:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:17: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-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276410624001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142250000,"timestamp_ms":1790142250000,"timestamp_seconds":1790142250,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccafc10"} 
[2026-09-23 11:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:17: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-09-23 11:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690581353513019032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78303919595323392,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3378636801,"corrected_to":0} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,88,45,128,237,57,48,10,66,5,50,179,1,240,255,227,204,31,4,113,205,15,104,239,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3378636801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:17:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588730552844288,"timestamp_seconds":4107588730552844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276410624001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276410624001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:17:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276410624001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":193164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:17:34] local.INFO: GPS data processed {"connection_id":193164,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:17:34] local.INFO: Acknowledgment sent {"connection_id":193164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:17:36] local.INFO: TCP Data received {"connection_id":190305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:17:36] local.INFO: Processing buffer {"connection_id":190305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:17:36] local.INFO: IMEI packet received {"connection_id":190305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":190305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:17:37] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:37] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:17:37] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:17:38] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccc4048012d377ec006ae9838000d01462f..."} 
[2026-09-23 11:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccc4048012d377ec006ae9838000d01462f..."} 
[2026-09-23 11:17:38] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccc4048012d377ec006ae9838000d01462f..."} 
[2026-09-23 11:17:38] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:17:38] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758611648,"raw_latitude":112105528,"longitude_deg":75.8611648,"latitude_deg":11.2105528,"altitude":13,"angle":326,"satellites":47,"speed":53,"hex_longitude":"2d377ec0","hex_latitude":"06ae9838","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276435456001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406384466903171072,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4004474153615325184,"note":"Value kept but may cause issues"} 
[2026-09-23 11:17:38] 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-09-23 11:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142333000,"timestamp_ms":1790142333000,"timestamp_seconds":1790142333,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccc4048"} 
[2026-09-23 11:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:17: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-09-23 11: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-09-23 11:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:17: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-09-23 11:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276435456001,"66":27887,"6":206,"81":49664,"24":53,"16":406384466903171072,"45":4004474153615325184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 11:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276435456001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:17:38] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 11:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 11:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406384466903171072,"km_value":406384466903171.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4004474153615325184,"description":"Unknown IO ID 45"} 
[2026-09-23 11:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276435456001,"power":27887,"unknown_6":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4004474153615325184}} 
[2026-09-23 11:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:17:38] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:17:38] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:17:57] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: IMEI packet received {"connection_id":190307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":190307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:17:57] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:17:57] local.INFO: IMEI packet received {"connection_id":190307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":190307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:18:02] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:18:02] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:18:02] local.INFO: IMEI packet received {"connection_id":190307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":190307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:18:03] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccb4e18012d196880071fed100039011630..."} 
[2026-09-23 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccb4e18012d196880071fed100039011630..."} 
[2026-09-23 11:18:03] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccb4e18012d196880071fed100039011630..."} 
[2026-09-23 11:18:03] local.INFO: Packet analysis {"connection_id":190307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:18:03] local.INFO: Extracted packet for processing {"connection_id":190307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276416000001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142271000,"timestamp_ms":1790142271000,"timestamp_seconds":1790142271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccb4e18"} 
[2026-09-23 11:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:18: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-09-23 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 11:18: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-09-23 11: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-09-23 11:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276416000001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276416000001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276416000001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":190307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:18:03] local.INFO: GPS data processed {"connection_id":190307,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:18:03] local.INFO: Acknowledgment sent {"connection_id":190307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:18:09] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccdcad0012d36a7c006b03fe8000e014f31..."} 
[2026-09-23 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccdcad0012d36a7c006b03fe8000e014f31..."} 
[2026-09-23 11:18:09] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccdcad0012d36a7c006b03fe8000e014f31..."} 
[2026-09-23 11:18:09] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:18:09] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758556608,"raw_latitude":112213992,"longitude_deg":75.8556608,"latitude_deg":11.2213992,"altitude":14,"angle":335,"satellites":49,"speed":49,"hex_longitude":"2d36a7c0","hex_latitude":"06b03fe8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276461312001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406390355303333888,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3942620027510816768,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:09] 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-09-23 11:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790142434000,"timestamp_ms":1790142434000,"timestamp_seconds":1790142434,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccdcad0"} 
[2026-09-23 11:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:18: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-09-23 11: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-09-23 11:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276461312001,"66":27974,"85":206,"81":23552,"24":49,"16":406390355303333888,"45":3942620027510816768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-23 11:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276461312001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-23 11:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406390355303333888,"km_value":406390355303333.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3942620027510816768,"description":"Unknown IO ID 45"} 
[2026-09-23 11:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276461312001,"power":27974,"unknown_85":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3942620027510816768}} 
[2026-09-23 11:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:18:09] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:18:09] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:18:10] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:18:10] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:18:10] local.INFO: IMEI packet received {"connection_id":190480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":190480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:18:31] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:31] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:31] local.INFO: IMEI packet received {"connection_id":190481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":190481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:18:34] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccba020012d196880071fed10003901162f..."} 
[2026-09-23 11:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccba020012d196880071fed10003901162f..."} 
[2026-09-23 11:18:34] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccba020012d196880071fed10003901162f..."} 
[2026-09-23 11:18:34] local.INFO: Packet analysis {"connection_id":190307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:18:34] local.INFO: Extracted packet for processing {"connection_id":190307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276421376001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142292000,"timestamp_ms":1790142292000,"timestamp_seconds":1790142292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccba020"} 
[2026-09-23 11:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:18: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690400964886587032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3389388801,"corrected_to":0} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,116,160,252,45,128,237,57,46,10,66,170,48,88,1,240,255,227,204,31,4,113,205,179,104,239,47,2,80,7,50],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3389388801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:18:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588730552844288,"timestamp_seconds":4107588730552844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276421376001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276421376001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:18:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276421376001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":190307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:18:34] local.INFO: GPS data processed {"connection_id":190307,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:18:34] local.INFO: Acknowledgment sent {"connection_id":190307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:18:37] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:37] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:18:37] local.INFO: IMEI packet received {"connection_id":190481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":190481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:18:39] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccdea10012d36968006b062a8000e014f32..."} 
[2026-09-23 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccdea10012d36968006b062a8000e014f32..."} 
[2026-09-23 11:18:39] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccdea10012d36968006b062a8000e014f32..."} 
[2026-09-23 11:18:39] local.INFO: Packet analysis {"connection_id":190481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:18:39] local.INFO: Extracted packet for processing {"connection_id":190481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758552192,"raw_latitude":112222888,"longitude_deg":75.8552192,"latitude_deg":11.2222888,"altitude":14,"angle":335,"satellites":50,"speed":50,"hex_longitude":"2d369680","hex_latitude":"06b062a8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276463104001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406390836339671040,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3938327534118103040,"note":"Value kept but may cause issues"} 
[2026-09-23 11:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790142442000,"timestamp_ms":1790142442000,"timestamp_seconds":1790142442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccdea10"} 
[2026-09-23 11:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 11:18: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-09-23 11: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-09-23 11:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:18: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-09-23 11:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276463104001,"66":27919,"85":206,"81":23552,"24":50,"16":406390836339671040,"45":3938327534118103040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-23 11:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276463104001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-23 11:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406390836339671040,"km_value":406390836339671.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3938327534118103040,"description":"Unknown IO ID 45"} 
[2026-09-23 11:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276463104001,"power":27919,"unknown_85":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3938327534118103040}} 
[2026-09-23 11:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:18:39] local.INFO: GPS data processed {"connection_id":190481,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:18:39] local.INFO: Acknowledgment sent {"connection_id":190481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:19:00] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:00] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:00] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:19:02] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:02] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:02] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:19:07] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:07] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:07] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:19:08] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccbf228012d196880071fed100039011630..."} 
[2026-09-23 11:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccbf228012d196880071fed100039011630..."} 
[2026-09-23 11:19:08] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccbf228012d196880071fed100039011630..."} 
[2026-09-23 11:19:08] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:19:08] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccb"} 
[2026-09-23 11:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276426752001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790142313000,"timestamp_ms":1790142313000,"timestamp_seconds":1790142313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccbf228"} 
[2026-09-23 11:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690310770573371032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3394764801,"corrected_to":0} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,78,45,128,237,57,48,10,66,252,46,170,1,240,227,204,31,4,113,205,5,104,50,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3394764801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:19:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588726257876992,"timestamp_seconds":4107588726257877.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276426752001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276426752001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:19:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276426752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:19:08] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:19:08] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:19:11] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccce0950012d36864006b08518000d014f34..."} 
[2026-09-23 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccce0950012d36864006b08518000d014f34..."} 
[2026-09-23 11:19:11] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccce0950012d36864006b08518000d014f34..."} 
[2026-09-23 11:19:11] local.INFO: Packet analysis {"connection_id":190481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccce"} 
[2026-09-23 11:19:11] local.INFO: Extracted packet for processing {"connection_id":190481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccce"} 
[2026-09-23 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758548032,"raw_latitude":112231704,"longitude_deg":75.8548032,"latitude_deg":11.2231704,"altitude":13,"angle":335,"satellites":52,"speed":46,"hex_longitude":"2d368640","hex_latitude":"06b08518","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276465152001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406391304491106304,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933472090772121600,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19: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-09-23 11:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790142450000,"timestamp_ms":1790142450000,"timestamp_seconds":1790142450,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccce0950"} 
[2026-09-23 11:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":15,"data_length":795,"current_offset":136} 
[2026-09-23 11:19: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-09-23 11: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-09-23 11:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276465152001,"66":27832,"85":206,"81":23552,"24":46,"16":406391304491106304,"45":3933472090772121600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-23 11:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276465152001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-23 11:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406391304491106304,"km_value":406391304491106.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933472090772121600,"description":"Unknown IO ID 45"} 
[2026-09-23 11:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276465152001,"power":27832,"unknown_85":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3933472090772121600}} 
[2026-09-23 11:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":190481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:19:11] local.INFO: GPS data processed {"connection_id":190481,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:19:11] local.INFO: Acknowledgment sent {"connection_id":190481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:19:12] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccc4430012d196880071fed100039011631..."} 
[2026-09-23 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccc4430012d196880071fed100039011631..."} 
[2026-09-23 11:19:12] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccc4430012d196880071fed100039011631..."} 
[2026-09-23 11:19:12] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:19:12] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":49,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276432128001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790142334000,"timestamp_ms":1790142334000,"timestamp_seconds":1790142334,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccc4430"} 
[2026-09-23 11:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:19:12] 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-09-23 11: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-09-23 11:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276432128001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276432128001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:19:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276432128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:19:13] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:19:13] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:19:57] local.INFO: TCP Data received {"connection_id":191827,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:57] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:19:57] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:20:02] local.INFO: TCP Data received {"connection_id":191827,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:02] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:02] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:20:03] local.INFO: TCP Data received {"connection_id":191827,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccc9638012d196880071fed100039011631..."} 
[2026-09-23 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccc9638012d196880071fed100039011631..."} 
[2026-09-23 11:20:03] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccc9638012d196880071fed100039011631..."} 
[2026-09-23 11:20:03] local.INFO: Packet analysis {"connection_id":191827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:20:03] local.INFO: Extracted packet for processing {"connection_id":191827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":49,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276437504001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142355000,"timestamp_ms":1790142355000,"timestamp_seconds":1790142355,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccc9638"} 
[2026-09-23 11:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:20: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-09-23 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690130381946939032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3405516801,"corrected_to":0} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:20:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,242,45,128,237,57,48,10,66,47,78,1,240,227,204,31,4,113,205,170,104,239,2,80,7,50],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3405516801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:20:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588734847811584,"timestamp_seconds":4107588734847811.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276437504001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276437504001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:20:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276437504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":191827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:20:03] local.INFO: GPS data processed {"connection_id":191827,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:20:03] local.INFO: Acknowledgment sent {"connection_id":191827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:20:06] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:06] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:06] local.INFO: IMEI packet received {"connection_id":193165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":193165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:20:10] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:10] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:10] local.INFO: IMEI packet received {"connection_id":193165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":193165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:20:11] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccf2678012d35eec006b1d2880011013830..."} 
[2026-09-23 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccf2678012d35eec006b1d2880011013830..."} 
[2026-09-23 11:20:11] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccf2678012d35eec006b1d2880011013830..."} 
[2026-09-23 11:20:11] local.INFO: Packet analysis {"connection_id":193165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:20:11] local.INFO: Extracted packet for processing {"connection_id":193165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758509248,"raw_latitude":112317064,"longitude_deg":75.8509248,"latitude_deg":11.2317064,"altitude":17,"angle":312,"satellites":48,"speed":52,"hex_longitude":"2d35eec0","hex_latitude":"06b1d288","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276484352001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406395857156440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3892024900474058752,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790142523000,"timestamp_ms":1790142523000,"timestamp_seconds":1790142523,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccf2678"} 
[2026-09-23 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:20: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-09-23 11: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-09-23 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:20: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-09-23 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276484352001,"66":27843,"221":206,"81":23552,"24":52,"16":406395857156440064,"45":3892024900474058752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276484352001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406395857156440064,"km_value":406395857156440.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3892024900474058752,"description":"Unknown IO ID 45"} 
[2026-09-23 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276484352001,"power":27843,"unknown_221":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3892024900474058752}} 
[2026-09-23 11:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":193165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:20:11] local.INFO: GPS data processed {"connection_id":193165,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:20:11] local.INFO: Acknowledgment sent {"connection_id":193165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:20:34] local.INFO: TCP Data received {"connection_id":191827,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccce840012d196880071fed10003901162f..."} 
[2026-09-23 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccce840012d196880071fed10003901162f..."} 
[2026-09-23 11:20:34] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccce840012d196880071fed10003901162f..."} 
[2026-09-23 11:20:34] local.INFO: Packet analysis {"connection_id":191827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:20:34] local.INFO: Extracted packet for processing {"connection_id":191827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccc"} 
[2026-09-23 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276442880001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142376000,"timestamp_ms":1790142376000,"timestamp_seconds":1790142376,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccce840"} 
[2026-09-23 11:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:20: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3690040187633723032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3410892801,"corrected_to":0} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,68,45,128,237,57,49,10,66,242,48,1,240,227,204,31,4,113,205,252,104,46,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3410892801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:20:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588734847811584,"timestamp_seconds":4107588734847811.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276442880001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276442880001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:20:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276442880001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":191827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:20:34] local.INFO: GPS data processed {"connection_id":191827,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:20:34] local.INFO: Acknowledgment sent {"connection_id":191827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:20:36] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:36] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:36] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:20:41] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:41] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:20:41] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:20:42] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccf45b8012d35cdc006b1ea58000e012f32..."} 
[2026-09-23 11:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccf45b8012d35cdc006b1ea58000e012f32..."} 
[2026-09-23 11:20:42] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccf45b8012d35cdc006b1ea58000e012f32..."} 
[2026-09-23 11:20:42] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:20:42] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758500800,"raw_latitude":112323160,"longitude_deg":75.85008,"latitude_deg":11.232316,"altitude":14,"angle":303,"satellites":50,"speed":54,"hex_longitude":"2d35cdc0","hex_latitude":"06b1ea58","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276485888001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406396355372646400,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3886254663453018112,"note":"Value kept but may cause issues"} 
[2026-09-23 11:20:42] 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-09-23 11:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790142531000,"timestamp_ms":1790142531000,"timestamp_seconds":1790142531,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccf45b8"} 
[2026-09-23 11:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:20: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-09-23 11: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-09-23 11:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:20: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-09-23 11:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276485888001,"66":27821,"221":206,"81":23552,"24":54,"16":406396355372646400,"45":3886254663453018112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276485888001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406396355372646400,"km_value":406396355372646.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3886254663453018112,"description":"Unknown IO ID 45"} 
[2026-09-23 11:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276485888001,"power":27821,"unknown_221":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3886254663453018112}} 
[2026-09-23 11:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:20:42] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:20:42] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:20:57] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:57] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:20:57] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:21:02] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:02] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:02] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:21:03] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccd3a48012d196880071fed100039011630..."} 
[2026-09-23 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccd3a48012d196880071fed100039011630..."} 
[2026-09-23 11:21:03] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccd3a48012d196880071fed100039011630..."} 
[2026-09-23 11:21:03] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:21:03] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276448256001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142397000,"timestamp_ms":1790142397000,"timestamp_seconds":1790142397,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccd3a48"} 
[2026-09-23 11:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:21: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-09-23 11: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:21:03] 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-09-23 11: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-09-23 11:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276448256001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276448256001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276448256001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:21:03] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:21:03] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:21:14] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccf6110012d35adc006b1fee0000c012f33..."} 
[2026-09-23 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccf6110012d35adc006b1fee0000c012f33..."} 
[2026-09-23 11:21:14] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccf6110012d35adc006b1fee0000c012f33..."} 
[2026-09-23 11:21:14] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:21:14] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758492608,"raw_latitude":112328416,"longitude_deg":75.8492608,"latitude_deg":11.2328416,"altitude":12,"angle":303,"satellites":51,"speed":57,"hex_longitude":"2d35adc0","hex_latitude":"06b1fee0","is_valid_coordinates":true} 
[2026-09-23 11:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276487936001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406396823524081664,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3876965989223127040,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:14] 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-09-23 11:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790142538000,"timestamp_ms":1790142538000,"timestamp_seconds":1790142538,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccf6110"} 
[2026-09-23 11:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 11:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276487936001,"66":27843,"221":206,"81":23552,"24":57,"16":406396823524081664,"45":3876965989223127040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276487936001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:21:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406396823524081664,"km_value":406396823524081.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3876965989223127040,"description":"Unknown IO ID 45"} 
[2026-09-23 11:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276487936001,"power":27843,"unknown_221":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3876965989223127040}} 
[2026-09-23 11:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:21:14] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:21:14] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:21:31] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:31] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:31] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:21:34] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccd8c50012d196880071fed10003901162f..."} 
[2026-09-23 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccd8c50012d196880071fed10003901162f..."} 
[2026-09-23 11:21:34] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccd8c50012d196880071fed10003901162f..."} 
[2026-09-23 11:21:34] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:21:34] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276453632001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142418000,"timestamp_ms":1790142418000,"timestamp_seconds":1790142418,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccd8c50"} 
[2026-09-23 11:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:21:34] 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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:21:34] 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-09-23 11: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-09-23 11:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276453632001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276453632001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276453632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:21:34] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:21:34] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:21:37] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:21:37] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:37] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:21:41] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:41] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:21:41] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:21:42] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccf7880012d358f8006b211e8000a012e32..."} 
[2026-09-23 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccf7880012d358f8006b211e8000a012e32..."} 
[2026-09-23 11:21:42] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccf7880012d358f8006b211e8000a012e32..."} 
[2026-09-23 11:21:42] local.INFO: Packet analysis {"connection_id":193167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:21:42] local.INFO: Extracted packet for processing {"connection_id":193167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758484864,"raw_latitude":112333288,"longitude_deg":75.8484864,"latitude_deg":11.2333288,"altitude":10,"angle":302,"satellites":50,"speed":61,"hex_longitude":"2d358f80","hex_latitude":"06b211e8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276489728001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406397257315778560,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3867958789969731584,"note":"Value kept but may cause issues"} 
[2026-09-23 11:21:42] 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-09-23 11:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790142544000,"timestamp_ms":1790142544000,"timestamp_seconds":1790142544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccf7880"} 
[2026-09-23 11:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:21: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-09-23 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:21: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-09-23 11: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-09-23 11:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:21: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-09-23 11:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276489728001,"66":27691,"221":206,"81":23552,"24":61,"16":406397257315778560,"45":3867958789969731584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276489728001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406397257315778560,"km_value":406397257315778.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3867958789969731584,"description":"Unknown IO ID 45"} 
[2026-09-23 11:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276489728001,"power":27691,"unknown_221":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3867958789969731584}} 
[2026-09-23 11:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":193167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:21:42] local.INFO: GPS data processed {"connection_id":193167,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:21:42] local.INFO: Acknowledgment sent {"connection_id":193167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:21:57] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:57] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:21:57] local.INFO: IMEI packet received {"connection_id":193168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":193168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:22:02] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:02] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:02] local.INFO: IMEI packet received {"connection_id":193168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":193168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:22:02] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccdde58012d196880071fed10003901162f..."} 
[2026-09-23 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccdde58012d196880071fed10003901162f..."} 
[2026-09-23 11:22:02] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccdde58012d196880071fed10003901162f..."} 
[2026-09-23 11:22:02] local.INFO: Packet analysis {"connection_id":193168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:22:02] local.INFO: Extracted packet for processing {"connection_id":193168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccd"} 
[2026-09-23 11:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276459008001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790142439000,"timestamp_ms":1790142439000,"timestamp_seconds":1790142439,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccdde58"} 
[2026-09-23 11:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:22: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:22:02] 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-09-23 11: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-09-23 11:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276459008001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276459008001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276459008001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":193168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:22:03] local.INFO: GPS data processed {"connection_id":193168,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:22:03] local.INFO: Acknowledgment sent {"connection_id":193168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:22:14] local.INFO: TCP Data received {"connection_id":193167,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccf8ff0012d35718006b224e8000b012e32..."} 
[2026-09-23 11:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccf8ff0012d35718006b224e8000b012e32..."} 
[2026-09-23 11:22:14] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccf8ff0012d35718006b224e8000b012e32..."} 
[2026-09-23 11:22:14] local.INFO: Packet analysis {"connection_id":193167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:22:14] local.INFO: Extracted packet for processing {"connection_id":193167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758477184,"raw_latitude":112338152,"longitude_deg":75.8477184,"latitude_deg":11.2338152,"altitude":11,"angle":302,"satellites":50,"speed":58,"hex_longitude":"2d357180","hex_latitude":"06b224e8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276491264001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406397695402442752,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3859444171925481472,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:14] 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-09-23 11:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790142550000,"timestamp_ms":1790142550000,"timestamp_seconds":1790142550,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccf8ff0"} 
[2026-09-23 11:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 11:22: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-09-23 11: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-09-23 11:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276491264001,"66":27974,"221":206,"81":23552,"24":58,"16":406397695402442752,"45":3859444171925481472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276491264001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:22:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406397695402442752,"km_value":406397695402442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3859444171925481472,"description":"Unknown IO ID 45"} 
[2026-09-23 11:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276491264001,"power":27974,"unknown_221":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3859444171925481472}} 
[2026-09-23 11:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":193167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:22:14] local.INFO: GPS data processed {"connection_id":193167,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:22:14] local.INFO: Acknowledgment sent {"connection_id":193167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:22:34] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd164b0012d196880071fed10003901162f..."} 
[2026-09-23 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd164b0012d196880071fed10003901162f..."} 
[2026-09-23 11:22:34] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd164b0012d196880071fed10003901162f..."} 
[2026-09-23 11:22:34] local.INFO: Packet analysis {"connection_id":193168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd1"} 
[2026-09-23 11:22:34] local.INFO: Extracted packet for processing {"connection_id":193168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd1"} 
[2026-09-23 11:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276518144001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142670000,"timestamp_ms":1790142670000,"timestamp_seconds":1790142670,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd164b0"} 
[2026-09-23 11:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:22: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:22:34] 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-09-23 11: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-09-23 11:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276518144001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276518144001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276518144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":193168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:22:34] local.INFO: GPS data processed {"connection_id":193168,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:22:34] local.INFO: Acknowledgment sent {"connection_id":193168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:22:37] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:37] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:37] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:22:42] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:42] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:22:42] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:22:43] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cccfab48012d354fc006b23ad0000a012f32..."} 
[2026-09-23 11:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cccfab48012d354fc006b23ad0000a012f32..."} 
[2026-09-23 11:22:43] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cccfab48012d354fc006b23ad0000a012f32..."} 
[2026-09-23 11:22:43] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:22:43] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cccf"} 
[2026-09-23 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758468544,"raw_latitude":112343760,"longitude_deg":75.8468544,"latitude_deg":11.234376,"altitude":10,"angle":303,"satellites":50,"speed":58,"hex_longitude":"2d354fc0","hex_latitude":"06b23ad0","is_valid_coordinates":true} 
[2026-09-23 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276492800001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406398185028714496,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3850999922625406976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790142557000,"timestamp_ms":1790142557000,"timestamp_seconds":1790142557,"priority":1,"record_length":96,"hex_timestamp":"000001a0cccfab48"} 
[2026-09-23 11:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:22: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-09-23 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 11:22: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-09-23 11:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:22: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-09-23 11:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276492800001,"66":27974,"221":206,"81":23552,"24":58,"16":406398185028714496,"45":3850999922625406976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 11:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276492800001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 11:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406398185028714496,"km_value":406398185028714.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3850999922625406976,"description":"Unknown IO ID 45"} 
[2026-09-23 11:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276492800001,"power":27974,"unknown_221":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3850999922625406976}} 
[2026-09-23 11:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:22:43] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:22:43] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:22:57] local.INFO: TCP Data received {"connection_id":193169,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:57] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:22:57] local.INFO: IMEI packet received {"connection_id":193169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":193169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:23:02] local.INFO: TCP Data received {"connection_id":193169,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:02] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:02] local.INFO: IMEI packet received {"connection_id":193169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":193169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:23:03] local.INFO: TCP Data received {"connection_id":193169,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd1b6b8012d196880071fed10003901162d..."} 
[2026-09-23 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd1b6b8012d196880071fed10003901162d..."} 
[2026-09-23 11:23:03] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd1b6b8012d196880071fed10003901162d..."} 
[2026-09-23 11:23:03] local.INFO: Packet analysis {"connection_id":193169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd1"} 
[2026-09-23 11:23:03] local.INFO: Extracted packet for processing {"connection_id":193169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd1"} 
[2026-09-23 11:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276523520001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142691000,"timestamp_ms":1790142691000,"timestamp_seconds":1790142691,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd1b6b8"} 
[2026-09-23 11:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:23: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:23: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-09-23 11: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-09-23 11:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276523520001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276523520001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:23:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276523520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":193169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:23:03] local.INFO: GPS data processed {"connection_id":193169,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:23:03] local.INFO: Acknowledgment sent {"connection_id":193169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:23:15] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd26298012d340cc006b30cb8000f013133..."} 
[2026-09-23 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd26298012d340cc006b30cb8000f013133..."} 
[2026-09-23 11:23:15] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd26298012d340cc006b30cb8000f013133..."} 
[2026-09-23 11:23:15] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:15] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758385856,"raw_latitude":112397496,"longitude_deg":75.8385856,"latitude_deg":11.2397496,"altitude":15,"angle":305,"satellites":51,"speed":39,"hex_longitude":"2d340cc0","hex_latitude":"06b30cb8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276537600001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406402913787707392,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3759239080231593984,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:15] 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-09-23 11:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790142735000,"timestamp_ms":1790142735000,"timestamp_seconds":1790142735,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd26298"} 
[2026-09-23 11:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:23: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-09-23 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:23: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-09-23 11: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-09-23 11:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:23: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-09-23 11:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276537600001,"66":27832,"82":206,"81":23552,"24":39,"16":406402913787707392,"45":3759239080231593984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 11:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276537600001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:23:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 11:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406402913787707392,"km_value":406402913787707.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3759239080231593984,"description":"Unknown IO ID 45"} 
[2026-09-23 11:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276537600001,"power":27832,"unknown_82":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3759239080231593984}} 
[2026-09-23 11:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:23:15] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:23:15] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:23:31] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:23:31] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:23:31] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:31] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:23:34] local.INFO: TCP Data received {"connection_id":193169,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd208c0012d196880071fed10003901162e..."} 
[2026-09-23 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd208c0012d196880071fed10003901162e..."} 
[2026-09-23 11:23:34] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd208c0012d196880071fed10003901162e..."} 
[2026-09-23 11:23:34] local.INFO: Packet analysis {"connection_id":193169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:34] local.INFO: Extracted packet for processing {"connection_id":193169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276528896001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142712000,"timestamp_ms":1790142712000,"timestamp_seconds":1790142712,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd208c0"} 
[2026-09-23 11:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:23:34] 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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:23:34] 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-09-23 11: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-09-23 11:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276528896001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276528896001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276528896001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":193169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:23:34] local.INFO: GPS data processed {"connection_id":193169,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:23:34] local.INFO: Acknowledgment sent {"connection_id":193169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:23:34] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:23:34] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:23:34] local.INFO: IMEI packet received {"connection_id":190487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":190487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:23:37] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:37] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:23:37] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:23:38] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd285c0012d33f00006b323e80010013834..."} 
[2026-09-23 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd285c0012d33f00006b323e80010013834..."} 
[2026-09-23 11:23:38] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd285c0012d33f00006b323e80010013834..."} 
[2026-09-23 11:23:38] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:38] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758378496,"raw_latitude":112403432,"longitude_deg":75.8378496,"latitude_deg":11.2403432,"altitude":16,"angle":312,"satellites":52,"speed":43,"hex_longitude":"2d33f000","hex_latitude":"06b323e8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276540160001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406403364759273472,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3750583724699072512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142744000,"timestamp_ms":1790142744000,"timestamp_seconds":1790142744,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd285c0"} 
[2026-09-23 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:23: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-09-23 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 11:23: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-09-23 11: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-09-23 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:23: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-09-23 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276540160001,"66":27843,"227":206,"81":23552,"24":43,"16":406403364759273472,"45":3750583724699072512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276540160001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:23:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406403364759273472,"km_value":406403364759273.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3750583724699072512,"description":"Unknown IO ID 45"} 
[2026-09-23 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276540160001,"power":27843,"unknown_227":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3750583724699072512}} 
[2026-09-23 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:23:38] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:23:38] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:23:57] local.INFO: TCP Data received {"connection_id":193170,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:57] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:23:57] local.INFO: IMEI packet received {"connection_id":193170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":193170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:24:02] local.INFO: TCP Data received {"connection_id":193170,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:02] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:02] local.INFO: IMEI packet received {"connection_id":193170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":193170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:24:03] local.INFO: TCP Data received {"connection_id":193170,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd25ac8012d196880071fed10003901162d..."} 
[2026-09-23 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd25ac8012d196880071fed10003901162d..."} 
[2026-09-23 11:24:03] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd25ac8012d196880071fed10003901162d..."} 
[2026-09-23 11:24:03] local.INFO: Packet analysis {"connection_id":193170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:03] local.INFO: Extracted packet for processing {"connection_id":193170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276534272001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142733000,"timestamp_ms":1790142733000,"timestamp_seconds":1790142733,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd25ac8"} 
[2026-09-23 11:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:24: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-09-23 11: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 11:24:03] 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-09-23 11: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-09-23 11:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276534272001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276534272001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276534272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":193170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:24:03] local.INFO: GPS data processed {"connection_id":193170,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:24:03] local.INFO: Acknowledgment sent {"connection_id":193170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:24:09] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2a500012d33d78006b33dc00011014134..."} 
[2026-09-23 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2a500012d33d78006b33dc00011014134..."} 
[2026-09-23 11:24:09] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2a500012d33d78006b33dc00011014134..."} 
[2026-09-23 11:24:09] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:09] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758372224,"raw_latitude":112410048,"longitude_deg":75.8372224,"latitude_deg":11.2410048,"altitude":17,"angle":321,"satellites":52,"speed":46,"hex_longitude":"2d33d780","hex_latitude":"06b33dc0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276542464001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406403807140904960,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3742491319120160768,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790142752000,"timestamp_ms":1790142752000,"timestamp_seconds":1790142752,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2a500"} 
[2026-09-23 11:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:24: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-09-23 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:24: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-09-23 11: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-09-23 11:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:24: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-09-23 11:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276542464001,"66":27974,"227":206,"81":23552,"24":46,"16":406403807140904960,"45":3742491319120160768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276542464001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:24:09] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406403807140904960,"km_value":406403807140904.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3742491319120160768,"description":"Unknown IO ID 45"} 
[2026-09-23 11:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276542464001,"power":27974,"unknown_227":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3742491319120160768}} 
[2026-09-23 11:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:24:09] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:24:09] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:24:15] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:24:15] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:24:15] local.INFO: IMEI packet received {"connection_id":190309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":190309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:24:32] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:32] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:32] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:24:34] local.INFO: TCP Data received {"connection_id":193170,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2acd0012d196880071fed100039011631..."} 
[2026-09-23 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2acd0012d196880071fed100039011631..."} 
[2026-09-23 11:24:34] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2acd0012d196880071fed100039011631..."} 
[2026-09-23 11:24:34] local.INFO: Packet analysis {"connection_id":193170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:34] local.INFO: Extracted packet for processing {"connection_id":193170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":49,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276539648001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142754000,"timestamp_ms":1790142754000,"timestamp_seconds":1790142754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2acd0"} 
[2026-09-23 11:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:24:34] 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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:24:34] 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-09-23 11: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-09-23 11:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276539648001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276539648001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276539648001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":193170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:24:34] local.INFO: GPS data processed {"connection_id":193170,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:24:34] local.INFO: Acknowledgment sent {"connection_id":193170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:24:37] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:37] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:24:37] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:24:38] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:24:38] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:24:38] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:38] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758367104,"raw_latitude":112418144,"longitude_deg":75.8367104,"latitude_deg":11.2418144,"altitude":17,"angle":333,"satellites":48,"speed":49,"hex_longitude":"2d33c380","hex_latitude":"06b35d60","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276544512001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406404266702405632,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3735595182192443392,"note":"Value kept but may cause issues"} 
[2026-09-23 11:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142760000,"timestamp_ms":1790142760000,"timestamp_seconds":1790142760,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2c440"} 
[2026-09-23 11:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":70,"data_length":795,"current_offset":136} 
[2026-09-23 11:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:24: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-09-23 11:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276544512001,"66":27930,"227":206,"81":23552,"24":49,"16":406404266702405632,"45":3735595182192443392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276544512001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:24:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406404266702405632,"km_value":406404266702405.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3735595182192443392,"description":"Unknown IO ID 45"} 
[2026-09-23 11:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276544512001,"power":27930,"unknown_227":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3735595182192443392}} 
[2026-09-23 11:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:24:38] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:24:38] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:24:57] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: IMEI packet received {"connection_id":190489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":190489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:24:57] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:24:57] local.INFO: IMEI packet received {"connection_id":190489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":190489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:25:02] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:25:02] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:25:02] local.INFO: IMEI packet received {"connection_id":190489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":190489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:25:03] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2fed8012d196880071fed10003901162f..."} 
[2026-09-23 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2fed8012d196880071fed10003901162f..."} 
[2026-09-23 11:25:03] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2fed8012d196880071fed10003901162f..."} 
[2026-09-23 11:25:03] local.INFO: Packet analysis {"connection_id":190489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:03] local.INFO: Extracted packet for processing {"connection_id":190489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276545024001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142775000,"timestamp_ms":1790142775000,"timestamp_seconds":1790142775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2fed8"} 
[2026-09-23 11:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:25: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3688326495682619032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78302820083695616,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3513036801,"corrected_to":0} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,116,160,90,45,128,237,57,10,66,8,46,182,1,240,255,227,204,31,4,113,205,18,104,43,239,48,2,80,7,47],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3513036801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:25:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588734847811584,"timestamp_seconds":4107588734847811.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276545024001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276545024001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:25:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276545024001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":190489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:25:03] local.INFO: GPS data processed {"connection_id":190489,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:25:03] local.INFO: Acknowledgment sent {"connection_id":190489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:25:10] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:25:10] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2c440012d33c38006b35d600011014d30..."} 
[2026-09-23 11:25:10] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:10] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758367104,"raw_latitude":112418144,"longitude_deg":75.8367104,"latitude_deg":11.2418144,"altitude":17,"angle":333,"satellites":48,"speed":49,"hex_longitude":"2d33c380","hex_latitude":"06b35d60","is_valid_coordinates":true} 
[2026-09-23 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276546560001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406404266702405632,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729965682660302848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790142760000,"timestamp_ms":1790142760000,"timestamp_seconds":1790142760,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2c440"} 
[2026-09-23 11:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:25: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-09-23 11:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276546560001,"66":27930,"227":206,"81":23552,"24":49,"16":406404266702405632,"45":3729965682660302848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276546560001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:25:10] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406404266702405632,"km_value":406404266702405.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729965682660302848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276546560001,"power":27930,"unknown_227":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3729965682660302848}} 
[2026-09-23 11:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:25:10] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:25:10] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:25:31] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:31] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:31] local.INFO: IMEI packet received {"connection_id":191833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":191833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:25:34] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd350e0012d196880071fed10003901162f..."} 
[2026-09-23 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd350e0012d196880071fed10003901162f..."} 
[2026-09-23 11:25:34] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd350e0012d196880071fed10003901162f..."} 
[2026-09-23 11:25:34] local.INFO: Packet analysis {"connection_id":190489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:25:34] local.INFO: Extracted packet for processing {"connection_id":190489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276550400001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142796000,"timestamp_ms":1790142796000,"timestamp_seconds":1790142796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd350e0"} 
[2026-09-23 11:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:25:34] 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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:25:34] 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-09-23 11: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-09-23 11:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276550400001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276550400001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276550400001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":190489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:25:34] local.INFO: GPS data processed {"connection_id":190489,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:25:34] local.INFO: Acknowledgment sent {"connection_id":190489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:25:37] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:37] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:25:37] local.INFO: IMEI packet received {"connection_id":191833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":191833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:25:38] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2dbb0012d33b88006b37a90001001592e..."} 
[2026-09-23 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2dbb0012d33b88006b37a90001001592e..."} 
[2026-09-23 11:25:38] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2dbb0012d33b88006b37a90001001592e..."} 
[2026-09-23 11:25:38] local.INFO: Packet analysis {"connection_id":191833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:38] local.INFO: Extracted packet for processing {"connection_id":191833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758364288,"raw_latitude":112425616,"longitude_deg":75.8364288,"latitude_deg":11.2425616,"altitude":16,"angle":345,"satellites":46,"speed":54,"hex_longitude":"2d33b880","hex_latitude":"06b37a90","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276546560001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406404657544429568,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729965682660302848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790142766000,"timestamp_ms":1790142766000,"timestamp_seconds":1790142766,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2dbb0"} 
[2026-09-23 11:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11: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-09-23 11: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-09-23 11:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:25: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-09-23 11:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276546560001,"66":27908,"227":206,"81":23552,"24":54,"16":406404657544429568,"45":3729965682660302848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276546560001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:25:38] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406404657544429568,"km_value":406404657544429.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729965682660302848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276546560001,"power":27908,"unknown_227":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3729965682660302848}} 
[2026-09-23 11:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":191833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:25:38] local.INFO: GPS data processed {"connection_id":191833,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:25:38] local.INFO: Acknowledgment sent {"connection_id":191833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:00] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:00] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:00] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:26:02] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:02] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:02] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:26:07] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:07] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:07] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:26:08] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd3a2e8012d196880071fed10003901162d..."} 
[2026-09-23 11:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd3a2e8012d196880071fed10003901162d..."} 
[2026-09-23 11:26:08] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd3a2e8012d196880071fed10003901162d..."} 
[2026-09-23 11:26:08] local.INFO: Packet analysis {"connection_id":190310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:26:08] local.INFO: Extracted packet for processing {"connection_id":190310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276555776001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790142817000,"timestamp_ms":1790142817000,"timestamp_seconds":1790142817,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd3a2e8"} 
[2026-09-23 11:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:26:08] 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-09-23 11: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-09-23 11:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276555776001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276555776001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276555776001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:08] local.INFO: GPS data processed {"connection_id":190310,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:08] local.INFO: Acknowledgment sent {"connection_id":190310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:10] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd2f708012d33b2c006b3a048000f01652c..."} 
[2026-09-23 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd2f708012d33b2c006b3a048000f01652c..."} 
[2026-09-23 11:26:10] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd2f708012d33b2c006b3a048000f01652c..."} 
[2026-09-23 11:26:10] local.INFO: Packet analysis {"connection_id":191833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:26:10] local.INFO: Extracted packet for processing {"connection_id":191833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd2"} 
[2026-09-23 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758362816,"raw_latitude":112435272,"longitude_deg":75.8362816,"latitude_deg":11.2435272,"altitude":15,"angle":357,"satellites":44,"speed":53,"hex_longitude":"2d33b2c0","hex_latitude":"06b3a048","is_valid_coordinates":true} 
[2026-09-23 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276548096001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406405129990832128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726869457918398464,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790142773000,"timestamp_ms":1790142773000,"timestamp_seconds":1790142773,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd2f708"} 
[2026-09-23 11:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:26: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-09-23 11:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26: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-09-23 11:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276548096001,"66":27887,"227":206,"81":23552,"24":53,"16":406405129990832128,"45":3726869457918398464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 11:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276548096001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:10] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 11:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406405129990832128,"km_value":406405129990832.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726869457918398464,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276548096001,"power":27887,"unknown_227":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3726869457918398464}} 
[2026-09-23 11:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":191833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:10] local.INFO: GPS data processed {"connection_id":191833,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:10] local.INFO: Acknowledgment sent {"connection_id":191833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:39] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd3f4f0012d196880071fed10003901162e..."} 
[2026-09-23 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd3f4f0012d196880071fed10003901162e..."} 
[2026-09-23 11:26:39] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd3f4f0012d196880071fed10003901162e..."} 
[2026-09-23 11:26:39] local.INFO: Packet analysis {"connection_id":190310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:26:39] local.INFO: Extracted packet for processing {"connection_id":190310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd3"} 
[2026-09-23 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276561152001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790142838000,"timestamp_ms":1790142838000,"timestamp_seconds":1790142838,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd3f4f0"} 
[2026-09-23 11:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26: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-09-23 11: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:26:39] 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-09-23 11: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-09-23 11:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276561152001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276561152001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276561152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":190310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:39] local.INFO: GPS data processed {"connection_id":190310,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:39] local.INFO: Acknowledgment sent {"connection_id":190310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:40] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:40] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:40] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:26:41] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:41] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:41] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:26:46] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:46] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:26:46] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:26:48] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd53d10012d33ab4006b432880016014b2a..."} 
[2026-09-23 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd53d10012d33ab4006b432880016014b2a..."} 
[2026-09-23 11:26:48] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd53d10012d33ab4006b432880016014b2a..."} 
[2026-09-23 11:26:48] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:48] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758360896,"raw_latitude":112472712,"longitude_deg":75.8360896,"latitude_deg":11.2472712,"altitude":22,"angle":331,"satellites":42,"speed":10,"hex_longitude":"2d33ab40","hex_latitude":"06b43288","is_valid_coordinates":true} 
[2026-09-23 11:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276588032001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406406985416704000,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723139914489038848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790142922000,"timestamp_ms":1790142922000,"timestamp_seconds":1790142922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd53d10"} 
[2026-09-23 11:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26: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-09-23 11:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:26:48] 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-09-23 11:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276588032001,"66":27876,"228":206,"81":23552,"24":10,"16":406406985416704000,"45":3723139914489038848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-23 11:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276588032001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:48] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-23 11:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406406985416704000,"km_value":406406985416704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723139914489038848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276588032001,"power":27876,"unknown_228":206,"unknown_81":23552,"ignition":10,"odometer":null,"unknown_45":3723139914489038848}} 
[2026-09-23 11:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:48] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:48] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:50] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":1348,"data_hex":"000000000000030f8e0a000001a0ccd58f18012d339c0006b44ef8001301472e..."} 
[2026-09-23 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0ccd58f18012d339c0006b44ef8001301472e..."} 
[2026-09-23 11:26:50] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0ccd58f18012d339c0006b44ef8001301472e..."} 
[2026-09-23 11:26:50] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:50] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758356992,"raw_latitude":112479992,"longitude_deg":75.8356992,"latitude_deg":11.2479992,"altitude":19,"angle":327,"satellites":46,"speed":24,"hex_longitude":"2d339c00","hex_latitude":"06b44ef8","is_valid_coordinates":true} 
[2026-09-23 11:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276588032001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406407384848662528,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723139914489038848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:50] 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-09-23 11:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790142943000,"timestamp_ms":1790142943000,"timestamp_seconds":1790142943,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd58f18"} 
[2026-09-23 11:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26: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-09-23 11:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276588032001,"66":27876,"101":206,"81":23552,"24":24,"16":406407384848662528,"45":3723139914489038848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-23 11:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276588032001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 11:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406407384848662528,"km_value":406407384848662.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723139914489038848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276588032001,"power":27876,"unknown_101":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3723139914489038848}} 
[2026-09-23 11:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:50] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:50] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:50] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:50] local.INFO: Incomplete packet, waiting for more data {"connection_id":190490,"needed":795,"available":553} 
[2026-09-23 11:26:51] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.106.6.18","data_length":242,"data_hex":"000000000001a0ccd41048012d33b68006b3e5a0001600022f00040000000a00..."} 
[2026-09-23 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":242,"packet_hex":"000000000001a0ccd41048012d33b68006b3e5a0001600022f00040000000a00..."} 
[2026-09-23 11:26:51] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd5ba10012d33870006b46b680011013e2d..."} 
[2026-09-23 11:26:51] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:51] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758351616,"raw_latitude":112487272,"longitude_deg":75.8351616,"latitude_deg":11.2487272,"altitude":17,"angle":318,"satellites":45,"speed":36,"hex_longitude":"2d338700","hex_latitude":"06b46b68","is_valid_coordinates":true} 
[2026-09-23 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276593408001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406407822935326720,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718847421096065024,"note":"Value kept but may cause issues"} 
[2026-09-23 11:26:51] 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-09-23 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790142954000,"timestamp_ms":1790142954000,"timestamp_seconds":1790142954,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd5ba10"} 
[2026-09-23 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:26: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-09-23 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276593408001,"66":27843,"101":206,"81":23552,"24":36,"16":406407822935326720,"45":3718847421096065024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-23 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276593408001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406407822935326720,"km_value":406407822935326.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718847421096065024,"description":"Unknown IO ID 45"} 
[2026-09-23 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276593408001,"power":27843,"unknown_101":206,"unknown_81":23552,"ignition":36,"odometer":null,"unknown_45":3718847421096065024}} 
[2026-09-23 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:26:51] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:26:51] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:26:57] local.INFO: TCP Data received {"connection_id":193172,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:57] local.INFO: Processing buffer {"connection_id":193172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:26:57] local.INFO: IMEI packet received {"connection_id":193172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":193172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:27:02] local.INFO: TCP Data received {"connection_id":193172,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:02] local.INFO: Processing buffer {"connection_id":193172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:02] local.INFO: IMEI packet received {"connection_id":193172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":193172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:27:03] local.INFO: TCP Data received {"connection_id":193172,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd446f8012d196880071fed10003901162f..."} 
[2026-09-23 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd446f8012d196880071fed10003901162f..."} 
[2026-09-23 11:27:03] local.INFO: Processing buffer {"connection_id":193172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd446f8012d196880071fed10003901162f..."} 
[2026-09-23 11:27:03] local.INFO: Packet analysis {"connection_id":193172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:27:03] local.INFO: Extracted packet for processing {"connection_id":193172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276566528001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142859000,"timestamp_ms":1790142859000,"timestamp_seconds":1790142859,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd446f8"} 
[2026-09-23 11:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:27: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:27: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-09-23 11: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-09-23 11:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276566528001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276566528001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:27:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276566528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":193172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:27:03] local.INFO: GPS data processed {"connection_id":193172,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:27:03] local.INFO: Acknowledgment sent {"connection_id":193172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:27:32] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:32] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:32] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:27:34] local.INFO: TCP Data received {"connection_id":193172,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd49900012d196880071fed10003901162d..."} 
[2026-09-23 11:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd49900012d196880071fed10003901162d..."} 
[2026-09-23 11:27:34] local.INFO: Processing buffer {"connection_id":193172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd49900012d196880071fed10003901162d..."} 
[2026-09-23 11:27:34] local.INFO: Packet analysis {"connection_id":193172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:27:34] local.INFO: Extracted packet for processing {"connection_id":193172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276571904001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142880000,"timestamp_ms":1790142880000,"timestamp_seconds":1790142880,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd49900"} 
[2026-09-23 11:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:27:34] 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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:27:34] 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-09-23 11: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-09-23 11:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276571904001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276571904001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276571904001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":193172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:27:34] local.INFO: GPS data processed {"connection_id":193172,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:27:34] local.INFO: Acknowledgment sent {"connection_id":193172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:27:35] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:35] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:27:35] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:27:37] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd5d950012d33708006b480380012013330..."} 
[2026-09-23 11:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd5d950012d33708006b480380012013330..."} 
[2026-09-23 11:27:37] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd5d950012d33708006b480380012013330..."} 
[2026-09-23 11:27:37] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:27:37] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758345856,"raw_latitude":112492600,"longitude_deg":75.8345856,"latitude_deg":11.24926,"altitude":18,"angle":307,"satellites":48,"speed":40,"hex_longitude":"2d337080","hex_latitude":"06b48038","is_valid_coordinates":true} 
[2026-09-23 11:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276596224001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406408196597481472,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3712936446587004928,"note":"Value kept but may cause issues"} 
[2026-09-23 11:27:37] 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-09-23 11:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790142962000,"timestamp_ms":1790142962000,"timestamp_seconds":1790142962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd5d950"} 
[2026-09-23 11:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:27: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-09-23 11: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:27: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-09-23 11: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-09-23 11:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:27: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-09-23 11:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276596224001,"66":27800,"101":206,"81":23552,"24":40,"16":406408196597481472,"45":3712936446587004928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-23 11:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276596224001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:27:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 11:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406408196597481472,"km_value":406408196597481.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3712936446587004928,"description":"Unknown IO ID 45"} 
[2026-09-23 11:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276596224001,"power":27800,"unknown_101":206,"unknown_81":23552,"ignition":40,"odometer":null,"unknown_45":3712936446587004928}} 
[2026-09-23 11:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:27:37] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:27:37] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:27:57] local.INFO: TCP Data received {"connection_id":190312,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:57] local.INFO: Processing buffer {"connection_id":190312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:27:57] local.INFO: IMEI packet received {"connection_id":190312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":190312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:28:02] local.INFO: TCP Data received {"connection_id":190312,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:02] local.INFO: Processing buffer {"connection_id":190312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:02] local.INFO: IMEI packet received {"connection_id":190312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":190312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:28:03] local.INFO: TCP Data received {"connection_id":190312,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd4eb08012d196880071fed10003901162d..."} 
[2026-09-23 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd4eb08012d196880071fed10003901162d..."} 
[2026-09-23 11:28:03] local.INFO: Processing buffer {"connection_id":190312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd4eb08012d196880071fed10003901162d..."} 
[2026-09-23 11:28:03] local.INFO: Packet analysis {"connection_id":190312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:28:03] local.INFO: Extracted packet for processing {"connection_id":190312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd4"} 
[2026-09-23 11:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276577280001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142901000,"timestamp_ms":1790142901000,"timestamp_seconds":1790142901,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd4eb08"} 
[2026-09-23 11:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:28: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-09-23 11:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 11:28: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-09-23 11: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-09-23 11:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276577280001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276577280001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276577280001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":190312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:28:03] local.INFO: GPS data processed {"connection_id":190312,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:28:03] local.INFO: Acknowledgment sent {"connection_id":190312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:28:09] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd5fc78012d334f4006b494a80012012832..."} 
[2026-09-23 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd5fc78012d334f4006b494a80012012832..."} 
[2026-09-23 11:28:09] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd5fc78012d334f4006b494a80012012832..."} 
[2026-09-23 11:28:09] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:28:09] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758337344,"raw_latitude":112497832,"longitude_deg":75.8337344,"latitude_deg":11.2497832,"altitude":18,"angle":296,"satellites":50,"speed":46,"hex_longitude":"2d334f40","hex_latitude":"06b494a8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276598272001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406408677633818624,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3706603259612379136,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:09] 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-09-23 11:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790142971000,"timestamp_ms":1790142971000,"timestamp_seconds":1790142971,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd5fc78"} 
[2026-09-23 11:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:28: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-09-23 11: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-09-23 11:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:28: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-09-23 11:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276598272001,"66":27745,"170":206,"81":23552,"24":46,"16":406408677633818624,"45":3706603259612379136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 11:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276598272001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:28:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 11:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406408677633818624,"km_value":406408677633818.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3706603259612379136,"description":"Unknown IO ID 45"} 
[2026-09-23 11:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276598272001,"power":27745,"unknown_170":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3706603259612379136}} 
[2026-09-23 11:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:28:09] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:28:09] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:28:32] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:32] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:32] local.INFO: IMEI packet received {"connection_id":193174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":193174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:28:34] local.INFO: TCP Data received {"connection_id":190312,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd53d10012d196880071fed10003901162d..."} 
[2026-09-23 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd53d10012d196880071fed10003901162d..."} 
[2026-09-23 11:28:34] local.INFO: Processing buffer {"connection_id":190312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd53d10012d196880071fed10003901162d..."} 
[2026-09-23 11:28:34] local.INFO: Packet analysis {"connection_id":190312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:28:34] local.INFO: Extracted packet for processing {"connection_id":190312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:28: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-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276582656001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142922000,"timestamp_ms":1790142922000,"timestamp_seconds":1790142922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd53d10"} 
[2026-09-23 11:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:28:34] 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-09-23 11:28: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-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687695135490107032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3550668801,"corrected_to":0} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:28:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,153,45,128,237,57,10,66,70,47,244,1,240,255,227,204,31,4,113,205,80,104,239,48,2,7,49],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3550668801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:28:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276582656001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276582656001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276582656001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":190312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:28:34] local.INFO: GPS data processed {"connection_id":190312,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:28:34] local.INFO: Acknowledgment sent {"connection_id":190312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:28:37] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:37] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:28:37] local.INFO: IMEI packet received {"connection_id":193174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":193174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:28:37] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd71d88012d31fe0006b54380000d013533..."} 
[2026-09-23 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd71d88012d31fe0006b54380000d013533..."} 
[2026-09-23 11:28:37] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd71d88012d31fe0006b54380000d013533..."} 
[2026-09-23 11:28:37] local.INFO: Packet analysis {"connection_id":193174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:28:37] local.INFO: Extracted packet for processing {"connection_id":193174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758251008,"raw_latitude":112542592,"longitude_deg":75.8251008,"latitude_deg":11.2542592,"altitude":13,"angle":309,"satellites":51,"speed":57,"hex_longitude":"2d31fe00","hex_latitude":"06b54380","is_valid_coordinates":true} 
[2026-09-23 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276617728001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406413333378367488,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611042505030336512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790143045000,"timestamp_ms":1790143045000,"timestamp_seconds":1790143045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd71d88"} 
[2026-09-23 11:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:28: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-09-23 11:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:28: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-09-23 11:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276617728001,"66":27908,"170":206,"81":23552,"24":57,"16":406413333378367488,"45":3611042505030336512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 11:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276617728001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:28:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 11:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406413333378367488,"km_value":406413333378367.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611042505030336512,"description":"Unknown IO ID 45"} 
[2026-09-23 11:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276617728001,"power":27908,"unknown_170":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3611042505030336512}} 
[2026-09-23 11:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":193174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:28:37] local.INFO: GPS data processed {"connection_id":193174,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:28:37] local.INFO: Acknowledgment sent {"connection_id":193174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:28:57] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:57] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:28:57] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:29:02] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:02] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:02] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:29:03] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd58f18012d196880071fed10003901162c..."} 
[2026-09-23 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd58f18012d196880071fed10003901162c..."} 
[2026-09-23 11:29:03] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd58f18012d196880071fed10003901162c..."} 
[2026-09-23 11:29:03] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:29:03] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276588032001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142943000,"timestamp_ms":1790142943000,"timestamp_seconds":1790142943,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd58f18"} 
[2026-09-23 11:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:29: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687604941176891032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3556044801,"corrected_to":0} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,235,45,128,237,57,10,66,153,70,1,240,255,227,204,31,4,113,205,162,104,239,48,2,80,7,47],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3556044801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:29:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276588032001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276588032001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:29:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276588032001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:29:03] local.INFO: GPS data processed {"connection_id":190491,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:29:03] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:29:09] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd738e0012d31e10006b55dd0000d013a31..."} 
[2026-09-23 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd738e0012d31e10006b55dd0000d013a31..."} 
[2026-09-23 11:29:09] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd738e0012d31e10006b55dd0000d013a31..."} 
[2026-09-23 11:29:09] local.INFO: Packet analysis {"connection_id":193174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:29:09] local.INFO: Extracted packet for processing {"connection_id":193174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758243584,"raw_latitude":112549328,"longitude_deg":75.8243584,"latitude_deg":11.2549328,"altitude":13,"angle":314,"satellites":49,"speed":56,"hex_longitude":"2d31e100","hex_latitude":"06b55dd0","is_valid_coordinates":true} 
[2026-09-23 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276619520001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406413814414704640,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3602316780753879040,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:09] 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-09-23 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790143052000,"timestamp_ms":1790143052000,"timestamp_seconds":1790143052,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd738e0"} 
[2026-09-23 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:29: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-09-23 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:29: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-09-23 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:29: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-09-23 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276619520001,"66":27745,"170":206,"81":23552,"24":56,"16":406413814414704640,"45":3602316780753879040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276619520001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:29:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 11:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406413814414704640,"km_value":406413814414704.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3602316780753879040,"description":"Unknown IO ID 45"} 
[2026-09-23 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276619520001,"power":27745,"unknown_170":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3602316780753879040}} 
[2026-09-23 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":193174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:29:09] local.INFO: GPS data processed {"connection_id":193174,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:29:09] local.INFO: Acknowledgment sent {"connection_id":193174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:29:30] local.INFO: TCP Data received {"connection_id":193175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:29:30] local.INFO: Processing buffer {"connection_id":193175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:29:30] local.INFO: IMEI packet received {"connection_id":193175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:29:31] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:31] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:31] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:29:34] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd5e120012d196880071fed10003901162b..."} 
[2026-09-23 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd5e120012d196880071fed10003901162b..."} 
[2026-09-23 11:29:34] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd5e120012d196880071fed10003901162b..."} 
[2026-09-23 11:29:34] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:29:34] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd5"} 
[2026-09-23 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:29: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-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276593408001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790142964000,"timestamp_ms":1790142964000,"timestamp_seconds":1790142964,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd5e120"} 
[2026-09-23 11:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:29:34] 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-09-23 11:29: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-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687514746863675032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3561420801,"corrected_to":0} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,61,45,128,237,57,10,66,235,153,1,240,53,227,204,31,4,113,205,244,104,46,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3561420801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276593408001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276593408001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:29:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276593408001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:29:34] local.INFO: GPS data processed {"connection_id":190491,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:29:34] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:29:37] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:37] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:29:37] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:29:37] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd75438012d31c5c006b57b40000d013f31..."} 
[2026-09-23 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd75438012d31c5c006b57b40000d013f31..."} 
[2026-09-23 11:29:37] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd75438012d31c5c006b57b40000d013f31..."} 
[2026-09-23 11:29:37] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:29:37] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758236608,"raw_latitude":112556864,"longitude_deg":75.8236608,"latitude_deg":11.2556864,"altitude":13,"angle":319,"satellites":49,"speed":58,"hex_longitude":"2d31c5c0","hex_latitude":"06b57b40","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276621312001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406414308335943680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3594154006430994432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:29:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,81,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 11:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790143059000,"timestamp_ms":1790143059000,"timestamp_seconds":1790143059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd75438"} 
[2026-09-23 11:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:29: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-09-23 11: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-09-23 11:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:29: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-09-23 11:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276621312001,"66":27919,"24":58,"81":23552,"16":406414308335943680,"45":3594154006430994432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,81,16,45]} 
[2026-09-23 11:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276621312001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406414308335943680,"km_value":406414308335943.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3594154006430994432,"description":"Unknown IO ID 45"} 
[2026-09-23 11:29:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458276621312001,"power":27919,"ignition":58,"unknown_81":23552,"odometer":null,"unknown_45":3594154006430994432}} 
[2026-09-23 11:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:29:37] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:29:37] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:29:57] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:57] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:29:57] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:30:02] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:02] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:02] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:30:03] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd63328012d196880071fed10003901162c..."} 
[2026-09-23 11:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd63328012d196880071fed10003901162c..."} 
[2026-09-23 11:30:03] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd63328012d196880071fed10003901162c..."} 
[2026-09-23 11:30:03] local.INFO: Packet analysis {"connection_id":190493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:30:03] local.INFO: Extracted packet for processing {"connection_id":190493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276598784001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790142985000,"timestamp_ms":1790142985000,"timestamp_seconds":1790142985,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd63328"} 
[2026-09-23 11:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:30: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-09-23 11: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:30:03] 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-09-23 11: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-09-23 11:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276598784001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276598784001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:30:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276598784001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":190493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:30:03] local.INFO: GPS data processed {"connection_id":190493,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:30:03] local.INFO: Acknowledgment sent {"connection_id":190493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:30:08] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd8abf8012d30984006b6a038000e01172f..."} 
[2026-09-23 11:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd8abf8012d30984006b6a038000e01172f..."} 
[2026-09-23 11:30:08] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd8abf8012d30984006b6a038000e01172f..."} 
[2026-09-23 11:30:08] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:30:08] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758159424,"raw_latitude":112631864,"longitude_deg":75.8159424,"latitude_deg":11.2631864,"altitude":14,"angle":279,"satellites":47,"speed":45,"hex_longitude":"2d309840","hex_latitude":"06b6a038","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276643584001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406419728584671232,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3512244788228849664,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:08] 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-09-23 11:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790143147000,"timestamp_ms":1790143147000,"timestamp_seconds":1790143147,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd8abf8"} 
[2026-09-23 11:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:30: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-09-23 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:30: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-09-23 11: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-09-23 11:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:30: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-09-23 11:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276643584001,"66":27745,"201":206,"81":23552,"24":45,"16":406419728584671232,"45":3512244788228849664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-23 11:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276643584001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:30:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-23 11:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406419728584671232,"km_value":406419728584671.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3512244788228849664,"description":"Unknown IO ID 45"} 
[2026-09-23 11:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276643584001,"power":27745,"unknown_201":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3512244788228849664}} 
[2026-09-23 11:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:30:08] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:30:08] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:30:15] local.INFO: TCP Data received {"connection_id":193176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:30:15] local.INFO: Processing buffer {"connection_id":193176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:30:15] local.INFO: IMEI packet received {"connection_id":193176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":193176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:30:31] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:31] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:31] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:30:34] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd68530012d196880071fed10003901162d..."} 
[2026-09-23 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd68530012d196880071fed10003901162d..."} 
[2026-09-23 11:30:34] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd68530012d196880071fed10003901162d..."} 
[2026-09-23 11:30:34] local.INFO: Packet analysis {"connection_id":190493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:30:34] local.INFO: Extracted packet for processing {"connection_id":190493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276604160001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143006000,"timestamp_ms":1790143006000,"timestamp_seconds":1790143006,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd68530"} 
[2026-09-23 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-09-23 11:30: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-09-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687334358237243032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78301720572067840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3572172801,"corrected_to":0} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:30:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,225,45,128,237,57,43,10,66,143,44,61,1,240,227,204,31,4,113,205,153,104,239,48,2,80,7,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3572172801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 11:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276604160001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276604160001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276604160001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":190493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:30:34] local.INFO: GPS data processed {"connection_id":190493,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:30:34] local.INFO: Acknowledgment sent {"connection_id":190493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:30:36] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:36] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:30:36] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:30:37] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd8d308012d307a0006b6a438000f010725..."} 
[2026-09-23 11:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd8d308012d307a0006b6a438000f010725..."} 
[2026-09-23 11:30:37] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd8d308012d307a0006b6a438000f010725..."} 
[2026-09-23 11:30:37] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:30:37] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758151680,"raw_latitude":112632888,"longitude_deg":75.815168,"latitude_deg":11.2632888,"altitude":15,"angle":263,"satellites":37,"speed":19,"hex_longitude":"2d307a00","hex_latitude":"06b6a438","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276645632001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406420097951858688,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3501619107858495488,"note":"Value kept but may cause issues"} 
[2026-09-23 11:30: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-09-23 11:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790143157000,"timestamp_ms":1790143157000,"timestamp_seconds":1790143157,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd8d308"} 
[2026-09-23 11:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:30: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-09-23 11: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-09-23 11:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:30: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-09-23 11:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276645632001,"66":28017,"201":206,"81":23552,"24":19,"16":406420097951858688,"45":3501619107858495488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-23 11:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276645632001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:30:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-23 11:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406420097951858688,"km_value":406420097951858.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3501619107858495488,"description":"Unknown IO ID 45"} 
[2026-09-23 11:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276645632001,"power":28017,"unknown_201":206,"unknown_81":23552,"ignition":19,"odometer":null,"unknown_45":3501619107858495488}} 
[2026-09-23 11:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:30:37] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:30:37] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:30:57] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:57] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:30:57] local.INFO: IMEI packet received {"connection_id":191835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":191835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:31:02] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:31:02] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:31:02] local.INFO: IMEI packet received {"connection_id":191835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":191835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:31:03] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd6d738012d196880071fed10003901162c..."} 
[2026-09-23 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd6d738012d196880071fed10003901162c..."} 
[2026-09-23 11:31:03] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd6d738012d196880071fed10003901162c..."} 
[2026-09-23 11:31:03] local.INFO: Packet analysis {"connection_id":191835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:31:03] local.INFO: Extracted packet for processing {"connection_id":191835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd6"} 
[2026-09-23 11:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276609536001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143027000,"timestamp_ms":1790143027000,"timestamp_seconds":1790143027,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd6d738"} 
[2026-09-23 11:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:31: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-09-23 11: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:31:03] 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-09-23 11: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-09-23 11:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276609536001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276609536001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:31:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276609536001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":191835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:31:03] local.INFO: GPS data processed {"connection_id":191835,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:31:03] local.INFO: Acknowledgment sent {"connection_id":191835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:31:09] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd8e2a8012d30714006b6a480000e011c27..."} 
[2026-09-23 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd8e2a8012d30714006b6a480000e011c27..."} 
[2026-09-23 11:31:09] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd8e2a8012d30714006b6a480000e011c27..."} 
[2026-09-23 11:31:09] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:31:09] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758149440,"raw_latitude":112632960,"longitude_deg":75.814944,"latitude_deg":11.263296,"altitude":14,"angle":284,"satellites":39,"speed":24,"hex_longitude":"2d307140","hex_latitude":"06b6a480","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276648192001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406420205326041088,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3493104489813260288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:09] 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-09-23 11:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790143161000,"timestamp_ms":1790143161000,"timestamp_seconds":1790143161,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd8e2a8"} 
[2026-09-23 11:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:31: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-09-23 11: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-23 11:31:09] 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-09-23 11: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-09-23 11:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31: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-09-23 11:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276648192001,"66":27843,"201":206,"81":23552,"24":24,"16":406420205326041088,"45":3493104489813260288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-23 11:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276648192001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:31:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-23 11:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406420205326041088,"km_value":406420205326041.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3493104489813260288,"description":"Unknown IO ID 45"} 
[2026-09-23 11:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276648192001,"power":27843,"unknown_201":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3493104489813260288}} 
[2026-09-23 11:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:31:09] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:31:09] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:31:31] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:31] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:31] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:31:34] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd72940012d196880071fed10003901162c..."} 
[2026-09-23 11:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd72940012d196880071fed10003901162c..."} 
[2026-09-23 11:31:34] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd72940012d196880071fed10003901162c..."} 
[2026-09-23 11:31:34] local.INFO: Packet analysis {"connection_id":191835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:31:34] local.INFO: Extracted packet for processing {"connection_id":191835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276614912001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143048000,"timestamp_ms":1790143048000,"timestamp_seconds":1790143048,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd72940"} 
[2026-09-23 11:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:31:34] 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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687153969610811032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3582924801,"corrected_to":0} 
[2026-09-23 11:31:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:31:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,133,45,128,237,57,10,66,51,44,225,1,240,31,227,204,4,113,205,61,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3582924801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:31:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276614912001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276614912001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:31:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276614912001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":191835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:31:34] local.INFO: GPS data processed {"connection_id":191835,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:31:34] local.INFO: Acknowledgment sent {"connection_id":191835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:31:36] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:31:36] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:31:36] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:31:37] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd91188012d304e4006b6ab00000f01182b..."} 
[2026-09-23 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd91188012d304e4006b6ab00000f01182b..."} 
[2026-09-23 11:31:37] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd91188012d304e4006b6ab00000f01182b..."} 
[2026-09-23 11:31:37] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:31:37] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758140480,"raw_latitude":112634624,"longitude_deg":75.814048,"latitude_deg":11.2634624,"altitude":15,"angle":280,"satellites":43,"speed":35,"hex_longitude":"2d304e40","hex_latitude":"06b6ab00","is_valid_coordinates":true} 
[2026-09-23 11:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276649216001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406420639117737984,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3490641583767060480,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31: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-09-23 11:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790143173000,"timestamp_ms":1790143173000,"timestamp_seconds":1790143173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd91188"} 
[2026-09-23 11:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:31: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-09-23 11:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31: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-09-23 11:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276649216001,"66":27930,"201":206,"81":23552,"24":35,"16":406420639117737984,"45":3490641583767060480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-23 11:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276649216001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:31:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-23 11:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406420639117737984,"km_value":406420639117738.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3490641583767060480,"description":"Unknown IO ID 45"} 
[2026-09-23 11:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276649216001,"power":27930,"unknown_201":206,"unknown_81":23552,"ignition":35,"odometer":null,"unknown_45":3490641583767060480}} 
[2026-09-23 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:31:37] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:31:37] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:31:38] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd93898012d30290006b6b3d0000e01212e..."} 
[2026-09-23 11:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd93898012d30290006b6b3d0000e01212e..."} 
[2026-09-23 11:31:38] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd93898012d30290006b6b3d0000e01212e..."} 
[2026-09-23 11:31:38] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:31:38] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758130944,"raw_latitude":112636880,"longitude_deg":75.8130944,"latitude_deg":11.263688,"altitude":14,"angle":289,"satellites":46,"speed":37,"hex_longitude":"2d302900","hex_latitude":"06b6b3d0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276652288001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406421107269173248,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3480789959582613504,"note":"Value kept but may cause issues"} 
[2026-09-23 11:31:38] 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-09-23 11:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790143183000,"timestamp_ms":1790143183000,"timestamp_seconds":1790143183,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd93898"} 
[2026-09-23 11:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:31: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-09-23 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:31: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-09-23 11: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-09-23 11:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:31: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-09-23 11:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276652288001,"66":27995,"201":206,"81":23552,"24":37,"16":406421107269173248,"45":3480789959582613504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-23 11:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276652288001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:31:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-23 11:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406421107269173248,"km_value":406421107269173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3480789959582613504,"description":"Unknown IO ID 45"} 
[2026-09-23 11:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276652288001,"power":27995,"unknown_201":206,"unknown_81":23552,"ignition":37,"odometer":null,"unknown_45":3480789959582613504}} 
[2026-09-23 11:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:31:38] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:31:38] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:02] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:02] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:02] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:32:07] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:07] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:07] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:32:07] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd77b48012d196880071fed10003901162c..."} 
[2026-09-23 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd77b48012d196880071fed10003901162c..."} 
[2026-09-23 11:32:07] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd77b48012d196880071fed10003901162c..."} 
[2026-09-23 11:32:07] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:32:07] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276620288001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790143069000,"timestamp_ms":1790143069000,"timestamp_seconds":1790143069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd77b48"} 
[2026-09-23 11:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:32: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-09-23 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3687063775297595032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3588300801,"corrected_to":0} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:32:07] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,215,45,128,237,57,44,10,66,133,51,1,240,227,204,31,4,113,205,143,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3588300801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:32:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276620288001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276620288001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276620288001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:32:08] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:32:08] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:10] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccda9058012d2ff20006b6e280001a004033..."} 
[2026-09-23 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccda9058012d2ff20006b6e280001a004033..."} 
[2026-09-23 11:32:10] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccda9058012d2ff20006b6e280001a004033..."} 
[2026-09-23 11:32:10] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:10] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758116864,"raw_latitude":112648832,"longitude_deg":75.8116864,"latitude_deg":11.2648832,"altitude":26,"angle":64,"satellites":51,"speed":24,"hex_longitude":"2d2ff200","hex_latitude":"06b6e280","is_valid_coordinates":true} 
[2026-09-23 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276677120001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406422236845572096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3453979468054503424,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:10] 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-09-23 11:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790143271000,"timestamp_ms":1790143271000,"timestamp_seconds":1790143271,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccda9058"} 
[2026-09-23 11:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 11:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32: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-09-23 11:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276677120001,"66":27876,"128":206,"81":23552,"24":24,"16":406422236845572096,"45":3453979468054503424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 11:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276677120001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:32:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 11:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406422236845572096,"km_value":406422236845572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3453979468054503424,"description":"Unknown IO ID 45"} 
[2026-09-23 11:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276677120001,"power":27876,"unknown_128":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3453979468054503424}} 
[2026-09-23 11:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:32:10] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:32:10] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:12] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd7cd50012d196880071fed10003901162b..."} 
[2026-09-23 11:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd7cd50012d196880071fed10003901162b..."} 
[2026-09-23 11:32:12] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd7cd50012d196880071fed10003901162b..."} 
[2026-09-23 11:32:12] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:32:12] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd7"} 
[2026-09-23 11:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276625664001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790143090000,"timestamp_ms":1790143090000,"timestamp_seconds":1790143090,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd7cd50"} 
[2026-09-23 11:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3686973580984379032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3593676801,"corrected_to":0} 
[2026-09-23 11:32:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:32:12] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,41,45,128,237,57,44,10,66,215,133,1,240,31,227,204,4,113,205,225,104,43,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3593676801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:32:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276625664001,"66":11863,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276625664001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276625664001,"power":11863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:32:13] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:32:13] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:37] local.INFO: TCP Data received {"connection_id":190314,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:37] local.INFO: Processing buffer {"connection_id":190314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:37] local.INFO: IMEI packet received {"connection_id":190314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":190314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:32:42] local.INFO: TCP Data received {"connection_id":190314,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:42] local.INFO: Processing buffer {"connection_id":190314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:32:42] local.INFO: IMEI packet received {"connection_id":190314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":190314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:32:43] local.INFO: TCP Data received {"connection_id":190314,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccda9ff8012d2ffe8006b6e6780019004b34..."} 
[2026-09-23 11:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccda9ff8012d2ffe8006b6e6780019004b34..."} 
[2026-09-23 11:32:43] local.INFO: Processing buffer {"connection_id":190314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccda9ff8012d2ffe8006b6e6780019004b34..."} 
[2026-09-23 11:32:43] local.INFO: Packet analysis {"connection_id":190314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:43] local.INFO: Extracted packet for processing {"connection_id":190314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758120064,"raw_latitude":112649848,"longitude_deg":75.8120064,"latitude_deg":11.2649848,"altitude":25,"angle":75,"satellites":52,"speed":34,"hex_longitude":"2d2ffe80","hex_latitude":"06b6e678","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276677376001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406422395759362048,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3454823892984692736,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790143275000,"timestamp_ms":1790143275000,"timestamp_seconds":1790143275,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccda9ff8"} 
[2026-09-23 11:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32: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-09-23 11:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276677376001,"66":27713,"51":206,"81":23552,"24":34,"16":406422395759362048,"45":3454823892984692736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 11:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276677376001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:32:43] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 11:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406422395759362048,"km_value":406422395759362.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3454823892984692736,"description":"Unknown IO ID 45"} 
[2026-09-23 11:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276677376001,"power":27713,"unknown_51":206,"unknown_81":23552,"ignition":34,"odometer":null,"unknown_45":3454823892984692736}} 
[2026-09-23 11:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":190314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:32:43] local.INFO: GPS data processed {"connection_id":190314,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:32:43] local.INFO: Acknowledgment sent {"connection_id":190314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:47] local.INFO: TCP Data received {"connection_id":190314,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdac708012d30230006b6f0700019004b33..."} 
[2026-09-23 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdac708012d30230006b6f0700019004b33..."} 
[2026-09-23 11:32:47] local.INFO: Processing buffer {"connection_id":190314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdac708012d30230006b6f0700019004b33..."} 
[2026-09-23 11:32:47] local.INFO: Packet analysis {"connection_id":190314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:47] local.INFO: Extracted packet for processing {"connection_id":190314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758129408,"raw_latitude":112652400,"longitude_deg":75.8129408,"latitude_deg":11.26524,"altitude":25,"angle":75,"satellites":51,"speed":37,"hex_longitude":"2d302300","hex_latitude":"06b6f070","is_valid_coordinates":true} 
[2026-09-23 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276678400001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406422859615830016,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3458342330193836032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790143285000,"timestamp_ms":1790143285000,"timestamp_seconds":1790143285,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdac708"} 
[2026-09-23 11:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:32: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-09-23 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 11:32:47] 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-09-23 11:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276678400001,"66":27876,"51":206,"81":23552,"24":37,"16":406422859615830016,"45":3458342330193836032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276678400001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:32:47] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 11:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406422859615830016,"km_value":406422859615830.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3458342330193836032,"description":"Unknown IO ID 45"} 
[2026-09-23 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276678400001,"power":27876,"unknown_51":206,"unknown_81":23552,"ignition":37,"odometer":null,"unknown_45":3458342330193836032}} 
[2026-09-23 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":190314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:32:47] local.INFO: GPS data processed {"connection_id":190314,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:32:47] local.INFO: Acknowledgment sent {"connection_id":190314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:32:57] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:57] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:32:57] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:33:00] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:33:00] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:33:00] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:33:01] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd81f58012d196880071fed10003901162c..."} 
[2026-09-23 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd81f58012d196880071fed10003901162c..."} 
[2026-09-23 11:33:01] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd81f58012d196880071fed10003901162c..."} 
[2026-09-23 11:33:01] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:33:01] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276631040001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790143111000,"timestamp_ms":1790143111000,"timestamp_seconds":1790143111,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd81f58"} 
[2026-09-23 11:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:33: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-09-23 11: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-23 11:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276631040001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276631040001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276631040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:33:01] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:33:01] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:33:32] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd87160012d196880071fed10003901162e..."} 
[2026-09-23 11:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd87160012d196880071fed10003901162e..."} 
[2026-09-23 11:33:32] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd87160012d196880071fed10003901162e..."} 
[2026-09-23 11:33:32] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:33:32] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276636416001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790143132000,"timestamp_ms":1790143132000,"timestamp_seconds":1790143132,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd87160"} 
[2026-09-23 11:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:33: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-09-23 11:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:33: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-09-23 11: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-09-23 11:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276636416001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276636416001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276636416001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:33:32] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:33:32] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:33:33] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:33] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:33] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:33:35] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:35] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:35] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:33:36] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:36] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:33:36] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:33:50] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdaf5e8012d30454006b6fe700020004034..."} 
[2026-09-23 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdaf5e8012d30454006b6fe700020004034..."} 
[2026-09-23 11:33:50] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdaf5e8012d30454006b6fe700020004034..."} 
[2026-09-23 11:33:50] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:33:50] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccda"} 
[2026-09-23 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":758138176,"raw_latitude":112655984,"longitude_deg":75.8138176,"latitude_deg":11.2655984,"altitude":32,"angle":64,"satellites":52,"speed":24,"hex_longitude":"2d304540","hex_latitude":"06b6fe70","is_valid_coordinates":true} 
[2026-09-23 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276680960001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406423314882363392,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3468616166844428288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790143297000,"timestamp_ms":1790143297000,"timestamp_seconds":1790143297,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdaf5e8"} 
[2026-09-23 11:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276680960001,"66":27800,"51":206,"81":23552,"24":24,"16":406423314882363392,"45":3468616166844428288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 11:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276680960001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:33:50] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 11:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406423314882363392,"km_value":406423314882363.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3468616166844428288,"description":"Unknown IO ID 45"} 
[2026-09-23 11:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276680960001,"power":27800,"unknown_51":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3468616166844428288}} 
[2026-09-23 11:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:33:50] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:33:50] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:33:52] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":1348,"data_hex":"000000000000030f8e0a000001a0ccdb3468012d30678006b70b800024004934..."} 
[2026-09-23 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0ccdb3468012d30678006b70b800024004934..."} 
[2026-09-23 11:33:52] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0ccdb3468012d30678006b70b800024004934..."} 
[2026-09-23 11:33:52] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0ccdb"} 
[2026-09-23 11:33:52] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ccdb"} 
[2026-09-23 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758146944,"raw_latitude":112659328,"longitude_deg":75.8146944,"latitude_deg":11.2659328,"altitude":36,"angle":73,"satellites":52,"speed":21,"hex_longitude":"2d306780","hex_latitude":"06b70b80","is_valid_coordinates":true} 
[2026-09-23 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276684032001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406423761558962176,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3478256684797685760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790143313000,"timestamp_ms":1790143313000,"timestamp_seconds":1790143313,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdb3468"} 
[2026-09-23 11:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:33:52] 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-09-23 11:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276684032001,"66":27865,"51":206,"81":23552,"24":21,"16":406423761558962176,"45":3478256684797685760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276684032001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406423761558962176,"km_value":406423761558962.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3478256684797685760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276684032001,"power":27865,"unknown_51":206,"unknown_81":23552,"ignition":21,"odometer":null,"unknown_45":3478256684797685760}} 
[2026-09-23 11:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:33:52] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:33:52] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:33:52] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:33:52] local.INFO: Incomplete packet, waiting for more data {"connection_id":191839,"needed":795,"available":553} 
[2026-09-23 11:33:53] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.18","data_length":242,"data_hex":"000000000001a0ccda8888012d2fec8006b6e0b8001a00242f00150000000a00..."} 
[2026-09-23 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":242,"packet_hex":"000000000001a0ccda8888012d2fec8006b6e0b8001a00242f00150000000a00..."} 
[2026-09-23 11:33:53] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdc16f80100000000000000000000000000..."} 
[2026-09-23 11:33:53] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:33:53] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:33: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-09-23 11:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276688128001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406424113746280448,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3487897202750881792,"note":"Value kept but may cause issues"} 
[2026-09-23 11:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790143371000,"timestamp_ms":1790143371000,"timestamp_seconds":1790143371,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdc16f8"} 
[2026-09-23 11:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:33: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-09-23 11:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 11:33:53] local.INFO: GPS data processed {"connection_id":191839,"processed":0,"errors":0,"total":1} 
[2026-09-23 11:33:53] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:34:01] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:01] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:01] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:34:02] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:02] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:02] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:34:02] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd8c368012d196880071fed10003901162d..."} 
[2026-09-23 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd8c368012d196880071fed10003901162d..."} 
[2026-09-23 11:34:02] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd8c368012d196880071fed10003901162d..."} 
[2026-09-23 11:34:02] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:34:02] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd8"} 
[2026-09-23 11:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276641792001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790143153000,"timestamp_ms":1790143153000,"timestamp_seconds":1790143153,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd8c368"} 
[2026-09-23 11:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:34:02] 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-09-23 11: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 11:34:02] 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-09-23 11: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-09-23 11:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276641792001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276641792001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276641792001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:34:03] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:34:03] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:34:03] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd91570012d196880071fed10003901162d..."} 
[2026-09-23 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd91570012d196880071fed10003901162d..."} 
[2026-09-23 11:34:03] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd91570012d196880071fed10003901162d..."} 
[2026-09-23 11:34:03] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:34:03] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276647168001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143174000,"timestamp_ms":1790143174000,"timestamp_seconds":1790143174,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd91570"} 
[2026-09-23 11:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:34: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-09-23 11: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 11:34:03] 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-09-23 11: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-09-23 11:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276647168001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276647168001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:34:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276647168001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:34:03] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:34:03] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:34:32] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:34:32] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:32] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:34:34] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd96778012d196880071fed10003901162d..."} 
[2026-09-23 11:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd96778012d196880071fed10003901162d..."} 
[2026-09-23 11:34:34] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd96778012d196880071fed10003901162d..."} 
[2026-09-23 11:34:34] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:34:34] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:34: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-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276652544001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143195000,"timestamp_ms":1790143195000,"timestamp_seconds":1790143195,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd96778"} 
[2026-09-23 11:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:34:34] 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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3686522609418299032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3620556801,"corrected_to":0} 
[2026-09-23 11:34:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:34:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,195,45,128,237,57,10,66,113,46,31,1,240,255,227,204,4,205,123,104,44,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3620556801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:34:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276652544001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276652544001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:34:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276652544001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:34:34] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:34:34] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:34:37] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:37] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:34:37] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:34:38] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdcc2d8012d31ca0006b784d8002b005035..."} 
[2026-09-23 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdcc2d8012d31ca0006b784d8002b005035..."} 
[2026-09-23 11:34:38] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdcc2d8012d31ca0006b784d8002b005035..."} 
[2026-09-23 11:34:38] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:34:38] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758237696,"raw_latitude":112690392,"longitude_deg":75.8237696,"latitude_deg":11.2690392,"altitude":43,"angle":80,"satellites":53,"speed":48,"hex_longitude":"2d31ca00","hex_latitude":"06b784d8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276712192001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406427996396716032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3576843295399016448,"note":"Value kept but may cause issues"} 
[2026-09-23 11:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790143415000,"timestamp_ms":1790143415000,"timestamp_seconds":1790143415,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdcc2d8"} 
[2026-09-23 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:34: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-09-23 11: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-09-23 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:34: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-09-23 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276712192001,"66":27865,"21":206,"81":23552,"24":48,"16":406427996396716032,"45":3576843295399016448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,81,24,16,45]} 
[2026-09-23 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276712192001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:34:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-23 11:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406427996396716032,"km_value":406427996396716.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3576843295399016448,"description":"Unknown IO ID 45"} 
[2026-09-23 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276712192001,"power":27865,"unknown_21":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3576843295399016448}} 
[2026-09-23 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:34:38] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:34:38] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:34:57] local.INFO: TCP Data received {"connection_id":193177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:57] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:34:57] local.INFO: IMEI packet received {"connection_id":193177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":193177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:35:02] local.INFO: TCP Data received {"connection_id":193177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:02] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:02] local.INFO: IMEI packet received {"connection_id":193177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":193177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:35:03] local.INFO: TCP Data received {"connection_id":193177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccd9b980012d196880071fed10003901162c..."} 
[2026-09-23 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccd9b980012d196880071fed10003901162c..."} 
[2026-09-23 11:35:03] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccd9b980012d196880071fed10003901162c..."} 
[2026-09-23 11:35:03] local.INFO: Packet analysis {"connection_id":193177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:35:03] local.INFO: Extracted packet for processing {"connection_id":193177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccd9"} 
[2026-09-23 11:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276657920001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143216000,"timestamp_ms":1790143216000,"timestamp_seconds":1790143216,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccd9b980"} 
[2026-09-23 11:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:35: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:35:03] 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-09-23 11: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-09-23 11:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276657920001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276657920001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:35:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276657920001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":193177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:35:03] local.INFO: GPS data processed {"connection_id":193177,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:35:03] local.INFO: Acknowledgment sent {"connection_id":193177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:35:09] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdcd660012d31e00006b78ab8002b004335..."} 
[2026-09-23 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdcd660012d31e00006b78ab8002b004335..."} 
[2026-09-23 11:35:09] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdcd660012d31e00006b78ab8002b004335..."} 
[2026-09-23 11:35:09] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:35:09] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdc"} 
[2026-09-23 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758243328,"raw_latitude":112691896,"longitude_deg":75.8243328,"latitude_deg":11.2691896,"altitude":43,"angle":67,"satellites":53,"speed":41,"hex_longitude":"2d31e000","hex_latitude":"06b78ab8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276714240001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406428275569590272,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3587680082002761728,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790143420000,"timestamp_ms":1790143420000,"timestamp_seconds":1790143420,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdcd660"} 
[2026-09-23 11:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:35: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-09-23 11: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-09-23 11:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:35: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-09-23 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276714240001,"66":27604,"21":206,"81":23552,"24":41,"16":406428275569590272,"45":3587680082002761728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,81,24,16,45]} 
[2026-09-23 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276714240001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:35:09] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-23 11:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406428275569590272,"km_value":406428275569590.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3587680082002761728,"description":"Unknown IO ID 45"} 
[2026-09-23 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276714240001,"power":27604,"unknown_21":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3587680082002761728}} 
[2026-09-23 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:35:09] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:35:09] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:35:32] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:35:32] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:32] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:35:34] local.INFO: TCP Data received {"connection_id":193177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdd3fd8012d196880071fed10003901162c..."} 
[2026-09-23 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdd3fd8012d196880071fed10003901162c..."} 
[2026-09-23 11:35:34] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdd3fd8012d196880071fed10003901162c..."} 
[2026-09-23 11:35:34] local.INFO: Packet analysis {"connection_id":193177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:35:34] local.INFO: Extracted packet for processing {"connection_id":193177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276717056001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143447000,"timestamp_ms":1790143447000,"timestamp_seconds":1790143447,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdd3fd8"} 
[2026-09-23 11:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:35: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:35:34] 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-09-23 11: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-09-23 11:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276717056001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276717056001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:35:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276717056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":193177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:35:34] local.INFO: GPS data processed {"connection_id":193177,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:35:34] local.INFO: Acknowledgment sent {"connection_id":193177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:35:37] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:37] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:35:37] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:35:37] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a0ccdd0540012d32020006b79928002c003f33..."} 
[2026-09-23 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ccdd0540012d32020006b79928002c003f33..."} 
[2026-09-23 11:35:37] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ccdd0540012d32020006b79928002c003f33..."} 
[2026-09-23 11:35:37] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ccdd"} 
[2026-09-23 11:35:37] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ccdd"} 
[2026-09-23 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758252032,"raw_latitude":112695592,"longitude_deg":75.8252032,"latitude_deg":11.2695592,"altitude":44,"angle":63,"satellites":51,"speed":23,"hex_longitude":"2d320200","hex_latitude":"06b79928","is_valid_coordinates":true} 
[2026-09-23 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-23 11:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:35:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:35:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 11:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 11:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-23 11:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-23 11:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 11:35:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 11:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 11:35:37] local.ERROR: GPS data processing failed {"connection_id":191842,"error":"No valid data to process"} 
[2026-09-23 11:35:37] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 11:35:40] local.INFO: TCP Data received {"connection_id":193178,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:35:40] local.INFO: Processing buffer {"connection_id":193178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:35:40] local.INFO: IMEI packet received {"connection_id":193178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":193178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:35:57] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:57] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:35:57] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:36:02] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:02] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:02] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:36:03] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdd91e0012d196880071fed10003901162d..."} 
[2026-09-23 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdd91e0012d196880071fed10003901162d..."} 
[2026-09-23 11:36:03] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdd91e0012d196880071fed10003901162d..."} 
[2026-09-23 11:36:03] local.INFO: Packet analysis {"connection_id":190497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:36:03] local.INFO: Extracted packet for processing {"connection_id":190497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276722432001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143468000,"timestamp_ms":1790143468000,"timestamp_seconds":1790143468,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdd91e0"} 
[2026-09-23 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:36: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-09-23 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:36: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-09-23 11:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276722432001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276722432001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:36:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276722432001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":190497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:36:03] local.INFO: GPS data processed {"connection_id":190497,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:36:03] local.INFO: Acknowledgment sent {"connection_id":190497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:36:07] local.INFO: TCP Data received {"connection_id":193179,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:36:07] local.INFO: Processing buffer {"connection_id":193179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:36:07] local.INFO: IMEI packet received {"connection_id":193179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":193179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:36:09] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccde4590012d31ac4006b7f8d8002101202a..."} 
[2026-09-23 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccde4590012d31ac4006b7f8d8002101202a..."} 
[2026-09-23 11:36:09] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccde4590012d31ac4006b7f8d8002101202a..."} 
[2026-09-23 11:36:09] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:36:09] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758230080,"raw_latitude":112720088,"longitude_deg":75.823008,"latitude_deg":11.2720088,"altitude":33,"angle":288,"satellites":42,"speed":34,"hex_longitude":"2d31ac40","hex_latitude":"06b7f8d8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276738048001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406430861139902464,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3584091276057081856,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790143514000,"timestamp_ms":1790143514000,"timestamp_seconds":1790143514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccde4590"} 
[2026-09-23 11:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":239,"data_length":795,"current_offset":136} 
[2026-09-23 11:36: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-09-23 11: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-09-23 11:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:36: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-09-23 11:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276738048001,"66":27952,"22":206,"81":23552,"24":34,"16":406430861139902464,"45":3584091276057081856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,81,24,16,45]} 
[2026-09-23 11:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276738048001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:36:09] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-23 11:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406430861139902464,"km_value":406430861139902.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3584091276057081856,"description":"Unknown IO ID 45"} 
[2026-09-23 11:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276738048001,"power":27952,"unknown_22":206,"unknown_81":23552,"ignition":34,"odometer":null,"unknown_45":3584091276057081856}} 
[2026-09-23 11:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:36:09] local.INFO: GPS data processed {"connection_id":191842,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:36:09] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:36:34] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdde3e8012d196880071fed10003901162e..."} 
[2026-09-23 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdde3e8012d196880071fed10003901162e..."} 
[2026-09-23 11:36:34] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdde3e8012d196880071fed10003901162e..."} 
[2026-09-23 11:36:34] local.INFO: Packet analysis {"connection_id":190497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:36:34] local.INFO: Extracted packet for processing {"connection_id":190497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdd"} 
[2026-09-23 11:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276727808001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143489000,"timestamp_ms":1790143489000,"timestamp_seconds":1790143489,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdde3e8"} 
[2026-09-23 11:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:36: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3685259889033275032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3695820801,"corrected_to":0} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:36:34] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3087084825,"corrected_to":0} 
[2026-09-23 11:36:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,63,45,128,237,57,44,10,66,46,155,1,240,5,227,204,31,4,113,205,247,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3695820801,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":247,"original":3087084825,"validated":0}]} 
[2026-09-23 11:36:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276727808001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276727808001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:36:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276727808001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":190497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:36:34] local.INFO: GPS data processed {"connection_id":190497,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:36:34] local.INFO: Acknowledgment sent {"connection_id":190497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:36:41] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:41] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:41] local.INFO: IMEI packet received {"connection_id":193180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":193180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:36:46] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:46] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:36:46] local.INFO: IMEI packet received {"connection_id":193180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":193180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:36:48] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccde68b8012d31890006b800d0001e01112d..."} 
[2026-09-23 11:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccde68b8012d31890006b800d0001e01112d..."} 
[2026-09-23 11:36:48] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccde68b8012d31890006b800d0001e01112d..."} 
[2026-09-23 11:36:48] local.INFO: Packet analysis {"connection_id":193180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:36:48] local.INFO: Extracted packet for processing {"connection_id":193180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758221056,"raw_latitude":112722128,"longitude_deg":75.8221056,"latitude_deg":11.2722128,"altitude":30,"angle":273,"satellites":45,"speed":45,"hex_longitude":"2d318900","hex_latitude":"06b800d0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276739584001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406431303521533952,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3579306201453221888,"note":"Value kept but may cause issues"} 
[2026-09-23 11:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790143523000,"timestamp_ms":1790143523000,"timestamp_seconds":1790143523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccde68b8"} 
[2026-09-23 11:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:36: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-09-23 11: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":48,"data_length":795,"current_offset":136} 
[2026-09-23 11:36:48] 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-09-23 11: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-09-23 11:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276739584001,"66":27843,"22":206,"81":23552,"24":45,"16":406431303521533952,"45":3579306201453221888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,81,24,16,45]} 
[2026-09-23 11:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276739584001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:36:48] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-23 11:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406431303521533952,"km_value":406431303521533.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3579306201453221888,"description":"Unknown IO ID 45"} 
[2026-09-23 11:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276739584001,"power":27843,"unknown_22":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3579306201453221888}} 
[2026-09-23 11:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":193180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:36:48] local.INFO: GPS data processed {"connection_id":193180,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:36:48] local.INFO: Acknowledgment sent {"connection_id":193180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:36:57] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:57] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:36:57] local.INFO: IMEI packet received {"connection_id":190316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":190316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:37:02] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:02] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:02] local.INFO: IMEI packet received {"connection_id":190316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":190316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:37:03] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccde35f0012d196880071fed10003901162f..."} 
[2026-09-23 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccde35f0012d196880071fed10003901162f..."} 
[2026-09-23 11:37:03] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccde35f0012d196880071fed10003901162f..."} 
[2026-09-23 11:37:03] local.INFO: Packet analysis {"connection_id":190316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:37:03] local.INFO: Extracted packet for processing {"connection_id":190316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":47,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276733184001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143510000,"timestamp_ms":1790143510000,"timestamp_seconds":1790143510,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccde35f0"} 
[2026-09-23 11:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:37: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-09-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 11:37: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-09-23 11: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-09-23 11:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276733184001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276733184001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:37:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276733184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":190316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:37:03] local.INFO: GPS data processed {"connection_id":190316,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:37:03] local.INFO: Acknowledgment sent {"connection_id":190316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:37:31] local.INFO: TCP Data received {"connection_id":193183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:31] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:31] local.INFO: IMEI packet received {"connection_id":193183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":193183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:37:34] local.INFO: TCP Data received {"connection_id":190316,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccde87f8012d196880071fed10003901162c..."} 
[2026-09-23 11:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccde87f8012d196880071fed10003901162c..."} 
[2026-09-23 11:37:34] local.INFO: Processing buffer {"connection_id":190316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccde87f8012d196880071fed10003901162c..."} 
[2026-09-23 11:37:34] local.INFO: Packet analysis {"connection_id":190316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:37:34] local.INFO: Extracted packet for processing {"connection_id":190316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276738560001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143531000,"timestamp_ms":1790143531000,"timestamp_seconds":1790143531,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccde87f8"} 
[2026-09-23 11:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:37: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:37:34] 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-09-23 11: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-09-23 11:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276738560001,"66":12156,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276738560001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:37:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276738560001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":190316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:37:34] local.INFO: GPS data processed {"connection_id":190316,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:37:34] local.INFO: Acknowledgment sent {"connection_id":190316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:37:35] local.INFO: TCP Data received {"connection_id":193183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:35] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:37:35] local.INFO: IMEI packet received {"connection_id":193183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":193183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:37:35] local.INFO: TCP Data received {"connection_id":193183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdf89c8012d3074c006b85578001d012b2d..."} 
[2026-09-23 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdf89c8012d3074c006b85578001d012b2d..."} 
[2026-09-23 11:37:35] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdf89c8012d3074c006b85578001d012b2d..."} 
[2026-09-23 11:37:35] local.INFO: Packet analysis {"connection_id":193183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:37:35] local.INFO: Extracted packet for processing {"connection_id":193183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758150336,"raw_latitude":112743800,"longitude_deg":75.8150336,"latitude_deg":11.27438,"altitude":29,"angle":299,"satellites":45,"speed":32,"hex_longitude":"2d3074c0","hex_latitude":"06b85578","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276758528001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406434894114193408,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3500915420444207104,"note":"Value kept but may cause issues"} 
[2026-09-23 11:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790143597000,"timestamp_ms":1790143597000,"timestamp_seconds":1790143597,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdf89c8"} 
[2026-09-23 11:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 11:37:35] 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-09-23 11: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-09-23 11:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:37: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-09-23 11:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276758528001,"66":27691,"220":206,"81":21760,"24":32,"16":406434894114193408,"45":3500915420444207104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276758528001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:37:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406434894114193408,"km_value":406434894114193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3500915420444207104,"description":"Unknown IO ID 45"} 
[2026-09-23 11:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276758528001,"power":27691,"unknown_220":206,"unknown_81":21760,"ignition":32,"odometer":null,"unknown_45":3500915420444207104}} 
[2026-09-23 11:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:37:35] local.INFO: GPS data processed {"connection_id":193183,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:37:35] local.INFO: Acknowledgment sent {"connection_id":193183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:37:57] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:57] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:37:57] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:38:02] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:38:02] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:38:02] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:38:03] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdeda00012d196880071fed10003901162e..."} 
[2026-09-23 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdeda00012d196880071fed10003901162e..."} 
[2026-09-23 11:38:03] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdeda00012d196880071fed10003901162e..."} 
[2026-09-23 11:38:03] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:38:03] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccde"} 
[2026-09-23 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276743936001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143552000,"timestamp_ms":1790143552000,"timestamp_seconds":1790143552,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdeda00"} 
[2026-09-23 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:38: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-09-23 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 11:38:03] 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-09-23 11: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-09-23 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276743936001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276743936001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276743936001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:38:03] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:38:03] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:38:07] local.INFO: TCP Data received {"connection_id":193183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdfb0d8012d30534006b868c0001a01292e..."} 
[2026-09-23 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdfb0d8012d30534006b868c0001a01292e..."} 
[2026-09-23 11:38:07] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdfb0d8012d30534006b868c0001a01292e..."} 
[2026-09-23 11:38:07] local.INFO: Packet analysis {"connection_id":193183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:07] local.INFO: Extracted packet for processing {"connection_id":193183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758141760,"raw_latitude":112748736,"longitude_deg":75.814176,"latitude_deg":11.2748736,"altitude":26,"angle":297,"satellites":46,"speed":41,"hex_longitude":"2d305340","hex_latitude":"06b868c0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276760832001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406435366560595968,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3491626746213922816,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790143607000,"timestamp_ms":1790143607000,"timestamp_seconds":1790143607,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdfb0d8"} 
[2026-09-23 11:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 11:38:07] 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-09-23 11: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-09-23 11:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:38: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-09-23 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276760832001,"66":27767,"220":206,"81":21760,"24":41,"16":406435366560595968,"45":3491626746213922816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276760832001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406435366560595968,"km_value":406435366560595.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3491626746213922816,"description":"Unknown IO ID 45"} 
[2026-09-23 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276760832001,"power":27767,"unknown_220":206,"unknown_81":21760,"ignition":41,"odometer":null,"unknown_45":3491626746213922816}} 
[2026-09-23 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:38:07] local.INFO: GPS data processed {"connection_id":193183,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:38:07] local.INFO: Acknowledgment sent {"connection_id":193183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:38:31] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:31] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:31] local.INFO: IMEI packet received {"connection_id":193184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:38:34] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdf2c08012d196880071fed10003901162a..."} 
[2026-09-23 11:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdf2c08012d196880071fed10003901162a..."} 
[2026-09-23 11:38:34] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdf2c08012d196880071fed10003901162a..."} 
[2026-09-23 11:38:34] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:34] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276749312001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143573000,"timestamp_ms":1790143573000,"timestamp_seconds":1790143573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdf2c08"} 
[2026-09-23 11:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:38: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3684899111780411032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3717324801,"corrected_to":0} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:34] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,116,160,135,45,128,237,57,44,10,66,53,47,227,1,240,204,31,4,113,205,63,104,239,2,80,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":204,"original":3717324801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:38:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276749312001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276749312001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:38:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276749312001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:38:34] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:38:34] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:38:37] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:37] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:38:37] local.INFO: IMEI packet received {"connection_id":193184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":193184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:38:38] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdfd7e8012d30320006b87b300019012b30..."} 
[2026-09-23 11:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdfd7e8012d30320006b87b300019012b30..."} 
[2026-09-23 11:38:38] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdfd7e8012d30320006b87b300019012b30..."} 
[2026-09-23 11:38:38] local.INFO: Packet analysis {"connection_id":193184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:38] local.INFO: Extracted packet for processing {"connection_id":193184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758133248,"raw_latitude":112753456,"longitude_deg":75.8133248,"latitude_deg":11.2753456,"altitude":25,"angle":299,"satellites":48,"speed":38,"hex_longitude":"2d303200","hex_latitude":"06b87b30","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276763392001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406435830417063936,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3482197334495379456,"note":"Value kept but may cause issues"} 
[2026-09-23 11:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790143617000,"timestamp_ms":1790143617000,"timestamp_seconds":1790143617,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdfd7e8"} 
[2026-09-23 11:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:38: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-09-23 11: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-09-23 11:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:38: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-09-23 11:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276763392001,"66":27745,"219":206,"81":21760,"24":38,"16":406435830417063936,"45":3482197334495379456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,81,24,16,45]} 
[2026-09-23 11:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276763392001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:38:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 11:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406435830417063936,"km_value":406435830417063.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3482197334495379456,"description":"Unknown IO ID 45"} 
[2026-09-23 11:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276763392001,"power":27745,"unknown_219":206,"unknown_81":21760,"ignition":38,"odometer":null,"unknown_45":3482197334495379456}} 
[2026-09-23 11:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":193184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:38:38] local.INFO: GPS data processed {"connection_id":193184,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:38:38] local.INFO: Acknowledgment sent {"connection_id":193184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:02] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:02] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:02] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:39:07] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:07] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:07] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:39:08] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdf7e10012d196880071fed10003901162b..."} 
[2026-09-23 11:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdf7e10012d196880071fed10003901162b..."} 
[2026-09-23 11:39:08] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdf7e10012d196880071fed10003901162b..."} 
[2026-09-23 11:39:08] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:08] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276754688001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790143594000,"timestamp_ms":1790143594000,"timestamp_seconds":1790143594,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdf7e10"} 
[2026-09-23 11:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:39: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-09-23 11: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-09-23 11:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276754688001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276754688001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:39:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276754688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:39:08] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:39:08] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:09] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdffb10012d30118006b88cd80017012a2f..."} 
[2026-09-23 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdffb10012d30118006b88cd80017012a2f..."} 
[2026-09-23 11:39:09] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdffb10012d30118006b88cd80017012a2f..."} 
[2026-09-23 11:39:09] local.INFO: Packet analysis {"connection_id":193184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:09] local.INFO: Extracted packet for processing {"connection_id":193184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758124928,"raw_latitude":112757976,"longitude_deg":75.8124928,"latitude_deg":11.2757976,"altitude":23,"angle":298,"satellites":47,"speed":39,"hex_longitude":"2d301180","hex_latitude":"06b88cd8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276765952001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406436285683597312,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3472838291520958464,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790143626000,"timestamp_ms":1790143626000,"timestamp_seconds":1790143626,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdffb10"} 
[2026-09-23 11:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:39: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-09-23 11: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-09-23 11:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39: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-09-23 11:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276765952001,"66":27767,"219":206,"81":21760,"24":39,"16":406436285683597312,"45":3472838291520958464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,81,24,16,45]} 
[2026-09-23 11:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276765952001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:39:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 11:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406436285683597312,"km_value":406436285683597.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3472838291520958464,"description":"Unknown IO ID 45"} 
[2026-09-23 11:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276765952001,"power":27767,"unknown_219":206,"unknown_81":21760,"ignition":39,"odometer":null,"unknown_45":3472838291520958464}} 
[2026-09-23 11:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":193184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:39:09] local.INFO: GPS data processed {"connection_id":193184,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:39:09] local.INFO: Acknowledgment sent {"connection_id":193184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:12] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccdfd018012d196880071fed10003901162d..."} 
[2026-09-23 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccdfd018012d196880071fed10003901162d..."} 
[2026-09-23 11:39:12] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccdfd018012d196880071fed10003901162d..."} 
[2026-09-23 11:39:12] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:12] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccdf"} 
[2026-09-23 11:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276760064001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790143615000,"timestamp_ms":1790143615000,"timestamp_seconds":1790143615,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccdfd018"} 
[2026-09-23 11:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3684718723153979032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3728076801,"corrected_to":0} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:39:12] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,44,45,128,237,57,42,10,66,218,46,135,1,240,124,227,204,31,4,113,205,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3728076801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:39:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276760064001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276760064001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:39:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276760064001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:39:13] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:39:13] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:37] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:37] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:37] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:39:41] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:41] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:39:41] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:39:42] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce02220012d2ff24006b8a080001401312f..."} 
[2026-09-23 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce02220012d2ff24006b8a080001401312f..."} 
[2026-09-23 11:39:42] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce02220012d2ff24006b8a080001401312f..."} 
[2026-09-23 11:39:42] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:39:42] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758116928,"raw_latitude":112763008,"longitude_deg":75.8116928,"latitude_deg":11.2763008,"altitude":20,"angle":305,"satellites":47,"speed":33,"hex_longitude":"2d2ff240","hex_latitude":"06b8a080","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276768256001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406436736655163392,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3463690354779019264,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790143636000,"timestamp_ms":1790143636000,"timestamp_seconds":1790143636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce02220"} 
[2026-09-23 11:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:39: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-09-23 11: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-09-23 11:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39: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-09-23 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276768256001,"66":27745,"219":206,"81":21760,"24":33,"16":406436736655163392,"45":3463690354779019264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,81,24,16,45]} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276768256001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406436736655163392,"km_value":406436736655163.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3463690354779019264,"description":"Unknown IO ID 45"} 
[2026-09-23 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276768256001,"power":27745,"unknown_219":206,"unknown_81":21760,"ignition":33,"odometer":null,"unknown_45":3463690354779019264}} 
[2026-09-23 11:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:39:42] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:39:42] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:42] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce04d18012d2fd4c006b8b4d00011012d2f..."} 
[2026-09-23 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce04d18012d2fd4c006b8b4d00011012d2f..."} 
[2026-09-23 11:39:42] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce04d18012d2fd4c006b8b4d00011012d2f..."} 
[2026-09-23 11:39:42] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:39:42] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758109376,"raw_latitude":112768208,"longitude_deg":75.8109376,"latitude_deg":11.2768208,"altitude":17,"angle":301,"satellites":47,"speed":34,"hex_longitude":"2d2fd4c0","hex_latitude":"06b8b4d0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276770816001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406437174741827584,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3454894261758099456,"note":"Value kept but may cause issues"} 
[2026-09-23 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790143647000,"timestamp_ms":1790143647000,"timestamp_seconds":1790143647,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce04d18"} 
[2026-09-23 11:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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-09-23 11: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-09-23 11: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-09-23 11:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:39: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-09-23 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276770816001,"66":27800,"219":206,"81":21760,"24":34,"16":406437174741827584,"45":3454894261758099456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,81,24,16,45]} 
[2026-09-23 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276770816001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406437174741827584,"km_value":406437174741827.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3454894261758099456,"description":"Unknown IO ID 45"} 
[2026-09-23 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276770816001,"power":27800,"unknown_219":206,"unknown_81":21760,"ignition":34,"odometer":null,"unknown_45":3454894261758099456}} 
[2026-09-23 11:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:39:42] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:39:42] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:39:57] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:57] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:39:57] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:40:00] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:00] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:00] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:40:01] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce02220012d196880071fed10003901162b..."} 
[2026-09-23 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce02220012d196880071fed10003901162b..."} 
[2026-09-23 11:40:01] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce02220012d196880071fed10003901162b..."} 
[2026-09-23 11:40:01] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:40:01] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276765440001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790143636000,"timestamp_ms":1790143636000,"timestamp_seconds":1790143636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce02220"} 
[2026-09-23 11:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:40: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3684628528840763032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3733452801,"corrected_to":0} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,126,45,128,237,57,43,10,66,44,42,218,1,240,227,204,31,4,113,205,53,104,47,239,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3733452801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:40:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276765440001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276765440001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:40:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276765440001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:40:01] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:40:01] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:40:13] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce1ef10012d2fe80006b90b80000b004a32..."} 
[2026-09-23 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce1ef10012d2fe80006b90b80000b004a32..."} 
[2026-09-23 11:40:13] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce1ef10012d2fe80006b90b80000b004a32..."} 
[2026-09-23 11:40:13] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:40:13] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758114304,"raw_latitude":112790400,"longitude_deg":75.8114304,"latitude_deg":11.27904,"altitude":11,"angle":74,"satellites":50,"speed":40,"hex_longitude":"2d2fe800","hex_latitude":"06b90b80","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276798464001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406439051642535936,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3441946412835756032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790143754000,"timestamp_ms":1790143754000,"timestamp_seconds":1790143754,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce1ef10"} 
[2026-09-23 11:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 11:40: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-09-23 11: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-09-23 11:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:40: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-09-23 11:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276798464001,"66":27908,"56":206,"81":21760,"24":40,"16":406439051642535936,"45":3441946412835756032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276798464001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:40:13] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406439051642535936,"km_value":406439051642535.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3441946412835756032,"description":"Unknown IO ID 45"} 
[2026-09-23 11:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276798464001,"power":27908,"unknown_56":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":3441946412835756032}} 
[2026-09-23 11:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:40:13] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:40:13] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:40:32] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:32] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:32] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:40:32] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce07428012d196880071fed10003901162d..."} 
[2026-09-23 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce07428012d196880071fed10003901162d..."} 
[2026-09-23 11:40:32] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce07428012d196880071fed10003901162d..."} 
[2026-09-23 11:40:32] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:40:32] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276770816001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790143657000,"timestamp_ms":1790143657000,"timestamp_seconds":1790143657,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce07428"} 
[2026-09-23 11:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:40: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-09-23 11:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:40:32] 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-09-23 11:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276770816001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276770816001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:40:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276770816001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:40:32] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:40:32] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:40:40] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:40] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:40:40] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:40:50] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:40:50] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:40:50] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:40:57] local.INFO: TCP Data received {"connection_id":190501,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:57] local.INFO: Processing buffer {"connection_id":190501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:40:57] local.INFO: IMEI packet received {"connection_id":190501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":190501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:40:59] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.106.6.18","data_length":1348,"data_hex":"000000000000030f8e0a000001a0cce21238012d300d4006b915c0000b004b33..."} 
[2026-09-23 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0cce21238012d300d4006b915c0000b004b33..."} 
[2026-09-23 11:40:59] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0cc..."} 
[2026-09-23 11:40:59] local.INFO: IMEI packet received {"connection_id":190319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":190319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:41:00] local.INFO: TCP Data received {"connection_id":190319,"ip":"42.106.6.18","data_length":242,"data_hex":"000000000001a0cce18980012d2fa30006b8e2c8000d001a3200120000000a00..."} 
[2026-09-23 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190319,"packet_length":242,"packet_hex":"000000000001a0cce18980012d2fa30006b8e2c8000d001a3200120000000a00..."} 
[2026-09-23 11:41:00] local.INFO: Processing buffer {"connection_id":190319,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cce21238012d300d4006b915c0000b004b33..."} 
[2026-09-23 11:41:00] local.INFO: Packet analysis {"connection_id":190319,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:00] local.INFO: Extracted packet for processing {"connection_id":190319,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758123840,"raw_latitude":112793024,"longitude_deg":75.812384,"latitude_deg":11.2793024,"altitude":11,"angle":75,"satellites":51,"speed":45,"hex_longitude":"2d300d40","hex_latitude":"06b915c0","is_valid_coordinates":true} 
[2026-09-23 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276801024001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406439524088938496,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3452009143253827584,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790143763000,"timestamp_ms":1790143763000,"timestamp_seconds":1790143763,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce21238"} 
[2026-09-23 11:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:41: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-09-23 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":190319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276801024001,"66":27865,"56":206,"81":21760,"24":45,"16":406439524088938496,"45":3452009143253827584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276801024001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406439524088938496,"km_value":406439524088938.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3452009143253827584,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276801024001,"power":27865,"unknown_56":206,"unknown_81":21760,"ignition":45,"odometer":null,"unknown_45":3452009143253827584}} 
[2026-09-23 11:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":190319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:00] local.INFO: GPS data processed {"connection_id":190319,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:00] local.INFO: Acknowledgment sent {"connection_id":190319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:00] local.INFO: Packet analysis {"connection_id":190319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:00] local.INFO: Extracted packet for processing {"connection_id":190319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758133184,"raw_latitude":112795376,"longitude_deg":75.8133184,"latitude_deg":11.2795376,"altitude":11,"angle":73,"satellites":53,"speed":38,"hex_longitude":"2d3031c0","hex_latitude":"06b91ef0","is_valid_coordinates":true} 
[2026-09-23 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276803328001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406439979355471872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3462494086136971264,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790143772000,"timestamp_ms":1790143772000,"timestamp_seconds":1790143772,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce23560"} 
[2026-09-23 11:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:41: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-09-23 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":190319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":190319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276803328001,"66":27930,"56":206,"81":21760,"24":38,"16":406439979355471872,"45":3462494086136971264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276803328001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406439979355471872,"km_value":406439979355471.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3462494086136971264,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276803328001,"power":27930,"unknown_56":206,"unknown_81":21760,"ignition":38,"odometer":null,"unknown_45":3462494086136971264}} 
[2026-09-23 11:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":190319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:00] local.INFO: GPS data processed {"connection_id":190319,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:00] local.INFO: Acknowledgment sent {"connection_id":190319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:02] local.INFO: TCP Data received {"connection_id":190501,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:02] local.INFO: Processing buffer {"connection_id":190501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:02] local.INFO: IMEI packet received {"connection_id":190501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":190501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:41:03] local.INFO: TCP Data received {"connection_id":190501,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce0c630012d196880071fed10003901162e..."} 
[2026-09-23 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce0c630012d196880071fed10003901162e..."} 
[2026-09-23 11:41:03] local.INFO: Processing buffer {"connection_id":190501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce0c630012d196880071fed10003901162e..."} 
[2026-09-23 11:41:03] local.INFO: Packet analysis {"connection_id":190501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:41:03] local.INFO: Extracted packet for processing {"connection_id":190501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce0"} 
[2026-09-23 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276776192001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143678000,"timestamp_ms":1790143678000,"timestamp_seconds":1790143678,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce0c630"} 
[2026-09-23 11:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:41: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:41:03] 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-09-23 11: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-09-23 11:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276776192001,"66":11961,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276776192001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276776192001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":190501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:03] local.INFO: GPS data processed {"connection_id":190501,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:03] local.INFO: Acknowledgment sent {"connection_id":190501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:21] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:41:21] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:41:21] local.INFO: IMEI packet received {"connection_id":190502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":190502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:41:34] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:34] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:34] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:41:34] local.INFO: TCP Data received {"connection_id":190501,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce11838012d196880071fed10003901162d..."} 
[2026-09-23 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce11838012d196880071fed10003901162d..."} 
[2026-09-23 11:41:34] local.INFO: Processing buffer {"connection_id":190501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce11838012d196880071fed10003901162d..."} 
[2026-09-23 11:41:34] local.INFO: Packet analysis {"connection_id":190501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:41:34] local.INFO: Extracted packet for processing {"connection_id":190501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276781568001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143699000,"timestamp_ms":1790143699000,"timestamp_seconds":1790143699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce11838"} 
[2026-09-23 11:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 11:41:34] 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-09-23 11: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-09-23 11:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276781568001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276781568001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276781568001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":190501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:34] local.INFO: GPS data processed {"connection_id":190501,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:34] local.INFO: Acknowledgment sent {"connection_id":190501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:39] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:39] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:39] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:41:42] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:42] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:41:42] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:41:43] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce25888012d30560006b92898000d004b33..."} 
[2026-09-23 11:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce25888012d30560006b92898000d004b33..."} 
[2026-09-23 11:41:43] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce25888012d30560006b92898000d004b33..."} 
[2026-09-23 11:41:43] local.INFO: Packet analysis {"connection_id":193185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:43] local.INFO: Extracted packet for processing {"connection_id":193185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758142464,"raw_latitude":112797848,"longitude_deg":75.8142464,"latitude_deg":11.2797848,"altitude":13,"angle":75,"satellites":51,"speed":44,"hex_longitude":"2d305600","hex_latitude":"06b92898","is_valid_coordinates":true} 
[2026-09-23 11:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276805632001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406440438916972544,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3472767922787512320,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790143781000,"timestamp_ms":1790143781000,"timestamp_seconds":1790143781,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce25888"} 
[2026-09-23 11:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:41: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-09-23 11:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 11:41: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-09-23 11:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41: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-09-23 11:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276805632001,"66":27691,"56":206,"81":21760,"24":44,"16":406440438916972544,"45":3472767922787512320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276805632001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:43] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406440438916972544,"km_value":406440438916972.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3472767922787512320,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276805632001,"power":27691,"unknown_56":206,"unknown_81":21760,"ignition":44,"odometer":null,"unknown_45":3472767922787512320}} 
[2026-09-23 11:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":193185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:43] local.INFO: GPS data processed {"connection_id":193185,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:43] local.INFO: Acknowledgment sent {"connection_id":193185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:44] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce277c8012d307a8006b93180000d004d35..."} 
[2026-09-23 11:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce277c8012d307a8006b93180000d004d35..."} 
[2026-09-23 11:41:44] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce277c8012d307a8006b93180000d004d35..."} 
[2026-09-23 11:41:44] local.INFO: Packet analysis {"connection_id":193185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:44] local.INFO: Extracted packet for processing {"connection_id":193185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758151808,"raw_latitude":112800128,"longitude_deg":75.8151808,"latitude_deg":11.2800128,"altitude":13,"angle":77,"satellites":53,"speed":48,"hex_longitude":"2d307a80","hex_latitude":"06b93180","is_valid_coordinates":true} 
[2026-09-23 11:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276807936001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406440894183505920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3482971390693906432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790143789000,"timestamp_ms":1790143789000,"timestamp_seconds":1790143789,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce277c8"} 
[2026-09-23 11:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 11:41:44] 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-09-23 11:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:41: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-09-23 11:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276807936001,"66":27745,"56":206,"81":21760,"24":48,"16":406440894183505920,"45":3482971390693906432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276807936001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:41:44] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406440894183505920,"km_value":406440894183505.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3482971390693906432,"description":"Unknown IO ID 45"} 
[2026-09-23 11:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276807936001,"power":27745,"unknown_56":206,"unknown_81":21760,"ignition":48,"odometer":null,"unknown_45":3482971390693906432}} 
[2026-09-23 11:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":193185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:41:44] local.INFO: GPS data processed {"connection_id":193185,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:41:44] local.INFO: Acknowledgment sent {"connection_id":193185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:41:58] local.INFO: TCP Data received {"connection_id":193186,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:58] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:41:58] local.INFO: IMEI packet received {"connection_id":193186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":193186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:42:02] local.INFO: TCP Data received {"connection_id":193186,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:02] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:02] local.INFO: IMEI packet received {"connection_id":193186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":193186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:42:03] local.INFO: TCP Data received {"connection_id":193186,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce16a40012d196880071fed10003901162d..."} 
[2026-09-23 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce16a40012d196880071fed10003901162d..."} 
[2026-09-23 11:42:03] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce16a40012d196880071fed10003901162d..."} 
[2026-09-23 11:42:03] local.INFO: Packet analysis {"connection_id":193186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:42:03] local.INFO: Extracted packet for processing {"connection_id":193186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276786944001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143720000,"timestamp_ms":1790143720000,"timestamp_seconds":1790143720,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce16a40"} 
[2026-09-23 11:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:42: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-09-23 11:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:42:03] 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-09-23 11:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276786944001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276786944001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:42:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276786944001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":193186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:42:03] local.INFO: GPS data processed {"connection_id":193186,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:42:03] local.INFO: Acknowledgment sent {"connection_id":193186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:42:15] local.INFO: TCP Data received {"connection_id":193185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce29708012d30a0c006b93858000c005136..."} 
[2026-09-23 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce29708012d30a0c006b93858000c005136..."} 
[2026-09-23 11:42:15] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce29708012d30a0c006b93858000c005136..."} 
[2026-09-23 11:42:15] local.INFO: Packet analysis {"connection_id":193185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:42:15] local.INFO: Extracted packet for processing {"connection_id":193185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758161600,"raw_latitude":112801880,"longitude_deg":75.81616,"latitude_deg":11.280188,"altitude":12,"angle":81,"satellites":54,"speed":48,"hex_longitude":"2d30a0c0","hex_latitude":"06b93858","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276809984001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406441370924875776,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3493245227344429056,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790143797000,"timestamp_ms":1790143797000,"timestamp_seconds":1790143797,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce29708"} 
[2026-09-23 11:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:42: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-09-23 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:42: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-09-23 11: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-09-23 11:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:42: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-09-23 11:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276809984001,"66":27865,"56":206,"81":21760,"24":48,"16":406441370924875776,"45":3493245227344429056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276809984001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:42:15] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406441370924875776,"km_value":406441370924875.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3493245227344429056,"description":"Unknown IO ID 45"} 
[2026-09-23 11:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276809984001,"power":27865,"unknown_56":206,"unknown_81":21760,"ignition":48,"odometer":null,"unknown_45":3493245227344429056}} 
[2026-09-23 11:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":193185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:42:15] local.INFO: GPS data processed {"connection_id":193185,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:42:15] local.INFO: Acknowledgment sent {"connection_id":193185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:42:32] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:32] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:32] local.INFO: IMEI packet received {"connection_id":190503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":190503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:42:34] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:34] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:42:34] local.INFO: IMEI packet received {"connection_id":190503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":190503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:42:34] local.INFO: TCP Data received {"connection_id":193186,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce1bc48012d196880071fed10003901162b..."} 
[2026-09-23 11:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce1bc48012d196880071fed10003901162b..."} 
[2026-09-23 11:42:34] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce1bc48012d196880071fed10003901162b..."} 
[2026-09-23 11:42:34] local.INFO: Packet analysis {"connection_id":193186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:42:34] local.INFO: Extracted packet for processing {"connection_id":193186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce1"} 
[2026-09-23 11:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:42: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-09-23 11:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276792320001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143741000,"timestamp_ms":1790143741000,"timestamp_seconds":1790143741,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce1bc48"} 
[2026-09-23 11:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:42: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-09-23 11:42: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:42:34] 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-09-23 11:42: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-09-23 11:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276792320001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276792320001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:42:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276792320001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:42:35] local.INFO: GPS data processed {"connection_id":193186,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:42:35] local.INFO: Acknowledgment sent {"connection_id":193186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:42:35] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce2b648012d30c58006b93d88000b005135..."} 
[2026-09-23 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce2b648012d30c58006b93d88000b005135..."} 
[2026-09-23 11:42:35] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce2b648012d30c58006b93d88000b005135..."} 
[2026-09-23 11:42:35] local.INFO: Packet analysis {"connection_id":190503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:42:35] local.INFO: Extracted packet for processing {"connection_id":190503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758171008,"raw_latitude":112803208,"longitude_deg":75.8171008,"latitude_deg":11.2803208,"altitude":11,"angle":81,"satellites":53,"speed":42,"hex_longitude":"2d30c580","hex_latitude":"06b93d88","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276812032001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406441821896441856,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3504011645204060160,"note":"Value kept but may cause issues"} 
[2026-09-23 11:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790143805000,"timestamp_ms":1790143805000,"timestamp_seconds":1790143805,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce2b648"} 
[2026-09-23 11:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11: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-09-23 11: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-09-23 11:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:42: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-09-23 11:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276812032001,"66":27876,"56":206,"81":21760,"24":42,"16":406441821896441856,"45":3504011645204060160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276812032001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406441821896441856,"km_value":406441821896441.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3504011645204060160,"description":"Unknown IO ID 45"} 
[2026-09-23 11:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276812032001,"power":27876,"unknown_56":206,"unknown_81":21760,"ignition":42,"odometer":null,"unknown_45":3504011645204060160}} 
[2026-09-23 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":190503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:42:35] local.INFO: GPS data processed {"connection_id":190503,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:42:35] local.INFO: Acknowledgment sent {"connection_id":190503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:42:57] local.INFO: TCP Data received {"connection_id":193187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:57] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:42:57] local.INFO: IMEI packet received {"connection_id":193187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":193187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:43:02] local.INFO: TCP Data received {"connection_id":193187,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:43:02] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:43:02] local.INFO: IMEI packet received {"connection_id":193187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":193187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:43:03] local.INFO: TCP Data received {"connection_id":193187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce20e50012d196880071fed10003901162b..."} 
[2026-09-23 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce20e50012d196880071fed10003901162b..."} 
[2026-09-23 11:43:03] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce20e50012d196880071fed10003901162b..."} 
[2026-09-23 11:43:03] local.INFO: Packet analysis {"connection_id":193187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:03] local.INFO: Extracted packet for processing {"connection_id":193187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276797696001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143762000,"timestamp_ms":1790143762000,"timestamp_seconds":1790143762,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce20e50"} 
[2026-09-23 11:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:43: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3684087362961467032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3765708801,"corrected_to":0} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:43:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,106,45,128,237,57,10,66,198,1,240,185,227,204,31,4,113,205,34,104,43,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":3765708801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:43:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276797696001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276797696001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:43:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276797696001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":193187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:43:03] local.INFO: GPS data processed {"connection_id":193187,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:43:03] local.INFO: Acknowledgment sent {"connection_id":193187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:43:06] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce2d970012d30ea8006b94150000c005633..."} 
[2026-09-23 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce2d970012d30ea8006b94150000c005633..."} 
[2026-09-23 11:43:06] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce2d970012d30ea8006b94150000c005633..."} 
[2026-09-23 11:43:06] local.INFO: Packet analysis {"connection_id":190503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:06] local.INFO: Extracted packet for processing {"connection_id":190503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758180480,"raw_latitude":112804176,"longitude_deg":75.818048,"latitude_deg":11.2804176,"altitude":12,"angle":86,"satellites":51,"speed":43,"hex_longitude":"2d30ea80","hex_latitude":"06b94150","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276814080001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406442272868007936,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3514355850598516736,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790143814000,"timestamp_ms":1790143814000,"timestamp_seconds":1790143814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce2d970"} 
[2026-09-23 11:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:43: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-09-23 11: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-09-23 11:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276814080001,"66":27767,"56":206,"81":21760,"24":43,"16":406442272868007936,"45":3514355850598516736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276814080001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:43:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406442272868007936,"km_value":406442272868007.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3514355850598516736,"description":"Unknown IO ID 45"} 
[2026-09-23 11:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276814080001,"power":27767,"unknown_56":206,"unknown_81":21760,"ignition":43,"odometer":null,"unknown_45":3514355850598516736}} 
[2026-09-23 11:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":190503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:43:06] local.INFO: GPS data processed {"connection_id":190503,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:43:06] local.INFO: Acknowledgment sent {"connection_id":190503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:43:32] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:32] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:32] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:43:34] local.INFO: TCP Data received {"connection_id":193187,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce26058012d196880071fed10003901162c..."} 
[2026-09-23 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce26058012d196880071fed10003901162c..."} 
[2026-09-23 11:43:34] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce26058012d196880071fed10003901162c..."} 
[2026-09-23 11:43:34] local.INFO: Packet analysis {"connection_id":193187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:34] local.INFO: Extracted packet for processing {"connection_id":193187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276803072001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143783000,"timestamp_ms":1790143783000,"timestamp_seconds":1790143783,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce26058"} 
[2026-09-23 11:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:43: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:43:34] 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-09-23 11: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-09-23 11:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276803072001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276803072001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:43:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276803072001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":193187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:43:34] local.INFO: GPS data processed {"connection_id":193187,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:43:34] local.INFO: Acknowledgment sent {"connection_id":193187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:43:37] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:37] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:43:37] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:43:38] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce2fc98012d310f8006b94108000b005e35..."} 
[2026-09-23 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce2fc98012d310f8006b94108000b005e35..."} 
[2026-09-23 11:43:38] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce2fc98012d310f8006b94108000b005e35..."} 
[2026-09-23 11:43:38] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:38] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758189952,"raw_latitude":112804104,"longitude_deg":75.8189952,"latitude_deg":11.2804104,"altitude":11,"angle":94,"satellites":53,"speed":38,"hex_longitude":"2d310f80","hex_latitude":"06b94108","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276816384001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406442723839574016,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3524770424737058816,"note":"Value kept but may cause issues"} 
[2026-09-23 11:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790143823000,"timestamp_ms":1790143823000,"timestamp_seconds":1790143823,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce2fc98"} 
[2026-09-23 11:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 11:43: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-09-23 11: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-09-23 11:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:43: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-09-23 11:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276816384001,"66":27767,"56":206,"81":21760,"24":38,"16":406442723839574016,"45":3524770424737058816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,81,24,16,45]} 
[2026-09-23 11:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276816384001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:43:38] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-23 11:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406442723839574016,"km_value":406442723839574.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3524770424737058816,"description":"Unknown IO ID 45"} 
[2026-09-23 11:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276816384001,"power":27767,"unknown_56":206,"unknown_81":21760,"ignition":38,"odometer":null,"unknown_45":3524770424737058816}} 
[2026-09-23 11:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:43:38] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:43:38] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:44:02] local.INFO: TCP Data received {"connection_id":193188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:02] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:02] local.INFO: IMEI packet received {"connection_id":193188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":193188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:44:07] local.INFO: TCP Data received {"connection_id":193188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:07] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:07] local.INFO: IMEI packet received {"connection_id":193188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":193188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:44:08] local.INFO: TCP Data received {"connection_id":193188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce2b260012d196880071fed10003901162d..."} 
[2026-09-23 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce2b260012d196880071fed10003901162d..."} 
[2026-09-23 11:44:08] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce2b260012d196880071fed10003901162d..."} 
[2026-09-23 11:44:08] local.INFO: Packet analysis {"connection_id":193188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:44:08] local.INFO: Extracted packet for processing {"connection_id":193188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce2"} 
[2026-09-23 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276808448001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790143804000,"timestamp_ms":1790143804000,"timestamp_seconds":1790143804,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce2b260"} 
[2026-09-23 11:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:44:08] 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-09-23 11:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276808448001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276808448001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:44:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276808448001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:44:08] local.INFO: GPS data processed {"connection_id":193188,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:44:08] local.INFO: Acknowledgment sent {"connection_id":193188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:44:10] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce513c0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce513c0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:44:10] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce513c0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:44:10] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:44:10] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758254848,"raw_latitude":112808424,"longitude_deg":75.8254848,"latitude_deg":11.2808424,"altitude":10,"angle":82,"satellites":51,"speed":0,"hex_longitude":"2d320d00","hex_latitude":"06b951e8","is_valid_coordinates":true} 
[2026-09-23 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276848640001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406445820510994432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3606046324263340032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790143960000,"timestamp_ms":1790143960000,"timestamp_seconds":1790143960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce513c0"} 
[2026-09-23 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:44: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-09-23 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276848640001,"66":27876,"52":206,"81":23552,"24":0,"16":406445820510994432,"45":3606046324263340032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276848640001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:44:10] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 11:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406445820510994432,"km_value":406445820510994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3606046324263340032,"description":"Unknown IO ID 45"} 
[2026-09-23 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276848640001,"power":27876,"unknown_52":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3606046324263340032}} 
[2026-09-23 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:44:10] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:44:10] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:44:12] local.INFO: TCP Data received {"connection_id":193188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce30468012d196880071fed10003901162c..."} 
[2026-09-23 11:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce30468012d196880071fed10003901162c..."} 
[2026-09-23 11:44:12] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce30468012d196880071fed10003901162c..."} 
[2026-09-23 11:44:12] local.INFO: Packet analysis {"connection_id":193188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:44:12] local.INFO: Extracted packet for processing {"connection_id":193188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276813824001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790143825000,"timestamp_ms":1790143825000,"timestamp_seconds":1790143825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce30468"} 
[2026-09-23 11:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276813824001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276813824001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:44:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276813824001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":193188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:44:13] local.INFO: GPS data processed {"connection_id":193188,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:44:13] local.INFO: Acknowledgment sent {"connection_id":193188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:44:46] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:46] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:46] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:44:51] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:51] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:44:51] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:44:54] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:54] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:54] local.INFO: IMEI packet received {"connection_id":190321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":190321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:44:55] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce565c8012d320d0006b951e8000a005234..."} 
[2026-09-23 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce565c8012d320d0006b951e8000a005234..."} 
[2026-09-23 11:44:55] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce565c8012d320d0006b951e8000a005234..."} 
[2026-09-23 11:44:55] local.INFO: Packet analysis {"connection_id":191848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:44:55] local.INFO: Extracted packet for processing {"connection_id":191848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758254848,"raw_latitude":112808424,"longitude_deg":75.8254848,"latitude_deg":11.2808424,"altitude":10,"angle":82,"satellites":52,"speed":0,"hex_longitude":"2d320d00","hex_latitude":"06b951e8","is_valid_coordinates":true} 
[2026-09-23 11:44: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-09-23 11:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276853760001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406445820510994432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3606538905472591872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790143981000,"timestamp_ms":1790143981000,"timestamp_seconds":1790143981,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce565c8"} 
[2026-09-23 11:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:44: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-09-23 11:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276853760001,"66":27919,"52":206,"81":23552,"24":0,"16":406445820510994432,"45":3606538905472591872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 11:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276853760001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:44:55] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 11:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406445820510994432,"km_value":406445820510994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3606538905472591872,"description":"Unknown IO ID 45"} 
[2026-09-23 11:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276853760001,"power":27919,"unknown_52":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3606538905472591872}} 
[2026-09-23 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":191848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:44:55] local.INFO: GPS data processed {"connection_id":191848,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:44:55] local.INFO: Acknowledgment sent {"connection_id":191848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:44:57] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:57] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:44:57] local.INFO: IMEI packet received {"connection_id":190321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":190321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:45:02] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:02] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:02] local.INFO: IMEI packet received {"connection_id":190321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:45:03] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce35670012d196880071fed10003901162e..."} 
[2026-09-23 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce35670012d196880071fed10003901162e..."} 
[2026-09-23 11:45:03] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce35670012d196880071fed10003901162e..."} 
[2026-09-23 11:45:03] local.INFO: Packet analysis {"connection_id":190321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:45:03] local.INFO: Extracted packet for processing {"connection_id":190321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276819200001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143846000,"timestamp_ms":1790143846000,"timestamp_seconds":1790143846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce35670"} 
[2026-09-23 11:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:45: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-09-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 11:45: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-09-23 11: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-09-23 11:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276819200001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276819200001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:45:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276819200001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:45:03] local.INFO: GPS data processed {"connection_id":190321,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:45:03] local.INFO: Acknowledgment sent {"connection_id":190321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:45:34] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce3a878012d196880071fed10003901162e..."} 
[2026-09-23 11:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce3a878012d196880071fed10003901162e..."} 
[2026-09-23 11:45:34] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce3a878012d196880071fed10003901162e..."} 
[2026-09-23 11:45:34] local.INFO: Packet analysis {"connection_id":190321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:45:34] local.INFO: Extracted packet for processing {"connection_id":190321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276824576001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143867000,"timestamp_ms":1790143867000,"timestamp_seconds":1790143867,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce3a878"} 
[2026-09-23 11:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:45:34] 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-09-23 11:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:45:34] 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-09-23 11:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276824576001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276824576001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:45:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276824576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":190321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:45:34] local.INFO: GPS data processed {"connection_id":190321,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:45:34] local.INFO: Acknowledgment sent {"connection_id":190321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:45:38] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:45:38] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:45:38] local.INFO: IMEI packet received {"connection_id":190322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":190322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:45:39] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:45:39] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 11:45:39] local.INFO: IMEI packet received {"connection_id":190322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":190322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:45:40] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce5b7d0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce5b7d0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:45:40] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0cc..."} 
[2026-09-23 11:45:40] local.INFO: IMEI packet received {"connection_id":190322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":190322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:45:42] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce609d8012d320d0006b951e8000a005232..."} 
[2026-09-23 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce609d8012d320d0006b951e8000a005232..."} 
[2026-09-23 11:45:42] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cce5b7d0012d320d0006b951e8000a005233..."} 
[2026-09-23 11:45:42] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:45:42] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce5"} 
[2026-09-23 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758254848,"raw_latitude":112808424,"longitude_deg":75.8254848,"latitude_deg":11.2808424,"altitude":10,"angle":82,"satellites":51,"speed":0,"hex_longitude":"2d320d00","hex_latitude":"06b951e8","is_valid_coordinates":true} 
[2026-09-23 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276859136001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406445820510994432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3606538905472591872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790144002000,"timestamp_ms":1790144002000,"timestamp_seconds":1790144002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce5b7d0"} 
[2026-09-23 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:45: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-09-23 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 11:45: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-09-23 11:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45: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-09-23 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276859136001,"66":27843,"52":206,"81":23552,"24":0,"16":406445820510994432,"45":3606538905472591872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276859136001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406445820510994432,"km_value":406445820510994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3606538905472591872,"description":"Unknown IO ID 45"} 
[2026-09-23 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276859136001,"power":27843,"unknown_52":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3606538905472591872}} 
[2026-09-23 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:45:42] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:45:42] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:45:42] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:45:42] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758254848,"raw_latitude":112808424,"longitude_deg":75.8254848,"latitude_deg":11.2808424,"altitude":10,"angle":82,"satellites":50,"speed":0,"hex_longitude":"2d320d00","hex_latitude":"06b951e8","is_valid_coordinates":true} 
[2026-09-23 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276864512001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406445820510994432,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3606538905472591872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790144023000,"timestamp_ms":1790144023000,"timestamp_seconds":1790144023,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce609d8"} 
[2026-09-23 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:45: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-09-23 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:45: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-09-23 11:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45: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-09-23 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276864512001,"66":27843,"52":206,"81":23552,"24":0,"16":406445820510994432,"45":3606538905472591872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276864512001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406445820510994432,"km_value":406445820510994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3606538905472591872,"description":"Unknown IO ID 45"} 
[2026-09-23 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276864512001,"power":27843,"unknown_52":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3606538905472591872}} 
[2026-09-23 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:45:42] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:45:42] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:45:44] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce657f8012d32310006b954780011005435..."} 
[2026-09-23 11:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce657f8012d32310006b954780011005435..."} 
[2026-09-23 11:45:44] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce657f8012d32310006b954780011005435..."} 
[2026-09-23 11:45:44] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:45:44] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758264064,"raw_latitude":112809080,"longitude_deg":75.8264064,"latitude_deg":11.280908,"altitude":17,"angle":84,"satellites":53,"speed":29,"hex_longitude":"2d323100","hex_latitude":"06b95478","is_valid_coordinates":true} 
[2026-09-23 11:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276869888001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406446262892625920,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3606538905472591872,"note":"Value kept but may cause issues"} 
[2026-09-23 11:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790144043000,"timestamp_ms":1790144043000,"timestamp_seconds":1790144043,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce657f8"} 
[2026-09-23 11:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:45: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-09-23 11:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276869888001,"66":27919,"52":206,"81":23552,"24":29,"16":406446262892625920,"45":3606538905472591872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 11:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276869888001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:45:44] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 11:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 11:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406446262892625920,"km_value":406446262892625.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3606538905472591872,"description":"Unknown IO ID 45"} 
[2026-09-23 11:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276869888001,"power":27919,"unknown_52":206,"unknown_81":23552,"ignition":29,"odometer":null,"unknown_45":3606538905472591872}} 
[2026-09-23 11:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:45:44] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:45:44] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:45:57] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:57] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:57] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:45:58] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:58] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:45:58] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:46:02] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:02] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:02] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:46:03] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce3fa80012d196880071fed10003901162e..."} 
[2026-09-23 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce3fa80012d196880071fed10003901162e..."} 
[2026-09-23 11:46:03] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce3fa80012d196880071fed10003901162e..."} 
[2026-09-23 11:46:03] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:46:03] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce3"} 
[2026-09-23 11:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276829952001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790143888000,"timestamp_ms":1790143888000,"timestamp_seconds":1790143888,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce3fa80"} 
[2026-09-23 11:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:46: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:46: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-09-23 11: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-09-23 11:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276829952001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276829952001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:46:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276829952001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:46:03] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:46:03] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:46:34] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce44c88012d196880071fed10003901162c..."} 
[2026-09-23 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce44c88012d196880071fed10003901162c..."} 
[2026-09-23 11:46:34] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce44c88012d196880071fed10003901162c..."} 
[2026-09-23 11:46:34] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce4"} 
[2026-09-23 11:46:34] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce4"} 
[2026-09-23 11:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276835328001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790143909000,"timestamp_ms":1790143909000,"timestamp_seconds":1790143909,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce44c88"} 
[2026-09-23 11:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:46: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3683456002768955032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78297322525556736,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3803340801,"corrected_to":0} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:46:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,168,45,128,237,57,46,10,66,86,4,1,240,53,227,204,31,113,205,96,104,44,239,48,2,80,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3803340801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:46:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276835328001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276835328001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:46:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276835328001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:46:34] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:46:34] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:46:47] local.INFO: TCP Data received {"connection_id":190322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce682f0012d3254c006b95ac00013004935..."} 
[2026-09-23 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce682f0012d3254c006b95ac00013004935..."} 
[2026-09-23 11:46:47] local.INFO: Processing buffer {"connection_id":190322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce682f0012d3254c006b95ac00013004935..."} 
[2026-09-23 11:46:47] local.INFO: Packet analysis {"connection_id":190322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:46:47] local.INFO: Extracted packet for processing {"connection_id":190322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce6"} 
[2026-09-23 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758273216,"raw_latitude":112810688,"longitude_deg":75.8273216,"latitude_deg":11.2810688,"altitude":19,"angle":73,"satellites":53,"speed":36,"hex_longitude":"2d3254c0","hex_latitude":"06b95ac0","is_valid_coordinates":true} 
[2026-09-23 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276875008001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406446705274257408,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3616672004634343424,"note":"Value kept but may cause issues"} 
[2026-09-23 11:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790144054000,"timestamp_ms":1790144054000,"timestamp_seconds":1790144054,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce682f0"} 
[2026-09-23 11:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 11:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276875008001,"66":27626,"121":206,"81":21760,"24":36,"16":406446705274257408,"45":3616672004634343424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,81,24,16,45]} 
[2026-09-23 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276875008001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:46:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-23 11:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406446705274257408,"km_value":406446705274257.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3616672004634343424,"description":"Unknown IO ID 45"} 
[2026-09-23 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276875008001,"power":27626,"unknown_121":206,"unknown_81":21760,"ignition":36,"odometer":null,"unknown_45":3616672004634343424}} 
[2026-09-23 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":190322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:46:47] local.INFO: GPS data processed {"connection_id":190322,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:46:47] local.INFO: Acknowledgment sent {"connection_id":190322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:46:57] local.INFO: TCP Data received {"connection_id":190323,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:57] local.INFO: Processing buffer {"connection_id":190323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:46:57] local.INFO: IMEI packet received {"connection_id":190323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":190323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:47:00] local.INFO: TCP Data received {"connection_id":190323,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:00] local.INFO: Processing buffer {"connection_id":190323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:00] local.INFO: IMEI packet received {"connection_id":190323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":190323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:47:01] local.INFO: TCP Data received {"connection_id":190323,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce7d2e0012d196880071fed100039011629..."} 
[2026-09-23 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce7d2e0012d196880071fed100039011629..."} 
[2026-09-23 11:47:01] local.INFO: Processing buffer {"connection_id":190323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce7d2e0012d196880071fed100039011629..."} 
[2026-09-23 11:47:01] local.INFO: Packet analysis {"connection_id":190323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce7"} 
[2026-09-23 11:47:01] local.INFO: Extracted packet for processing {"connection_id":190323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce7"} 
[2026-09-23 11:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276894464001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790144140000,"timestamp_ms":1790144140000,"timestamp_seconds":1790144140,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce7d2e0"} 
[2026-09-23 11:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:47: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:47:01] 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-09-23 11: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-09-23 11:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276894464001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276894464001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:47:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276894464001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":190323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:47:01] local.INFO: GPS data processed {"connection_id":190323,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:47:01] local.INFO: Acknowledgment sent {"connection_id":190323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:47:10] local.INFO: TCP Data received {"connection_id":191850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:47:10] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:47:10] local.INFO: IMEI packet received {"connection_id":191850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":191850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:47:32] local.INFO: TCP Data received {"connection_id":190323,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce824e8012d196880071fed10003901162b..."} 
[2026-09-23 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce824e8012d196880071fed10003901162b..."} 
[2026-09-23 11:47:32] local.INFO: Processing buffer {"connection_id":190323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce824e8012d196880071fed10003901162b..."} 
[2026-09-23 11:47:32] local.INFO: Packet analysis {"connection_id":190323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:47:32] local.INFO: Extracted packet for processing {"connection_id":190323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276899840001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790144161000,"timestamp_ms":1790144161000,"timestamp_seconds":1790144161,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce824e8"} 
[2026-09-23 11:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:47: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:47:32] 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-09-23 11: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-09-23 11:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276899840001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276899840001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276899840001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":190323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:47:32] local.INFO: GPS data processed {"connection_id":190323,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:47:32] local.INFO: Acknowledgment sent {"connection_id":190323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:47:57] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:57] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:47:57] local.INFO: IMEI packet received {"connection_id":190507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":190507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:48:02] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:02] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:02] local.INFO: IMEI packet received {"connection_id":190507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:48:03] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce876f0012d196880071fed10003901162d..."} 
[2026-09-23 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce876f0012d196880071fed10003901162d..."} 
[2026-09-23 11:48:03] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce876f0012d196880071fed10003901162d..."} 
[2026-09-23 11:48:03] local.INFO: Packet analysis {"connection_id":190507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:48:03] local.INFO: Extracted packet for processing {"connection_id":190507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276905216001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144182000,"timestamp_ms":1790144182000,"timestamp_seconds":1790144182,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce876f0"} 
[2026-09-23 11:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:48: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:48:03] 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-09-23 11: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-09-23 11:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276905216001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276905216001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:48:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276905216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":190507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:48:03] local.INFO: GPS data processed {"connection_id":190507,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:48:03] local.INFO: Acknowledgment sent {"connection_id":190507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:48:34] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce8c8f8012d196880071fed10003901162e..."} 
[2026-09-23 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce8c8f8012d196880071fed10003901162e..."} 
[2026-09-23 11:48:34] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce8c8f8012d196880071fed10003901162e..."} 
[2026-09-23 11:48:34] local.INFO: Packet analysis {"connection_id":190507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:48:34] local.INFO: Extracted packet for processing {"connection_id":190507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce8"} 
[2026-09-23 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144203000,"timestamp_ms":1790144203000,"timestamp_seconds":1790144203,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce8c8f8"} 
[2026-09-23 11:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:48: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3682193282383931032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3878604801,"corrected_to":0} 
[2026-09-23 11:48:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:48:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,36,45,128,237,57,43,10,66,210,41,1,240,31,227,204,4,113,205,220,104,44,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3878604801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:48:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276910592001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:48:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276910592001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":190507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:48:34] local.INFO: GPS data processed {"connection_id":190507,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:48:34] local.INFO: Acknowledgment sent {"connection_id":190507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:48:57] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:57] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:48:57] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:49:02] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:49:02] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:49:02] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:49:03] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce91b00012d196880071fed10003901162d..."} 
[2026-09-23 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce91b00012d196880071fed10003901162d..."} 
[2026-09-23 11:49:03] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce91b00012d196880071fed10003901162d..."} 
[2026-09-23 11:49:03] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:49:03] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276915968001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144224000,"timestamp_ms":1790144224000,"timestamp_seconds":1790144224,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce91b00"} 
[2026-09-23 11:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:49: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3682103088070715032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3883980801,"corrected_to":0} 
[2026-09-23 11:49:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,118,45,128,237,57,10,66,36,43,210,1,240,31,227,204,4,113,205,46,104,239,47,2,80,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3883980801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:49:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276915968001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276915968001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276915968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:49:03] local.INFO: GPS data processed {"connection_id":190324,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:49:03] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:49:34] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce96d08012d196880071fed10003901162e..."} 
[2026-09-23 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce96d08012d196880071fed10003901162e..."} 
[2026-09-23 11:49:34] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce96d08012d196880071fed10003901162e..."} 
[2026-09-23 11:49:34] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:49:34] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276921344001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144245000,"timestamp_ms":1790144245000,"timestamp_seconds":1790144245,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce96d08"} 
[2026-09-23 11:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:49: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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3682012893757499032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":63489,"corrected_to":0} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3889356801,"corrected_to":0} 
[2026-09-23 11:49:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:49:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:49:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,200,45,128,237,57,46,10,66,118,36,1,240,31,227,204,4,113,205,104,239,48,2,80,7,44],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":200,"original":63489,"validated":0},{"io_id":204,"original":3889356801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:49:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276921344001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276921344001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:49:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276921344001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:49:34] local.INFO: GPS data processed {"connection_id":190324,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:49:34] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:50:02] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:02] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:02] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:50:07] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:07] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:07] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:50:08] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cce9bf10012d196880071fed10003901162d..."} 
[2026-09-23 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cce9bf10012d196880071fed10003901162d..."} 
[2026-09-23 11:50:08] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cce9bf10012d196880071fed10003901162d..."} 
[2026-09-23 11:50:08] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:50:08] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cce9"} 
[2026-09-23 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276926720001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790144266000,"timestamp_ms":1790144266000,"timestamp_seconds":1790144266,"priority":1,"record_length":96,"hex_timestamp":"000001a0cce9bf10"} 
[2026-09-23 11:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3681922699444283032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":63489,"corrected_to":0} 
[2026-09-23 11:50:08] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3894732801,"corrected_to":0} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,27,45,128,237,57,10,66,200,46,118,1,240,227,204,31,4,113,205,210,104,41,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":63489,"validated":0},{"io_id":204,"original":3894732801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:50:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588721962909696,"timestamp_seconds":4107588721962909.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276926720001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276926720001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276926720001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:50:08] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:50:08] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:50:09] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccea1118012d196880071fed10003901162c..."} 
[2026-09-23 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccea1118012d196880071fed10003901162c..."} 
[2026-09-23 11:50:09] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccea1118012d196880071fed10003901162c..."} 
[2026-09-23 11:50:09] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:50:09] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276932096001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790144287000,"timestamp_ms":1790144287000,"timestamp_seconds":1790144287,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccea1118"} 
[2026-09-23 11:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276932096001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276932096001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:50:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:50:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276932096001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:50:09] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:50:09] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:50:40] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccea6320012d196880071fed10003901162e..."} 
[2026-09-23 11:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccea6320012d196880071fed10003901162e..."} 
[2026-09-23 11:50:40] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccea6320012d196880071fed10003901162e..."} 
[2026-09-23 11:50:40] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:50:40] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276937472001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790144308000,"timestamp_ms":1790144308000,"timestamp_seconds":1790144308,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccea6320"} 
[2026-09-23 11:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:50: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276937472001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276937472001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276937472001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:50:40] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:50:40] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:50:57] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:57] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:50:57] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:51:02] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:02] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:02] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:51:03] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceab528012d196880071fed10003901162e..."} 
[2026-09-23 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceab528012d196880071fed10003901162e..."} 
[2026-09-23 11:51:03] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceab528012d196880071fed10003901162e..."} 
[2026-09-23 11:51:03] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:51:03] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccea"} 
[2026-09-23 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276942848001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144329000,"timestamp_ms":1790144329000,"timestamp_seconds":1790144329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceab528"} 
[2026-09-23 11:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:51: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-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:51: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-09-23 11: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-09-23 11:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276942848001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276942848001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276942848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:51:03] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:51:03] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:51:07] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceb0730012d196880071fed10003901162d..."} 
[2026-09-23 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceb0730012d196880071fed10003901162d..."} 
[2026-09-23 11:51:07] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceb0730012d196880071fed10003901162d..."} 
[2026-09-23 11:51:07] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:51:07] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276948224001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790144350000,"timestamp_ms":1790144350000,"timestamp_seconds":1790144350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceb0730"} 
[2026-09-23 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 11:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276948224001,"66":12254,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276948224001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276948224001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:51:07] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:51:07] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:51:38] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceb5938012d196880071fed10003901162e..."} 
[2026-09-23 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceb5938012d196880071fed10003901162e..."} 
[2026-09-23 11:51:38] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceb5938012d196880071fed10003901162e..."} 
[2026-09-23 11:51:38] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:51:38] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276953600001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144371000,"timestamp_ms":1790144371000,"timestamp_seconds":1790144371,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceb5938"} 
[2026-09-23 11:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:51:38] 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-09-23 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 11:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276953600001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276953600001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:51:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276953600001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:51:38] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:51:38] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:51:54] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:54] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:54] local.INFO: IMEI packet received {"connection_id":191857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":191857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:51:57] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:57] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:51:57] local.INFO: IMEI packet received {"connection_id":191857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":191857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:52:02] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:02] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:02] local.INFO: IMEI packet received {"connection_id":191857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":191857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:52:03] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccebab40012d196880071fed10003901162c..."} 
[2026-09-23 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccebab40012d196880071fed10003901162c..."} 
[2026-09-23 11:52:03] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccebab40012d196880071fed10003901162c..."} 
[2026-09-23 11:52:03] local.INFO: Packet analysis {"connection_id":191857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:03] local.INFO: Extracted packet for processing {"connection_id":191857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276958976001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144392000,"timestamp_ms":1790144392000,"timestamp_seconds":1790144392,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccebab40"} 
[2026-09-23 11:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:52: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-09-23 11:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:52: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-09-23 11:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276958976001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276958976001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:52:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276958976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":191857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:52:03] local.INFO: GPS data processed {"connection_id":191857,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:52:03] local.INFO: Acknowledgment sent {"connection_id":191857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:52:13] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:13] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:13] local.INFO: IMEI packet received {"connection_id":191856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":191856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:52:15] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceb7c60012d36fbc006ba0f90000c004c35..."} 
[2026-09-23 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceb7c60012d36fbc006ba0f90000c004c35..."} 
[2026-09-23 11:52:15] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceb7c60012d36fbc006ba0f90000c004c35..."} 
[2026-09-23 11:52:15] local.INFO: Packet analysis {"connection_id":191856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:15] local.INFO: Extracted packet for processing {"connection_id":191856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758578112,"raw_latitude":112856976,"longitude_deg":75.8578112,"latitude_deg":11.2856976,"altitude":12,"angle":76,"satellites":53,"speed":31,"hex_longitude":"2d36fbc0","hex_latitude":"06ba0f90","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276960768001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406461918048419840,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3960212213721905152,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790144380000,"timestamp_ms":1790144380000,"timestamp_seconds":1790144380,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceb7c60"} 
[2026-09-23 11:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:52: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-09-23 11: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-09-23 11:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52: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-09-23 11:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276960768001,"66":27767,"217":206,"81":21760,"24":31,"16":406461918048419840,"45":3960212213721905152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,81,24,16,45]} 
[2026-09-23 11:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276960768001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:52:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 11:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406461918048419840,"km_value":406461918048419.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3960212213721905152,"description":"Unknown IO ID 45"} 
[2026-09-23 11:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276960768001,"power":27767,"unknown_217":206,"unknown_81":21760,"ignition":31,"odometer":null,"unknown_45":3960212213721905152}} 
[2026-09-23 11:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":191856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:52:15] local.INFO: GPS data processed {"connection_id":191856,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:52:15] local.INFO: Acknowledgment sent {"connection_id":191856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:52:34] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccebfd48012d196880071fed10003901162b..."} 
[2026-09-23 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccebfd48012d196880071fed10003901162b..."} 
[2026-09-23 11:52:34] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccebfd48012d196880071fed10003901162b..."} 
[2026-09-23 11:52:34] local.INFO: Packet analysis {"connection_id":191857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:34] local.INFO: Extracted packet for processing {"connection_id":191857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cceb"} 
[2026-09-23 11:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276964352001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144413000,"timestamp_ms":1790144413000,"timestamp_seconds":1790144413,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccebfd48"} 
[2026-09-23 11:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:52:34] 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-09-23 11:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:52:34] 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-09-23 11:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276964352001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276964352001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:52:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276964352001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:52:34] local.INFO: GPS data processed {"connection_id":191857,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:52:34] local.INFO: Acknowledgment sent {"connection_id":191857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:52:37] local.INFO: TCP Data received {"connection_id":190511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:52:37] local.INFO: Processing buffer {"connection_id":190511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:52:37] local.INFO: IMEI packet received {"connection_id":190511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:52:37] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:37] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:37] local.INFO: IMEI packet received {"connection_id":190326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":190326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:52:40] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:40] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:52:40] local.INFO: IMEI packet received {"connection_id":190326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":190326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:52:43] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced1e58012d37bf0006bb08a00011000d27..."} 
[2026-09-23 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced1e58012d37bf0006bb08a00011000d27..."} 
[2026-09-23 11:52:43] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced1e58012d37bf0006bb08a00011000d27..."} 
[2026-09-23 11:52:43] local.INFO: Packet analysis {"connection_id":190326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:52:43] local.INFO: Extracted packet for processing {"connection_id":190326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758628096,"raw_latitude":112920736,"longitude_deg":75.8628096,"latitude_deg":11.2920736,"altitude":17,"angle":13,"satellites":39,"speed":25,"hex_longitude":"2d37bf00","hex_latitude":"06bb08a0","is_valid_coordinates":true} 
[2026-09-23 11:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276986368001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406465942432776192,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4013973934288332800,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790144487000,"timestamp_ms":1790144487000,"timestamp_seconds":1790144487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced1e58"} 
[2026-09-23 11:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:52: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-09-23 11:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52: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-09-23 11:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276986368001,"66":27876,"216":206,"81":21760,"24":25,"16":406465942432776192,"45":4013973934288332800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 11:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276986368001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:52:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 11:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406465942432776192,"km_value":406465942432776.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4013973934288332800,"description":"Unknown IO ID 45"} 
[2026-09-23 11:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276986368001,"power":27876,"unknown_216":206,"unknown_81":21760,"ignition":25,"odometer":null,"unknown_45":4013973934288332800}} 
[2026-09-23 11:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":190326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:52:43] local.INFO: GPS data processed {"connection_id":190326,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:52:43] local.INFO: Acknowledgment sent {"connection_id":190326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:52:45] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:52:45] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:52:45] local.INFO: Packet analysis {"connection_id":190326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:52:45] local.INFO: Extracted packet for processing {"connection_id":190326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758630144,"raw_latitude":112929896,"longitude_deg":75.8630144,"latitude_deg":11.2929896,"altitude":17,"angle":1,"satellites":49,"speed":22,"hex_longitude":"2d37c700","hex_latitude":"06bb2c68","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276988672001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406466397699309568,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4016929421545480192,"note":"Value kept but may cause issues"} 
[2026-09-23 11:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790144504000,"timestamp_ms":1790144504000,"timestamp_seconds":1790144504,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced60c0"} 
[2026-09-23 11:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:52: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-09-23 11:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276988672001,"66":27865,"114":206,"81":21760,"24":22,"16":406466397699309568,"45":4016929421545480192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 11:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276988672001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:52:45] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 11:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406466397699309568,"km_value":406466397699309.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4016929421545480192,"description":"Unknown IO ID 45"} 
[2026-09-23 11:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276988672001,"power":27865,"unknown_114":206,"unknown_81":21760,"ignition":22,"odometer":null,"unknown_45":4016929421545480192}} 
[2026-09-23 11:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":190326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:52:45] local.INFO: GPS data processed {"connection_id":190326,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:52:45] local.INFO: Acknowledgment sent {"connection_id":190326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:52:57] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:57] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:57] local.INFO: IMEI packet received {"connection_id":193190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":193190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:52:58] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:58] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:52:58] local.INFO: IMEI packet received {"connection_id":193190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":193190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:53:02] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:02] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:02] local.INFO: IMEI packet received {"connection_id":193190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":193190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:53:03] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccec4f50012d196880071fed10003901162d..."} 
[2026-09-23 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccec4f50012d196880071fed10003901162d..."} 
[2026-09-23 11:53:03] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccec4f50012d196880071fed10003901162d..."} 
[2026-09-23 11:53:03] local.INFO: Packet analysis {"connection_id":193190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:53:03] local.INFO: Extracted packet for processing {"connection_id":193190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276969728001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144434000,"timestamp_ms":1790144434000,"timestamp_seconds":1790144434,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccec4f50"} 
[2026-09-23 11:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:53: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:53:03] 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-09-23 11: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-09-23 11:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276969728001,"66":12341,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276969728001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:53:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276969728001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":193190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:53:03] local.INFO: GPS data processed {"connection_id":193190,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:53:03] local.INFO: Acknowledgment sent {"connection_id":193190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:53:11] local.INFO: TCP Data received {"connection_id":191858,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:53:11] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:53:11] local.INFO: IMEI packet received {"connection_id":191858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":191858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:53:17] local.INFO: TCP Data received {"connection_id":190326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:53:17] local.INFO: Processing buffer {"connection_id":190326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced60c0012d37c70006bb2c680011000131..."} 
[2026-09-23 11:53:17] local.INFO: Packet analysis {"connection_id":190326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:53:17] local.INFO: Extracted packet for processing {"connection_id":190326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758630144,"raw_latitude":112929896,"longitude_deg":75.8630144,"latitude_deg":11.2929896,"altitude":17,"angle":1,"satellites":49,"speed":22,"hex_longitude":"2d37c700","hex_latitude":"06bb2c68","is_valid_coordinates":true} 
[2026-09-23 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276993024001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406466397699309568,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019181221361510400,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790144504000,"timestamp_ms":1790144504000,"timestamp_seconds":1790144504,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced60c0"} 
[2026-09-23 11:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:53: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-09-23 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:53: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-09-23 11:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276993024001,"66":27865,"114":206,"81":21760,"24":22,"16":406466397699309568,"45":4019181221361510400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 11:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276993024001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:53:17] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 11:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406466397699309568,"km_value":406466397699309.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019181221361510400,"description":"Unknown IO ID 45"} 
[2026-09-23 11:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276993024001,"power":27865,"unknown_114":206,"unknown_81":21760,"ignition":22,"odometer":null,"unknown_45":4019181221361510400}} 
[2026-09-23 11:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":190326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:53:17] local.INFO: GPS data processed {"connection_id":190326,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:53:17] local.INFO: Acknowledgment sent {"connection_id":190326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:53:30] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:30] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:30] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:53:32] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:32] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:32] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:53:34] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceca158012d196880071fed10003901162d..."} 
[2026-09-23 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceca158012d196880071fed10003901162d..."} 
[2026-09-23 11:53:34] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceca158012d196880071fed10003901162d..."} 
[2026-09-23 11:53:34] local.INFO: Packet analysis {"connection_id":193190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:53:34] local.INFO: Extracted packet for processing {"connection_id":193190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276975104001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144455000,"timestamp_ms":1790144455000,"timestamp_seconds":1790144455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceca158"} 
[2026-09-23 11:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:53:34] 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-09-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 11:53:34] 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-09-23 11: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-09-23 11:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276975104001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276975104001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:53:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276975104001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":193190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:53:34] local.INFO: GPS data processed {"connection_id":193190,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:53:34] local.INFO: Acknowledgment sent {"connection_id":193190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:53:37] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:37] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:53:37] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:53:38] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced7830012d37c5c006bb3bd80011015c31..."} 
[2026-09-23 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced7830012d37c5c006bb3bd80011015c31..."} 
[2026-09-23 11:53:38] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced7830012d37c5c006bb3bd80011015c31..."} 
[2026-09-23 11:53:38] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:53:38] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758629824,"raw_latitude":112933848,"longitude_deg":75.8629824,"latitude_deg":11.2933848,"altitude":17,"angle":348,"satellites":49,"speed":30,"hex_longitude":"2d37c5c0","hex_latitude":"06bb3bd8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276993024001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406466590972837888,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019181221361510400,"note":"Value kept but may cause issues"} 
[2026-09-23 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144510000,"timestamp_ms":1790144510000,"timestamp_seconds":1790144510,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced7830"} 
[2026-09-23 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:53: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-09-23 11: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-09-23 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:53: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-09-23 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276993024001,"66":27865,"114":206,"81":21760,"24":30,"16":406466590972837888,"45":4019181221361510400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276993024001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406466590972837888,"km_value":406466590972837.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019181221361510400,"description":"Unknown IO ID 45"} 
[2026-09-23 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276993024001,"power":27865,"unknown_114":206,"unknown_81":21760,"ignition":30,"odometer":null,"unknown_45":4019181221361510400}} 
[2026-09-23 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:53:38] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:53:38] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:53:57] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:57] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:53:57] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:54:00] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:00] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:00] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:54:02] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:02] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:02] local.INFO: IMEI packet received {"connection_id":190328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":190328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:54:02] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccecf360012d196880071fed10003901162a..."} 
[2026-09-23 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccecf360012d196880071fed10003901162a..."} 
[2026-09-23 11:54:03] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccecf360012d196880071fed10003901162a..."} 
[2026-09-23 11:54:03] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:54:03] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccec"} 
[2026-09-23 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276980480001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144476000,"timestamp_ms":1790144476000,"timestamp_seconds":1790144476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccecf360"} 
[2026-09-23 11:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:54: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-09-23 11: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":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:54:03] 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-09-23 11: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-09-23 11:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276980480001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276980480001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276980480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:54:03] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:54:03] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:54:07] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced4568012d196880071fed10003901162b..."} 
[2026-09-23 11:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced4568012d196880071fed10003901162b..."} 
[2026-09-23 11:54:07] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced4568012d196880071fed10003901162b..."} 
[2026-09-23 11:54:07] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:54:07] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276985856001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790144497000,"timestamp_ms":1790144497000,"timestamp_seconds":1790144497,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced4568"} 
[2026-09-23 11:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:54:07] 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-09-23 11: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-09-23 11:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276985856001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276985856001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276985856001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:54:07] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:54:07] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:54:09] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceeef30012d378dc006bc78280020000f2c..."} 
[2026-09-23 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceeef30012d378dc006bc78280020000f2c..."} 
[2026-09-23 11:54:09] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceeef30012d378dc006bc78280020000f2c..."} 
[2026-09-23 11:54:09] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:54:09] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758615488,"raw_latitude":113014824,"longitude_deg":75.8615488,"latitude_deg":11.3014824,"altitude":32,"angle":15,"satellites":44,"speed":7,"hex_longitude":"2d378dc0","hex_latitude":"06bc7828","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277018880001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406470611062226944,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003066778966517760,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790144606000,"timestamp_ms":1790144606000,"timestamp_seconds":1790144606,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceeef30"} 
[2026-09-23 11:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 11:54: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-09-23 11: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-09-23 11:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11: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-09-23 11:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277018880001,"66":27876,"123":206,"81":21760,"24":7,"16":406470611062226944,"45":4003066778966517760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 11:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277018880001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:54:09] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 11:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406470611062226944,"km_value":406470611062226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003066778966517760,"description":"Unknown IO ID 45"} 
[2026-09-23 11:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277018880001,"power":27876,"unknown_123":206,"unknown_81":21760,"ignition":7,"odometer":null,"unknown_45":4003066778966517760}} 
[2026-09-23 11:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:54:09] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:54:09] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:54:31] local.INFO: TCP Data received {"connection_id":193191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:31] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:31] local.INFO: IMEI packet received {"connection_id":193191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":193191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:54:36] local.INFO: TCP Data received {"connection_id":193191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:36] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:54:36] local.INFO: IMEI packet received {"connection_id":193191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":193191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:54:38] local.INFO: TCP Data received {"connection_id":193191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceef700012d378ec006bc79f8001f00262c..."} 
[2026-09-23 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceef700012d378ec006bc79f8001f00262c..."} 
[2026-09-23 11:54:38] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceef700012d378ec006bc79f8001f00262c..."} 
[2026-09-23 11:54:38] local.INFO: Packet analysis {"connection_id":193191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:54:38] local.INFO: Extracted packet for processing {"connection_id":193191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758615744,"raw_latitude":113015288,"longitude_deg":75.8615744,"latitude_deg":11.3015288,"altitude":31,"angle":38,"satellites":44,"speed":10,"hex_longitude":"2d378ec0","hex_latitude":"06bc79f8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277019136001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406470636832030720,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003066778966566912,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144608000,"timestamp_ms":1790144608000,"timestamp_seconds":1790144608,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceef700"} 
[2026-09-23 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:54: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-09-23 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 11:54: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-09-23 11: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-09-23 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:54: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-09-23 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277019136001,"66":27821,"123":206,"81":21760,"24":10,"16":406470636832030720,"45":4003066778966566912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277019136001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:54:38] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 11:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406470636832030720,"km_value":406470636832030.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003066778966566912,"description":"Unknown IO ID 45"} 
[2026-09-23 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277019136001,"power":27821,"unknown_123":206,"unknown_81":21760,"ignition":10,"odometer":null,"unknown_45":4003066778966566912}} 
[2026-09-23 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":193191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:54:38] local.INFO: GPS data processed {"connection_id":193191,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:54:38] local.INFO: Acknowledgment sent {"connection_id":193191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:54:39] local.INFO: TCP Data received {"connection_id":190328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cced9770012d196880071fed10003901162c..."} 
[2026-09-23 11:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cced9770012d196880071fed10003901162c..."} 
[2026-09-23 11:54:39] local.INFO: Processing buffer {"connection_id":190328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cced9770012d196880071fed10003901162c..."} 
[2026-09-23 11:54:39] local.INFO: Packet analysis {"connection_id":190328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:54:39] local.INFO: Extracted packet for processing {"connection_id":190328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276991232001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790144518000,"timestamp_ms":1790144518000,"timestamp_seconds":1790144518,"priority":1,"record_length":96,"hex_timestamp":"000001a0cced9770"} 
[2026-09-23 11:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:54:39] 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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3680840367685691032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78300621060440064,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3959244801,"corrected_to":0} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:54:39] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,243,45,128,237,57,42,10,66,161,79,1,240,53,227,204,31,4,113,205,171,104,44,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3959244801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:54:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276991232001,"66":12113,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276991232001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:54:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276991232001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":190328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:54:39] local.INFO: GPS data processed {"connection_id":190328,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:54:39] local.INFO: Acknowledgment sent {"connection_id":190328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:54:57] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:57] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:54:57] local.INFO: IMEI packet received {"connection_id":191860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":191860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:55:02] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:02] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:02] local.INFO: IMEI packet received {"connection_id":191860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":191860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:55:03] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccede978012d196880071fed10003901162b..."} 
[2026-09-23 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccede978012d196880071fed10003901162b..."} 
[2026-09-23 11:55:03] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccede978012d196880071fed10003901162b..."} 
[2026-09-23 11:55:03] local.INFO: Packet analysis {"connection_id":191860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:55:03] local.INFO: Extracted packet for processing {"connection_id":191860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cced"} 
[2026-09-23 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458276996608001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144539000,"timestamp_ms":1790144539000,"timestamp_seconds":1790144539,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccede978"} 
[2026-09-23 11:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:55: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-09-23 11: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 11:55:03] 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-09-23 11:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458276996608001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458276996608001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458276996608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":191860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:55:03] local.INFO: GPS data processed {"connection_id":191860,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:55:03] local.INFO: Acknowledgment sent {"connection_id":191860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:55:10] local.INFO: TCP Data received {"connection_id":193191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceefed0012d37908006bc7bb8001f00382d..."} 
[2026-09-23 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceefed0012d37908006bc7bb8001f00382d..."} 
[2026-09-23 11:55:10] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceefed0012d37908006bc7bb8001f00382d..."} 
[2026-09-23 11:55:10] local.INFO: Packet analysis {"connection_id":193191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:55:10] local.INFO: Extracted packet for processing {"connection_id":193191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758616192,"raw_latitude":113015736,"longitude_deg":75.8616192,"latitude_deg":11.3015736,"altitude":31,"angle":56,"satellites":45,"speed":13,"hex_longitude":"2d379080","hex_latitude":"06bc7bb8","is_valid_coordinates":true} 
[2026-09-23 11:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277019648001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406470671191769088,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003348253943396352,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790144610000,"timestamp_ms":1790144610000,"timestamp_seconds":1790144610,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceefed0"} 
[2026-09-23 11:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 11:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277019648001,"66":27821,"123":206,"81":21760,"24":13,"16":406470671191769088,"45":4003348253943396352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 11:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277019648001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:55:10] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 11:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406470671191769088,"km_value":406470671191769.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003348253943396352,"description":"Unknown IO ID 45"} 
[2026-09-23 11:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277019648001,"power":27821,"unknown_123":206,"unknown_81":21760,"ignition":13,"odometer":null,"unknown_45":4003348253943396352}} 
[2026-09-23 11:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":193191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:55:10] local.INFO: GPS data processed {"connection_id":193191,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:55:10] local.INFO: Acknowledgment sent {"connection_id":193191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:55:34] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccee3b80012d196880071fed10003901162c..."} 
[2026-09-23 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccee3b80012d196880071fed10003901162c..."} 
[2026-09-23 11:55:34] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccee3b80012d196880071fed10003901162c..."} 
[2026-09-23 11:55:34] local.INFO: Packet analysis {"connection_id":191860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:55:34] local.INFO: Extracted packet for processing {"connection_id":191860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277001984001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144560000,"timestamp_ms":1790144560000,"timestamp_seconds":1790144560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccee3b80"} 
[2026-09-23 11:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:55:34] 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-09-23 11:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:55:34] 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-09-23 11:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277001984001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277001984001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:55:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277001984001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":191860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:55:34] local.INFO: GPS data processed {"connection_id":191860,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:55:34] local.INFO: Acknowledgment sent {"connection_id":191860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:55:36] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:36] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:36] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:55:38] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:38] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:38] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:55:42] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:42] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:55:42] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:55:44] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccef25e0012d37a48006bc85d8001f00432d..."} 
[2026-09-23 11:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccef25e0012d37a48006bc85d8001f00432d..."} 
[2026-09-23 11:55:44] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccef25e0012d37a48006bc85d8001f00432d..."} 
[2026-09-23 11:55:44] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:55:44] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758621312,"raw_latitude":113018328,"longitude_deg":75.8621312,"latitude_deg":11.3018328,"altitude":31,"angle":67,"satellites":45,"speed":30,"hex_longitude":"2d37a480","hex_latitude":"06bc85d8","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277020160001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406470941774708736,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003840835152754688,"note":"Value kept but may cause issues"} 
[2026-09-23 11:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790144620000,"timestamp_ms":1790144620000,"timestamp_seconds":1790144620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccef25e0"} 
[2026-09-23 11:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:55: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-09-23 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 11:55: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-09-23 11: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-09-23 11:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:55: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-09-23 11:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277020160001,"66":27908,"122":206,"81":21760,"24":30,"16":406470941774708736,"45":4003840835152754688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,81,24,16,45]} 
[2026-09-23 11:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277020160001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:55:44] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-23 11:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406470941774708736,"km_value":406470941774708.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003840835152754688,"description":"Unknown IO ID 45"} 
[2026-09-23 11:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277020160001,"power":27908,"unknown_122":206,"unknown_81":21760,"ignition":30,"odometer":null,"unknown_45":4003840835152754688}} 
[2026-09-23 11:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:55:44] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:55:44] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:55:57] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:57] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:55:57] local.INFO: IMEI packet received {"connection_id":193192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":193192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:56:02] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:56:02] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:56:02] local.INFO: IMEI packet received {"connection_id":193192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":193192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:56:03] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccee8d88012d196880071fed10003901162d..."} 
[2026-09-23 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccee8d88012d196880071fed10003901162d..."} 
[2026-09-23 11:56:03] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccee8d88012d196880071fed10003901162d..."} 
[2026-09-23 11:56:03] local.INFO: Packet analysis {"connection_id":193192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:56:03] local.INFO: Extracted packet for processing {"connection_id":193192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277007360001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144581000,"timestamp_ms":1790144581000,"timestamp_seconds":1790144581,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccee8d88"} 
[2026-09-23 11:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:56: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-09-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:56:03] 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-09-23 11: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-09-23 11:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277007360001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277007360001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277007360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":193192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:56:03] local.INFO: GPS data processed {"connection_id":193192,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:56:03] local.INFO: Acknowledgment sent {"connection_id":193192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:56:16] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccef4cf0012d37c70006bc9448001c00432d..."} 
[2026-09-23 11:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccef4cf0012d37c70006bc9448001c00432d..."} 
[2026-09-23 11:56:16] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccef4cf0012d37c70006bc9448001c00432d..."} 
[2026-09-23 11:56:16] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:56:16] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758630144,"raw_latitude":113022024,"longitude_deg":75.8630144,"latitude_deg":11.3022024,"altitude":28,"angle":67,"satellites":45,"speed":41,"hex_longitude":"2d37c700","hex_latitude":"06bc9448","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277022720001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406471401336209408,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4009470334687631360,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790144630000,"timestamp_ms":1790144630000,"timestamp_seconds":1790144630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccef4cf0"} 
[2026-09-23 11:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:56: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-09-23 11:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:56: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-09-23 11: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-09-23 11:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56: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-09-23 11:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277022720001,"66":27865,"122":206,"81":21760,"24":41,"16":406471401336209408,"45":4009470334687631360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,81,24,16,45]} 
[2026-09-23 11:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277022720001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:56:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-23 11:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406471401336209408,"km_value":406471401336209.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4009470334687631360,"description":"Unknown IO ID 45"} 
[2026-09-23 11:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277022720001,"power":27865,"unknown_122":206,"unknown_81":21760,"ignition":41,"odometer":null,"unknown_45":4009470334687631360}} 
[2026-09-23 11:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:56:16] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:56:16] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:56:34] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cceedf90012d196880071fed10003901162a..."} 
[2026-09-23 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cceedf90012d196880071fed10003901162a..."} 
[2026-09-23 11:56:34] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cceedf90012d196880071fed10003901162a..."} 
[2026-09-23 11:56:34] local.INFO: Packet analysis {"connection_id":193192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:56:34] local.INFO: Extracted packet for processing {"connection_id":193192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccee"} 
[2026-09-23 11:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277012736001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144602000,"timestamp_ms":1790144602000,"timestamp_seconds":1790144602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cceedf90"} 
[2026-09-23 11:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:56:34] 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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3680479590432827032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3980748801,"corrected_to":0} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,116,160,59,45,128,237,57,44,10,66,233,43,151,1,240,81,227,204,31,4,113,205,243,104,42,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":204,"original":3980748801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:56:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277012736001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277012736001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277012736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":193192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:56:34] local.INFO: GPS data processed {"connection_id":193192,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:56:34] local.INFO: Acknowledgment sent {"connection_id":193192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:56:36] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:36] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:36] local.INFO: IMEI packet received {"connection_id":193193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":193193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:56:37] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:37] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:37] local.INFO: IMEI packet received {"connection_id":193193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":193193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:56:43] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:43] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:56:43] local.INFO: IMEI packet received {"connection_id":193193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":193193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:56:45] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf0df48012d390c4006bcea90002100612f..."} 
[2026-09-23 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf0df48012d390c4006bcea90002100612f..."} 
[2026-09-23 11:56:45] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf0df48012d390c4006bcea90002100612f..."} 
[2026-09-23 11:56:45] local.INFO: Packet analysis {"connection_id":193193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:56:45] local.INFO: Extracted packet for processing {"connection_id":193193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758713408,"raw_latitude":113044112,"longitude_deg":75.8713408,"latitude_deg":11.3044112,"altitude":33,"angle":97,"satellites":47,"speed":25,"hex_longitude":"2d390c40","hex_latitude":"06bcea90","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277049856001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406475558864551936,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104045926869002240,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790144733000,"timestamp_ms":1790144733000,"timestamp_seconds":1790144733,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf0df48"} 
[2026-09-23 11:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:56: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-09-23 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277049856001,"66":27908,"220":206,"81":21760,"24":25,"16":406475558864551936,"45":4104045926869002240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277049856001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:56:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406475558864551936,"km_value":406475558864551.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104045926869002240,"description":"Unknown IO ID 45"} 
[2026-09-23 11:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277049856001,"power":27908,"unknown_220":206,"unknown_81":21760,"ignition":25,"odometer":null,"unknown_45":4104045926869002240}} 
[2026-09-23 11:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":193193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:56:45] local.INFO: GPS data processed {"connection_id":193193,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:56:45] local.INFO: Acknowledgment sent {"connection_id":193193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:56:47] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf10e28012d39304006bce338001f006432..."} 
[2026-09-23 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf10e28012d39304006bce338001f006432..."} 
[2026-09-23 11:56:47] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf10e28012d39304006bce338001f006432..."} 
[2026-09-23 11:56:47] local.INFO: Packet analysis {"connection_id":193193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:56:47] local.INFO: Extracted packet for processing {"connection_id":193193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758722624,"raw_latitude":113042232,"longitude_deg":75.8722624,"latitude_deg":11.3042232,"altitude":31,"angle":100,"satellites":50,"speed":34,"hex_longitude":"2d393040","hex_latitude":"06bce338","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277051648001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406476005541150720,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110730957565890560,"note":"Value kept but may cause issues"} 
[2026-09-23 11:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790144745000,"timestamp_ms":1790144745000,"timestamp_seconds":1790144745,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf10e28"} 
[2026-09-23 11:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:56: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-09-23 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 11:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277051648001,"66":27843,"220":206,"81":21760,"24":34,"16":406476005541150720,"45":4110730957565890560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277051648001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:56:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406476005541150720,"km_value":406476005541150.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4110730957565890560,"description":"Unknown IO ID 45"} 
[2026-09-23 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277051648001,"power":27843,"unknown_220":206,"unknown_81":21760,"ignition":34,"odometer":null,"unknown_45":4110730957565890560}} 
[2026-09-23 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":193193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:56:47] local.INFO: GPS data processed {"connection_id":193193,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:56:47] local.INFO: Acknowledgment sent {"connection_id":193193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:02] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:02] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:02] local.INFO: IMEI packet received {"connection_id":190330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:57:07] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:07] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:07] local.INFO: IMEI packet received {"connection_id":190330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":190330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:57:08] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccef3198012d196880071fed10003901162c..."} 
[2026-09-23 11:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccef3198012d196880071fed10003901162c..."} 
[2026-09-23 11:57:08] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccef3198012d196880071fed10003901162c..."} 
[2026-09-23 11:57:08] local.INFO: Packet analysis {"connection_id":190330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:08] local.INFO: Extracted packet for processing {"connection_id":190330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277018112001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790144623000,"timestamp_ms":1790144623000,"timestamp_seconds":1790144623,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccef3198"} 
[2026-09-23 11:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:57: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-09-23 11: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-09-23 11:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277018112001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277018112001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:57:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277018112001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:57:08] local.INFO: GPS data processed {"connection_id":190330,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:57:08] local.INFO: Acknowledgment sent {"connection_id":190330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:09] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccef83a0012d196880071fed10003901162c..."} 
[2026-09-23 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccef83a0012d196880071fed10003901162c..."} 
[2026-09-23 11:57:09] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccef83a0012d196880071fed10003901162c..."} 
[2026-09-23 11:57:09] local.INFO: Packet analysis {"connection_id":190330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:09] local.INFO: Extracted packet for processing {"connection_id":190330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277023488001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790144644000,"timestamp_ms":1790144644000,"timestamp_seconds":1790144644,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccef83a0"} 
[2026-09-23 11:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3680299201806395032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78297322525556736,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3991500801,"corrected_to":0} 
[2026-09-23 11:57:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:57:09] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,223,45,128,237,57,42,10,66,141,59,1,240,31,227,204,4,113,205,151,104,44,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":3991500801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:57:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277023488001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277023488001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:57:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277023488001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:57:09] local.INFO: GPS data processed {"connection_id":190330,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:57:09] local.INFO: Acknowledgment sent {"connection_id":190330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:31] local.INFO: TCP Data received {"connection_id":193194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:31] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:31] local.INFO: IMEI packet received {"connection_id":193194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":193194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:57:35] local.INFO: TCP Data received {"connection_id":193194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:35] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:35] local.INFO: IMEI packet received {"connection_id":193194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":193194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:57:36] local.INFO: TCP Data received {"connection_id":193194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:36] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:57:36] local.INFO: IMEI packet received {"connection_id":193194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":193194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:57:38] local.INFO: TCP Data received {"connection_id":193194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf140f0012d39574006bcda680020006631..."} 
[2026-09-23 11:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf140f0012d39574006bcda680020006631..."} 
[2026-09-23 11:57:38] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf140f0012d39574006bcda680020006631..."} 
[2026-09-23 11:57:38] local.INFO: Packet analysis {"connection_id":193194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:57:38] local.INFO: Extracted packet for processing {"connection_id":193194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758732608,"raw_latitude":113039976,"longitude_deg":75.8732608,"latitude_deg":11.3039976,"altitude":32,"angle":102,"satellites":49,"speed":33,"hex_longitude":"2d395740","hex_latitude":"06bcda68","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277054720001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406476495167422464,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120864056726992896,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144758000,"timestamp_ms":1790144758000,"timestamp_seconds":1790144758,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf140f0"} 
[2026-09-23 11:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 11:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:57: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-09-23 11:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277054720001,"66":27865,"220":206,"81":21760,"24":33,"16":406476495167422464,"45":4120864056726992896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277054720001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:57:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406476495167422464,"km_value":406476495167422.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120864056726992896,"description":"Unknown IO ID 45"} 
[2026-09-23 11:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277054720001,"power":27865,"unknown_220":206,"unknown_81":21760,"ignition":33,"odometer":null,"unknown_45":4120864056726992896}} 
[2026-09-23 11:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":193194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:57:38] local.INFO: GPS data processed {"connection_id":193194,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:57:38] local.INFO: Acknowledgment sent {"connection_id":193194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:40] local.INFO: TCP Data received {"connection_id":190330,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccefd5a8012d196880071fed10003901162c..."} 
[2026-09-23 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccefd5a8012d196880071fed10003901162c..."} 
[2026-09-23 11:57:40] local.INFO: Processing buffer {"connection_id":190330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccefd5a8012d196880071fed10003901162c..."} 
[2026-09-23 11:57:40] local.INFO: Packet analysis {"connection_id":190330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:40] local.INFO: Extracted packet for processing {"connection_id":190330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccef"} 
[2026-09-23 11:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277028864001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790144665000,"timestamp_ms":1790144665000,"timestamp_seconds":1790144665,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccefd5a8"} 
[2026-09-23 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-09-23 11:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3680209007493179032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384422606,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3996876801,"corrected_to":0} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,49,45,128,237,57,44,10,66,223,42,141,1,240,227,204,31,4,113,205,233,104,43,239,47,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":3996876801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:57:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 11:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277028864001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277028864001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:57:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277028864001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":190330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:57:40] local.INFO: GPS data processed {"connection_id":190330,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:57:40] local.INFO: Acknowledgment sent {"connection_id":190330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:46] local.INFO: TCP Data received {"connection_id":193194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf16be8012d397a0006bcd348001d005e31..."} 
[2026-09-23 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf16be8012d397a0006bcd348001d005e31..."} 
[2026-09-23 11:57:46] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf16be8012d397a0006bcd348001d005e31..."} 
[2026-09-23 11:57:46] local.INFO: Packet analysis {"connection_id":193194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:57:46] local.INFO: Extracted packet for processing {"connection_id":193194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758741504,"raw_latitude":113038152,"longitude_deg":75.8741504,"latitude_deg":11.3038152,"altitude":29,"angle":94,"satellites":49,"speed":28,"hex_longitude":"2d397a00","hex_latitude":"06bcd348","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277058048001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406476928959119360,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131841580818130944,"note":"Value kept but may cause issues"} 
[2026-09-23 11:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790144769000,"timestamp_ms":1790144769000,"timestamp_seconds":1790144769,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf16be8"} 
[2026-09-23 11:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 11:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 11: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-09-23 11:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277058048001,"66":27745,"220":206,"81":21760,"24":28,"16":406476928959119360,"45":4131841580818130944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 11:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277058048001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:57:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 11:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406476928959119360,"km_value":406476928959119.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131841580818130944,"description":"Unknown IO ID 45"} 
[2026-09-23 11:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277058048001,"power":27745,"unknown_220":206,"unknown_81":21760,"ignition":28,"odometer":null,"unknown_45":4131841580818130944}} 
[2026-09-23 11:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":193194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:57:46] local.INFO: GPS data processed {"connection_id":193194,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:57:46] local.INFO: Acknowledgment sent {"connection_id":193194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:57:57] local.INFO: TCP Data received {"connection_id":191862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:57] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:57:57] local.INFO: IMEI packet received {"connection_id":191862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":191862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:58:02] local.INFO: TCP Data received {"connection_id":191862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:02] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:02] local.INFO: IMEI packet received {"connection_id":191862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":191862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:58:03] local.INFO: TCP Data received {"connection_id":191862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf027b0012d196880071fed10003901162c..."} 
[2026-09-23 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf027b0012d196880071fed10003901162c..."} 
[2026-09-23 11:58:03] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf027b0012d196880071fed10003901162c..."} 
[2026-09-23 11:58:03] local.INFO: Packet analysis {"connection_id":191862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:58:03] local.INFO: Extracted packet for processing {"connection_id":191862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277034240001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144686000,"timestamp_ms":1790144686000,"timestamp_seconds":1790144686,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf027b0"} 
[2026-09-23 11:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:58:03] 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-09-23 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 11:58:03] 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-09-23 11:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277034240001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277034240001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:58:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277034240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":191862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:58:03] local.INFO: GPS data processed {"connection_id":191862,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:58:03] local.INFO: Acknowledgment sent {"connection_id":191862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:58:34] local.INFO: TCP Data received {"connection_id":191862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf079b8012d196880071fed10003901162c..."} 
[2026-09-23 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf079b8012d196880071fed10003901162c..."} 
[2026-09-23 11:58:34] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf079b8012d196880071fed10003901162c..."} 
[2026-09-23 11:58:34] local.INFO: Packet analysis {"connection_id":191862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:58:34] local.INFO: Extracted packet for processing {"connection_id":191862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277039616001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144707000,"timestamp_ms":1790144707000,"timestamp_seconds":1790144707,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf079b8"} 
[2026-09-23 11:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:58:34] 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-09-23 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:58:34] 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-09-23 11: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-09-23 11:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277039616001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277039616001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277039616001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:58:34] local.INFO: GPS data processed {"connection_id":191862,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:58:34] local.INFO: Acknowledgment sent {"connection_id":191862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:58:36] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:58:36] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:36] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:58:37] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:37] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:37] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:58:42] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:42] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:58:42] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:58:42] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf1a298012d39a00006bcd480001f005533..."} 
[2026-09-23 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf1a298012d39a00006bcd480001f005533..."} 
[2026-09-23 11:58:42] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf1a298012d39a00006bcd480001f005533..."} 
[2026-09-23 11:58:42] local.INFO: Packet analysis {"connection_id":193195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:58:42] local.INFO: Extracted packet for processing {"connection_id":193195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758751232,"raw_latitude":113038464,"longitude_deg":75.8751232,"latitude_deg":11.3038464,"altitude":31,"angle":85,"satellites":51,"speed":28,"hex_longitude":"2d39a000","hex_latitude":"06bcd480","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277060864001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406477388520620032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4141622836258359296,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790144783000,"timestamp_ms":1790144783000,"timestamp_seconds":1790144783,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf1a298"} 
[2026-09-23 11:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:58: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-09-23 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:58: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-09-23 11: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-09-23 11:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:58: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-09-23 11:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277060864001,"66":27865,"36":206,"81":21760,"24":28,"16":406477388520620032,"45":4141622836258359296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,81,24,16,45]} 
[2026-09-23 11:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277060864001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:58:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-23 11:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406477388520620032,"km_value":406477388520620.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4141622836258359296,"description":"Unknown IO ID 45"} 
[2026-09-23 11:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277060864001,"power":27865,"unknown_36":206,"unknown_81":21760,"ignition":28,"odometer":null,"unknown_45":4141622836258359296}} 
[2026-09-23 11:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":193195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:58:42] local.INFO: GPS data processed {"connection_id":193195,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:58:42] local.INFO: Acknowledgment sent {"connection_id":193195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:58:45] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf1b238012d39ac8006bcd6e00020004932..."} 
[2026-09-23 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf1b238012d39ac8006bcd6e00020004932..."} 
[2026-09-23 11:58:45] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf1b238012d39ac8006bcd6e00020004932..."} 
[2026-09-23 11:58:45] local.INFO: Packet analysis {"connection_id":193195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:58:45] local.INFO: Extracted packet for processing {"connection_id":193195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758754432,"raw_latitude":113039072,"longitude_deg":75.8754432,"latitude_deg":11.3039072,"altitude":32,"angle":73,"satellites":50,"speed":33,"hex_longitude":"2d39ac80","hex_latitude":"06bcd6e0","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277064448001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406477543139442688,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4152318885373444096,"note":"Value kept but may cause issues"} 
[2026-09-23 11:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790144787000,"timestamp_ms":1790144787000,"timestamp_seconds":1790144787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf1b238"} 
[2026-09-23 11:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:58: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-09-23 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 11:58: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-09-23 11: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-09-23 11:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:58: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-09-23 11:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277064448001,"66":27789,"36":206,"81":21760,"24":33,"16":406477543139442688,"45":4152318885373444096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,81,24,16,45]} 
[2026-09-23 11:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277064448001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:58:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-23 11:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406477543139442688,"km_value":406477543139442.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4152318885373444096,"description":"Unknown IO ID 45"} 
[2026-09-23 11:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277064448001,"power":27789,"unknown_36":206,"unknown_81":21760,"ignition":33,"odometer":null,"unknown_45":4152318885373444096}} 
[2026-09-23 11:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":193195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:58:45] local.INFO: GPS data processed {"connection_id":193195,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:58:45] local.INFO: Acknowledgment sent {"connection_id":193195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:58:50] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:58:50] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:58:50] local.INFO: IMEI packet received {"connection_id":190331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":190331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:58:54] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:54] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:54] local.INFO: IMEI packet received {"connection_id":190514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":190514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:58:57] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:57] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:58:57] local.INFO: IMEI packet received {"connection_id":190514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":190514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:59:02] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:02] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:02] local.INFO: IMEI packet received {"connection_id":190514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":190514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:59:03] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf0cbc0012d196880071fed10003901162c..."} 
[2026-09-23 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf0cbc0012d196880071fed10003901162c..."} 
[2026-09-23 11:59:03] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf0cbc0012d196880071fed10003901162c..."} 
[2026-09-23 11:59:03] local.INFO: Packet analysis {"connection_id":190514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:59:03] local.INFO: Extracted packet for processing {"connection_id":190514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf0"} 
[2026-09-23 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277044992001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144728000,"timestamp_ms":1790144728000,"timestamp_seconds":1790144728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf0cbc0"} 
[2026-09-23 11:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:59:03] 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-09-23 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 11:59: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-09-23 11:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277044992001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277044992001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:59:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277044992001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":190514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:59:03] local.INFO: GPS data processed {"connection_id":190514,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:59:03] local.INFO: Acknowledgment sent {"connection_id":190514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:59:09] local.INFO: TCP Data received {"connection_id":190332,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:59:09] local.INFO: Processing buffer {"connection_id":190332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 11:59:09] local.INFO: IMEI packet received {"connection_id":190332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":190332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:59:16] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf36f88012d3a988006bd9d40001d000a2e..."} 
[2026-09-23 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf36f88012d3a988006bd9d40001d000a2e..."} 
[2026-09-23 11:59:16] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf36f88012d3a988006bd9d40001d000a2e..."} 
[2026-09-23 11:59:16] local.INFO: Packet analysis {"connection_id":193195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 11:59:16] local.INFO: Extracted packet for processing {"connection_id":193195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 11:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758814848,"raw_latitude":113089856,"longitude_deg":75.8814848,"latitude_deg":11.3089856,"altitude":29,"angle":10,"satellites":46,"speed":17,"hex_longitude":"2d3a9880","hex_latitude":"06bd9d40","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277093888001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481442969747456,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4221702467145381888,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:16] 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-09-23 11:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790144901000,"timestamp_ms":1790144901000,"timestamp_seconds":1790144901,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf36f88"} 
[2026-09-23 11:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:59: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-09-23 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 11:59: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-09-23 11: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-09-23 11:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:59: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-09-23 11:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277093888001,"66":27713,"125":206,"81":21760,"24":17,"16":406481442969747456,"45":4221702467145381888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-23 11:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277093888001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:59:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-23 11:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481442969747456,"km_value":406481442969747.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4221702467145381888,"description":"Unknown IO ID 45"} 
[2026-09-23 11:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277093888001,"power":27713,"unknown_125":206,"unknown_81":21760,"ignition":17,"odometer":null,"unknown_45":4221702467145381888}} 
[2026-09-23 11:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":193195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:59:16] local.INFO: GPS data processed {"connection_id":193195,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:59:16] local.INFO: Acknowledgment sent {"connection_id":193195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:59:28] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:28] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:28] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 11:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:59:32] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:32] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:32] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:59:34] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf11dc8012d196880071fed10003901162d..."} 
[2026-09-23 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf11dc8012d196880071fed10003901162d..."} 
[2026-09-23 11:59:34] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf11dc8012d196880071fed10003901162d..."} 
[2026-09-23 11:59:34] local.INFO: Packet analysis {"connection_id":190514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:59:34] local.INFO: Extracted packet for processing {"connection_id":190514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 11:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 11: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-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277050368001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144749000,"timestamp_ms":1790144749000,"timestamp_seconds":1790144749,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf11dc8"} 
[2026-09-23 11:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11:59:34] 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-09-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3679848230240315032,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78296223013928960,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4018380801,"corrected_to":0} 
[2026-09-23 11:59:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,116,160,121,45,128,237,57,44,10,66,39,213,1,240,31,227,204,4,113,205,49,104,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":4018380801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 11:59:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588713372975104,"timestamp_seconds":4107588713372975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 11:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 11:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 11:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 11:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 11:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277050368001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 11:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 11:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 11:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277050368001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 11:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 11:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 11:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277050368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 11:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":190514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:59:34] local.INFO: GPS data processed {"connection_id":190514,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:59:34] local.INFO: Acknowledgment sent {"connection_id":190514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:59:37] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:37] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 11:59:37] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 11:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 11:59:37] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf386f8012d3a99c006bda478001b01632f..."} 
[2026-09-23 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf386f8012d3a99c006bda478001b01632f..."} 
[2026-09-23 11:59:37] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf386f8012d3a99c006bda478001b01632f..."} 
[2026-09-23 11:59:37] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 11:59:37] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758815168,"raw_latitude":113091704,"longitude_deg":75.8815168,"latitude_deg":11.3091704,"altitude":27,"angle":355,"satellites":47,"speed":6,"hex_longitude":"2d3a99c0","hex_latitude":"06bda478","is_valid_coordinates":true} 
[2026-09-23 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277094656001,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481533164060672,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222265417099198464,"note":"Value kept but may cause issues"} 
[2026-09-23 11:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 11:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790144907000,"timestamp_ms":1790144907000,"timestamp_seconds":1790144907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf386f8"} 
[2026-09-23 11:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 11: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-09-23 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 11:59: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-09-23 11:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 11:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 11:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 11:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 11:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 11: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-09-23 11:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 11:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 11:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277094656001,"66":27745,"126":206,"81":21760,"24":6,"16":406481533164060672,"45":4222265417099198464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 11:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 11:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 11:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277094656001,"description":"Unknown IO ID 0"} 
[2026-09-23 11:59:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 11:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 11:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481533164060672,"km_value":406481533164060.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 11:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222265417099198464,"description":"Unknown IO ID 45"} 
[2026-09-23 11:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277094656001,"power":27745,"unknown_126":206,"unknown_81":21760,"ignition":6,"odometer":null,"unknown_45":4222265417099198464}} 
[2026-09-23 11:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 11:59:37] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-23 11:59:37] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 11:59:57] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:57] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:57] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 11:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 11:59:58] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:58] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 11:59:58] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 11:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:00:02] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:02] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:02] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:00:03] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf16fd0012d196880071fed10003901162b..."} 
[2026-09-23 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf16fd0012d196880071fed10003901162b..."} 
[2026-09-23 12:00:03] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf16fd0012d196880071fed10003901162b..."} 
[2026-09-23 12:00:03] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 12:00:03] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277055744001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144770000,"timestamp_ms":1790144770000,"timestamp_seconds":1790144770,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf16fd0"} 
[2026-09-23 12:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:00: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-09-23 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3679758035927099032,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":49153,"corrected_to":0} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4023756801,"corrected_to":0} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,203,45,128,237,57,44,10,66,121,39,1,240,255,227,204,31,4,113,205,131,104,239,48,2,80,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":203,"original":49153,"validated":0},{"io_id":204,"original":4023756801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 12:00:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588717667942400,"timestamp_seconds":4107588717667942.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277055744001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277055744001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:00:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277055744001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:00:03] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:00:03] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:00:08] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf38ec8012d3a99c006bda5b8001b000630..."} 
[2026-09-23 12:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf38ec8012d3a99c006bda5b8001b000630..."} 
[2026-09-23 12:00:08] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf38ec8012d3a99c006bda5b8001b000630..."} 
[2026-09-23 12:00:08] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:00:08] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758815168,"raw_latitude":113092024,"longitude_deg":75.8815168,"latitude_deg":11.3092024,"altitude":27,"angle":6,"satellites":48,"speed":5,"hex_longitude":"2d3a99c0","hex_latitude":"06bda5b8","is_valid_coordinates":true} 
[2026-09-23 12:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277096192001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481550343929856,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222617260820559872,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790144909000,"timestamp_ms":1790144909000,"timestamp_seconds":1790144909,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf38ec8"} 
[2026-09-23 12:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:00: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-09-23 12:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:00:08] 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-09-23 12:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:00: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-09-23 12:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277096192001,"66":27647,"126":206,"81":21760,"24":5,"16":406481550343929856,"45":4222617260820559872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277096192001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:00:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481550343929856,"km_value":406481550343929.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222617260820559872,"description":"Unknown IO ID 45"} 
[2026-09-23 12:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277096192001,"power":27647,"unknown_126":206,"unknown_81":21760,"ignition":5,"odometer":null,"unknown_45":4222617260820559872}} 
[2026-09-23 12:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:00:08] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:00:08] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:00:32] local.INFO: TCP Data received {"connection_id":190516,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:32] local.INFO: Processing buffer {"connection_id":190516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:32] local.INFO: IMEI packet received {"connection_id":190516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":190516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:00:34] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf1c1d8012d196880071fed10003901162b..."} 
[2026-09-23 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf1c1d8012d196880071fed10003901162b..."} 
[2026-09-23 12:00:34] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf1c1d8012d196880071fed10003901162b..."} 
[2026-09-23 12:00:34] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 12:00:34] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf1"} 
[2026-09-23 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277061120001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144791000,"timestamp_ms":1790144791000,"timestamp_seconds":1790144791,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf1c1d8"} 
[2026-09-23 12:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:00:34] 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-09-23 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 12:00:34] 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-09-23 12: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-09-23 12:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277061120001,"66":12265,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277061120001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:00:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277061120001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:00:34] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:00:34] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:00:37] local.INFO: TCP Data received {"connection_id":190516,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:37] local.INFO: Processing buffer {"connection_id":190516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:00:37] local.INFO: IMEI packet received {"connection_id":190516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":190516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:00:37] local.INFO: TCP Data received {"connection_id":190516,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf3e0d0012d3a9a8006bda7f0001a000a31..."} 
[2026-09-23 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf3e0d0012d3a9a8006bda7f0001a000a31..."} 
[2026-09-23 12:00:37] local.INFO: Processing buffer {"connection_id":190516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf3e0d0012d3a9a8006bda7f0001a000a31..."} 
[2026-09-23 12:00:37] local.INFO: Packet analysis {"connection_id":190516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:00:37] local.INFO: Extracted packet for processing {"connection_id":190516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277096704001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222617260820641792,"note":"Value kept but may cause issues"} 
[2026-09-23 12:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790144930000,"timestamp_ms":1790144930000,"timestamp_seconds":1790144930,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf3e0d0"} 
[2026-09-23 12:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:00:37] 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-09-23 12:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277096704001,"66":27767,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222617260820641792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277096704001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:00:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222617260820641792,"description":"Unknown IO ID 45"} 
[2026-09-23 12:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277096704001,"power":27767,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222617260820641792}} 
[2026-09-23 12:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":190516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:00:37] local.INFO: GPS data processed {"connection_id":190516,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:00:37] local.INFO: Acknowledgment sent {"connection_id":190516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:00:57] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:57] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:00:57] local.INFO: IMEI packet received {"connection_id":191863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":191863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:01:00] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:00] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:00] local.INFO: IMEI packet received {"connection_id":191863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":191863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:01:02] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:02] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:02] local.INFO: IMEI packet received {"connection_id":191863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":191863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:01:02] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf213e0012d196880071fed10003901162d..."} 
[2026-09-23 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf213e0012d196880071fed10003901162d..."} 
[2026-09-23 12:01:02] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf213e0012d196880071fed10003901162d..."} 
[2026-09-23 12:01:03] local.INFO: Packet analysis {"connection_id":191863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:03] local.INFO: Extracted packet for processing {"connection_id":191863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277066496001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144812000,"timestamp_ms":1790144812000,"timestamp_seconds":1790144812,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf213e0"} 
[2026-09-23 12:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:01:03] 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-09-23 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 12:01:03] 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-09-23 12: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-09-23 12:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277066496001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277066496001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277066496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":191863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:01:03] local.INFO: GPS data processed {"connection_id":191863,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:01:03] local.INFO: Acknowledgment sent {"connection_id":191863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:01:07] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf265e8012d196880071fed10003901162b..."} 
[2026-09-23 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf265e8012d196880071fed10003901162b..."} 
[2026-09-23 12:01:07] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf265e8012d196880071fed10003901162b..."} 
[2026-09-23 12:01:07] local.INFO: Packet analysis {"connection_id":191863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:07] local.INFO: Extracted packet for processing {"connection_id":191863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277071872001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790144833000,"timestamp_ms":1790144833000,"timestamp_seconds":1790144833,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf265e8"} 
[2026-09-23 12:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:01:07] 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-09-23 12: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-09-23 12:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277071872001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277071872001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277071872001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":191863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:01:07] local.INFO: GPS data processed {"connection_id":191863,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:01:07] local.INFO: Acknowledgment sent {"connection_id":191863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:01:08] local.INFO: TCP Data received {"connection_id":190516,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf432d8012d3a9a8006bda7f0001a000a2d..."} 
[2026-09-23 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf432d8012d3a9a8006bda7f0001a000a2d..."} 
[2026-09-23 12:01:08] local.INFO: Processing buffer {"connection_id":190516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf432d8012d3a9a8006bda7f0001a000a2d..."} 
[2026-09-23 12:01:08] local.INFO: Packet analysis {"connection_id":190516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:01:08] local.INFO: Extracted packet for processing {"connection_id":190516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277102080001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790144951000,"timestamp_ms":1790144951000,"timestamp_seconds":1790144951,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf432d8"} 
[2026-09-23 12:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:01: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-09-23 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:01: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-09-23 12: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-09-23 12:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:01:08] 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-09-23 12:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277102080001,"66":27745,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277102080001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:01:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277102080001,"power":27745,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":190516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:01:08] local.INFO: GPS data processed {"connection_id":190516,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:01:08] local.INFO: Acknowledgment sent {"connection_id":190516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:01:31] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:31] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:31] local.INFO: IMEI packet received {"connection_id":193198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":193198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:01:37] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:37] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:01:37] local.INFO: IMEI packet received {"connection_id":193198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":193198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:01:37] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:01:37] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:01:37] local.INFO: Packet analysis {"connection_id":193198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:01:37] local.INFO: Extracted packet for processing {"connection_id":193198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:01: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-09-23 12:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12: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-09-23 12:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:01:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":193198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:01:37] local.INFO: GPS data processed {"connection_id":193198,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:01:37] local.INFO: Acknowledgment sent {"connection_id":193198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:01:38] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf2b7f0012d196880071fed10003901162b..."} 
[2026-09-23 12:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf2b7f0012d196880071fed10003901162b..."} 
[2026-09-23 12:01:38] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf2b7f0012d196880071fed10003901162b..."} 
[2026-09-23 12:01:38] local.INFO: Packet analysis {"connection_id":191863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:38] local.INFO: Extracted packet for processing {"connection_id":191863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf2"} 
[2026-09-23 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277077248001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144854000,"timestamp_ms":1790144854000,"timestamp_seconds":1790144854,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf2b7f0"} 
[2026-09-23 12:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:01:38] 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-09-23 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3679397258674235032,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78298422037184512,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4045260801,"corrected_to":0} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 12:01:38] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221302553,"corrected_to":0} 
[2026-09-23 12:01:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 12:01:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,19,45,128,237,57,10,66,193,43,111,1,240,233,227,204,31,4,113,205,203,104,44,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":4045260801,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":203,"original":3221302553,"validated":0}]} 
[2026-09-23 12:01:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277077248001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277077248001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:01:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277077248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:01:39] local.INFO: GPS data processed {"connection_id":191863,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:01:39] local.INFO: Acknowledgment sent {"connection_id":191863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:01:57] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:57] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:01:57] local.INFO: IMEI packet received {"connection_id":190517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":190517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:02:02] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:02:02] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:02:02] local.INFO: IMEI packet received {"connection_id":190517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":190517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:02:03] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf309f8012d196880071fed10003901162a..."} 
[2026-09-23 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf309f8012d196880071fed10003901162a..."} 
[2026-09-23 12:02:03] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf309f8012d196880071fed10003901162a..."} 
[2026-09-23 12:02:03] local.INFO: Packet analysis {"connection_id":190517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:02:03] local.INFO: Extracted packet for processing {"connection_id":190517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277082624001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144875000,"timestamp_ms":1790144875000,"timestamp_seconds":1790144875,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf309f8"} 
[2026-09-23 12:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:02: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-09-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:02: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-09-23 12: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-09-23 12:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277082624001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277082624001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277082624001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":190517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:02:03] local.INFO: GPS data processed {"connection_id":190517,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:02:03] local.INFO: Acknowledgment sent {"connection_id":190517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:02:09] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:09] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:09] local.INFO: Packet analysis {"connection_id":193198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:02:09] local.INFO: Extracted packet for processing {"connection_id":193198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:02: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-09-23 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12: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-09-23 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:02:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":193198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:02:09] local.INFO: GPS data processed {"connection_id":193198,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:02:09] local.INFO: Acknowledgment sent {"connection_id":193198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:02:31] local.INFO: TCP Data received {"connection_id":191864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:31] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:31] local.INFO: IMEI packet received {"connection_id":191864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:02:34] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf35c00012d196880071fed10003901162d..."} 
[2026-09-23 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf35c00012d196880071fed10003901162d..."} 
[2026-09-23 12:02:34] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf35c00012d196880071fed10003901162d..."} 
[2026-09-23 12:02:34] local.INFO: Packet analysis {"connection_id":190517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:02:34] local.INFO: Extracted packet for processing {"connection_id":190517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277088000001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790144896000,"timestamp_ms":1790144896000,"timestamp_seconds":1790144896,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf35c00"} 
[2026-09-23 12:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:02:34] 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-09-23 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3679216870047803032,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78299521548812288,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4056012801,"corrected_to":0} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,116,160,183,45,128,237,57,43,10,66,101,19,1,240,255,227,204,31,4,113,205,111,104,239,47,2,80,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":4056012801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 12:02:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588704783040512,"timestamp_seconds":4107588704783040.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277088000001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277088000001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277088000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":190517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:02:34] local.INFO: GPS data processed {"connection_id":190517,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:02:34] local.INFO: Acknowledgment sent {"connection_id":190517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:02:37] local.INFO: TCP Data received {"connection_id":191864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:37] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:02:37] local.INFO: IMEI packet received {"connection_id":191864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":191864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:02:38] local.INFO: TCP Data received {"connection_id":191864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:38] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:02:38] local.INFO: Packet analysis {"connection_id":191864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:02:38] local.INFO: Extracted packet for processing {"connection_id":191864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:02: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-09-23 12:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:02: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-09-23 12: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-09-23 12:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:02: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-09-23 12:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:02:38] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":191864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:02:38] local.INFO: GPS data processed {"connection_id":191864,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:02:38] local.INFO: Acknowledgment sent {"connection_id":191864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:02] local.INFO: TCP Data received {"connection_id":191865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:02] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:02] local.INFO: IMEI packet received {"connection_id":191865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:03:06] local.INFO: TCP Data received {"connection_id":191865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:06] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:06] local.INFO: IMEI packet received {"connection_id":191865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:03:07] local.INFO: TCP Data received {"connection_id":191865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf3ae08012d196880071fed10003901162c..."} 
[2026-09-23 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf3ae08012d196880071fed10003901162c..."} 
[2026-09-23 12:03:07] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf3ae08012d196880071fed10003901162c..."} 
[2026-09-23 12:03:07] local.INFO: Packet analysis {"connection_id":191865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:03:07] local.INFO: Extracted packet for processing {"connection_id":191865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf3"} 
[2026-09-23 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277093376001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790144917000,"timestamp_ms":1790144917000,"timestamp_seconds":1790144917,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf3ae08"} 
[2026-09-23 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-09-23 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:03:07] 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-09-23 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-09-23 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-09-23 12:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277093376001,"66":12319,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277093376001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277093376001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:07] local.INFO: GPS data processed {"connection_id":191865,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:07] local.INFO: Acknowledgment sent {"connection_id":191865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:08] local.INFO: TCP Data received {"connection_id":191865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf40010012d196880071fed10003901162c..."} 
[2026-09-23 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf40010012d196880071fed10003901162c..."} 
[2026-09-23 12:03:08] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf40010012d196880071fed10003901162c..."} 
[2026-09-23 12:03:08] local.INFO: Packet analysis {"connection_id":191865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:08] local.INFO: Extracted packet for processing {"connection_id":191865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277098752001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790144938000,"timestamp_ms":1790144938000,"timestamp_seconds":1790144938,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf40010"} 
[2026-09-23 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 12:03:08] 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-09-23 12:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277098752001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277098752001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277098752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:08] local.INFO: GPS data processed {"connection_id":191865,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:08] local.INFO: Acknowledgment sent {"connection_id":191865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:09] local.INFO: TCP Data received {"connection_id":191864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:09] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:09] local.INFO: Packet analysis {"connection_id":191864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:09] local.INFO: Extracted packet for processing {"connection_id":191864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:03: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-09-23 12:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:03: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-09-23 12: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-09-23 12:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":191864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:09] local.INFO: GPS data processed {"connection_id":191864,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:09] local.INFO: Acknowledgment sent {"connection_id":191864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:37] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:37] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:37] local.INFO: IMEI packet received {"connection_id":190518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":190518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:03:39] local.INFO: TCP Data received {"connection_id":191865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf45218012d196880071fed10003901162b..."} 
[2026-09-23 12:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf45218012d196880071fed10003901162b..."} 
[2026-09-23 12:03:39] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf45218012d196880071fed10003901162b..."} 
[2026-09-23 12:03:39] local.INFO: Packet analysis {"connection_id":191865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:39] local.INFO: Extracted packet for processing {"connection_id":191865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277104128001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790144959000,"timestamp_ms":1790144959000,"timestamp_seconds":1790144959,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf45218"} 
[2026-09-23 12:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277104128001,"66":11928,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277104128001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277104128001,"power":11928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":191865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:39] local.INFO: GPS data processed {"connection_id":191865,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:39] local.INFO: Acknowledgment sent {"connection_id":191865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:42] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:42] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:03:42] local.INFO: IMEI packet received {"connection_id":190518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":190518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:03:42] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:42] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:42] local.INFO: Packet analysis {"connection_id":190518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:42] local.INFO: Extracted packet for processing {"connection_id":190518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:03: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-09-23 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:03: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-09-23 12: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-09-23 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:42] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":190518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:42] local.INFO: GPS data processed {"connection_id":190518,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:42] local.INFO: Acknowledgment sent {"connection_id":190518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:47] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:47] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:03:47] local.INFO: Packet analysis {"connection_id":190518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:47] local.INFO: Extracted packet for processing {"connection_id":190518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:03: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-09-23 12:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:03:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":190518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:03:47] local.INFO: GPS data processed {"connection_id":190518,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:03:47] local.INFO: Acknowledgment sent {"connection_id":190518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:03:57] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:57] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:03:57] local.INFO: IMEI packet received {"connection_id":190335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":190335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:04:02] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:02] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:02] local.INFO: IMEI packet received {"connection_id":190335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":190335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:04:03] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf4a420012d196880071fed10003901162b..."} 
[2026-09-23 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf4a420012d196880071fed10003901162b..."} 
[2026-09-23 12:04:03] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf4a420012d196880071fed10003901162b..."} 
[2026-09-23 12:04:03] local.INFO: Packet analysis {"connection_id":190335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:03] local.INFO: Extracted packet for processing {"connection_id":190335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277109504001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790144980000,"timestamp_ms":1790144980000,"timestamp_seconds":1790144980,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf4a420"} 
[2026-09-23 12:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:04: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-09-23 12: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 12:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277109504001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277109504001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277109504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":190335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:04:03] local.INFO: GPS data processed {"connection_id":190335,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:04:03] local.INFO: Acknowledgment sent {"connection_id":190335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:04:32] local.INFO: TCP Data received {"connection_id":193201,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:32] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:32] local.INFO: IMEI packet received {"connection_id":193201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":193201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:04:34] local.INFO: TCP Data received {"connection_id":190335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf4f628012d196880071fed10003901162c..."} 
[2026-09-23 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf4f628012d196880071fed10003901162c..."} 
[2026-09-23 12:04:34] local.INFO: Processing buffer {"connection_id":190335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf4f628012d196880071fed10003901162c..."} 
[2026-09-23 12:04:34] local.INFO: Packet analysis {"connection_id":190335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:34] local.INFO: Extracted packet for processing {"connection_id":190335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277114880001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145001000,"timestamp_ms":1790145001000,"timestamp_seconds":1790145001,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf4f628"} 
[2026-09-23 12:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:04:34] 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-09-23 12: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-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":116,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3678765898481723032,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513389535522521366,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":78297322525556736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248825,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4082892801,"corrected_to":0} 
[2026-09-23 12:04:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,116,160,82,45,128,237,57,43,10,66,44,174,1,240,31,227,204,4,113,205,9,104,42,239,48,2,80,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":4082892801,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 12:04:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107588709078007808,"timestamp_seconds":4107588709078008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277114880001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277114880001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277114880001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":190335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:04:34] local.INFO: GPS data processed {"connection_id":190335,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:04:34] local.INFO: Acknowledgment sent {"connection_id":190335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:04:37] local.INFO: TCP Data received {"connection_id":193201,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:37] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:04:37] local.INFO: IMEI packet received {"connection_id":193201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":193201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:04:37] local.INFO: TCP Data received {"connection_id":193201,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:04:37] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf43aa8012d3a9a8006bda7f0001a000a2e..."} 
[2026-09-23 12:04:37] local.INFO: Packet analysis {"connection_id":193201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:37] local.INFO: Extracted packet for processing {"connection_id":193201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf4"} 
[2026-09-23 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758815360,"raw_latitude":113092592,"longitude_deg":75.881536,"latitude_deg":11.3092592,"altitude":26,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d3a9a80","hex_latitude":"06bda7f0","is_valid_coordinates":true} 
[2026-09-23 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107456001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790144953000,"timestamp_ms":1790144953000,"timestamp_seconds":1790144953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf43aa8"} 
[2026-09-23 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:04: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-09-23 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107456001,"66":27691,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107456001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:04:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107456001,"power":27691,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":193201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:04:37] local.INFO: GPS data processed {"connection_id":193201,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:04:37] local.INFO: Acknowledgment sent {"connection_id":193201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:04:41] local.INFO: TCP Data received {"connection_id":193200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:04:41] local.INFO: Processing buffer {"connection_id":193200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:04:41] local.INFO: IMEI packet received {"connection_id":193200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":193200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:04:57] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:57] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:04:57] local.INFO: IMEI packet received {"connection_id":190336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":190336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:05:02] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:02] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:02] local.INFO: IMEI packet received {"connection_id":190336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:05:03] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf54830012d196880071fed10003901162b..."} 
[2026-09-23 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf54830012d196880071fed10003901162b..."} 
[2026-09-23 12:05:03] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf54830012d196880071fed10003901162b..."} 
[2026-09-23 12:05:03] local.INFO: Packet analysis {"connection_id":190336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf5"} 
[2026-09-23 12:05:03] local.INFO: Extracted packet for processing {"connection_id":190336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf5"} 
[2026-09-23 12:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277120256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145022000,"timestamp_ms":1790145022000,"timestamp_seconds":1790145022,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf54830"} 
[2026-09-23 12:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:05:03] 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-09-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:05: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-09-23 12: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-09-23 12:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277120256001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277120256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277120256001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":190336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:05:03] local.INFO: GPS data processed {"connection_id":190336,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:05:03] local.INFO: Acknowledgment sent {"connection_id":190336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:05:08] local.INFO: TCP Data received {"connection_id":193201,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:08] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:08] local.INFO: Packet analysis {"connection_id":193201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:08] local.INFO: Extracted packet for processing {"connection_id":193201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:05: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-09-23 12:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:05: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-09-23 12:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:05:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":193201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:05:08] local.INFO: GPS data processed {"connection_id":193201,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:05:08] local.INFO: Acknowledgment sent {"connection_id":193201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:05:09] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:09] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:09] local.INFO: IMEI packet received {"connection_id":190519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":190519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:05:15] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:15] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:15] local.INFO: IMEI packet received {"connection_id":190519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 12:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":190519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:05:16] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf938000100000000000000000000000000..."} 
[2026-09-23 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf938000100000000000000000000000000..."} 
[2026-09-23 12:05:16] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf938000100000000000000000000000000..."} 
[2026-09-23 12:05:16] local.INFO: Packet analysis {"connection_id":190519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:05:16] local.INFO: Extracted packet for processing {"connection_id":190519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277176832001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3939734924471635970,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,237,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790145280000,"timestamp_ms":1790145280000,"timestamp_seconds":1790145280,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf93800"} 
[2026-09-23 12:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:05: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-09-23 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 12:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 12:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 12:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 12:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 12:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":190519,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 12:05:16] local.INFO: GPS data processed {"connection_id":190519,"processed":0,"errors":0,"total":1} 
[2026-09-23 12:05:16] local.INFO: Acknowledgment sent {"connection_id":190519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:05:32] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:32] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:32] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:05:34] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8ce88012d196880071fed10003901162c..."} 
[2026-09-23 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8ce88012d196880071fed10003901162c..."} 
[2026-09-23 12:05:34] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8ce88012d196880071fed10003901162c..."} 
[2026-09-23 12:05:34] local.INFO: Packet analysis {"connection_id":190336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:34] local.INFO: Extracted packet for processing {"connection_id":190336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12:05: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-09-23 12:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277179392001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145253000,"timestamp_ms":1790145253000,"timestamp_seconds":1790145253,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8ce88"} 
[2026-09-23 12:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:05:34] 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-09-23 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 12:05:34] 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-09-23 12: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-09-23 12:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277179392001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277179392001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277179392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":190336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:05:34] local.INFO: GPS data processed {"connection_id":190336,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:05:34] local.INFO: Acknowledgment sent {"connection_id":190336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:05:37] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:37] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:05:37] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:05:37] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:37] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:05:37] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:37] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:05: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-09-23 12: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-09-23 12:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:05: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-09-23 12:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:05:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:05:37] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:05:37] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:05:56] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:05:56] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:05:56] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 12:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:05:57] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:57] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:05:57] local.INFO: IMEI packet received {"connection_id":193202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":193202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:06:02] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:02] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:02] local.INFO: IMEI packet received {"connection_id":193202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":193202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:06:03] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf92090012d196880071fed10003901162b..."} 
[2026-09-23 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf92090012d196880071fed10003901162b..."} 
[2026-09-23 12:06:03] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf92090012d196880071fed10003901162b..."} 
[2026-09-23 12:06:03] local.INFO: Packet analysis {"connection_id":193202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:06:03] local.INFO: Extracted packet for processing {"connection_id":193202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277184768001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145274000,"timestamp_ms":1790145274000,"timestamp_seconds":1790145274,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf92090"} 
[2026-09-23 12:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:06:03] 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-09-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:06: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-09-23 12: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-09-23 12:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277184768001,"66":12287,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277184768001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:06:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277184768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":193202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:06:03] local.INFO: GPS data processed {"connection_id":193202,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:06:03] local.INFO: Acknowledgment sent {"connection_id":193202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:06:08] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:08] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:08] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:06:08] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:06: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-09-23 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:06: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-09-23 12:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:06:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:06:08] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:06:08] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:06:15] local.INFO: TCP Data received {"connection_id":193203,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:06:15] local.INFO: Processing buffer {"connection_id":193203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:06:15] local.INFO: IMEI packet received {"connection_id":193203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":193203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:06:31] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:31] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:31] local.INFO: IMEI packet received {"connection_id":190520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":190520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:06:34] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf97298012d196880071fed10003901162b..."} 
[2026-09-23 12:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf97298012d196880071fed10003901162b..."} 
[2026-09-23 12:06:34] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf97298012d196880071fed10003901162b..."} 
[2026-09-23 12:06:34] local.INFO: Packet analysis {"connection_id":193202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:06:34] local.INFO: Extracted packet for processing {"connection_id":193202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf9"} 
[2026-09-23 12:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532816,"longitude_deg":75.6639872,"latitude_deg":11.9532816,"altitude":57,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277190144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22645635974955008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614862848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145295000,"timestamp_ms":1790145295000,"timestamp_seconds":1790145295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf97298"} 
[2026-09-23 12:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:06: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-09-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:06:34] 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-09-23 12: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-09-23 12:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277190144001,"66":12298,"102":206,"83":41984,"24":0,"16":22645635974955008,"45":1830854016614862848},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 12:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277190144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22645635974955008,"km_value":22645635974955.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614862848,"description":"Unknown IO ID 45"} 
[2026-09-23 12:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277190144001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614862848}} 
[2026-09-23 12:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":193202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:06:34] local.INFO: GPS data processed {"connection_id":193202,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:06:34] local.INFO: Acknowledgment sent {"connection_id":193202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:06:37] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:37] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:06:37] local.INFO: IMEI packet received {"connection_id":190520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":190520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:06:37] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:37] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:06:37] local.INFO: Packet analysis {"connection_id":190520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:06:37] local.INFO: Extracted packet for processing {"connection_id":190520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:06: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-09-23 12:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:06: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-09-23 12:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:06:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":190520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:06:37] local.INFO: GPS data processed {"connection_id":190520,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:06:37] local.INFO: Acknowledgment sent {"connection_id":190520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:06:56] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:56] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:56] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:06:57] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:06:57] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:57] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:06:58] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:58] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:06:58] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:07:08] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:08] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:08] local.INFO: Packet analysis {"connection_id":190520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:07:08] local.INFO: Extracted packet for processing {"connection_id":190520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:07: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-09-23 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:07: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-09-23 12:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:07:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:07:08] local.INFO: GPS data processed {"connection_id":190520,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:07:08] local.INFO: Acknowledgment sent {"connection_id":190520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:07:31] local.INFO: TCP Data received {"connection_id":193204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:31] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:31] local.INFO: IMEI packet received {"connection_id":193204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":193204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:07:37] local.INFO: TCP Data received {"connection_id":193204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:37] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:07:37] local.INFO: IMEI packet received {"connection_id":193204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":193204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:07:37] local.INFO: TCP Data received {"connection_id":193204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:37] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:07:37] local.INFO: Packet analysis {"connection_id":193204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:07:37] local.INFO: Extracted packet for processing {"connection_id":193204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:07: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-09-23 12:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:07: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-09-23 12:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:07:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":193204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:07:37] local.INFO: GPS data processed {"connection_id":193204,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:07:37] local.INFO: Acknowledgment sent {"connection_id":193204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:08:08] local.INFO: TCP Data received {"connection_id":193204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:08] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:08] local.INFO: Packet analysis {"connection_id":193204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:08] local.INFO: Extracted packet for processing {"connection_id":193204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:08: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-09-23 12:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08: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-09-23 12:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:08:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":193204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:08:08] local.INFO: GPS data processed {"connection_id":193204,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:08:08] local.INFO: Acknowledgment sent {"connection_id":193204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:08:37] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:37] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:37] local.INFO: IMEI packet received {"connection_id":191871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":191871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:08:42] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:42] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:08:42] local.INFO: IMEI packet received {"connection_id":191871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":191871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:08:43] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:43] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:43] local.INFO: Packet analysis {"connection_id":191871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:43] local.INFO: Extracted packet for processing {"connection_id":191871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:08: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-09-23 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:08:43] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":191871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:08:43] local.INFO: GPS data processed {"connection_id":191871,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:08:43] local.INFO: Acknowledgment sent {"connection_id":191871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:08:47] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:47] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:08:47] local.INFO: Packet analysis {"connection_id":191871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:47] local.INFO: Extracted packet for processing {"connection_id":191871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:08: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-09-23 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:08:47] 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-09-23 12:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:08:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":191871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:08:47] local.INFO: GPS data processed {"connection_id":191871,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:08:47] local.INFO: Acknowledgment sent {"connection_id":191871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:09:32] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:32] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:32] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:09:36] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:37] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:09:37] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:09:37] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:09:37] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccf8e5f8012d3a9b4006bda9e0001c000a2d..."} 
[2026-09-23 12:09:37] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:09:37] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccf8"} 
[2026-09-23 12:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277107968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4222828367053320192,"note":"Value kept but may cause issues"} 
[2026-09-23 12:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790145259000,"timestamp_ms":1790145259000,"timestamp_seconds":1790145259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccf8e5f8"} 
[2026-09-23 12:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 12:09: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-09-23 12:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277107968001,"66":26604,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4222828367053320192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277107968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:09:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4222828367053320192,"description":"Unknown IO ID 45"} 
[2026-09-23 12:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277107968001,"power":26604,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4222828367053320192}} 
[2026-09-23 12:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:09:37] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:09:37] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:10:08] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccfd4af8012d3a9b4006bda9e0001c000a2f..."} 
[2026-09-23 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccfd4af8012d3a9b4006bda9e0001c000a2f..."} 
[2026-09-23 12:10:08] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccfd4af8012d3a9b4006bda9e0001c000a2f..."} 
[2026-09-23 12:10:08] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:10:08] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758815552,"raw_latitude":113093088,"longitude_deg":75.8815552,"latitude_deg":11.3093088,"altitude":28,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d3a9b40","hex_latitude":"06bda9e0","is_valid_coordinates":true} 
[2026-09-23 12:10: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-09-23 12:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277186304001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4223039473285980160,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145547000,"timestamp_ms":1790145547000,"timestamp_seconds":1790145547,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccfd4af8"} 
[2026-09-23 12:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:10: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:10: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-09-23 12:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277186304001,"66":26419,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4223039473285980160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277186304001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:10:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4223039473285980160,"description":"Unknown IO ID 45"} 
[2026-09-23 12:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277186304001,"power":26419,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4223039473285980160}} 
[2026-09-23 12:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:10:08] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:10:08] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:10:32] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:32] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:32] local.INFO: IMEI packet received {"connection_id":190339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":190339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:10:37] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:37] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:10:37] local.INFO: IMEI packet received {"connection_id":190339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":190339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:10:38] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccfda0e8012d3a9c0006bdaac8001c000a2f..."} 
[2026-09-23 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccfda0e8012d3a9c0006bdaac8001c000a2f..."} 
[2026-09-23 12:10:38] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccfda0e8012d3a9c0006bdaac8001c000a2f..."} 
[2026-09-23 12:10:38] local.INFO: Packet analysis {"connection_id":190339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:10:38] local.INFO: Extracted packet for processing {"connection_id":190339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758815744,"raw_latitude":113093320,"longitude_deg":75.8815744,"latitude_deg":11.309332,"altitude":28,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d3a9c00","hex_latitude":"06bdaac8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277260032001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4223039473285980160,"note":"Value kept but may cause issues"} 
[2026-09-23 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790145569000,"timestamp_ms":1790145569000,"timestamp_seconds":1790145569,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccfda0e8"} 
[2026-09-23 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-23 12:10: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-09-23 12: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-09-23 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277260032001,"66":27767,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4223039473285980160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277260032001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:10:38] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4223039473285980160,"description":"Unknown IO ID 45"} 
[2026-09-23 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277260032001,"power":27767,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4223039473285980160}} 
[2026-09-23 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":190339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:10:38] local.INFO: GPS data processed {"connection_id":190339,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:10:38] local.INFO: Acknowledgment sent {"connection_id":190339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:11:08] local.INFO: TCP Data received {"connection_id":190339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccfdf2f0012d3a9c0006bdaac8001c000a30..."} 
[2026-09-23 12:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccfdf2f0012d3a9c0006bdaac8001c000a30..."} 
[2026-09-23 12:11:08] local.INFO: Processing buffer {"connection_id":190339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccfdf2f0012d3a9c0006bdaac8001c000a30..."} 
[2026-09-23 12:11:08] local.INFO: Packet analysis {"connection_id":190339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:11:08] local.INFO: Extracted packet for processing {"connection_id":190339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccfd"} 
[2026-09-23 12:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758815744,"raw_latitude":113093320,"longitude_deg":75.8815744,"latitude_deg":11.309332,"altitude":28,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d3a9c00","hex_latitude":"06bdaac8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277265664001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406481580408700928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4223250579518572544,"note":"Value kept but may cause issues"} 
[2026-09-23 12:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145590000,"timestamp_ms":1790145590000,"timestamp_seconds":1790145590,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccfdf2f0"} 
[2026-09-23 12:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:11: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-09-23 12: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-09-23 12:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:11: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-09-23 12:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277265664001,"66":27745,"126":206,"81":21760,"24":0,"16":406481580408700928,"45":4223250579518572544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 12:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277265664001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:11:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 12:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 12:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406481580408700928,"km_value":406481580408700.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4223250579518572544,"description":"Unknown IO ID 45"} 
[2026-09-23 12:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277265664001,"power":27745,"unknown_126":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4223250579518572544}} 
[2026-09-23 12:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:11:08] local.INFO: GPS data processed {"connection_id":190339,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:11:08] local.INFO: Acknowledgment sent {"connection_id":190339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:11:30] local.INFO: TCP Data received {"connection_id":191873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:11:30] local.INFO: Processing buffer {"connection_id":191873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:11:30] local.INFO: IMEI packet received {"connection_id":191873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":191873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:11:30] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:30] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:30] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:11:31] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:31] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:31] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:11:32] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:11:32] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:11:32] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:11:59] local.INFO: TCP Data received {"connection_id":193206,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:11:59] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:11:59] local.INFO: IMEI packet received {"connection_id":193206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":193206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:12:00] local.INFO: TCP Data received {"connection_id":193206,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccff0c30012d18a8c007217340004601292b..."} 
[2026-09-23 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccff0c30012d18a8c007217340004601292b..."} 
[2026-09-23 12:12:00] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccff0c30012d18a8c007217340004601292b..."} 
[2026-09-23 12:12:00] local.INFO: Packet analysis {"connection_id":193206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccff"} 
[2026-09-23 12:12:00] local.INFO: Extracted packet for processing {"connection_id":193206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccff"} 
[2026-09-23 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632704,"longitude_deg":75.6590784,"latitude_deg":11.9632704,"altitude":70,"angle":297,"satellites":43,"speed":26,"hex_longitude":"2d18a8c0","hex_latitude":"07217340","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277288960001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22654277449154560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507008000,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790145662000,"timestamp_ms":1790145662000,"timestamp_seconds":1790145662,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccff0c30"} 
[2026-09-23 12:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:12:00] 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-09-23 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 12:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277288960001,"66":14102,"106":206,"83":41984,"24":26,"16":22654277449154560,"45":1778077458507008000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 12:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277288960001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:12:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 12:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22654277449154560,"km_value":22654277449154.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507008000,"description":"Unknown IO ID 45"} 
[2026-09-23 12:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277288960001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1778077458507008000}} 
[2026-09-23 12:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":193206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:12:00] local.INFO: GPS data processed {"connection_id":193206,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:12:00] local.INFO: Acknowledgment sent {"connection_id":193206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:12:10] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:12:10] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:12:10] local.INFO: IMEI packet received {"connection_id":190340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":190340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:12:31] local.INFO: TCP Data received {"connection_id":193206,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ccff17e8012d18a1c0072175e00046011e2c..."} 
[2026-09-23 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ccff17e8012d18a1c0072175e00046011e2c..."} 
[2026-09-23 12:12:31] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ccff17e8012d18a1c0072175e00046011e2c..."} 
[2026-09-23 12:12:31] local.INFO: Packet analysis {"connection_id":193206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ccff"} 
[2026-09-23 12:12:31] local.INFO: Extracted packet for processing {"connection_id":193206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ccff"} 
[2026-09-23 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119633376,"longitude_deg":75.6588992,"latitude_deg":11.9633376,"altitude":70,"angle":286,"satellites":44,"speed":27,"hex_longitude":"2d18a1c0","hex_latitude":"072175e0","is_valid_coordinates":true} 
[2026-09-23 12:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277289472001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22654371938435072,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856165888,"note":"Value kept but may cause issues"} 
[2026-09-23 12:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790145665000,"timestamp_ms":1790145665000,"timestamp_seconds":1790145665,"priority":1,"record_length":96,"hex_timestamp":"000001a0ccff17e8"} 
[2026-09-23 12:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:12:31] 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-09-23 12:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 12:12:31] 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-09-23 12:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277289472001,"66":14102,"106":206,"83":41984,"24":27,"16":22654371938435072,"45":1776881189856165888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 12:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277289472001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22654371938435072,"km_value":22654371938435.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856165888,"description":"Unknown IO ID 45"} 
[2026-09-23 12:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277289472001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1776881189856165888}} 
[2026-09-23 12:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":193206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:12:31] local.INFO: GPS data processed {"connection_id":193206,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:12:31] local.INFO: Acknowledgment sent {"connection_id":193206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:12:57] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:12:57] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:12:57] local.INFO: IMEI packet received {"connection_id":193207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":193207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:13:02] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:02] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:02] local.INFO: IMEI packet received {"connection_id":193207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":193207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:13:03] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd000248012d181e000721a880004c001923..."} 
[2026-09-23 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd000248012d181e000721a880004c001923..."} 
[2026-09-23 12:13:03] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd000248012d181e000721a880004c001923..."} 
[2026-09-23 12:13:03] local.INFO: Packet analysis {"connection_id":193207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:13:03] local.INFO: Extracted packet for processing {"connection_id":193207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646336,"longitude_deg":75.6555264,"latitude_deg":11.9646336,"altitude":76,"angle":25,"satellites":35,"speed":11,"hex_longitude":"2d181e00","hex_latitude":"0721a880","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277305344001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656150054895616,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096806912,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145725000,"timestamp_ms":1790145725000,"timestamp_seconds":1790145725,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd000248"} 
[2026-09-23 12:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:13: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-09-23 12: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 12:13:03] 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-09-23 12: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-09-23 12:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277305344001,"66":13515,"105":206,"83":41984,"24":11,"16":22656150054895616,"45":1737756168096806912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277305344001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:13:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656150054895616,"km_value":22656150054895.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096806912,"description":"Unknown IO ID 45"} 
[2026-09-23 12:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277305344001,"power":13515,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737756168096806912}} 
[2026-09-23 12:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":193207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:13:03] local.INFO: GPS data processed {"connection_id":193207,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:13:03] local.INFO: Acknowledgment sent {"connection_id":193207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:13:34] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd000630012d181ec00721a990004c002524..."} 
[2026-09-23 12:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd000630012d181ec00721a990004c002524..."} 
[2026-09-23 12:13:34] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd000630012d181ec00721a990004c002524..."} 
[2026-09-23 12:13:34] local.INFO: Packet analysis {"connection_id":193207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:13:34] local.INFO: Extracted packet for processing {"connection_id":193207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646608,"longitude_deg":75.6555456,"latitude_deg":11.9646608,"altitude":76,"angle":37,"satellites":36,"speed":14,"hex_longitude":"2d181ec0","hex_latitude":"0721a990","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277305600001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656167234764800,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841052160,"note":"Value kept but may cause issues"} 
[2026-09-23 12:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145726000,"timestamp_ms":1790145726000,"timestamp_seconds":1790145726,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd000630"} 
[2026-09-23 12:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 12:13:34] 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-09-23 12: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-09-23 12:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277305600001,"66":13993,"105":206,"83":41984,"24":14,"16":22656167234764800,"45":1737826536841052160},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277305600001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:13:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656167234764800,"km_value":22656167234764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841052160,"description":"Unknown IO ID 45"} 
[2026-09-23 12:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277305600001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737826536841052160}} 
[2026-09-23 12:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":193207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:13:34] local.INFO: GPS data processed {"connection_id":193207,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:13:34] local.INFO: Acknowledgment sent {"connection_id":193207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:13:57] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:57] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:13:57] local.INFO: IMEI packet received {"connection_id":190528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":190528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:14:02] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:02] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:02] local.INFO: IMEI packet received {"connection_id":190528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:14:03] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd002570012d1824000721b1b8004c001525..."} 
[2026-09-23 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd002570012d1824000721b1b8004c001525..."} 
[2026-09-23 12:14:03] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd002570012d1824000721b1b8004c001525..."} 
[2026-09-23 12:14:03] local.INFO: Packet analysis {"connection_id":190528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:14:03] local.INFO: Extracted packet for processing {"connection_id":190528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119648696,"longitude_deg":75.65568,"latitude_deg":11.9648696,"altitude":76,"angle":21,"satellites":37,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277305856001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656287493849088,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073654784,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145734000,"timestamp_ms":1790145734000,"timestamp_seconds":1790145734,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd002570"} 
[2026-09-23 12:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:14: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-09-23 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 12:14:03] 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-09-23 12: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-09-23 12:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277305856001,"66":14080,"105":206,"83":41984,"24":7,"16":22656287493849088,"45":1738037643073654784},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277305856001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656287493849088,"km_value":22656287493849.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073654784,"description":"Unknown IO ID 45"} 
[2026-09-23 12:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277305856001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073654784}} 
[2026-09-23 12:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":190528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:14:03] local.INFO: GPS data processed {"connection_id":190528,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:14:03] local.INFO: Acknowledgment sent {"connection_id":190528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:14:34] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd005450012d182b400721c1d8004c002129..."} 
[2026-09-23 12:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd005450012d182b400721c1d8004c002129..."} 
[2026-09-23 12:14:34] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd005450012d182b400721c1d8004c002129..."} 
[2026-09-23 12:14:34] local.INFO: Packet analysis {"connection_id":190528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:14:34] local.INFO: Extracted packet for processing {"connection_id":190528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119652824,"longitude_deg":75.6558656,"latitude_deg":11.9652824,"altitude":76,"angle":33,"satellites":41,"speed":8,"hex_longitude":"2d182b40","hex_latitude":"0721c1d8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277307904001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656506537181184,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386701920256,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145746000,"timestamp_ms":1790145746000,"timestamp_seconds":1790145746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd005450"} 
[2026-09-23 12:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:14: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-09-23 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3439325864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13462121,"corrected_to":0} 
[2026-09-23 12:14:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4294604801,"corrected_to":0} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2794455115,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 12:14:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2415996184,"corrected_to":0} 
[2026-09-23 12:14:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-09-23 12:14:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,125,160,6,45,192,169,76,36,10,66,2,168,35,254,1,240,203,227,204,33,4,113,205,7,246,30,239,53,80,75],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":203,"original":13462121,"validated":0},{"io_id":204,"original":4294604801,"validated":0},{"io_id":205,"original":1785266382,"validated":0},{"io_id":246,"original":2415996184,"validated":0}]} 
[2026-09-23 12:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476400395540955136,"timestamp_seconds":5476400395540955.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277307904001,"66":13852,"105":206,"83":41984,"24":8,"16":22656506537181184,"45":1739515386701920256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277307904001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:14:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656506537181184,"km_value":22656506537181.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386701920256,"description":"Unknown IO ID 45"} 
[2026-09-23 12:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277307904001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739515386701920256}} 
[2026-09-23 12:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":190528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:14:34] local.INFO: GPS data processed {"connection_id":190528,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:14:34] local.INFO: Acknowledgment sent {"connection_id":190528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:14:57] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:57] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:14:57] local.INFO: IMEI packet received {"connection_id":190529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":190529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:15:02] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:02] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:02] local.INFO: IMEI packet received {"connection_id":190529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:15:03] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd00a658012d182c400721c2c8004a00212d..."} 
[2026-09-23 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd00a658012d182c400721c2c8004a00212d..."} 
[2026-09-23 12:15:03] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd00a658012d182c400721c2c8004a00212d..."} 
[2026-09-23 12:15:03] local.INFO: Packet analysis {"connection_id":190529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:15:03] local.INFO: Extracted packet for processing {"connection_id":190529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119653064,"longitude_deg":75.6558912,"latitude_deg":11.9653064,"altitude":74,"angle":33,"satellites":45,"speed":0,"hex_longitude":"2d182c40","hex_latitude":"0721c2c8","is_valid_coordinates":true} 
[2026-09-23 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277310976001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656523717050368,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080284129280,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145767000,"timestamp_ms":1790145767000,"timestamp_seconds":1790145767,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd00a658"} 
[2026-09-23 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:15: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-09-23 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-23 12:15: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-09-23 12:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277310976001,"66":13972,"105":206,"83":41984,"24":0,"16":22656523717050368,"45":1741556080284129280},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277310976001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:15:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656523717050368,"km_value":22656523717050.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080284129280,"description":"Unknown IO ID 45"} 
[2026-09-23 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277310976001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080284129280}} 
[2026-09-23 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":190529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:15:03] local.INFO: GPS data processed {"connection_id":190529,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:15:03] local.INFO: Acknowledgment sent {"connection_id":190529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:15:34] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd00f860012d182c400721c2c8004a00212b..."} 
[2026-09-23 12:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd00f860012d182c400721c2c8004a00212b..."} 
[2026-09-23 12:15:34] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd00f860012d182c400721c2c8004a00212b..."} 
[2026-09-23 12:15:34] local.INFO: Packet analysis {"connection_id":190529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:15:34] local.INFO: Extracted packet for processing {"connection_id":190529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd00"} 
[2026-09-23 12:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119653064,"longitude_deg":75.6558912,"latitude_deg":11.9653064,"altitude":74,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d182c40","hex_latitude":"0721c2c8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277316352001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656523717050368,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555260901376,"note":"Value kept but may cause issues"} 
[2026-09-23 12:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145788000,"timestamp_ms":1790145788000,"timestamp_seconds":1790145788,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd00f860"} 
[2026-09-23 12:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:15: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-09-23 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 12:15: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-09-23 12: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-09-23 12:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277316352001,"66":13852,"105":206,"83":41984,"24":0,"16":22656523717050368,"45":1741837555260901376},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277316352001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:15:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656523717050368,"km_value":22656523717050.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555260901376,"description":"Unknown IO ID 45"} 
[2026-09-23 12:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277316352001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741837555260901376}} 
[2026-09-23 12:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":190529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:15:34] local.INFO: GPS data processed {"connection_id":190529,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:15:34] local.INFO: Acknowledgment sent {"connection_id":190529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:15:57] local.INFO: TCP Data received {"connection_id":191876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:57] local.INFO: Processing buffer {"connection_id":191876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:15:57] local.INFO: IMEI packet received {"connection_id":191876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":191876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:16:02] local.INFO: TCP Data received {"connection_id":191876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:02] local.INFO: Processing buffer {"connection_id":191876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:02] local.INFO: IMEI packet received {"connection_id":191876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":191876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:16:03] local.INFO: TCP Data received {"connection_id":191876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd014a68012d182c400721c2c8004a00212c..."} 
[2026-09-23 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd014a68012d182c400721c2c8004a00212c..."} 
[2026-09-23 12:16:03] local.INFO: Processing buffer {"connection_id":191876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd014a68012d182c400721c2c8004a00212c..."} 
[2026-09-23 12:16:03] local.INFO: Packet analysis {"connection_id":191876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd01"} 
[2026-09-23 12:16:03] local.INFO: Extracted packet for processing {"connection_id":191876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd01"} 
[2026-09-23 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119653064,"longitude_deg":75.6558912,"latitude_deg":11.9653064,"altitude":74,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d182c40","hex_latitude":"0721c2c8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277321728001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22656523717050368,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555260901376,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145809000,"timestamp_ms":1790145809000,"timestamp_seconds":1790145809,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd014a68"} 
[2026-09-23 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-09-23 12:16: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-09-23 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-23 12:16: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-09-23 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-09-23 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-09-23 12:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277321728001,"66":13961,"105":206,"83":41984,"24":0,"16":22656523717050368,"45":1741837555260901376},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277321728001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:16:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22656523717050368,"km_value":22656523717050.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555260901376,"description":"Unknown IO ID 45"} 
[2026-09-23 12:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277321728001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741837555260901376}} 
[2026-09-23 12:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":191876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:16:03] local.INFO: GPS data processed {"connection_id":191876,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:16:03] local.INFO: Acknowledgment sent {"connection_id":191876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:16:35] local.INFO: TCP Data received {"connection_id":191876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:16:35] local.INFO: Processing buffer {"connection_id":191876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:16:35] local.INFO: Packet analysis {"connection_id":191876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:35] local.INFO: Extracted packet for processing {"connection_id":191876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:16: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-09-23 12:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277357312001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654854144,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:16: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-09-23 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 12:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277357312001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1737052480654854144},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277357312001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:16:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654854144,"description":"Unknown IO ID 45"} 
[2026-09-23 12:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277357312001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1737052480654854144}} 
[2026-09-23 12:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":191876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:16:35] local.INFO: GPS data processed {"connection_id":191876,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:16:35] local.INFO: Acknowledgment sent {"connection_id":191876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:16:37] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:37] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:37] local.INFO: IMEI packet received {"connection_id":193209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":193209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:16:40] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:40] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:16:40] local.INFO: IMEI packet received {"connection_id":193209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":193209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:16:41] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ae0012d3c144006c0e4500011003a2e..."} 
[2026-09-23 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ae0012d3c144006c0e4500011003a2e..."} 
[2026-09-23 12:16:41] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ae0012d3c144006c0e4500011003a2e..."} 
[2026-09-23 12:16:41] local.INFO: Packet analysis {"connection_id":193209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:41] local.INFO: Extracted packet for processing {"connection_id":193209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758912064,"raw_latitude":113304656,"longitude_deg":75.8912064,"latitude_deg":11.3304656,"altitude":17,"angle":58,"satellites":46,"speed":35,"hex_longitude":"2d3c1440","hex_latitude":"06c0e450","is_valid_coordinates":true} 
[2026-09-23 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358336001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406494448130719744,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4328240745885648896,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:41] 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-09-23 12:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790145932000,"timestamp_ms":1790145932000,"timestamp_seconds":1790145932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ae0"} 
[2026-09-23 12:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358336001,"66":27767,"102":206,"81":21504,"24":35,"16":406494448130719744,"45":4328240745885648896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358336001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406494448130719744,"km_value":406494448130719.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4328240745885648896,"description":"Unknown IO ID 45"} 
[2026-09-23 12:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358336001,"power":27767,"unknown_102":206,"unknown_81":21504,"ignition":35,"odometer":null,"unknown_45":4328240745885648896}} 
[2026-09-23 12:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":193209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:16:41] local.INFO: GPS data processed {"connection_id":193209,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:16:41] local.INFO: Acknowledgment sent {"connection_id":193209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:16:42] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0332b0012d3c198006c0e8e80012002d2f..."} 
[2026-09-23 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0332b0012d3c198006c0e8e80012002d2f..."} 
[2026-09-23 12:16:42] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0332b0012d3c198006c0e8e80012002d2f..."} 
[2026-09-23 12:16:42] local.INFO: Packet analysis {"connection_id":193209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:42] local.INFO: Extracted packet for processing {"connection_id":193209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758913408,"raw_latitude":113305832,"longitude_deg":75.8913408,"latitude_deg":11.3305832,"altitude":18,"angle":45,"satellites":47,"speed":38,"hex_longitude":"2d3c1980","hex_latitude":"06c0e8e8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358592001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406494534030065664,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4329155539560058880,"note":"Value kept but may cause issues"} 
[2026-09-23 12:16:42] 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-09-23 12:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790145934000,"timestamp_ms":1790145934000,"timestamp_seconds":1790145934,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0332b0"} 
[2026-09-23 12:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:16: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-09-23 12: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-09-23 12:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:16: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-09-23 12:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358592001,"66":27604,"102":206,"81":21504,"24":38,"16":406494534030065664,"45":4329155539560058880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358592001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:16:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406494534030065664,"km_value":406494534030065.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4329155539560058880,"description":"Unknown IO ID 45"} 
[2026-09-23 12:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358592001,"power":27604,"unknown_102":206,"unknown_81":21504,"ignition":38,"odometer":null,"unknown_45":4329155539560058880}} 
[2026-09-23 12:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":193209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:16:42] local.INFO: GPS data processed {"connection_id":193209,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:16:42] local.INFO: Acknowledgment sent {"connection_id":193209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:16:57] local.INFO: TCP Data received {"connection_id":190343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:57] local.INFO: Processing buffer {"connection_id":190343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:16:57] local.INFO: IMEI packet received {"connection_id":190343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":190343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:17:02] local.INFO: TCP Data received {"connection_id":190343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:02] local.INFO: Processing buffer {"connection_id":190343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:02] local.INFO: IMEI packet received {"connection_id":190343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:17:03] local.INFO: TCP Data received {"connection_id":190343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:03] local.INFO: Processing buffer {"connection_id":190343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:03] local.INFO: Packet analysis {"connection_id":190343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:03] local.INFO: Extracted packet for processing {"connection_id":190343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:17: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-09-23 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:17:03] 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-09-23 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:17: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-09-23 12: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-09-23 12:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":190343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:17:03] local.INFO: GPS data processed {"connection_id":190343,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:17:03] local.INFO: Acknowledgment sent {"connection_id":190343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:17:13] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd034250012d3c230006c0f4380012001d24..."} 
[2026-09-23 12:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd034250012d3c230006c0f4380012001d24..."} 
[2026-09-23 12:17:13] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd034250012d3c230006c0f4380012001d24..."} 
[2026-09-23 12:17:13] local.INFO: Packet analysis {"connection_id":193209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:13] local.INFO: Extracted packet for processing {"connection_id":193209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758915840,"raw_latitude":113308728,"longitude_deg":75.891584,"latitude_deg":11.3308728,"altitude":18,"angle":29,"satellites":36,"speed":36,"hex_longitude":"2d3c2300","hex_latitude":"06c0f438","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277359104001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406494718713659392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4330633283188090880,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:13] 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-09-23 12:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790145938000,"timestamp_ms":1790145938000,"timestamp_seconds":1790145938,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd034250"} 
[2026-09-23 12:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 12:17:13] 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-09-23 12: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-09-23 12:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17: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-09-23 12:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277359104001,"66":27484,"102":206,"81":21504,"24":36,"16":406494718713659392,"45":4330633283188090880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277359104001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:17:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406494718713659392,"km_value":406494718713659.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4330633283188090880,"description":"Unknown IO ID 45"} 
[2026-09-23 12:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277359104001,"power":27484,"unknown_102":206,"unknown_81":21504,"ignition":36,"odometer":null,"unknown_45":4330633283188090880}} 
[2026-09-23 12:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":193209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:17:13] local.INFO: GPS data processed {"connection_id":193209,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:17:13] local.INFO: Acknowledgment sent {"connection_id":193209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:17:31] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:31] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:31] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:17:32] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:32] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:32] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:17:34] local.INFO: TCP Data received {"connection_id":190343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:34] local.INFO: Processing buffer {"connection_id":190343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:17:34] local.INFO: Packet analysis {"connection_id":190343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:34] local.INFO: Extracted packet for processing {"connection_id":190343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:17: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-09-23 12:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:17:34] 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-09-23 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:17:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":190343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:17:34] local.INFO: GPS data processed {"connection_id":190343,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:17:34] local.INFO: Acknowledgment sent {"connection_id":190343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:17:34] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:34] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:17:34] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:17:36] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd034a20012d3c260006c0fa500012001029..."} 
[2026-09-23 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd034a20012d3c260006c0fa500012001029..."} 
[2026-09-23 12:17:36] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd034a20012d3c260006c0fa500012001029..."} 
[2026-09-23 12:17:36] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:36] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758916608,"raw_latitude":113310288,"longitude_deg":75.8916608,"latitude_deg":11.3310288,"altitude":18,"angle":16,"satellites":41,"speed":31,"hex_longitude":"2d3c2600","hex_latitude":"06c0fa50","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277360128001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406494800318038016,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4333307295467583488,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:36] 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-09-23 12:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790145940000,"timestamp_ms":1790145940000,"timestamp_seconds":1790145940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd034a20"} 
[2026-09-23 12:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 12:17: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-09-23 12: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-09-23 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17: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-09-23 12:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277360128001,"66":27876,"102":206,"81":21504,"24":31,"16":406494800318038016,"45":4333307295467583488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277360128001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406494800318038016,"km_value":406494800318038.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4333307295467583488,"description":"Unknown IO ID 45"} 
[2026-09-23 12:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277360128001,"power":27876,"unknown_102":206,"unknown_81":21504,"ignition":31,"odometer":null,"unknown_45":4333307295467583488}} 
[2026-09-23 12:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:17:36] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:17:36] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:17:37] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0351f0012d3c26c006c10038001201652c..."} 
[2026-09-23 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0351f0012d3c26c006c10038001201652c..."} 
[2026-09-23 12:17:37] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0351f0012d3c26c006c10038001201652c..."} 
[2026-09-23 12:17:37] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:37] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758916800,"raw_latitude":113311800,"longitude_deg":75.89168,"latitude_deg":11.33118,"altitude":18,"angle":357,"satellites":44,"speed":30,"hex_longitude":"2d3c26c0","hex_latitude":"06c10038","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277360640001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406494873332482048,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4334151720398114816,"note":"Value kept but may cause issues"} 
[2026-09-23 12:17:37] 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-09-23 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790145942000,"timestamp_ms":1790145942000,"timestamp_seconds":1790145942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0351f0"} 
[2026-09-23 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-09-23 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 12:17: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-09-23 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-09-23 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-09-23 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277360640001,"66":27713,"102":206,"81":21504,"24":30,"16":406494873332482048,"45":4334151720398114816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277360640001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406494873332482048,"km_value":406494873332482.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4334151720398114816,"description":"Unknown IO ID 45"} 
[2026-09-23 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277360640001,"power":27713,"unknown_102":206,"unknown_81":21504,"ignition":30,"odometer":null,"unknown_45":4334151720398114816}} 
[2026-09-23 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:17:37] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:17:37] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:17:40] local.INFO: TCP Data received {"connection_id":191878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:17:40] local.INFO: Processing buffer {"connection_id":191878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:17:40] local.INFO: IMEI packet received {"connection_id":191878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":191878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:17:57] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:57] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:17:57] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:18:03] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:03] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:03] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:18:04] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:04] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:04] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:18:04] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:18: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-09-23 12:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:18: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-09-23 12:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:18:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:18:04] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:18:04] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:18:15] local.INFO: TCP Data received {"connection_id":190530,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:18:15] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:18:15] local.INFO: IMEI packet received {"connection_id":190530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":190530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:18:16] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd04ad98012d3ca64006c1a930001400342c..."} 
[2026-09-23 12:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd04ad98012d3ca64006c1a930001400342c..."} 
[2026-09-23 12:18:16] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd04ad98012d3ca64006c1a930001400342c..."} 
[2026-09-23 12:18:16] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd04"} 
[2026-09-23 12:18:16] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd04"} 
[2026-09-23 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758949440,"raw_latitude":113355056,"longitude_deg":75.894944,"latitude_deg":11.3355056,"altitude":20,"angle":52,"satellites":44,"speed":38,"hex_longitude":"2d3ca640","hex_latitude":"06c1a930","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277383424001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406497823975014400,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368491667568011264,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:16] 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-09-23 12:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790146031000,"timestamp_ms":1790146031000,"timestamp_seconds":1790146031,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd04ad98"} 
[2026-09-23 12:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-23 12:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277383424001,"66":27843,"102":206,"81":21504,"24":38,"16":406497823975014400,"45":4368491667568011264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277383424001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:18:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406497823975014400,"km_value":406497823975014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368491667568011264,"description":"Unknown IO ID 45"} 
[2026-09-23 12:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277383424001,"power":27843,"unknown_102":206,"unknown_81":21504,"ignition":38,"odometer":null,"unknown_45":4368491667568011264}} 
[2026-09-23 12:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:18:16] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:18:16] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:18:31] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:31] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:31] local.INFO: IMEI packet received {"connection_id":193210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:18:32] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:32] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:32] local.INFO: IMEI packet received {"connection_id":193210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":193210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:18:35] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:35] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:18:35] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:18:35] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:18: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-09-23 12:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:18:35] 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-09-23 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:18:35] 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-09-23 12: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-09-23 12:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:18:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:18:35] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:18:35] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:18:37] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:37] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:18:37] local.INFO: IMEI packet received {"connection_id":193210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":193210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:18:38] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd04d0c0012d3cc0c006c1c428001500292b..."} 
[2026-09-23 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd04d0c0012d3cc0c006c1c428001500292b..."} 
[2026-09-23 12:18:38] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd04d0c0012d3cc0c006c1c428001500292b..."} 
[2026-09-23 12:18:38] local.INFO: Packet analysis {"connection_id":193210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd04"} 
[2026-09-23 12:18:38] local.INFO: Extracted packet for processing {"connection_id":193210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd04"} 
[2026-09-23 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758956224,"raw_latitude":113361960,"longitude_deg":75.8956224,"latitude_deg":11.336196,"altitude":21,"angle":41,"satellites":43,"speed":43,"hex_longitude":"2d3cc0c0","hex_latitude":"06c1c428","is_valid_coordinates":true} 
[2026-09-23 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277383936001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406498287831482368,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370250886172717056,"note":"Value kept but may cause issues"} 
[2026-09-23 12:18:38] 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-09-23 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146040000,"timestamp_ms":1790146040000,"timestamp_seconds":1790146040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd04d0c0"} 
[2026-09-23 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277383936001,"66":26636,"102":206,"81":21504,"24":43,"16":406498287831482368,"45":4370250886172717056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277383936001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:18:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 12:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406498287831482368,"km_value":406498287831482.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370250886172717056,"description":"Unknown IO ID 45"} 
[2026-09-23 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277383936001,"power":26636,"unknown_102":206,"unknown_81":21504,"ignition":43,"odometer":null,"unknown_45":4370250886172717056}} 
[2026-09-23 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":193210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:18:38] local.INFO: GPS data processed {"connection_id":193210,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:18:38] local.INFO: Acknowledgment sent {"connection_id":193210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:18:57] local.INFO: TCP Data received {"connection_id":190531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:57] local.INFO: Processing buffer {"connection_id":190531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:18:57] local.INFO: IMEI packet received {"connection_id":190531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":190531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:19:02] local.INFO: TCP Data received {"connection_id":190531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:02] local.INFO: Processing buffer {"connection_id":190531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:02] local.INFO: IMEI packet received {"connection_id":190531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":190531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:19:03] local.INFO: TCP Data received {"connection_id":190531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:03] local.INFO: Processing buffer {"connection_id":190531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:03] local.INFO: Packet analysis {"connection_id":190531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:19:03] local.INFO: Extracted packet for processing {"connection_id":190531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:19: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-09-23 12:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:19:03] 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-09-23 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:19: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-09-23 12:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":190531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:19:03] local.INFO: GPS data processed {"connection_id":190531,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:19:03] local.INFO: Acknowledgment sent {"connection_id":190531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:19:32] local.INFO: TCP Data received {"connection_id":190533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:32] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:32] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:19:33] local.INFO: TCP Data received {"connection_id":190533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:33] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:33] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:19:34] local.INFO: TCP Data received {"connection_id":190531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:34] local.INFO: Processing buffer {"connection_id":190531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:19:34] local.INFO: Packet analysis {"connection_id":190531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:19:34] local.INFO: Extracted packet for processing {"connection_id":190531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:19: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-09-23 12:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 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-09-23 12:19:34] 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-09-23 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:19:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":190531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:19:34] local.INFO: GPS data processed {"connection_id":190531,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:19:34] local.INFO: Acknowledgment sent {"connection_id":190531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:19:37] local.INFO: TCP Data received {"connection_id":190533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:37] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:19:37] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:19:38] local.INFO: TCP Data received {"connection_id":190533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd05ede8012d3d47c006c27d40001801432a..."} 
[2026-09-23 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd05ede8012d3d47c006c27d40001801432a..."} 
[2026-09-23 12:19:38] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd05ede8012d3d47c006c27d40001801432a..."} 
[2026-09-23 12:19:38] local.INFO: Packet analysis {"connection_id":190533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd05"} 
[2026-09-23 12:19:38] local.INFO: Extracted packet for processing {"connection_id":190533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd05"} 
[2026-09-23 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758990784,"raw_latitude":113409344,"longitude_deg":75.8990784,"latitude_deg":11.3409344,"altitude":24,"angle":323,"satellites":42,"speed":38,"hex_longitude":"2d3d47c0","hex_latitude":"06c27d40","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277404416001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406501259948851200,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4416764626087628800,"note":"Value kept but may cause issues"} 
[2026-09-23 12:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146113000,"timestamp_ms":1790146113000,"timestamp_seconds":1790146113,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd05ede8"} 
[2026-09-23 12:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:19: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-09-23 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 12:19: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-09-23 12: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-09-23 12:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277404416001,"66":27821,"205":206,"81":21504,"24":38,"16":406501259948851200,"45":4416764626087628800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,81,24,16,45]} 
[2026-09-23 12:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277404416001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406501259948851200,"km_value":406501259948851.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4416764626087628800,"description":"Unknown IO ID 45"} 
[2026-09-23 12:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277404416001,"power":27821,"cell_id":206,"unknown_81":21504,"ignition":38,"odometer":null,"unknown_45":4416764626087628800}} 
[2026-09-23 12:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":190533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:19:38] local.INFO: GPS data processed {"connection_id":190533,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:19:38] local.INFO: Acknowledgment sent {"connection_id":190533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:19:57] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:57] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:19:57] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:20:02] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:20:02] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:20:02] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:20:03] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:03] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:03] local.INFO: Packet analysis {"connection_id":191880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:20:03] local.INFO: Extracted packet for processing {"connection_id":191880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:20: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-09-23 12:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:20:03] 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-09-23 12: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-09-23 12: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-09-23 12: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-09-23 12:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:20:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":191880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:20:03] local.INFO: GPS data processed {"connection_id":191880,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:20:03] local.INFO: Acknowledgment sent {"connection_id":191880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:20:09] local.INFO: TCP Data received {"connection_id":190533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0699c8012d3d710006c30be8001b00242d..."} 
[2026-09-23 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0699c8012d3d710006c30be8001b00242d..."} 
[2026-09-23 12:20:09] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0699c8012d3d710006c30be8001b00242d..."} 
[2026-09-23 12:20:09] local.INFO: Packet analysis {"connection_id":190533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:20:09] local.INFO: Extracted packet for processing {"connection_id":190533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":759001344,"raw_latitude":113445864,"longitude_deg":75.9001344,"latitude_deg":11.3445864,"altitude":27,"angle":36,"satellites":45,"speed":34,"hex_longitude":"2d3d7100","hex_latitude":"06c30be8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277415936001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406503368777793536,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4426616250282108928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790146157000,"timestamp_ms":1790146157000,"timestamp_seconds":1790146157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0699c8"} 
[2026-09-23 12:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:20: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-09-23 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277415936001,"66":27865,"205":206,"81":21504,"24":34,"16":406503368777793536,"45":4426616250282108928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,81,24,16,45]} 
[2026-09-23 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277415936001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406503368777793536,"km_value":406503368777793.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4426616250282108928,"description":"Unknown IO ID 45"} 
[2026-09-23 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277415936001,"power":27865,"cell_id":206,"unknown_81":21504,"ignition":34,"odometer":null,"unknown_45":4426616250282108928}} 
[2026-09-23 12:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":190533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:20:09] local.INFO: GPS data processed {"connection_id":190533,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:20:09] local.INFO: Acknowledgment sent {"connection_id":190533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:20:31] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:31] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:31] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:20:34] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:34] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:20:34] local.INFO: Packet analysis {"connection_id":191880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:20:34] local.INFO: Extracted packet for processing {"connection_id":191880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:20: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-09-23 12:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:20:34] 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-09-23 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:20:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":191880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:20:34] local.INFO: GPS data processed {"connection_id":191880,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:20:34] local.INFO: Acknowledgment sent {"connection_id":191880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:20:37] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:37] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:20:37] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:20:38] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd069db0012d3d72c006c30ef0001a00172d..."} 
[2026-09-23 12:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd069db0012d3d72c006c30ef0001a00172d..."} 
[2026-09-23 12:20:38] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd069db0012d3d72c006c30ef0001a00172d..."} 
[2026-09-23 12:20:38] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:20:38] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":759001792,"raw_latitude":113446640,"longitude_deg":75.9001792,"latitude_deg":11.344664,"altitude":26,"angle":23,"satellites":45,"speed":36,"hex_longitude":"2d3d72c0","hex_latitude":"06c30ef0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277416192001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406503416022433792,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4427319937724049408,"note":"Value kept but may cause issues"} 
[2026-09-23 12:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146158000,"timestamp_ms":1790146158000,"timestamp_seconds":1790146158,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd069db0"} 
[2026-09-23 12:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:20: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-09-23 12: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-09-23 12: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-09-23 12: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-09-23 12:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277416192001,"66":27865,"205":206,"81":21504,"24":36,"16":406503416022433792,"45":4427319937724049408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,81,24,16,45]} 
[2026-09-23 12:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277416192001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406503416022433792,"km_value":406503416022433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4427319937724049408,"description":"Unknown IO ID 45"} 
[2026-09-23 12:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277416192001,"power":27865,"cell_id":206,"unknown_81":21504,"ignition":36,"odometer":null,"unknown_45":4427319937724049408}} 
[2026-09-23 12:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:20:38] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:20:38] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:02] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:02] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:02] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:21:07] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:07] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:07] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:21:08] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:08] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:08] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:21:08] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:21: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-09-23 12:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:21:08] 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-09-23 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:08] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:08] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:12] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd06c4c0012d3d7e8006c33370001c00142b..."} 
[2026-09-23 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd06c4c0012d3d7e8006c33370001c00142b..."} 
[2026-09-23 12:21:12] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd06c4c0012d3d7e8006c33370001c00142b..."} 
[2026-09-23 12:21:12] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:21:12] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":759004800,"raw_latitude":113455984,"longitude_deg":75.90048,"latitude_deg":11.3455984,"altitude":28,"angle":20,"satellites":43,"speed":40,"hex_longitude":"2d3d7e80","hex_latitude":"06c33370","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277416448001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406503888468836352,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4427812518933491712,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790146168000,"timestamp_ms":1790146168000,"timestamp_seconds":1790146168,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd06c4c0"} 
[2026-09-23 12:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:21: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-09-23 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12:21: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-09-23 12: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-09-23 12:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21: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-09-23 12:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277416448001,"66":27821,"205":206,"81":21504,"24":40,"16":406503888468836352,"45":4427812518933491712},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,81,24,16,45]} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277416448001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406503888468836352,"km_value":406503888468836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4427812518933491712,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277416448001,"power":27821,"cell_id":206,"unknown_81":21504,"ignition":40,"odometer":null,"unknown_45":4427812518933491712}} 
[2026-09-23 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:12] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:12] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:12] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:12] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd032ec8012d18138007219720004800d32a..."} 
[2026-09-23 12:21:12] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:21:12] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641888,"longitude_deg":75.6552576,"latitude_deg":11.9641888,"altitude":72,"angle":211,"satellites":42,"speed":19,"hex_longitude":"2d181380","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-23 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790145933000,"timestamp_ms":1790145933000,"timestamp_seconds":1790145933,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd032ec8"} 
[2026-09-23 12:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:21:12] 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-09-23 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:21: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-09-23 12: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-09-23 12:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":13243,"107":206,"83":41984,"24":19,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:12] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:12] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:30] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:30] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:30] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:21:31] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:31] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:31] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:21:35] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:35] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:35] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:21:36] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:36] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:21:36] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:21:37] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd06ebd0012d3d880006c355280020000d2d..."} 
[2026-09-23 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd06ebd0012d3d880006c355280020000d2d..."} 
[2026-09-23 12:21:37] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd06ebd0012d3d880006c355280020000d2d..."} 
[2026-09-23 12:21:37] local.INFO: Packet analysis {"connection_id":193213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:21:37] local.INFO: Extracted packet for processing {"connection_id":193213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd06"} 
[2026-09-23 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":759007232,"raw_latitude":113464616,"longitude_deg":75.9007232,"latitude_deg":11.3464616,"altitude":32,"angle":13,"satellites":45,"speed":30,"hex_longitude":"2d3d8800","hex_latitude":"06c35528","is_valid_coordinates":true} 
[2026-09-23 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277419008001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406504326555500544,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4431119849912233984,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790146178000,"timestamp_ms":1790146178000,"timestamp_seconds":1790146178,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd06ebd0"} 
[2026-09-23 12:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 12:21: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-09-23 12:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21: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-09-23 12:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277419008001,"66":27713,"206":206,"81":21504,"24":30,"16":406504326555500544,"45":4431119849912233984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-09-23 12:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277419008001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:37] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 12:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406504326555500544,"km_value":406504326555500.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4431119849912233984,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277419008001,"power":27713,"unknown_206":206,"unknown_81":21504,"ignition":30,"odometer":null,"unknown_45":4431119849912233984}} 
[2026-09-23 12:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":193213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:37] local.INFO: GPS data processed {"connection_id":193213,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:37] local.INFO: Acknowledgment sent {"connection_id":193213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:42] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd071ab0012d3d914006c379380026000f2c..."} 
[2026-09-23 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd071ab0012d3d914006c379380026000f2c..."} 
[2026-09-23 12:21:42] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd071ab0012d3d914006c379380026000f2c..."} 
[2026-09-23 12:21:42] local.INFO: Packet analysis {"connection_id":193213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd07"} 
[2026-09-23 12:21:42] local.INFO: Extracted packet for processing {"connection_id":193213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd07"} 
[2026-09-23 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":759009600,"raw_latitude":113473848,"longitude_deg":75.90096,"latitude_deg":11.3473848,"altitude":38,"angle":15,"satellites":44,"speed":31,"hex_longitude":"2d3d9140","hex_latitude":"06c37938","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277421568001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406504786117001216,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4433793862193195008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790146190000,"timestamp_ms":1790146190000,"timestamp_seconds":1790146190,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd071ab0"} 
[2026-09-23 12:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:21: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-09-23 12: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 12:21:42] 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-09-23 12: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-09-23 12:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277421568001,"66":27821,"206":206,"81":21504,"24":31,"16":406504786117001216,"45":4433793862193195008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-09-23 12:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277421568001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:42] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 12:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406504786117001216,"km_value":406504786117001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4433793862193195008,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277421568001,"power":27821,"unknown_206":206,"unknown_81":21504,"ignition":31,"odometer":null,"unknown_45":4433793862193195008}} 
[2026-09-23 12:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":193213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:42] local.INFO: GPS data processed {"connection_id":193213,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:42] local.INFO: Acknowledgment sent {"connection_id":193213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:21:57] local.INFO: TCP Data received {"connection_id":190534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:57] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:57] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:21:58] local.INFO: TCP Data received {"connection_id":190534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:58] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:21:58] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:21:58] local.INFO: TCP Data received {"connection_id":190534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd07ca78012d180d80072193f0004800ce30..."} 
[2026-09-23 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd07ca78012d180d80072193f0004800ce30..."} 
[2026-09-23 12:21:58] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd07ca78012d180d80072193f0004800ce30..."} 
[2026-09-23 12:21:58] local.INFO: Packet analysis {"connection_id":190534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd07"} 
[2026-09-23 12:21:58] local.INFO: Extracted packet for processing {"connection_id":190534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd07"} 
[2026-09-23 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641072,"longitude_deg":75.655104,"latitude_deg":11.9641072,"altitude":72,"angle":206,"satellites":48,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072193f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277358848001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584451584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790146235000,"timestamp_ms":1790146235000,"timestamp_seconds":1790146235,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd07ca78"} 
[2026-09-23 12:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:21: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-09-23 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 12:21:58] 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-09-23 12:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":190534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":190534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":190534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277358848001,"66":2155,"107":206,"83":41984,"24":0,"16":22657275336327168,"45":1734871049584451584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277358848001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:21:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584451584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277358848001,"power":2155,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734871049584451584}} 
[2026-09-23 12:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":190534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:21:58] local.INFO: GPS data processed {"connection_id":190534,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:21:58] local.INFO: Acknowledgment sent {"connection_id":190534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:22:14] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd085ee8012d3e50c006c468700023002d2d..."} 
[2026-09-23 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd085ee8012d3e50c006c468700023002d2d..."} 
[2026-09-23 12:22:14] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd085ee8012d3e50c006c468700023002d2d..."} 
[2026-09-23 12:22:14] local.INFO: Packet analysis {"connection_id":193213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:14] local.INFO: Extracted packet for processing {"connection_id":193213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:14] local.INFO: GPS Element Parsed {"raw_longitude":759058624,"raw_latitude":113535088,"longitude_deg":75.9058624,"latitude_deg":11.3535088,"altitude":35,"angle":45,"satellites":45,"speed":37,"hex_longitude":"2d3e50c0","hex_latitude":"06c46870","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277444864001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406508703127175168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4487344476529891328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790146273000,"timestamp_ms":1790146273000,"timestamp_seconds":1790146273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd085ee8"} 
[2026-09-23 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-09-23 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-09-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 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-09-23 12:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277444864001,"66":27821,"154":206,"81":21504,"24":37,"16":406508703127175168,"45":4487344476529891328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-09-23 12:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277444864001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:22:14] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-23 12:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406508703127175168,"km_value":406508703127175.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4487344476529891328,"description":"Unknown IO ID 45"} 
[2026-09-23 12:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277444864001,"power":27821,"unknown_154":206,"unknown_81":21504,"ignition":37,"odometer":null,"unknown_45":4487344476529891328}} 
[2026-09-23 12:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":193213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:22:14] local.INFO: GPS data processed {"connection_id":193213,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:22:14] local.INFO: Acknowledgment sent {"connection_id":193213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:22:30] local.INFO: TCP Data received {"connection_id":190534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:22:30] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:22:30] local.INFO: Packet analysis {"connection_id":190534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:30] local.INFO: Extracted packet for processing {"connection_id":190534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641072,"longitude_deg":75.655104,"latitude_deg":11.9641072,"altitude":72,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072193f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277436160001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723978752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790146274000,"timestamp_ms":1790146274000,"timestamp_seconds":1790146274,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0862d0"} 
[2026-09-23 12:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:22: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-09-23 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 12:22: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-09-23 12: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-09-23 12:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277436160001,"66":2166,"107":206,"83":41984,"24":0,"16":22657275336327168,"45":1733182199723978752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277436160001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:22:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723978752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277436160001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733182199723978752}} 
[2026-09-23 12:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":190534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:22:30] local.INFO: GPS data processed {"connection_id":190534,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:22:30] local.INFO: Acknowledgment sent {"connection_id":190534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:22:32] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:32] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:32] local.INFO: IMEI packet received {"connection_id":190535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":190535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:22:36] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: IMEI packet received {"connection_id":190535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:22:36] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:22:36] local.INFO: IMEI packet received {"connection_id":190535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:22:37] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd087e28012d3e6b0006c482700021002c2e..."} 
[2026-09-23 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd087e28012d3e6b0006c482700021002c2e..."} 
[2026-09-23 12:22:37] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd087e28012d3e6b0006c482700021002c2e..."} 
[2026-09-23 12:22:37] local.INFO: Packet analysis {"connection_id":190535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:37] local.INFO: Extracted packet for processing {"connection_id":190535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":759065344,"raw_latitude":113541744,"longitude_deg":75.9065344,"latitude_deg":11.3541744,"altitude":33,"angle":44,"satellites":46,"speed":51,"hex_longitude":"2d3e6b00","hex_latitude":"06c48270","is_valid_coordinates":true} 
[2026-09-23 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277445888001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406509158393708544,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4490299963785900032,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790146281000,"timestamp_ms":1790146281000,"timestamp_seconds":1790146281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd087e28"} 
[2026-09-23 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:22: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-09-23 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 12:22: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-09-23 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:22: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-09-23 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277445888001,"66":27930,"154":206,"81":21504,"24":51,"16":406509158393708544,"45":4490299963785900032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-09-23 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277445888001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:22:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-23 12:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406509158393708544,"km_value":406509158393708.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4490299963785900032,"description":"Unknown IO ID 45"} 
[2026-09-23 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277445888001,"power":27930,"unknown_154":206,"unknown_81":21504,"ignition":51,"odometer":null,"unknown_45":4490299963785900032}} 
[2026-09-23 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":190535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:22:37] local.INFO: GPS data processed {"connection_id":190535,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:22:37] local.INFO: Acknowledgment sent {"connection_id":190535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:22:38] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd089980012d3e824006c49d58002500282d..."} 
[2026-09-23 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd089980012d3e824006c49d58002500282d..."} 
[2026-09-23 12:22:38] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd089980012d3e824006c49d58002500282d..."} 
[2026-09-23 12:22:38] local.INFO: Packet analysis {"connection_id":190535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:38] local.INFO: Extracted packet for processing {"connection_id":190535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":759071296,"raw_latitude":113548632,"longitude_deg":75.9071296,"latitude_deg":11.3548632,"altitude":37,"angle":40,"satellites":45,"speed":47,"hex_longitude":"2d3e8240","hex_latitude":"06c49d58","is_valid_coordinates":true} 
[2026-09-23 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277447936001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406509596480372736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4497688681926258688,"note":"Value kept but may cause issues"} 
[2026-09-23 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146288000,"timestamp_ms":1790146288000,"timestamp_seconds":1790146288,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd089980"} 
[2026-09-23 12:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:22: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-09-23 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277447936001,"66":27919,"154":206,"81":21504,"24":47,"16":406509596480372736,"45":4497688681926258688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-09-23 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277447936001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:22:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-23 12:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406509596480372736,"km_value":406509596480372.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4497688681926258688,"description":"Unknown IO ID 45"} 
[2026-09-23 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277447936001,"power":27919,"unknown_154":206,"unknown_81":21504,"ignition":47,"odometer":null,"unknown_45":4497688681926258688}} 
[2026-09-23 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":190535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:22:38] local.INFO: GPS data processed {"connection_id":190535,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:22:38] local.INFO: Acknowledgment sent {"connection_id":190535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:22:57] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:57] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:57] local.INFO: IMEI packet received {"connection_id":191883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":191883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:22:58] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:58] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:22:58] local.INFO: IMEI packet received {"connection_id":191883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":191883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:23:02] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:02] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:02] local.INFO: IMEI packet received {"connection_id":191883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":191883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:23:03] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:23:03] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0862d0012d180d80072193f0004800ce2c..."} 
[2026-09-23 12:23:03] local.INFO: Packet analysis {"connection_id":191883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:23:03] local.INFO: Extracted packet for processing {"connection_id":191883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd08"} 
[2026-09-23 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641072,"longitude_deg":75.655104,"latitude_deg":11.9641072,"altitude":72,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072193f0","is_valid_coordinates":true} 
[2026-09-23 12:23: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-09-23 12:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277446144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723978752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790146274000,"timestamp_ms":1790146274000,"timestamp_seconds":1790146274,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0862d0"} 
[2026-09-23 12:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:23: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-09-23 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 12:23: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-09-23 12: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-09-23 12:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277446144001,"66":2166,"107":206,"83":41984,"24":0,"16":22657275336327168,"45":1733182199723978752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277446144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723978752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277446144001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733182199723978752}} 
[2026-09-23 12:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":191883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:23:03] local.INFO: GPS data processed {"connection_id":191883,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:23:03] local.INFO: Acknowledgment sent {"connection_id":191883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:23:10] local.INFO: TCP Data received {"connection_id":190535,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd095cd0012d3eeb0006c52578001c001f2c..."} 
[2026-09-23 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd095cd0012d3eeb0006c52578001c001f2c..."} 
[2026-09-23 12:23:10] local.INFO: Processing buffer {"connection_id":190535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd095cd0012d3eeb0006c52578001c001f2c..."} 
[2026-09-23 12:23:10] local.INFO: Packet analysis {"connection_id":190535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:10] local.INFO: Extracted packet for processing {"connection_id":190535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":759098112,"raw_latitude":113583480,"longitude_deg":75.9098112,"latitude_deg":11.358348,"altitude":28,"angle":31,"satellites":44,"speed":39,"hex_longitude":"2d3eeb00","hex_latitude":"06c52578","is_valid_coordinates":true} 
[2026-09-23 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277462016001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406511889992908800,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4532380472816134144,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790146338000,"timestamp_ms":1790146338000,"timestamp_seconds":1790146338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd095cd0"} 
[2026-09-23 12:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:23: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-09-23 12:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277462016001,"66":27767,"226":206,"81":21504,"24":39,"16":406511889992908800,"45":4532380472816134144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-23 12:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277462016001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:23:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-23 12:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406511889992908800,"km_value":406511889992908.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4532380472816134144,"description":"Unknown IO ID 45"} 
[2026-09-23 12:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277462016001,"power":27767,"unknown_226":206,"unknown_81":21504,"ignition":39,"odometer":null,"unknown_45":4532380472816134144}} 
[2026-09-23 12:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":190535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:23:10] local.INFO: GPS data processed {"connection_id":190535,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:23:10] local.INFO: Acknowledgment sent {"connection_id":190535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:23:31] local.INFO: TCP Data received {"connection_id":191885,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:31] local.INFO: Processing buffer {"connection_id":191885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:31] local.INFO: IMEI packet received {"connection_id":191885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":191885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:23:36] local.INFO: TCP Data received {"connection_id":191885,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:36] local.INFO: Processing buffer {"connection_id":191885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:23:36] local.INFO: IMEI packet received {"connection_id":191885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":191885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:23:37] local.INFO: TCP Data received {"connection_id":190536,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:37] local.INFO: Processing buffer {"connection_id":190536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:37] local.INFO: IMEI packet received {"connection_id":190536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:23:37] local.INFO: TCP Data received {"connection_id":191885,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd096888012d3ef24006c52ef8001d00302d..."} 
[2026-09-23 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd096888012d3ef24006c52ef8001d00302d..."} 
[2026-09-23 12:23:37] local.INFO: Processing buffer {"connection_id":191885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd096888012d3ef24006c52ef8001d00302d..."} 
[2026-09-23 12:23:37] local.INFO: Packet analysis {"connection_id":191885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:37] local.INFO: Extracted packet for processing {"connection_id":191885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":759099968,"raw_latitude":113585912,"longitude_deg":75.9099968,"latitude_deg":11.3585912,"altitude":29,"angle":48,"satellites":45,"speed":41,"hex_longitude":"2d3ef240","hex_latitude":"06c52ef8","is_valid_coordinates":true} 
[2026-09-23 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277462528001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406512036021796864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4533717478955907072,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790146341000,"timestamp_ms":1790146341000,"timestamp_seconds":1790146341,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd096888"} 
[2026-09-23 12:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:23: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-09-23 12:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:23: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-09-23 12:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277462528001,"66":27908,"226":206,"81":21504,"24":41,"16":406512036021796864,"45":4533717478955907072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,81,24,16,45]} 
[2026-09-23 12:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277462528001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:23:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-23 12:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406512036021796864,"km_value":406512036021796.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4533717478955907072,"description":"Unknown IO ID 45"} 
[2026-09-23 12:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277462528001,"power":27908,"unknown_226":206,"unknown_81":21504,"ignition":41,"odometer":null,"unknown_45":4533717478955907072}} 
[2026-09-23 12:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":191885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:23:37] local.INFO: GPS data processed {"connection_id":191885,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:23:37] local.INFO: Acknowledgment sent {"connection_id":191885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:23:38] local.INFO: TCP Data received {"connection_id":190536,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:38] local.INFO: Processing buffer {"connection_id":190536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:38] local.INFO: IMEI packet received {"connection_id":190536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":190536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:23:45] local.INFO: TCP Data received {"connection_id":191884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:23:45] local.INFO: Processing buffer {"connection_id":191884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:23:45] local.INFO: IMEI packet received {"connection_id":191884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":191884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:23:52] local.INFO: TCP Data received {"connection_id":190345,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:52] local.INFO: Processing buffer {"connection_id":190345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:52] local.INFO: IMEI packet received {"connection_id":190345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":190345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:23:57] local.INFO: TCP Data received {"connection_id":190345,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:57] local.INFO: Processing buffer {"connection_id":190345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:23:57] local.INFO: IMEI packet received {"connection_id":190345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":190345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:23:58] local.INFO: TCP Data received {"connection_id":190345,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd091e50012d180d4007219478004801472f..."} 
[2026-09-23 12:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd091e50012d180d4007219478004801472f..."} 
[2026-09-23 12:23:58] local.INFO: Processing buffer {"connection_id":190345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd091e50012d180d4007219478004801472f..."} 
[2026-09-23 12:23:58] local.INFO: Packet analysis {"connection_id":190345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:58] local.INFO: Extracted packet for processing {"connection_id":190345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756550976,"raw_latitude":119641208,"longitude_deg":75.6550976,"latitude_deg":11.9641208,"altitude":72,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d180d40","hex_latitude":"07219478","is_valid_coordinates":true} 
[2026-09-23 12:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277453056001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657275336327168,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733111830979835904,"note":"Value kept but may cause issues"} 
[2026-09-23 12:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790146322000,"timestamp_ms":1790146322000,"timestamp_seconds":1790146322,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd091e50"} 
[2026-09-23 12:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 12:23:58] 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-09-23 12:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":190345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":190345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":190345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277453056001,"66":14080,"107":206,"83":41984,"24":0,"16":22657275336327168,"45":1733111830979835904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 12:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277453056001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:23:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 12:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657275336327168,"km_value":22657275336327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733111830979835904,"description":"Unknown IO ID 45"} 
[2026-09-23 12:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277453056001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733111830979835904}} 
[2026-09-23 12:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":190345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:23:58] local.INFO: GPS data processed {"connection_id":190345,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:23:58] local.INFO: Acknowledgment sent {"connection_id":190345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:24:09] local.INFO: TCP Data received {"connection_id":191885,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0a4f00012d3efd4006c58750002a01482b..."} 
[2026-09-23 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0a4f00012d3efd4006c58750002a01482b..."} 
[2026-09-23 12:24:09] local.INFO: Processing buffer {"connection_id":191885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0a4f00012d3efd4006c58750002a01482b..."} 
[2026-09-23 12:24:09] local.INFO: Packet analysis {"connection_id":191885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd0a"} 
[2026-09-23 12:24:09] local.INFO: Extracted packet for processing {"connection_id":191885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd0a"} 
[2026-09-23 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":759102784,"raw_latitude":113608528,"longitude_deg":75.9102784,"latitude_deg":11.3608528,"altitude":42,"angle":328,"satellites":43,"speed":18,"hex_longitude":"2d3efd40","hex_latitude":"06c58750","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277478400001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406513900037603328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4538854397287288832,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790146400000,"timestamp_ms":1790146400000,"timestamp_seconds":1790146400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0a4f00"} 
[2026-09-23 12:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:24: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-09-23 12: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-09-23 12: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-09-23 12: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-09-23 12:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:24: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-09-23 12:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277478400001,"66":27908,"216":206,"81":21504,"24":18,"16":406513900037603328,"45":4538854397287288832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 12:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277478400001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:24:09] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 12:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406513900037603328,"km_value":406513900037603.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4538854397287288832,"description":"Unknown IO ID 45"} 
[2026-09-23 12:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277478400001,"power":27908,"unknown_216":206,"unknown_81":21504,"ignition":18,"odometer":null,"unknown_45":4538854397287288832}} 
[2026-09-23 12:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":191885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:24:09] local.INFO: GPS data processed {"connection_id":191885,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:24:09] local.INFO: Acknowledgment sent {"connection_id":191885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:24:10] local.INFO: TCP Data received {"connection_id":190346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:24:10] local.INFO: Processing buffer {"connection_id":190346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:24:10] local.INFO: IMEI packet received {"connection_id":190346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":190346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:24:40] local.INFO: TCP Data received {"connection_id":190345,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd094948012d180e8007219368004a00a12f..."} 
[2026-09-23 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd094948012d180e8007219368004a00a12f..."} 
[2026-09-23 12:24:40] local.INFO: Processing buffer {"connection_id":190345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd094948012d180e8007219368004a00a12f..."} 
[2026-09-23 12:24:40] local.INFO: Packet analysis {"connection_id":190345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:24:40] local.INFO: Extracted packet for processing {"connection_id":190345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd09"} 
[2026-09-23 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119640936,"longitude_deg":75.6551296,"latitude_deg":11.9640936,"altitude":74,"angle":161,"satellites":47,"speed":1,"hex_longitude":"2d180e80","hex_latitude":"07219368","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277458432001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22657292516196352,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733111830979835904,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790146333000,"timestamp_ms":1790146333000,"timestamp_seconds":1790146333,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd094948"} 
[2026-09-23 12:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:24: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-09-23 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3439839864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2481979464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2147950995,"note":"Value kept but may cause issues"} 
[2026-09-23 12:24:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,126,160,204,45,64,148,72,47,10,66,122,43,98,128,1,240,118,227,205,33,4,113,13,44,239,8,2,80,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 12:24:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188506512896557056,"timestamp_seconds":5188506512896557.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277458432001,"66":14102,"105":206,"83":41984,"24":1,"16":22657292516196352,"45":1733111830979835904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 12:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277458432001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:24:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 12:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22657292516196352,"km_value":22657292516196.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733111830979835904,"description":"Unknown IO ID 45"} 
[2026-09-23 12:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277458432001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1733111830979835904}} 
[2026-09-23 12:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":190345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:24:40] local.INFO: GPS data processed {"connection_id":190345,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:24:40] local.INFO: Acknowledgment sent {"connection_id":190345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:24:47] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:24:47] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:24:47] local.INFO: IMEI packet received {"connection_id":190537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":190537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:24:49] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 12:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 12:24:49] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 12:24:49] local.INFO: IMEI packet received {"connection_id":190537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":190537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:25:32] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:32] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:32] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:25:34] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:34] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:34] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:25:43] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:43] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:25:43] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:26:05] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:26:05] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:26:05] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:29:35] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:29:35] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:29:35] local.INFO: IMEI packet received {"connection_id":190351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":190351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:29:51] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:29:51] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:29:51] local.INFO: IMEI packet received {"connection_id":191889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":191889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:29:52] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0eb7e8012d3f688006c8e6780016003026..."} 
[2026-09-23 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0eb7e8012d3f688006c8e6780016003026..."} 
[2026-09-23 12:29:52] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0eb7e8012d3f688006c8e6780016003026..."} 
[2026-09-23 12:29:52] local.INFO: Packet analysis {"connection_id":191889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd0e"} 
[2026-09-23 12:29:52] local.INFO: Extracted packet for processing {"connection_id":191889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd0e"} 
[2026-09-23 12:29:52] local.INFO: GPS Element Parsed {"raw_longitude":759130240,"raw_latitude":113829496,"longitude_deg":75.913024,"latitude_deg":11.3829496,"altitude":22,"angle":48,"satellites":38,"speed":42,"hex_longitude":"2d3f6880","hex_latitude":"06c8e678","is_valid_coordinates":true} 
[2026-09-23 12:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277551872001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406526016140345344,"note":"Value kept but may cause issues"} 
[2026-09-23 12:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4567142632502974464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790146689000,"timestamp_ms":1790146689000,"timestamp_seconds":1790146689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0eb7e8"} 
[2026-09-23 12:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:29: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-09-23 12:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 12:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:29:52] 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-09-23 12:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277551872001,"66":26832,"121":206,"81":21504,"24":42,"16":406526016140345344,"45":4567142632502974464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,81,24,16,45]} 
[2026-09-23 12:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277551872001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:29:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-23 12:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406526016140345344,"km_value":406526016140345.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4567142632502974464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277551872001,"power":26832,"unknown_121":206,"unknown_81":21504,"ignition":42,"odometer":null,"unknown_45":4567142632502974464}} 
[2026-09-23 12:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":191889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:29:52] local.INFO: GPS data processed {"connection_id":191889,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:29:52] local.INFO: Acknowledgment sent {"connection_id":191889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:30:10] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:10] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:10] local.INFO: IMEI packet received {"connection_id":190543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":190543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:30:15] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:15] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:30:15] local.INFO: IMEI packet received {"connection_id":190543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 12:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":190543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:30:16] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd03c338012c3756c00a3c3790022f00af2f..."} 
[2026-09-23 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd03c338012c3756c00a3c3790022f00af2f..."} 
[2026-09-23 12:30:16] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd03c338012c3756c00a3c3790022f00af2f..."} 
[2026-09-23 12:30:16] local.INFO: Packet analysis {"connection_id":190543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:30:16] local.INFO: Extracted packet for processing {"connection_id":190543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd03"} 
[2026-09-23 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":741824192,"raw_latitude":171718544,"longitude_deg":74.1824192,"latitude_deg":17.1718544,"altitude":559,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2c3756c0","hex_latitude":"0a3c3790","is_valid_coordinates":true} 
[2026-09-23 12:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277363200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605049519374336,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3988007882746077186,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,234,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790145971000,"timestamp_ms":1790145971000,"timestamp_seconds":1790145971,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd03c338"} 
[2026-09-23 12:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:30: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-09-23 12:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 12:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 12:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 12:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 12:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 12:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277363200001,"66":28539,"166":206,"234":30976,"24":0,"16":3605049519374336,"44":3988007882746077186},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,234,24,16,44]} 
[2026-09-23 12:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 12:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 12:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277363200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:30:16] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-23 12:30:16] local.INFO: Unknown IO ID detected {"io_id":234,"value":30976,"description":"Unknown IO ID 234"} 
[2026-09-23 12:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605049519374336,"km_value":3605049519374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":3988007882746077186,"description":"Unknown IO ID 44"} 
[2026-09-23 12:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277363200001,"power":28539,"unknown_166":206,"unknown_234":30976,"ignition":0,"odometer":null,"unknown_44":3988007882746077186}} 
[2026-09-23 12:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":190543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:30:16] local.INFO: GPS data processed {"connection_id":190543,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:30:16] local.INFO: Acknowledgment sent {"connection_id":190543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:30:32] local.INFO: TCP Data received {"connection_id":193216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:32] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:32] local.INFO: IMEI packet received {"connection_id":193216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":193216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:30:36] local.INFO: TCP Data received {"connection_id":193216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:36] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:30:36] local.INFO: IMEI packet received {"connection_id":193216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":193216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:30:38] local.INFO: TCP Data received {"connection_id":193216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0ecf58012d3f7b8006c8f6d80017003c2a..."} 
[2026-09-23 12:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0ecf58012d3f7b8006c8f6d80017003c2a..."} 
[2026-09-23 12:30:38] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0ecf58012d3f7b8006c8f6d80017003c2a..."} 
[2026-09-23 12:30:38] local.INFO: Packet analysis {"connection_id":193216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd0e"} 
[2026-09-23 12:30:38] local.INFO: Extracted packet for processing {"connection_id":193216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd0e"} 
[2026-09-23 12:30:38] local.INFO: GPS Element Parsed {"raw_longitude":759135104,"raw_latitude":113833688,"longitude_deg":75.9135104,"latitude_deg":11.3833688,"altitude":23,"angle":60,"satellites":42,"speed":41,"hex_longitude":"2d3f7b80","hex_latitude":"06c8f6d8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277552384001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406526325377990656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4569042588596074496,"note":"Value kept but may cause issues"} 
[2026-09-23 12:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146695000,"timestamp_ms":1790146695000,"timestamp_seconds":1790146695,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0ecf58"} 
[2026-09-23 12:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-23 12:30:38] 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-09-23 12: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-09-23 12:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277552384001,"66":27984,"121":206,"81":21504,"24":41,"16":406526325377990656,"45":4569042588596074496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,81,24,16,45]} 
[2026-09-23 12:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277552384001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-23 12:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406526325377990656,"km_value":406526325377990.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4569042588596074496,"description":"Unknown IO ID 45"} 
[2026-09-23 12:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277552384001,"power":27984,"unknown_121":206,"unknown_81":21504,"ignition":41,"odometer":null,"unknown_45":4569042588596074496}} 
[2026-09-23 12:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":193216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:30:38] local.INFO: GPS data processed {"connection_id":193216,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:30:38] local.INFO: Acknowledgment sent {"connection_id":193216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:31:05] local.INFO: TCP Data received {"connection_id":190545,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:31:05] local.INFO: Processing buffer {"connection_id":190545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:31:05] local.INFO: IMEI packet received {"connection_id":190545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":190545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:31:06] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:31:06] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:31:06] local.INFO: IMEI packet received {"connection_id":190544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":190544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:31:09] local.INFO: TCP Data received {"connection_id":193216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd107d08012d40ae4006c9e378001f001a2b..."} 
[2026-09-23 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd107d08012d40ae4006c9e378001f001a2b..."} 
[2026-09-23 12:31:09] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd107d08012d40ae4006c9e378001f001a2b..."} 
[2026-09-23 12:31:09] local.INFO: Packet analysis {"connection_id":193216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:09] local.INFO: Extracted packet for processing {"connection_id":193216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":759213632,"raw_latitude":113894264,"longitude_deg":75.9213632,"latitude_deg":11.3894264,"altitude":31,"angle":26,"satellites":43,"speed":41,"hex_longitude":"2d40ae40","hex_latitude":"06c9e378","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277580544001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406531195870904320,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4656933150089252864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790146805000,"timestamp_ms":1790146805000,"timestamp_seconds":1790146805,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd107d08"} 
[2026-09-23 12:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:31: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-09-23 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:31: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-09-23 12: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-09-23 12:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31: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-09-23 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277580544001,"66":27952,"43":206,"81":21504,"24":41,"16":406531195870904320,"45":4656933150089252864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,81,24,16,45]} 
[2026-09-23 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277580544001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:31:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 12:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406531195870904320,"km_value":406531195870904.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4656933150089252864,"description":"Unknown IO ID 45"} 
[2026-09-23 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277580544001,"power":27952,"unknown_43":206,"unknown_81":21504,"ignition":41,"odometer":null,"unknown_45":4656933150089252864}} 
[2026-09-23 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":193216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:31:09] local.INFO: GPS data processed {"connection_id":193216,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:31:09] local.INFO: Acknowledgment sent {"connection_id":193216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:31:24] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd0ff450012d1b5d8007252ba0002300082a..."} 
[2026-09-23 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd0ff450012d1b5d8007252ba0002300082a..."} 
[2026-09-23 12:31:24] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd0ff450012d1b5d8007252ba0002300082a..."} 
[2026-09-23 12:31:24] local.INFO: Packet analysis {"connection_id":190544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd0f"} 
[2026-09-23 12:31:24] local.INFO: Extracted packet for processing {"connection_id":190544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd0f"} 
[2026-09-23 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119876512,"longitude_deg":75.6768128,"latitude_deg":11.9876512,"altitude":35,"angle":8,"satellites":42,"speed":29,"hex_longitude":"2d1b5d80","hex_latitude":"07252ba0","is_valid_coordinates":true} 
[2026-09-23 12:31: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-09-23 12:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277569280001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22674291996753920,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655195650048,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790146770000,"timestamp_ms":1790146770000,"timestamp_seconds":1790146770,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd0ff450"} 
[2026-09-23 12:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 12:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277569280001,"66":14211,"44":206,"83":41984,"24":29,"16":22674291996753920,"45":1969902655195650048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-23 12:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277569280001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 12:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22674291996753920,"km_value":22674291996753.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655195650048,"description":"Unknown IO ID 45"} 
[2026-09-23 12:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277569280001,"power":14211,"unknown_44":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1969902655195650048}} 
[2026-09-23 12:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":190544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:31:24] local.INFO: GPS data processed {"connection_id":190544,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:31:24] local.INFO: Acknowledgment sent {"connection_id":190544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:31:31] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:31] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:31] local.INFO: IMEI packet received {"connection_id":193217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":193217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:31:36] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: IMEI packet received {"connection_id":193217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":193217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:31:36] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:31:36] local.INFO: IMEI packet received {"connection_id":193217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":193217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:31:38] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd10a030012d40bdc006ca06700020001326..."} 
[2026-09-23 12:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd10a030012d40bdc006ca06700020001326..."} 
[2026-09-23 12:31:38] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd10a030012d40bdc006ca06700020001326..."} 
[2026-09-23 12:31:38] local.INFO: Packet analysis {"connection_id":193217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:38] local.INFO: Extracted packet for processing {"connection_id":193217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":759217600,"raw_latitude":113903216,"longitude_deg":75.92176,"latitude_deg":11.3903216,"altitude":32,"angle":19,"satellites":38,"speed":43,"hex_longitude":"2d40bdc0","hex_latitude":"06ca0670","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277582080001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406531668317306880,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4660733062276151296,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146814000,"timestamp_ms":1790146814000,"timestamp_seconds":1790146814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd10a030"} 
[2026-09-23 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-09-23 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 12:31: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-09-23 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-09-23 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-09-23 12:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277582080001,"66":27974,"43":206,"81":21504,"24":43,"16":406531668317306880,"45":4660733062276151296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,81,24,16,45]} 
[2026-09-23 12:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277582080001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:31:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 12:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406531668317306880,"km_value":406531668317306.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4660733062276151296,"description":"Unknown IO ID 45"} 
[2026-09-23 12:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277582080001,"power":27974,"unknown_43":206,"unknown_81":21504,"ignition":43,"odometer":null,"unknown_45":4660733062276151296}} 
[2026-09-23 12:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":193217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:31:38] local.INFO: GPS data processed {"connection_id":193217,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:31:38] local.INFO: Acknowledgment sent {"connection_id":193217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:31:42] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd10bf70012d40cb0006ca28580022001429..."} 
[2026-09-23 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd10bf70012d40cb0006ca28580022001429..."} 
[2026-09-23 12:31:42] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd10bf70012d40cb0006ca28580022001429..."} 
[2026-09-23 12:31:42] local.INFO: Packet analysis {"connection_id":193217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:42] local.INFO: Extracted packet for processing {"connection_id":193217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":759220992,"raw_latitude":113911896,"longitude_deg":75.9220992,"latitude_deg":11.3911896,"altitude":34,"angle":20,"satellites":41,"speed":46,"hex_longitude":"2d40cb00","hex_latitude":"06ca2858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277584384001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406532119288872960,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4665095924417458176,"note":"Value kept but may cause issues"} 
[2026-09-23 12:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790146822000,"timestamp_ms":1790146822000,"timestamp_seconds":1790146822,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd10bf70"} 
[2026-09-23 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-09-23 12: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-09-23 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:31: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-09-23 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-09-23 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-09-23 12:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277584384001,"66":27843,"114":206,"81":21504,"24":46,"16":406532119288872960,"45":4665095924417458176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277584384001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:31:42] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406532119288872960,"km_value":406532119288872.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4665095924417458176,"description":"Unknown IO ID 45"} 
[2026-09-23 12:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277584384001,"power":27843,"unknown_114":206,"unknown_81":21504,"ignition":46,"odometer":null,"unknown_45":4665095924417458176}} 
[2026-09-23 12:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":193217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:31:42] local.INFO: GPS data processed {"connection_id":193217,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:31:42] local.INFO: Acknowledgment sent {"connection_id":193217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:32:05] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:05] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:05] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:32:07] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:07] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:07] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:08] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:08] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:08] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:09] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:09] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:32:09] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:14] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd10e298012d40d90006ca4b30002600152a..."} 
[2026-09-23 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd10e298012d40d90006ca4b30002600152a..."} 
[2026-09-23 12:32:14] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd10e298012d40d90006ca4b30002600152a..."} 
[2026-09-23 12:32:14] local.INFO: Packet analysis {"connection_id":193217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:32:14] local.INFO: Extracted packet for processing {"connection_id":193217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd10"} 
[2026-09-23 12:32:14] local.INFO: GPS Element Parsed {"raw_longitude":759224576,"raw_latitude":113920816,"longitude_deg":75.9224576,"latitude_deg":11.3920816,"altitude":38,"angle":21,"satellites":42,"speed":37,"hex_longitude":"2d40d900","hex_latitude":"06ca4b30","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277586432001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406532583145340928,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4668825467861096448,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790146831000,"timestamp_ms":1790146831000,"timestamp_seconds":1790146831,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd10e298"} 
[2026-09-23 12:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:32: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-09-23 12: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-09-23 12:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32: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-09-23 12:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277586432001,"66":27908,"114":206,"81":21504,"24":37,"16":406532583145340928,"45":4668825467861096448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277586432001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:32:14] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406532583145340928,"km_value":406532583145340.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4668825467861096448,"description":"Unknown IO ID 45"} 
[2026-09-23 12:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277586432001,"power":27908,"unknown_114":206,"unknown_81":21504,"ignition":37,"odometer":null,"unknown_45":4668825467861096448}} 
[2026-09-23 12:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":193217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:32:14] local.INFO: GPS data processed {"connection_id":193217,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:32:14] local.INFO: Acknowledgment sent {"connection_id":193217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:32:35] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:35] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:35] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:32:36] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:36] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:36] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:37] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:37] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:37] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:40] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:40] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:32:40] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:32:41] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd111560012d40e4c006ca6d580029000d2d..."} 
[2026-09-23 12:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd111560012d40e4c006ca6d580029000d2d..."} 
[2026-09-23 12:32:41] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd111560012d40e4c006ca6d580029000d2d..."} 
[2026-09-23 12:32:41] local.INFO: Packet analysis {"connection_id":190352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:32:41] local.INFO: Extracted packet for processing {"connection_id":190352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:32:41] local.INFO: GPS Element Parsed {"raw_longitude":759227584,"raw_latitude":113929560,"longitude_deg":75.9227584,"latitude_deg":11.392956,"altitude":41,"angle":13,"satellites":45,"speed":21,"hex_longitude":"2d40e4c0","hex_latitude":"06ca6d58","is_valid_coordinates":true} 
[2026-09-23 12:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277588736001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406533034116907008,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4672766117537329152,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790146844000,"timestamp_ms":1790146844000,"timestamp_seconds":1790146844,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd111560"} 
[2026-09-23 12:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 12:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277588736001,"66":27919,"114":206,"81":21504,"24":21,"16":406533034116907008,"45":4672766117537329152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277588736001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:32:41] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406533034116907008,"km_value":406533034116907.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4672766117537329152,"description":"Unknown IO ID 45"} 
[2026-09-23 12:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277588736001,"power":27919,"unknown_114":206,"unknown_81":21504,"ignition":21,"odometer":null,"unknown_45":4672766117537329152}} 
[2026-09-23 12:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":190352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:32:41] local.INFO: GPS data processed {"connection_id":190352,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:32:41] local.INFO: Acknowledgment sent {"connection_id":190352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:32:43] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd114828012d40ed4006ca9138002b00102c..."} 
[2026-09-23 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd114828012d40ed4006ca9138002b00102c..."} 
[2026-09-23 12:32:43] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd114828012d40ed4006ca9138002b00102c..."} 
[2026-09-23 12:32:43] local.INFO: Packet analysis {"connection_id":190352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:32:43] local.INFO: Extracted packet for processing {"connection_id":190352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":759229760,"raw_latitude":113938744,"longitude_deg":75.922976,"latitude_deg":11.3938744,"altitude":43,"angle":16,"satellites":44,"speed":34,"hex_longitude":"2d40ed40","hex_latitude":"06ca9138","is_valid_coordinates":true} 
[2026-09-23 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277592064001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406533489383440384,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4676073448515917824,"note":"Value kept but may cause issues"} 
[2026-09-23 12:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790146857000,"timestamp_ms":1790146857000,"timestamp_seconds":1790146857,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd114828"} 
[2026-09-23 12:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 12:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:32: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-09-23 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277592064001,"66":27974,"114":206,"81":21504,"24":34,"16":406533489383440384,"45":4676073448515917824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277592064001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:32:43] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406533489383440384,"km_value":406533489383440.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4676073448515917824,"description":"Unknown IO ID 45"} 
[2026-09-23 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277592064001,"power":27974,"unknown_114":206,"unknown_81":21504,"ignition":34,"odometer":null,"unknown_45":4676073448515917824}} 
[2026-09-23 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":190352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:32:43] local.INFO: GPS data processed {"connection_id":190352,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:32:43] local.INFO: Acknowledgment sent {"connection_id":190352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:33:13] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd117320012d40fa0006cab518002c00132c..."} 
[2026-09-23 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd117320012d40fa0006cab518002c00132c..."} 
[2026-09-23 12:33:13] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd117320012d40fa0006cab518002c00132c..."} 
[2026-09-23 12:33:13] local.INFO: Packet analysis {"connection_id":190352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:33:13] local.INFO: Extracted packet for processing {"connection_id":190352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":759233024,"raw_latitude":113947928,"longitude_deg":75.9233024,"latitude_deg":11.3947928,"altitude":44,"angle":19,"satellites":44,"speed":40,"hex_longitude":"2d40fa00","hex_latitude":"06cab518","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277595392001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406533961829842944,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4678465985820309504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790146868000,"timestamp_ms":1790146868000,"timestamp_seconds":1790146868,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd117320"} 
[2026-09-23 12:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:33: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-09-23 12: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-09-23 12:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:33: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-09-23 12:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277595392001,"66":27767,"114":206,"81":21504,"24":40,"16":406533961829842944,"45":4678465985820309504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277595392001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:33:13] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406533961829842944,"km_value":406533961829842.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4678465985820309504,"description":"Unknown IO ID 45"} 
[2026-09-23 12:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277595392001,"power":27767,"unknown_114":206,"unknown_81":21504,"ignition":40,"odometer":null,"unknown_45":4678465985820309504}} 
[2026-09-23 12:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":190352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:33:13] local.INFO: GPS data processed {"connection_id":190352,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:33:13] local.INFO: Acknowledgment sent {"connection_id":190352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:33:31] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:31] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:31] local.INFO: IMEI packet received {"connection_id":193219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":193219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:33:32] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:32] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:32] local.INFO: IMEI packet received {"connection_id":193219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":193219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:33:36] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:36] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:33:36] local.INFO: IMEI packet received {"connection_id":193219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":193219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:33:38] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd119260012d41068006cad5b0002b00152c..."} 
[2026-09-23 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd119260012d41068006cad5b0002b00152c..."} 
[2026-09-23 12:33:38] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd119260012d41068006cad5b0002b00152c..."} 
[2026-09-23 12:33:38] local.INFO: Packet analysis {"connection_id":193219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:33:38] local.INFO: Extracted packet for processing {"connection_id":193219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":759236224,"raw_latitude":113956272,"longitude_deg":75.9236224,"latitude_deg":11.3956272,"altitude":43,"angle":21,"satellites":44,"speed":46,"hex_longitude":"2d410680","hex_latitude":"06cad5b0","is_valid_coordinates":true} 
[2026-09-23 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277598208001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406534395621539840,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4682054791775721472,"note":"Value kept but may cause issues"} 
[2026-09-23 12:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146876000,"timestamp_ms":1790146876000,"timestamp_seconds":1790146876,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd119260"} 
[2026-09-23 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277598208001,"66":27647,"114":206,"81":21504,"24":46,"16":406534395621539840,"45":4682054791775721472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277598208001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:33:38] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 12:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406534395621539840,"km_value":406534395621539.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4682054791775721472,"description":"Unknown IO ID 45"} 
[2026-09-23 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277598208001,"power":27647,"unknown_114":206,"unknown_81":21504,"ignition":46,"odometer":null,"unknown_45":4682054791775721472}} 
[2026-09-23 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":193219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:33:38] local.INFO: GPS data processed {"connection_id":193219,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:33:38] local.INFO: Acknowledgment sent {"connection_id":193219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:34:10] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd11adb8012d410fc006caf0900029000a2d..."} 
[2026-09-23 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd11adb8012d410fc006caf0900029000a2d..."} 
[2026-09-23 12:34:10] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd11adb8012d410fc006caf0900029000a2d..."} 
[2026-09-23 12:34:10] local.INFO: Packet analysis {"connection_id":193219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:34:10] local.INFO: Extracted packet for processing {"connection_id":193219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":759238592,"raw_latitude":113963152,"longitude_deg":75.9238592,"latitude_deg":11.3963152,"altitude":41,"angle":10,"satellites":45,"speed":39,"hex_longitude":"2d410fc0","hex_latitude":"06caf090","is_valid_coordinates":true} 
[2026-09-23 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277600256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406534747808858112,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4685573228986740736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790146883000,"timestamp_ms":1790146883000,"timestamp_seconds":1790146883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd11adb8"} 
[2026-09-23 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-09-23 12:34: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-09-23 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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277600256001,"66":27713,"113":206,"81":21504,"24":39,"16":406534747808858112,"45":4685573228986740736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277600256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:34:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406534747808858112,"km_value":406534747808858.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4685573228986740736,"description":"Unknown IO ID 45"} 
[2026-09-23 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277600256001,"power":27713,"unknown_113":206,"unknown_81":21504,"ignition":39,"odometer":null,"unknown_45":4685573228986740736}} 
[2026-09-23 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":193219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:34:10] local.INFO: GPS data processed {"connection_id":193219,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:34:10] local.INFO: Acknowledgment sent {"connection_id":193219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:34:32] local.INFO: TCP Data received {"connection_id":193220,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:32] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:32] local.INFO: IMEI packet received {"connection_id":193220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":193220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:34:36] local.INFO: TCP Data received {"connection_id":193220,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:36] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:34:36] local.INFO: IMEI packet received {"connection_id":193220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":193220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:34:37] local.INFO: TCP Data received {"connection_id":193220,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd11c910012d41160006cb0c08002800162c..."} 
[2026-09-23 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd11c910012d41160006cb0c08002800162c..."} 
[2026-09-23 12:34:37] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd11c910012d41160006cb0c08002800162c..."} 
[2026-09-23 12:34:37] local.INFO: Packet analysis {"connection_id":193220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:34:37] local.INFO: Extracted packet for processing {"connection_id":193220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":759240192,"raw_latitude":113970184,"longitude_deg":75.9240192,"latitude_deg":11.3970184,"altitude":40,"angle":22,"satellites":44,"speed":41,"hex_longitude":"2d411600","hex_latitude":"06cb0c08","is_valid_coordinates":true} 
[2026-09-23 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277602048001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406535099996176384,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4688176872523075584,"note":"Value kept but may cause issues"} 
[2026-09-23 12:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790146890000,"timestamp_ms":1790146890000,"timestamp_seconds":1790146890,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd11c910"} 
[2026-09-23 12:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 12:34: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-09-23 12:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:34: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-09-23 12:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277602048001,"66":27767,"113":206,"81":21504,"24":41,"16":406535099996176384,"45":4688176872523075584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277602048001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:34:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406535099996176384,"km_value":406535099996176.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4688176872523075584,"description":"Unknown IO ID 45"} 
[2026-09-23 12:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277602048001,"power":27767,"unknown_113":206,"unknown_81":21504,"ignition":41,"odometer":null,"unknown_45":4688176872523075584}} 
[2026-09-23 12:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":193220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:34:37] local.INFO: GPS data processed {"connection_id":193220,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:34:37] local.INFO: Acknowledgment sent {"connection_id":193220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:35:08] local.INFO: TCP Data received {"connection_id":193220,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd11f7f0012d41274006cb2c980028001e2d..."} 
[2026-09-23 12:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd11f7f0012d41274006cb2c980028001e2d..."} 
[2026-09-23 12:35:08] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd11f7f0012d41274006cb2c980028001e2d..."} 
[2026-09-23 12:35:08] local.INFO: Packet analysis {"connection_id":193220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:35:08] local.INFO: Extracted packet for processing {"connection_id":193220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd11"} 
[2026-09-23 12:35:08] local.INFO: GPS Element Parsed {"raw_longitude":759244608,"raw_latitude":113978520,"longitude_deg":75.9244608,"latitude_deg":11.397852,"altitude":40,"angle":30,"satellites":45,"speed":32,"hex_longitude":"2d412740","hex_latitude":"06cb2c98","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277603840001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406535555262709760,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4689936091129317376,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790146902000,"timestamp_ms":1790146902000,"timestamp_seconds":1790146902,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd11f7f0"} 
[2026-09-23 12:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:35: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-09-23 12: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-09-23 12:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:35: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-09-23 12:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277603840001,"66":27865,"113":206,"81":21504,"24":32,"16":406535555262709760,"45":4689936091129317376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277603840001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:35:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406535555262709760,"km_value":406535555262709.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4689936091129317376,"description":"Unknown IO ID 45"} 
[2026-09-23 12:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277603840001,"power":27865,"unknown_113":206,"unknown_81":21504,"ignition":32,"odometer":null,"unknown_45":4689936091129317376}} 
[2026-09-23 12:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":193220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:35:08] local.INFO: GPS data processed {"connection_id":193220,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:35:08] local.INFO: Acknowledgment sent {"connection_id":193220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:35:31] local.INFO: TCP Data received {"connection_id":191893,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:31] local.INFO: Processing buffer {"connection_id":191893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:31] local.INFO: IMEI packet received {"connection_id":191893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":191893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:35:36] local.INFO: TCP Data received {"connection_id":191893,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:36] local.INFO: Processing buffer {"connection_id":191893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:35:36] local.INFO: IMEI packet received {"connection_id":191893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":191893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:35:38] local.INFO: TCP Data received {"connection_id":191893,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1203a8012d412d8006cb3480002700302c..."} 
[2026-09-23 12:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1203a8012d412d8006cb3480002700302c..."} 
[2026-09-23 12:35:38] local.INFO: Processing buffer {"connection_id":191893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1203a8012d412d8006cb3480002700302c..."} 
[2026-09-23 12:35:38] local.INFO: Packet analysis {"connection_id":191893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:35:38] local.INFO: Extracted packet for processing {"connection_id":191893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":759246208,"raw_latitude":113980544,"longitude_deg":75.9246208,"latitude_deg":11.3980544,"altitude":39,"angle":48,"satellites":44,"speed":35,"hex_longitude":"2d412d80","hex_latitude":"06cb3480","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277606912001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406535679816761344,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4694791534479710208,"note":"Value kept but may cause issues"} 
[2026-09-23 12:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146905000,"timestamp_ms":1790146905000,"timestamp_seconds":1790146905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1203a8"} 
[2026-09-23 12:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12:35: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-09-23 12: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-09-23 12:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:35: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-09-23 12:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277606912001,"66":27865,"113":206,"81":21504,"24":35,"16":406535679816761344,"45":4694791534479710208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277606912001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:35:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406535679816761344,"km_value":406535679816761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4694791534479710208,"description":"Unknown IO ID 45"} 
[2026-09-23 12:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277606912001,"power":27865,"unknown_113":206,"unknown_81":21504,"ignition":35,"odometer":null,"unknown_45":4694791534479710208}} 
[2026-09-23 12:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":191893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:35:38] local.INFO: GPS data processed {"connection_id":191893,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:35:38] local.INFO: Acknowledgment sent {"connection_id":191893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:36:10] local.INFO: TCP Data received {"connection_id":191893,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd122ea0012d41498006cb48200026003b2c..."} 
[2026-09-23 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd122ea0012d41498006cb48200026003b2c..."} 
[2026-09-23 12:36:10] local.INFO: Processing buffer {"connection_id":191893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd122ea0012d41498006cb48200026003b2c..."} 
[2026-09-23 12:36:10] local.INFO: Packet analysis {"connection_id":191893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:10] local.INFO: Extracted packet for processing {"connection_id":191893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":759253376,"raw_latitude":113985568,"longitude_deg":75.9253376,"latitude_deg":11.3985568,"altitude":38,"angle":59,"satellites":44,"speed":16,"hex_longitude":"2d414980","hex_latitude":"06cb4820","is_valid_coordinates":true} 
[2026-09-23 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277607680001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536100723556352,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4696550753084669952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790146916000,"timestamp_ms":1790146916000,"timestamp_seconds":1790146916,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd122ea0"} 
[2026-09-23 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:36: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-09-23 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12:36: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-09-23 12:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277607680001,"66":27843,"113":206,"81":21504,"24":16,"16":406536100723556352,"45":4696550753084669952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277607680001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:36:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536100723556352,"km_value":406536100723556.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4696550753084669952,"description":"Unknown IO ID 45"} 
[2026-09-23 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277607680001,"power":27843,"unknown_113":206,"unknown_81":21504,"ignition":16,"odometer":null,"unknown_45":4696550753084669952}} 
[2026-09-23 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":191893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:36:10] local.INFO: GPS data processed {"connection_id":191893,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:36:10] local.INFO: Acknowledgment sent {"connection_id":191893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:36:25] local.INFO: TCP Data received {"connection_id":190548,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:36:25] local.INFO: Processing buffer {"connection_id":190548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:36:25] local.INFO: IMEI packet received {"connection_id":190548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":190548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:36:31] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:31] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:31] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:36:36] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:36] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:36:36] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:36:38] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd123670012d414c0006cb4930002600472b..."} 
[2026-09-23 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd123670012d414c0006cb4930002600472b..."} 
[2026-09-23 12:36:38] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd123670012d414c0006cb4930002600472b..."} 
[2026-09-23 12:36:38] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:38] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":759254016,"raw_latitude":113985840,"longitude_deg":75.9254016,"latitude_deg":11.398584,"altitude":38,"angle":71,"satellites":43,"speed":9,"hex_longitude":"2d414c00","hex_latitude":"06cb4930","is_valid_coordinates":true} 
[2026-09-23 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277610496001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536130788327424,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4704432052433854464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790146918000,"timestamp_ms":1790146918000,"timestamp_seconds":1790146918,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd123670"} 
[2026-09-23 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36: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-09-23 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277610496001,"66":27745,"113":206,"81":21504,"24":9,"16":406536130788327424,"45":4704432052433854464},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277610496001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:36:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536130788327424,"km_value":406536130788327.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4704432052433854464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277610496001,"power":27745,"unknown_113":206,"unknown_81":21504,"ignition":9,"odometer":null,"unknown_45":4704432052433854464}} 
[2026-09-23 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:36:38] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:36:38] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:36:39] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd124228012d414dc006cb49800025005b2b..."} 
[2026-09-23 12:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd124228012d414dc006cb49800025005b2b..."} 
[2026-09-23 12:36:39] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd124228012d414dc006cb49800025005b2b..."} 
[2026-09-23 12:36:39] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:39] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:36:39] local.INFO: GPS Element Parsed {"raw_longitude":759254464,"raw_latitude":113985920,"longitude_deg":75.9254464,"latitude_deg":11.398592,"altitude":37,"angle":91,"satellites":43,"speed":5,"hex_longitude":"2d414dc0","hex_latitude":"06cb4980","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277611008001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536152263163904,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4705135739875700736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790146921000,"timestamp_ms":1790146921000,"timestamp_seconds":1790146921,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd124228"} 
[2026-09-23 12:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:36: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-09-23 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:36: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-09-23 12: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-09-23 12:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:36:39] 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-09-23 12:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277611008001,"66":27843,"113":206,"81":21504,"24":5,"16":406536152263163904,"45":4705135739875700736},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277611008001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:36:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536152263163904,"km_value":406536152263163.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4705135739875700736,"description":"Unknown IO ID 45"} 
[2026-09-23 12:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277611008001,"power":27843,"unknown_113":206,"unknown_81":21504,"ignition":5,"odometer":null,"unknown_45":4705135739875700736}} 
[2026-09-23 12:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:36:39] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:36:39] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:37:10] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:37:10] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:37:10] local.INFO: IMEI packet received {"connection_id":190550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":190550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:37:10] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:10] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:10] local.INFO: IMEI packet received {"connection_id":190549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":190549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:37:11] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1612b8012d19c100072654900025015c29..."} 
[2026-09-23 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1612b8012d19c100072654900025015c29..."} 
[2026-09-23 12:37:11] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1612b8012d19c100072654900025015c29..."} 
[2026-09-23 12:37:11] local.INFO: Packet analysis {"connection_id":190549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:37:11] local.INFO: Extracted packet for processing {"connection_id":190549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119952528,"longitude_deg":75.6662528,"latitude_deg":11.9952528,"altitude":37,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2d19c100","hex_latitude":"07265490","is_valid_coordinates":true} 
[2026-09-23 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277670400001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682821801803776,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855764552161202176,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790147171000,"timestamp_ms":1790147171000,"timestamp_seconds":1790147171,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1612b8"} 
[2026-09-23 12:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:37: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-09-23 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 12:37:11] 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-09-23 12:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277670400001,"66":12939,"232":206,"83":42752,"24":0,"16":22682821801803776,"45":1855764552161202176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277670400001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:37:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682821801803776,"km_value":22682821801803.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855764552161202176,"description":"Unknown IO ID 45"} 
[2026-09-23 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277670400001,"power":12939,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1855764552161202176}} 
[2026-09-23 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:37:11] local.INFO: GPS data processed {"connection_id":190549,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:37:11] local.INFO: Acknowledgment sent {"connection_id":190549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:37:12] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd126d20012d4159c006cb4730002300682b..."} 
[2026-09-23 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd126d20012d4159c006cb4730002300682b..."} 
[2026-09-23 12:37:12] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd126d20012d4159c006cb4730002300682b..."} 
[2026-09-23 12:37:12] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:37:12] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":759257536,"raw_latitude":113985328,"longitude_deg":75.9257536,"latitude_deg":11.3985328,"altitude":35,"angle":104,"satellites":43,"speed":12,"hex_longitude":"2d4159c0","hex_latitude":"06cb4730","is_valid_coordinates":true} 
[2026-09-23 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277611776001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536302587019264,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4705628321084964864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790146932000,"timestamp_ms":1790146932000,"timestamp_seconds":1790146932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd126d20"} 
[2026-09-23 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:37: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-09-23 12:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:37:12] 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-09-23 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277611776001,"66":27767,"113":206,"81":21504,"24":12,"16":406536302587019264,"45":4705628321084964864},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277611776001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:37:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:37:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536302587019264,"km_value":406536302587019.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4705628321084964864,"description":"Unknown IO ID 45"} 
[2026-09-23 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277611776001,"power":27767,"unknown_113":206,"unknown_81":21504,"ignition":12,"odometer":null,"unknown_45":4705628321084964864}} 
[2026-09-23 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:37:12] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:37:12] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:37:32] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:32] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:32] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:37:36] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:36] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:37:36] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:37:37] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd12bf28012d41634006cb43b8001e006f2b..."} 
[2026-09-23 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd12bf28012d41634006cb43b8001e006f2b..."} 
[2026-09-23 12:37:37] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd12bf28012d41634006cb43b8001e006f2b..."} 
[2026-09-23 12:37:37] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:37:37] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd12"} 
[2026-09-23 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984440,"longitude_deg":75.9259968,"latitude_deg":11.398444,"altitude":30,"angle":111,"satellites":43,"speed":1,"hex_longitude":"2d416340","hex_latitude":"06cb43b8","is_valid_coordinates":true} 
[2026-09-23 12:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277614592001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536427141070848,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4709006020805341184,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790146953000,"timestamp_ms":1790146953000,"timestamp_seconds":1790146953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd12bf28"} 
[2026-09-23 12:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 12:37: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-09-23 12:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:37: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-09-23 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277614592001,"66":27908,"113":206,"81":21504,"24":1,"16":406536427141070848,"45":4709006020805341184},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277614592001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:37:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536427141070848,"km_value":406536427141070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4709006020805341184,"description":"Unknown IO ID 45"} 
[2026-09-23 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277614592001,"power":27908,"unknown_113":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4709006020805341184}} 
[2026-09-23 12:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:37:37] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:37:37] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:37:42] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:37:42] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:37:42] local.INFO: Packet analysis {"connection_id":190549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:37:42] local.INFO: Extracted packet for processing {"connection_id":190549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952392,"longitude_deg":75.6663424,"latitude_deg":11.9952392,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265408","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277675776001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682864751476736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855764552161202176,"note":"Value kept but may cause issues"} 
[2026-09-23 12:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790147192000,"timestamp_ms":1790147192000,"timestamp_seconds":1790147192,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1664c0"} 
[2026-09-23 12:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 12:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277675776001,"66":12885,"232":206,"83":42752,"24":0,"16":22682864751476736,"45":1855764552161202176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277675776001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:37:42] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682864751476736,"km_value":22682864751476.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855764552161202176,"description":"Unknown IO ID 45"} 
[2026-09-23 12:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277675776001,"power":12885,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1855764552161202176}} 
[2026-09-23 12:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":190549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:37:42] local.INFO: GPS data processed {"connection_id":190549,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:37:42] local.INFO: Acknowledgment sent {"connection_id":190549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:37:57] local.INFO: TCP Data received {"connection_id":190551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:57] local.INFO: Processing buffer {"connection_id":190551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:37:57] local.INFO: IMEI packet received {"connection_id":190551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":190551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:38:02] local.INFO: TCP Data received {"connection_id":190551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:02] local.INFO: Processing buffer {"connection_id":190551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:02] local.INFO: IMEI packet received {"connection_id":190551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":190551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:38:03] local.INFO: TCP Data received {"connection_id":190551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:38:03] local.INFO: Processing buffer {"connection_id":190551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1664c0012d19c48007265408002101202a..."} 
[2026-09-23 12:38:03] local.INFO: Packet analysis {"connection_id":190551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:38:03] local.INFO: Extracted packet for processing {"connection_id":190551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952392,"longitude_deg":75.6663424,"latitude_deg":11.9952392,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265408","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277681152001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682864751476736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579654656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147192000,"timestamp_ms":1790147192000,"timestamp_seconds":1790147192,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1664c0"} 
[2026-09-23 12:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:38: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-09-23 12: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":85,"data_length":795,"current_offset":136} 
[2026-09-23 12:38: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-09-23 12: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-09-23 12:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277681152001,"66":12885,"232":206,"83":42752,"24":0,"16":22682864751476736,"45":1856749714579654656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277681152001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:38:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682864751476736,"km_value":22682864751476.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579654656,"description":"Unknown IO ID 45"} 
[2026-09-23 12:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277681152001,"power":12885,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579654656}} 
[2026-09-23 12:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":190551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:38:03] local.INFO: GPS data processed {"connection_id":190551,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:38:03] local.INFO: Acknowledgment sent {"connection_id":190551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:38:08] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd131130012d41638006cb4388001f006f29..."} 
[2026-09-23 12:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd131130012d41638006cb4388001f006f29..."} 
[2026-09-23 12:38:08] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd131130012d41638006cb4388001f006f29..."} 
[2026-09-23 12:38:08] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:38:08] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:38:08] local.INFO: GPS Element Parsed {"raw_longitude":759260032,"raw_latitude":113984392,"longitude_deg":75.9260032,"latitude_deg":11.3984392,"altitude":31,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416380","hex_latitude":"06cb4388","is_valid_coordinates":true} 
[2026-09-23 12:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277619968001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536431436038144,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083865088,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790146974000,"timestamp_ms":1790146974000,"timestamp_seconds":1790146974,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd131130"} 
[2026-09-23 12:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:38: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-09-23 12:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 12:38: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-09-23 12:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277619968001,"66":27865,"113":206,"81":21504,"24":0,"16":406536431436038144,"45":4711680033083865088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277619968001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:38:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536431436038144,"km_value":406536431436038.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083865088,"description":"Unknown IO ID 45"} 
[2026-09-23 12:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277619968001,"power":27865,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083865088}} 
[2026-09-23 12:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:38:08] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:38:08] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:38:31] local.INFO: TCP Data received {"connection_id":193222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:31] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:31] local.INFO: IMEI packet received {"connection_id":193222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:38:34] local.INFO: TCP Data received {"connection_id":190551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd16b6c8012d19c480072654180021012029..."} 
[2026-09-23 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd16b6c8012d19c480072654180021012029..."} 
[2026-09-23 12:38:34] local.INFO: Processing buffer {"connection_id":190551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd16b6c8012d19c480072654180021012029..."} 
[2026-09-23 12:38:34] local.INFO: Packet analysis {"connection_id":190551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:38:34] local.INFO: Extracted packet for processing {"connection_id":190551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277681152001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579654656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147213000,"timestamp_ms":1790147213000,"timestamp_seconds":1790147213,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd16b6c8"} 
[2026-09-23 12:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:38: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 12:38: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-09-23 12: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-09-23 12:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277681152001,"66":12863,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579654656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277681152001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:38:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579654656,"description":"Unknown IO ID 45"} 
[2026-09-23 12:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277681152001,"power":12863,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579654656}} 
[2026-09-23 12:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":190551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:38:34] local.INFO: GPS data processed {"connection_id":190551,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:38:34] local.INFO: Acknowledgment sent {"connection_id":190551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:38:36] local.INFO: TCP Data received {"connection_id":193222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:36] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:38:36] local.INFO: IMEI packet received {"connection_id":193222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":193222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:38:39] local.INFO: TCP Data received {"connection_id":193222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd136338012d41664006cb41a00022006f29..."} 
[2026-09-23 12:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd136338012d41664006cb41a00022006f29..."} 
[2026-09-23 12:38:39] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd136338012d41664006cb41a00022006f29..."} 
[2026-09-23 12:38:39] local.INFO: Packet analysis {"connection_id":193222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:38:39] local.INFO: Extracted packet for processing {"connection_id":193222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:38:39] local.INFO: GPS Element Parsed {"raw_longitude":759260736,"raw_latitude":113983904,"longitude_deg":75.9260736,"latitude_deg":11.3983904,"altitude":34,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416640","hex_latitude":"06cb41a0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277625344001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536478680678400,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711750401828030464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790146995000,"timestamp_ms":1790146995000,"timestamp_seconds":1790146995,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd136338"} 
[2026-09-23 12:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 12:38: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-09-23 12: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-09-23 12:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:38: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-09-23 12:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277625344001,"66":27843,"113":206,"81":21504,"24":0,"16":406536478680678400,"45":4711750401828030464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277625344001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:38:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536478680678400,"km_value":406536478680678.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711750401828030464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277625344001,"power":27843,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711750401828030464}} 
[2026-09-23 12:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":193222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:38:39] local.INFO: GPS data processed {"connection_id":193222,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:38:39] local.INFO: Acknowledgment sent {"connection_id":193222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:38:57] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:57] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:38:57] local.INFO: IMEI packet received {"connection_id":191894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":191894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:39:02] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:02] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:02] local.INFO: IMEI packet received {"connection_id":191894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":191894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:39:03] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1708d0012d19c48007265418002101202a..."} 
[2026-09-23 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1708d0012d19c48007265418002101202a..."} 
[2026-09-23 12:39:03] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1708d0012d19c48007265418002101202a..."} 
[2026-09-23 12:39:03] local.INFO: Packet analysis {"connection_id":191894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:39:03] local.INFO: Extracted packet for processing {"connection_id":191894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277686528001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147234000,"timestamp_ms":1790147234000,"timestamp_seconds":1790147234,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1708d0"} 
[2026-09-23 12:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:39: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-09-23 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 12:39:03] 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-09-23 12: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-09-23 12:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277686528001,"66":12798,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277686528001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:39:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277686528001,"power":12798,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":191894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:39:03] local.INFO: GPS data processed {"connection_id":191894,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:39:03] local.INFO: Acknowledgment sent {"connection_id":191894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:39:11] local.INFO: TCP Data received {"connection_id":193222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd13b540012d4166c006cb3fe00023006f2b..."} 
[2026-09-23 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd13b540012d4166c006cb3fe00023006f2b..."} 
[2026-09-23 12:39:11] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd13b540012d4166c006cb3fe00023006f2b..."} 
[2026-09-23 12:39:11] local.INFO: Packet analysis {"connection_id":193222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:39:11] local.INFO: Extracted packet for processing {"connection_id":193222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd13"} 
[2026-09-23 12:39:11] local.INFO: GPS Element Parsed {"raw_longitude":759260864,"raw_latitude":113983456,"longitude_deg":75.9260864,"latitude_deg":11.3983456,"altitude":35,"angle":111,"satellites":43,"speed":2,"hex_longitude":"2d4166c0","hex_latitude":"06cb3fe0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277630720001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536513040416768,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4712524458013859840,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790147016000,"timestamp_ms":1790147016000,"timestamp_seconds":1790147016,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd13b540"} 
[2026-09-23 12:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 12:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39: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-09-23 12:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277630720001,"66":27919,"113":206,"81":21504,"24":2,"16":406536513040416768,"45":4712524458013859840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277630720001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:39:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536513040416768,"km_value":406536513040416.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4712524458013859840,"description":"Unknown IO ID 45"} 
[2026-09-23 12:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277630720001,"power":27919,"unknown_113":206,"unknown_81":21504,"ignition":2,"odometer":null,"unknown_45":4712524458013859840}} 
[2026-09-23 12:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":193222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:39:11] local.INFO: GPS data processed {"connection_id":193222,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:39:11] local.INFO: Acknowledgment sent {"connection_id":193222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:39:34] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd175ad8012d19c48007265418002101202a..."} 
[2026-09-23 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd175ad8012d19c48007265418002101202a..."} 
[2026-09-23 12:39:34] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd175ad8012d19c48007265418002101202a..."} 
[2026-09-23 12:39:34] local.INFO: Packet analysis {"connection_id":191894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:39:34] local.INFO: Extracted packet for processing {"connection_id":191894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277691904001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147255000,"timestamp_ms":1790147255000,"timestamp_seconds":1790147255,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd175ad8"} 
[2026-09-23 12:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:39: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 12:39: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-09-23 12: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-09-23 12:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277691904001,"66":12809,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277691904001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:39:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277691904001,"power":12809,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:39:34] local.INFO: GPS data processed {"connection_id":191894,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:39:34] local.INFO: Acknowledgment sent {"connection_id":191894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:39:36] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:36] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:36] local.INFO: IMEI packet received {"connection_id":191895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":191895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:39:41] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:41] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:39:41] local.INFO: IMEI packet received {"connection_id":191895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":191895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:39:43] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd140748012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd140748012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:43] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd140748012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:43] local.INFO: Packet analysis {"connection_id":191895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd14"} 
[2026-09-23 12:39:43] local.INFO: Extracted packet for processing {"connection_id":191895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd14"} 
[2026-09-23 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984336,"longitude_deg":75.9259968,"latitude_deg":11.3984336,"altitude":34,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416340","hex_latitude":"06cb4350","is_valid_coordinates":true} 
[2026-09-23 12:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277636096001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536581759893504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4712665195502100480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790147037000,"timestamp_ms":1790147037000,"timestamp_seconds":1790147037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd140748"} 
[2026-09-23 12:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:39: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-09-23 12:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 12:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277636096001,"66":27789,"113":206,"81":21504,"24":0,"16":406536581759893504,"45":4712665195502100480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277636096001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:39:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536581759893504,"km_value":406536581759893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4712665195502100480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277636096001,"power":27789,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4712665195502100480}} 
[2026-09-23 12:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":191895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:39:43] local.INFO: GPS data processed {"connection_id":191895,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:39:43] local.INFO: Acknowledgment sent {"connection_id":191895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:39:47] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd143df8012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd143df8012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:47] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd143df8012d41634006cb43500022006f29..."} 
[2026-09-23 12:39:47] local.INFO: Packet analysis {"connection_id":191895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd14"} 
[2026-09-23 12:39:47] local.INFO: Extracted packet for processing {"connection_id":191895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd14"} 
[2026-09-23 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984336,"longitude_deg":75.9259968,"latitude_deg":11.3984336,"altitude":34,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416340","hex_latitude":"06cb4350","is_valid_coordinates":true} 
[2026-09-23 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277641472001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536581759893504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083838464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790147051000,"timestamp_ms":1790147051000,"timestamp_seconds":1790147051,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd143df8"} 
[2026-09-23 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 12:39:47] 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-09-23 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277641472001,"66":27745,"113":206,"81":21504,"24":0,"16":406536581759893504,"45":4711680033083838464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277641472001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:39:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536581759893504,"km_value":406536581759893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083838464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277641472001,"power":27745,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083838464}} 
[2026-09-23 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":191895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:39:47] local.INFO: GPS data processed {"connection_id":191895,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:39:47] local.INFO: Acknowledgment sent {"connection_id":191895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:39:58] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:58] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:39:58] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:40:02] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:02] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:02] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:40:07] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:07] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:07] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:40:08] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd17ace0012d19c480072654180021012029..."} 
[2026-09-23 12:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd17ace0012d19c480072654180021012029..."} 
[2026-09-23 12:40:08] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd17ace0012d19c480072654180021012029..."} 
[2026-09-23 12:40:08] local.INFO: Packet analysis {"connection_id":190553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:40:08] local.INFO: Extracted packet for processing {"connection_id":190553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277697280001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147276000,"timestamp_ms":1790147276000,"timestamp_seconds":1790147276,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd17ace0"} 
[2026-09-23 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-09-23 12:40: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-09-23 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":149,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3440754864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1544356445239755008,"corrected_to":0} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512583265431981,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2515009536,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2761990801780202538,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,149,160,8,45,128,84,33,42,10,66,182,41,100,1,240,85,227,205,38,4,113,18,193,144,239,50,2,80,7,37,167],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1544356445239755008,"validated":0}]} 
[2026-09-23 12:40:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378217442989047808,"timestamp_seconds":2378217442989048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 12:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277697280001,"66":12841,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277697280001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:40:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277697280001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":190553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:40:08] local.INFO: GPS data processed {"connection_id":190553,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:40:08] local.INFO: Acknowledgment sent {"connection_id":190553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:40:12] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd17fee8012d19c480072654180021012027..."} 
[2026-09-23 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd17fee8012d19c480072654180021012027..."} 
[2026-09-23 12:40:12] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd17fee8012d19c480072654180021012027..."} 
[2026-09-23 12:40:12] local.INFO: Packet analysis {"connection_id":190553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:40:12] local.INFO: Extracted packet for processing {"connection_id":190553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd17"} 
[2026-09-23 12:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277702656001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790147297000,"timestamp_ms":1790147297000,"timestamp_seconds":1790147297,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd17fee8"} 
[2026-09-23 12:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":41,"data_length":795,"current_offset":136} 
[2026-09-23 12:40: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-09-23 12: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-09-23 12:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277702656001,"66":12841,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277702656001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:40:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277702656001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":190553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:40:12] local.INFO: GPS data processed {"connection_id":190553,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:40:12] local.INFO: Acknowledgment sent {"connection_id":190553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:40:31] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:31] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:31] local.INFO: IMEI packet received {"connection_id":190554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":190554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:40:36] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:36] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:40:36] local.INFO: IMEI packet received {"connection_id":190554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:40:38] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd153be0012d41634006cb43700022006f29..."} 
[2026-09-23 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd153be0012d41634006cb43700022006f29..."} 
[2026-09-23 12:40:38] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd153be0012d41634006cb43700022006f29..."} 
[2026-09-23 12:40:38] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:40:38] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984368,"longitude_deg":75.9259968,"latitude_deg":11.3984368,"altitude":34,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416340","hex_latitude":"06cb4370","is_valid_coordinates":true} 
[2026-09-23 12:40: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-09-23 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277645056001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536581759893504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083838464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790147116000,"timestamp_ms":1790147116000,"timestamp_seconds":1790147116,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd153be0"} 
[2026-09-23 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:40: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-09-23 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:40:38] 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-09-23 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277645056001,"66":26539,"113":206,"81":21504,"24":0,"16":406536581759893504,"45":4711680033083838464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277645056001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:40:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536581759893504,"km_value":406536581759893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083838464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277645056001,"power":26539,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083838464}} 
[2026-09-23 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:40:38] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:40:38] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:40:42] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1595b8012d41634006cb43500022006f28..."} 
[2026-09-23 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1595b8012d41634006cb43500022006f28..."} 
[2026-09-23 12:40:42] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1595b8012d41634006cb43500022006f28..."} 
[2026-09-23 12:40:42] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:40:42] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984336,"longitude_deg":75.9259968,"latitude_deg":11.3984336,"altitude":34,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d416340","hex_latitude":"06cb4350","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277661696001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536581759893504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083846656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790147139000,"timestamp_ms":1790147139000,"timestamp_seconds":1790147139,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1595b8"} 
[2026-09-23 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-23 12:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277661696001,"66":27789,"113":206,"81":21504,"24":0,"16":406536581759893504,"45":4711680033083846656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277661696001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:40:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536581759893504,"km_value":406536581759893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083846656,"description":"Unknown IO ID 45"} 
[2026-09-23 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277661696001,"power":27789,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083846656}} 
[2026-09-23 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:40:42] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:40:42] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:40:57] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:57] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:40:57] local.INFO: IMEI packet received {"connection_id":190555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":190555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:41:01] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:01] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:01] local.INFO: IMEI packet received {"connection_id":190555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":190555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:41:02] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1850f0012d19c48007265418002101202a..."} 
[2026-09-23 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1850f0012d19c48007265418002101202a..."} 
[2026-09-23 12:41:02] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1850f0012d19c48007265418002101202a..."} 
[2026-09-23 12:41:02] local.INFO: Packet analysis {"connection_id":190555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:02] local.INFO: Extracted packet for processing {"connection_id":190555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277708032001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790147318000,"timestamp_ms":1790147318000,"timestamp_seconds":1790147318,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1850f0"} 
[2026-09-23 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:41: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-09-23 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 12:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277708032001,"66":12798,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277708032001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277708032001,"power":12798,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":190555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:41:02] local.INFO: GPS data processed {"connection_id":190555,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:41:02] local.INFO: Acknowledgment sent {"connection_id":190555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:41:03] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd18a2f8012d19c48007265418002101202b..."} 
[2026-09-23 12:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd18a2f8012d19c48007265418002101202b..."} 
[2026-09-23 12:41:03] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd18a2f8012d19c48007265418002101202b..."} 
[2026-09-23 12:41:03] local.INFO: Packet analysis {"connection_id":190555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:03] local.INFO: Extracted packet for processing {"connection_id":190555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":43,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277713408001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147339000,"timestamp_ms":1790147339000,"timestamp_seconds":1790147339,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd18a2f8"} 
[2026-09-23 12:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:41: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-09-23 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 12:41: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-09-23 12: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-09-23 12:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277713408001,"66":12743,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277713408001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:41:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277713408001,"power":12743,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":190555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:41:03] local.INFO: GPS data processed {"connection_id":190555,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:41:03] local.INFO: Acknowledgment sent {"connection_id":190555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:41:14] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd15e7c0012d41634006cb43500022006f29..."} 
[2026-09-23 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd15e7c0012d41634006cb43500022006f29..."} 
[2026-09-23 12:41:14] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd15e7c0012d41634006cb43500022006f29..."} 
[2026-09-23 12:41:14] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:41:14] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd15"} 
[2026-09-23 12:41:14] local.INFO: GPS Element Parsed {"raw_longitude":759259968,"raw_latitude":113984336,"longitude_deg":75.9259968,"latitude_deg":11.3984336,"altitude":34,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d416340","hex_latitude":"06cb4350","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277667584001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536581759893504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083838464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790147160000,"timestamp_ms":1790147160000,"timestamp_seconds":1790147160,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd15e7c0"} 
[2026-09-23 12:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:41: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-09-23 12: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 12:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:41:14] 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-09-23 12:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277667584001,"66":27745,"113":206,"81":21504,"24":0,"16":406536581759893504,"45":4711680033083838464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277667584001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:41:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536581759893504,"km_value":406536581759893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083838464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277667584001,"power":27745,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083838464}} 
[2026-09-23 12:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:41:14] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:41:14] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:41:34] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd18f500012d19c480072654180021012025..."} 
[2026-09-23 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd18f500012d19c480072654180021012025..."} 
[2026-09-23 12:41:34] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd18f500012d19c480072654180021012025..."} 
[2026-09-23 12:41:34] local.INFO: Packet analysis {"connection_id":190555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:34] local.INFO: Extracted packet for processing {"connection_id":190555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd18"} 
[2026-09-23 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277718784001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147360000,"timestamp_ms":1790147360000,"timestamp_seconds":1790147360,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd18f500"} 
[2026-09-23 12:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:41: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 12:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277718784001,"66":12722,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277718784001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:41:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277718784001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":190555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:41:34] local.INFO: GPS data processed {"connection_id":190555,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:41:34] local.INFO: Acknowledgment sent {"connection_id":190555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:41:34] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:34] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:34] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:41:36] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:36] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:36] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:41:41] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:41] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:41:41] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:41:44] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1639c8012d415ec006cb44f80021006f2b..."} 
[2026-09-23 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1639c8012d415ec006cb44f80021006f2b..."} 
[2026-09-23 12:41:44] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1639c8012d415ec006cb44f80021006f2b..."} 
[2026-09-23 12:41:44] local.INFO: Packet analysis {"connection_id":190556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:41:44] local.INFO: Extracted packet for processing {"connection_id":190556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":759258816,"raw_latitude":113984760,"longitude_deg":75.9258816,"latitude_deg":11.398476,"altitude":33,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d415ec0","hex_latitude":"06cb44f8","is_valid_coordinates":true} 
[2026-09-23 12:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277672960001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536641889435648,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711680033083838464,"note":"Value kept but may cause issues"} 
[2026-09-23 12:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790147181000,"timestamp_ms":1790147181000,"timestamp_seconds":1790147181,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1639c8"} 
[2026-09-23 12:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 12:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277672960001,"66":27908,"113":206,"81":21504,"24":0,"16":406536641889435648,"45":4711680033083838464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277672960001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:41:44] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536641889435648,"km_value":406536641889435.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711680033083838464,"description":"Unknown IO ID 45"} 
[2026-09-23 12:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277672960001,"power":27908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711680033083838464}} 
[2026-09-23 12:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":190556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:41:44] local.INFO: GPS data processed {"connection_id":190556,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:41:44] local.INFO: Acknowledgment sent {"connection_id":190556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:41:57] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:57] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:41:57] local.INFO: IMEI packet received {"connection_id":190361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":190361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:42:02] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:02] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:02] local.INFO: IMEI packet received {"connection_id":190361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":190361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:42:03] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd194708012d19c480072654180021012028..."} 
[2026-09-23 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd194708012d19c480072654180021012028..."} 
[2026-09-23 12:42:03] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd194708012d19c480072654180021012028..."} 
[2026-09-23 12:42:03] local.INFO: Packet analysis {"connection_id":190361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:42:03] local.INFO: Extracted packet for processing {"connection_id":190361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277724160001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147381000,"timestamp_ms":1790147381000,"timestamp_seconds":1790147381,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd194708"} 
[2026-09-23 12:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:42: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-09-23 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:42:03] 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-09-23 12:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277724160001,"66":12776,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277724160001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:42:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277724160001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":190361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:42:03] local.INFO: GPS data processed {"connection_id":190361,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:42:03] local.INFO: Acknowledgment sent {"connection_id":190361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:42:15] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd165520012d415dc006cb45b00021012c2b..."} 
[2026-09-23 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd165520012d415dc006cb45b00021012c2b..."} 
[2026-09-23 12:42:15] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd165520012d415dc006cb45b00021012c2b..."} 
[2026-09-23 12:42:15] local.INFO: Packet analysis {"connection_id":190556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:42:15] local.INFO: Extracted packet for processing {"connection_id":190556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":759258560,"raw_latitude":113984944,"longitude_deg":75.925856,"latitude_deg":11.3984944,"altitude":33,"angle":300,"satellites":43,"speed":2,"hex_longitude":"2d415dc0","hex_latitude":"06cb45b0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277678336001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536654774337536,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710413395688749056,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790147188000,"timestamp_ms":1790147188000,"timestamp_seconds":1790147188,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd165520"} 
[2026-09-23 12:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:42: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-09-23 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 12:42: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-09-23 12: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-09-23 12:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:42: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-09-23 12:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277678336001,"66":27919,"113":206,"81":21504,"24":2,"16":406536654774337536,"45":4710413395688749056},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277678336001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:42:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536654774337536,"km_value":406536654774337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710413395688749056,"description":"Unknown IO ID 45"} 
[2026-09-23 12:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277678336001,"power":27919,"unknown_113":206,"unknown_81":21504,"ignition":2,"odometer":null,"unknown_45":4710413395688749056}} 
[2026-09-23 12:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":190556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:42:15] local.INFO: GPS data processed {"connection_id":190556,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:42:15] local.INFO: Acknowledgment sent {"connection_id":190556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:42:31] local.INFO: TCP Data received {"connection_id":193225,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:31] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:31] local.INFO: IMEI packet received {"connection_id":193225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:42:34] local.INFO: TCP Data received {"connection_id":190361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd199910012d19c48007265418002101202a..."} 
[2026-09-23 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd199910012d19c48007265418002101202a..."} 
[2026-09-23 12:42:34] local.INFO: Processing buffer {"connection_id":190361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd199910012d19c48007265418002101202a..."} 
[2026-09-23 12:42:34] local.INFO: Packet analysis {"connection_id":190361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:42:34] local.INFO: Extracted packet for processing {"connection_id":190361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12:42: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-09-23 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277729536001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147402000,"timestamp_ms":1790147402000,"timestamp_seconds":1790147402,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd199910"} 
[2026-09-23 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:42: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:42: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-09-23 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277729536001,"66":12776,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277729536001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:42:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277729536001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":190361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:42:34] local.INFO: GPS data processed {"connection_id":190361,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:42:34] local.INFO: Acknowledgment sent {"connection_id":190361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:42:35] local.INFO: TCP Data received {"connection_id":193224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:42:35] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:42:35] local.INFO: IMEI packet received {"connection_id":193224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":193224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:42:36] local.INFO: TCP Data received {"connection_id":193225,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:36] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:42:36] local.INFO: IMEI packet received {"connection_id":193225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:42:38] local.INFO: TCP Data received {"connection_id":193225,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd16a728012d415d8006cb4628002101332c..."} 
[2026-09-23 12:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd16a728012d415d8006cb4628002101332c..."} 
[2026-09-23 12:42:38] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd16a728012d415d8006cb4628002101332c..."} 
[2026-09-23 12:42:38] local.INFO: Packet analysis {"connection_id":193225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:42:38] local.INFO: Extracted packet for processing {"connection_id":193225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":759258496,"raw_latitude":113985064,"longitude_deg":75.9258496,"latitude_deg":11.3985064,"altitude":33,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d415d80","hex_latitude":"06cb4628","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277680128001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710131920712085504,"note":"Value kept but may cause issues"} 
[2026-09-23 12:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790147209000,"timestamp_ms":1790147209000,"timestamp_seconds":1790147209,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd16a728"} 
[2026-09-23 12:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 12:42: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-09-23 12: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-09-23 12:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277680128001,"66":27908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710131920712085504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277680128001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:42:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710131920712085504,"description":"Unknown IO ID 45"} 
[2026-09-23 12:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277680128001,"power":27908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710131920712085504}} 
[2026-09-23 12:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":193225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:42:38] local.INFO: GPS data processed {"connection_id":193225,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:42:38] local.INFO: Acknowledgment sent {"connection_id":193225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:42:57] local.INFO: TCP Data received {"connection_id":191896,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:57] local.INFO: Processing buffer {"connection_id":191896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:42:57] local.INFO: IMEI packet received {"connection_id":191896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":191896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:43:02] local.INFO: TCP Data received {"connection_id":191896,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:02] local.INFO: Processing buffer {"connection_id":191896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:02] local.INFO: IMEI packet received {"connection_id":191896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":191896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:43:03] local.INFO: TCP Data received {"connection_id":191896,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd19eb18012d19c48007265418002101202b..."} 
[2026-09-23 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd19eb18012d19c48007265418002101202b..."} 
[2026-09-23 12:43:03] local.INFO: Processing buffer {"connection_id":191896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd19eb18012d19c48007265418002101202b..."} 
[2026-09-23 12:43:03] local.INFO: Packet analysis {"connection_id":191896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:43:03] local.INFO: Extracted packet for processing {"connection_id":191896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd19"} 
[2026-09-23 12:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":43,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277734912001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147423000,"timestamp_ms":1790147423000,"timestamp_seconds":1790147423,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd19eb18"} 
[2026-09-23 12:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:43: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-09-23 12: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 12:43:03] 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-09-23 12: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-09-23 12:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277734912001,"66":12776,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277734912001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:43:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277734912001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":191896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:43:03] local.INFO: GPS data processed {"connection_id":191896,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:43:03] local.INFO: Acknowledgment sent {"connection_id":191896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:43:09] local.INFO: TCP Data received {"connection_id":193225,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd16ca50012d415d8006cb4628002101332b..."} 
[2026-09-23 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd16ca50012d415d8006cb4628002101332b..."} 
[2026-09-23 12:43:09] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd16ca50012d415d8006cb4628002101332b..."} 
[2026-09-23 12:43:09] local.INFO: Packet analysis {"connection_id":193225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:43:09] local.INFO: Extracted packet for processing {"connection_id":193225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd16"} 
[2026-09-23 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":759258496,"raw_latitude":113985064,"longitude_deg":75.9258496,"latitude_deg":11.3985064,"altitude":33,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d415d80","hex_latitude":"06cb4628","is_valid_coordinates":true} 
[2026-09-23 12:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277685504001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790147218000,"timestamp_ms":1790147218000,"timestamp_seconds":1790147218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd16ca50"} 
[2026-09-23 12:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:43: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-09-23 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 12:43: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-09-23 12: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-09-23 12:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:43: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-09-23 12:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277685504001,"66":27974,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277685504001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:43:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277685504001,"power":27974,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":193225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:43:09] local.INFO: GPS data processed {"connection_id":193225,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:43:09] local.INFO: Acknowledgment sent {"connection_id":193225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:43:09] local.INFO: TCP Data received {"connection_id":190557,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:43:09] local.INFO: Processing buffer {"connection_id":190557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:43:09] local.INFO: IMEI packet received {"connection_id":190557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":190557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:43:31] local.INFO: TCP Data received {"connection_id":190558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:31] local.INFO: Processing buffer {"connection_id":190558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:31] local.INFO: IMEI packet received {"connection_id":190558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":190558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:43:34] local.INFO: TCP Data received {"connection_id":191896,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1a3d20012d19c48007265418002101202b..."} 
[2026-09-23 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1a3d20012d19c48007265418002101202b..."} 
[2026-09-23 12:43:34] local.INFO: Processing buffer {"connection_id":191896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1a3d20012d19c48007265418002101202b..."} 
[2026-09-23 12:43:34] local.INFO: Packet analysis {"connection_id":191896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:43:34] local.INFO: Extracted packet for processing {"connection_id":191896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":43,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277740288001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147444000,"timestamp_ms":1790147444000,"timestamp_seconds":1790147444,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1a3d20"} 
[2026-09-23 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-09-23 12:43: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-09-23 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 12:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277740288001,"66":12776,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277740288001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:43:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277740288001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":191896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:43:34] local.INFO: GPS data processed {"connection_id":191896,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:43:34] local.INFO: Acknowledgment sent {"connection_id":191896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:43:36] local.INFO: TCP Data received {"connection_id":190558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:36] local.INFO: Processing buffer {"connection_id":190558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:43:36] local.INFO: IMEI packet received {"connection_id":190558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":190558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:43:37] local.INFO: TCP Data received {"connection_id":190558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:43:37] local.INFO: Processing buffer {"connection_id":190558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:43:37] local.INFO: Packet analysis {"connection_id":190558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:43:37] local.INFO: Extracted packet for processing {"connection_id":190558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:43: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-09-23 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:43:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":190558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:43:37] local.INFO: GPS data processed {"connection_id":190558,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:43:37] local.INFO: Acknowledgment sent {"connection_id":190558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:43:57] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:57] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:43:57] local.INFO: IMEI packet received {"connection_id":191897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":191897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:44:02] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:02] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:02] local.INFO: IMEI packet received {"connection_id":191897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":191897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:44:03] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1a8f28012d19c48007265418002101202d..."} 
[2026-09-23 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1a8f28012d19c48007265418002101202d..."} 
[2026-09-23 12:44:03] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1a8f28012d19c48007265418002101202d..."} 
[2026-09-23 12:44:03] local.INFO: Packet analysis {"connection_id":191897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:44:03] local.INFO: Extracted packet for processing {"connection_id":191897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":45,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277745664001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147465000,"timestamp_ms":1790147465000,"timestamp_seconds":1790147465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1a8f28"} 
[2026-09-23 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:44: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-09-23 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 12:44:03] 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-09-23 12:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277745664001,"66":12743,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277745664001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:44:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277745664001,"power":12743,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":191897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:44:03] local.INFO: GPS data processed {"connection_id":191897,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:44:03] local.INFO: Acknowledgment sent {"connection_id":191897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:44:08] local.INFO: TCP Data received {"connection_id":190558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:08] local.INFO: Processing buffer {"connection_id":190558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:08] local.INFO: Packet analysis {"connection_id":190558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:44:08] local.INFO: Extracted packet for processing {"connection_id":190558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:44:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:44: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-09-23 12: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":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:44:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":190558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:44:08] local.INFO: GPS data processed {"connection_id":190558,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:44:08] local.INFO: Acknowledgment sent {"connection_id":190558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:44:31] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:31] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:31] local.INFO: IMEI packet received {"connection_id":193226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":193226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:44:34] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1ae130012d19c480072654180021012029..."} 
[2026-09-23 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1ae130012d19c480072654180021012029..."} 
[2026-09-23 12:44:34] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1ae130012d19c480072654180021012029..."} 
[2026-09-23 12:44:34] local.INFO: Packet analysis {"connection_id":191897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:44:34] local.INFO: Extracted packet for processing {"connection_id":191897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1a"} 
[2026-09-23 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277751040001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147486000,"timestamp_ms":1790147486000,"timestamp_seconds":1790147486,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1ae130"} 
[2026-09-23 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:44: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 12:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277751040001,"66":12711,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277751040001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:44:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277751040001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":191897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:44:34] local.INFO: GPS data processed {"connection_id":191897,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:44:34] local.INFO: Acknowledgment sent {"connection_id":191897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:44:36] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:36] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:44:36] local.INFO: IMEI packet received {"connection_id":193226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":193226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:44:37] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:37] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:44:37] local.INFO: Packet analysis {"connection_id":193226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:44:37] local.INFO: Extracted packet for processing {"connection_id":193226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:44:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:44: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-09-23 12:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:44:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":193226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:44:37] local.INFO: GPS data processed {"connection_id":193226,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:44:37] local.INFO: Acknowledgment sent {"connection_id":193226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:44:57] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:57] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:44:57] local.INFO: IMEI packet received {"connection_id":190363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":190363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:45:02] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:02] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:02] local.INFO: IMEI packet received {"connection_id":190363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:45:03] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b3338012d19c480072654180021012027..."} 
[2026-09-23 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b3338012d19c480072654180021012027..."} 
[2026-09-23 12:45:03] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b3338012d19c480072654180021012027..."} 
[2026-09-23 12:45:03] local.INFO: Packet analysis {"connection_id":190363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:03] local.INFO: Extracted packet for processing {"connection_id":190363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277756416001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147507000,"timestamp_ms":1790147507000,"timestamp_seconds":1790147507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b3338"} 
[2026-09-23 12:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12: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-09-23 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 12:45:03] 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-09-23 12: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-09-23 12:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277756416001,"66":12765,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277756416001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:45:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277756416001,"power":12765,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:45:03] local.INFO: GPS data processed {"connection_id":190363,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:45:03] local.INFO: Acknowledgment sent {"connection_id":190363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:45:08] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:08] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:08] local.INFO: Packet analysis {"connection_id":193226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:08] local.INFO: Extracted packet for processing {"connection_id":193226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:45: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-09-23 12:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:45:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":193226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:45:08] local.INFO: GPS data processed {"connection_id":193226,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:45:08] local.INFO: Acknowledgment sent {"connection_id":193226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:45:32] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:32] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:32] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:45:34] local.INFO: TCP Data received {"connection_id":190363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b8540012d19c480072654180021012028..."} 
[2026-09-23 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b8540012d19c480072654180021012028..."} 
[2026-09-23 12:45:34] local.INFO: Processing buffer {"connection_id":190363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b8540012d19c480072654180021012028..."} 
[2026-09-23 12:45:34] local.INFO: Packet analysis {"connection_id":190363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:34] local.INFO: Extracted packet for processing {"connection_id":190363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277761792001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147528000,"timestamp_ms":1790147528000,"timestamp_seconds":1790147528,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b8540"} 
[2026-09-23 12:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:45: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-23 12:45: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-09-23 12:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277761792001,"66":12722,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277761792001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:45:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277761792001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":190363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:45:34] local.INFO: GPS data processed {"connection_id":190363,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:45:34] local.INFO: Acknowledgment sent {"connection_id":190363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:45:36] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:36] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:45:36] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:45:37] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:37] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:45:37] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:37] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:45: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-09-23 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:45:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:45:37] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:45:37] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:45:57] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:57] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:45:57] local.INFO: IMEI packet received {"connection_id":193227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":193227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:46:02] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:46:02] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:46:02] local.INFO: IMEI packet received {"connection_id":193227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":193227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:46:03] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1bd748012d19c480072654180021012029..."} 
[2026-09-23 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1bd748012d19c480072654180021012029..."} 
[2026-09-23 12:46:03] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1bd748012d19c480072654180021012029..."} 
[2026-09-23 12:46:03] local.INFO: Packet analysis {"connection_id":193227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:03] local.INFO: Extracted packet for processing {"connection_id":193227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147549000,"timestamp_ms":1790147549000,"timestamp_seconds":1790147549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1bd748"} 
[2026-09-23 12:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:46: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-09-23 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:46:03] 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-09-23 12: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-09-23 12:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277767168001,"66":12722,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:46:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277767168001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":193227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:46:03] local.INFO: GPS data processed {"connection_id":193227,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:46:03] local.INFO: Acknowledgment sent {"connection_id":193227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:46:08] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:08] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:08] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:08] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:46: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-09-23 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:46: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-09-23 12:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:46:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:46:08] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:46:08] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:46:31] local.INFO: TCP Data received {"connection_id":193229,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:31] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:31] local.INFO: IMEI packet received {"connection_id":193229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":193229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:46:34] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1c2950012d19c480072654180021012029..."} 
[2026-09-23 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1c2950012d19c480072654180021012029..."} 
[2026-09-23 12:46:34] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1c2950012d19c480072654180021012029..."} 
[2026-09-23 12:46:34] local.INFO: Packet analysis {"connection_id":193227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1c"} 
[2026-09-23 12:46:34] local.INFO: Extracted packet for processing {"connection_id":193227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1c"} 
[2026-09-23 12:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119952408,"longitude_deg":75.6663424,"latitude_deg":11.9952408,"altitude":33,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"07265418","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277772544001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682873341411328,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579658752,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147570000,"timestamp_ms":1790147570000,"timestamp_seconds":1790147570,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1c2950"} 
[2026-09-23 12:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:46: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-09-23 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:46:34] 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-09-23 12: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-09-23 12:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277772544001,"66":12711,"232":206,"83":42752,"24":0,"16":22682873341411328,"45":1856749714579658752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277772544001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:46:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682873341411328,"km_value":22682873341411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579658752,"description":"Unknown IO ID 45"} 
[2026-09-23 12:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277772544001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856749714579658752}} 
[2026-09-23 12:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":193227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:46:34] local.INFO: GPS data processed {"connection_id":193227,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:46:34] local.INFO: Acknowledgment sent {"connection_id":193227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:46:36] local.INFO: TCP Data received {"connection_id":193229,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:36] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:46:36] local.INFO: IMEI packet received {"connection_id":193229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":193229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:46:37] local.INFO: TCP Data received {"connection_id":193229,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:37] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:46:37] local.INFO: Packet analysis {"connection_id":193229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:37] local.INFO: Extracted packet for processing {"connection_id":193229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:46: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-09-23 12: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":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:46: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-09-23 12:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:46:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":193229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:46:37] local.INFO: GPS data processed {"connection_id":193229,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:46:37] local.INFO: Acknowledgment sent {"connection_id":193229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:02] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:02] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:02] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:47:03] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:03] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:03] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:47:04] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:04] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:04] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:47:05] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f1368012d19c4c0072652200020009d2b..."} 
[2026-09-23 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f1368012d19c4c0072652200020009d2b..."} 
[2026-09-23 12:47:05] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f1368012d19c4c0072652200020009d2b..."} 
[2026-09-23 12:47:05] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:05] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119951904,"longitude_deg":75.6663488,"latitude_deg":11.9951904,"altitude":32,"angle":157,"satellites":43,"speed":3,"hex_longitude":"2d19c4c0","hex_latitude":"07265220","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277826304001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682899111215104,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579572736,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790147761000,"timestamp_ms":1790147761000,"timestamp_seconds":1790147761,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f1368"} 
[2026-09-23 12:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:47: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-09-23 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:05] 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-09-23 12: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-09-23 12:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277826304001,"66":14070,"232":206,"83":42752,"24":3,"16":22682899111215104,"45":1856749714579572736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277826304001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682899111215104,"km_value":22682899111215.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579572736,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277826304001,"power":14070,"unknown_232":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1856749714579572736}} 
[2026-09-23 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:05] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:05] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:05] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f1b38012d19c4c007265188002100ae2a..."} 
[2026-09-23 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f1b38012d19c4c007265188002100ae2a..."} 
[2026-09-23 12:47:05] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f1b38012d19c4c007265188002100ae2a..."} 
[2026-09-23 12:47:05] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:05] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119951752,"longitude_deg":75.6663488,"latitude_deg":11.9951752,"altitude":33,"angle":174,"satellites":42,"speed":3,"hex_longitude":"2d19c4c0","hex_latitude":"07265188","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277826816001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682907701149696,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083323707392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790147763000,"timestamp_ms":1790147763000,"timestamp_seconds":1790147763,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f1b38"} 
[2026-09-23 12:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:47: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-09-23 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:05] 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-09-23 12: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-09-23 12:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277826816001,"66":13961,"232":206,"83":42752,"24":3,"16":22682907701149696,"45":1856820083323707392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277826816001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682907701149696,"km_value":22682907701149.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083323707392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277826816001,"power":13961,"unknown_232":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1856820083323707392}} 
[2026-09-23 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:05] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:05] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:07] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f6d40012d19c480072651a0002100aa2a..."} 
[2026-09-23 12:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f6d40012d19c480072651a0002100aa2a..."} 
[2026-09-23 12:47:07] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f6d40012d19c480072651a0002100aa2a..."} 
[2026-09-23 12:47:07] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:07] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119951776,"longitude_deg":75.6663424,"latitude_deg":11.9951776,"altitude":33,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d19c480","hex_latitude":"072651a0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277827328001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682911996116992,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083323668480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790147784000,"timestamp_ms":1790147784000,"timestamp_seconds":1790147784,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f6d40"} 
[2026-09-23 12:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:07] 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-09-23 12: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-09-23 12:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277827328001,"66":12950,"232":206,"83":42752,"24":0,"16":22682911996116992,"45":1856820083323668480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277827328001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682911996116992,"km_value":22682911996116.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083323668480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277827328001,"power":12950,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856820083323668480}} 
[2026-09-23 12:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:07] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:07] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:08] local.INFO: TCP Data received {"connection_id":193229,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:08] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:08] local.INFO: Packet analysis {"connection_id":193229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:47:08] local.INFO: Extracted packet for processing {"connection_id":193229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:47:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 12:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:47: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-09-23 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":193229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:08] local.INFO: GPS data processed {"connection_id":193229,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:08] local.INFO: Acknowledgment sent {"connection_id":193229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:31] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:31] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:31] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:47:36] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:36] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:47:36] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:47:37] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:37] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1b75a0012d4160c006cb46f00020013328..."} 
[2026-09-23 12:47:37] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:47:37] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1b"} 
[2026-09-23 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277687808001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710061551967938560,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147524000,"timestamp_ms":1790147524000,"timestamp_seconds":1790147524,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1b75a0"} 
[2026-09-23 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-09-23 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:47: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-09-23 12:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277687808001,"66":26604,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710061551967938560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277687808001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710061551967938560,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277687808001,"power":26604,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710061551967938560}} 
[2026-09-23 12:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:37] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:37] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:38] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f7510012d19c40007265270002200032a..."} 
[2026-09-23 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f7510012d19c40007265270002200032a..."} 
[2026-09-23 12:47:38] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f7510012d19c40007265270002200032a..."} 
[2026-09-23 12:47:38] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:38] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756663296,"raw_latitude":119951984,"longitude_deg":75.6663296,"latitude_deg":11.9951984,"altitude":34,"angle":3,"satellites":42,"speed":3,"hex_longitude":"2d19c400","hex_latitude":"07265270","is_valid_coordinates":true} 
[2026-09-23 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277832704001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682924881018880,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714579496960,"note":"Value kept but may cause issues"} 
[2026-09-23 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790147786000,"timestamp_ms":1790147786000,"timestamp_seconds":1790147786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f7510"} 
[2026-09-23 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 12:47:38] 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-09-23 12:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277832704001,"66":12972,"232":206,"83":42752,"24":3,"16":22682924881018880,"45":1856749714579496960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277832704001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:47:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682924881018880,"km_value":22682924881018.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714579496960,"description":"Unknown IO ID 45"} 
[2026-09-23 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277832704001,"power":12972,"unknown_232":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1856749714579496960}} 
[2026-09-23 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:47:38] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:47:38] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:47:53] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:53] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:53] local.INFO: IMEI packet received {"connection_id":193230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":193230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:47:57] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:57] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:47:57] local.INFO: IMEI packet received {"connection_id":193230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":193230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:48:02] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:48:02] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:48:02] local.INFO: IMEI packet received {"connection_id":193230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":193230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:48:03] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f78f8012d19c3c0072652e00022015f26..."} 
[2026-09-23 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f78f8012d19c3c0072652e00022015f26..."} 
[2026-09-23 12:48:03] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f78f8012d19c3c0072652e00022015f26..."} 
[2026-09-23 12:48:03] local.INFO: Packet analysis {"connection_id":193230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:03] local.INFO: Extracted packet for processing {"connection_id":193230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119952096,"longitude_deg":75.6663232,"latitude_deg":11.9952096,"altitude":34,"angle":351,"satellites":38,"speed":4,"hex_longitude":"2d19c3c0","hex_latitude":"072652e0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277833216001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682933470953472,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856608977091194880,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147787000,"timestamp_ms":1790147787000,"timestamp_seconds":1790147787,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f78f8"} 
[2026-09-23 12:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:48: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-09-23 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 12:48:03] 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-09-23 12: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-09-23 12:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277833216001,"66":12972,"232":206,"83":42752,"24":4,"16":22682933470953472,"45":1856608977091194880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277833216001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:48:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682933470953472,"km_value":22682933470953.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856608977091194880,"description":"Unknown IO ID 45"} 
[2026-09-23 12:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277833216001,"power":12972,"unknown_232":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1856608977091194880}} 
[2026-09-23 12:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":193230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:48:03] local.INFO: GPS data processed {"connection_id":193230,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:48:03] local.INFO: Acknowledgment sent {"connection_id":193230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:48:07] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f80c8012d19c340072653900022014b28..."} 
[2026-09-23 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f80c8012d19c340072653900022014b28..."} 
[2026-09-23 12:48:07] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f80c8012d19c340072653900022014b28..."} 
[2026-09-23 12:48:07] local.INFO: Packet analysis {"connection_id":193230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:07] local.INFO: Extracted packet for processing {"connection_id":193230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119952272,"longitude_deg":75.6663104,"latitude_deg":11.9952272,"altitude":34,"angle":331,"satellites":40,"speed":3,"hex_longitude":"2d19c340","hex_latitude":"07265390","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277833472001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682942060888064,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856538608347045888,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790147789000,"timestamp_ms":1790147789000,"timestamp_seconds":1790147789,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f80c8"} 
[2026-09-23 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-09-23 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 12:48:07] 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-09-23 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-09-23 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-09-23 12:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277833472001,"66":12939,"232":206,"83":42752,"24":3,"16":22682942060888064,"45":1856538608347045888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277833472001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:48:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682942060888064,"km_value":22682942060888.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856538608347045888,"description":"Unknown IO ID 45"} 
[2026-09-23 12:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277833472001,"power":12939,"unknown_232":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1856538608347045888}} 
[2026-09-23 12:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":193230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:48:07] local.INFO: GPS data processed {"connection_id":193230,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:48:07] local.INFO: Acknowledgment sent {"connection_id":193230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:48:08] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:08] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:08] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:48:08] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:48: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:48:08] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:48:08] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:48:29] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:48:29] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:48:29] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:48:31] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:31] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:31] local.INFO: IMEI packet received {"connection_id":191899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":191899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:48:36] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:36] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:48:36] local.INFO: IMEI packet received {"connection_id":191899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":191899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:48:37] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:37] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:48:37] local.INFO: Packet analysis {"connection_id":191899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:48:37] local.INFO: Extracted packet for processing {"connection_id":191899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:48:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:48: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-09-23 12:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:48:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":191899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:48:37] local.INFO: GPS data processed {"connection_id":191899,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:48:37] local.INFO: Acknowledgment sent {"connection_id":191899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:48:39] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f8898012d19c2c0072653e00022013d29..."} 
[2026-09-23 12:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f8898012d19c2c0072653e00022013d29..."} 
[2026-09-23 12:48:39] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd1f8898012d19c2c0072653e00022013d29..."} 
[2026-09-23 12:48:39] local.INFO: Packet analysis {"connection_id":193230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:39] local.INFO: Extracted packet for processing {"connection_id":193230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756662976,"raw_latitude":119952352,"longitude_deg":75.6662976,"latitude_deg":11.9952352,"altitude":34,"angle":317,"satellites":41,"speed":2,"hex_longitude":"2d19c2c0","hex_latitude":"072653e0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277833984001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682950650822656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870858735616,"note":"Value kept but may cause issues"} 
[2026-09-23 12:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790147791000,"timestamp_ms":1790147791000,"timestamp_seconds":1790147791,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f8898"} 
[2026-09-23 12:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":139,"data_length":795,"current_offset":136} 
[2026-09-23 12:48:39] 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-09-23 12: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-09-23 12:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277833984001,"66":12939,"232":206,"83":42752,"24":2,"16":22682950650822656,"45":1856397870858735616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277833984001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:48:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682950650822656,"km_value":22682950650822.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870858735616,"description":"Unknown IO ID 45"} 
[2026-09-23 12:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277833984001,"power":12939,"unknown_232":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1856397870858735616}} 
[2026-09-23 12:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":193230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:48:39] local.INFO: GPS data processed {"connection_id":193230,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:48:39] local.INFO: Acknowledgment sent {"connection_id":193230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:01] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:01] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:01] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:49:02] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 12:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 12:49:02] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 12:49:02] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:49:03] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1f9068012d19c2c0072653e8002201302a..."} 
[2026-09-23 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1f9068012d19c2c0072653e8002201302a..."} 
[2026-09-23 12:49:03] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0cd..."} 
[2026-09-23 12:49:03] local.INFO: IMEI packet received {"connection_id":190368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":190368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:49:08] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd1fe270012d19c300072653e80022013028..."} 
[2026-09-23 12:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd1fe270012d19c300072653e80022013028..."} 
[2026-09-23 12:49:08] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cd1f9068012d19c2c0072653e8002201302a..."} 
[2026-09-23 12:49:08] local.INFO: Packet analysis {"connection_id":190368,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:49:08] local.INFO: Extracted packet for processing {"connection_id":190368,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756662976,"raw_latitude":119952360,"longitude_deg":75.6662976,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d19c2c0","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277834496001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682950650822656,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133370400768,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147793000,"timestamp_ms":1790147793000,"timestamp_seconds":1790147793,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1f9068"} 
[2026-09-23 12:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 12:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277834496001,"66":12037,"232":206,"83":42752,"24":0,"16":22682950650822656,"45":1856257133370400768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277834496001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682950650822656,"km_value":22682950650822.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133370400768,"description":"Unknown IO ID 45"} 
[2026-09-23 12:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277834496001,"power":12037,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856257133370400768}} 
[2026-09-23 12:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:49:08] local.INFO: GPS data processed {"connection_id":190368,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:49:08] local.INFO: Acknowledgment sent {"connection_id":190368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:08] local.INFO: Packet analysis {"connection_id":190368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:49:08] local.INFO: Extracted packet for processing {"connection_id":190368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd1f"} 
[2026-09-23 12:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":40,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277835008001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133370402816,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147814000,"timestamp_ms":1790147814000,"timestamp_seconds":1790147814,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd1fe270"} 
[2026-09-23 12:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3441367864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8712214365314940952,"corrected_to":0} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2147952209,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635000,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2516385792,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2761137580689894954,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195309312,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,150,160,136,45,192,34,41,10,66,128,64,40,120,1,240,172,227,205,38,4,113,3,109,196,42,239,50,2,80,7,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8712214365314940952,"validated":0}]} 
[2026-09-23 12:49:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450292629213020160,"timestamp_seconds":2450292629213020.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277835008001,"66":12852,"232":206,"83":42752,"24":0,"16":22682954945789952,"45":1856257133370402816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277835008001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133370402816,"description":"Unknown IO ID 45"} 
[2026-09-23 12:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277835008001,"power":12852,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856257133370402816}} 
[2026-09-23 12:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:49:08] local.INFO: GPS data processed {"connection_id":190368,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:49:08] local.INFO: Acknowledgment sent {"connection_id":190368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:08] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:08] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:08] local.INFO: Packet analysis {"connection_id":191899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:08] local.INFO: Extracted packet for processing {"connection_id":191899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:49: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:49: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-09-23 12:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":191899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:49:08] local.INFO: GPS data processed {"connection_id":191899,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:49:08] local.INFO: Acknowledgment sent {"connection_id":191899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:12] local.INFO: TCP Data received {"connection_id":190368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd203478012d19c300072653e80022013022..."} 
[2026-09-23 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd203478012d19c300072653e80022013022..."} 
[2026-09-23 12:49:12] local.INFO: Processing buffer {"connection_id":190368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd203478012d19c300072653e80022013022..."} 
[2026-09-23 12:49:12] local.INFO: Packet analysis {"connection_id":190368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:12] local.INFO: Extracted packet for processing {"connection_id":190368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":34,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277840384001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502114580480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790147835000,"timestamp_ms":1790147835000,"timestamp_seconds":1790147835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd203478"} 
[2026-09-23 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:49: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-09-23 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 12:49: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-09-23 12:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277840384001,"66":12885,"175":206,"83":42752,"24":0,"16":22682954945789952,"45":1856327502114580480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277840384001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:49:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 12:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502114580480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277840384001,"power":12885,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856327502114580480}} 
[2026-09-23 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":190368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:49:12] local.INFO: GPS data processed {"connection_id":190368,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:49:12] local.INFO: Acknowledgment sent {"connection_id":190368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:15] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:49:15] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:49:15] local.INFO: IMEI packet received {"connection_id":191900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":191900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:49:31] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:31] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:31] local.INFO: IMEI packet received {"connection_id":190560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":190560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:49:36] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:36] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:49:36] local.INFO: IMEI packet received {"connection_id":190560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":190560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:49:37] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:37] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:49:37] local.INFO: Packet analysis {"connection_id":190560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:37] local.INFO: Extracted packet for processing {"connection_id":190560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12: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-09-23 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:49:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":190560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:49:37] local.INFO: GPS data processed {"connection_id":190560,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:49:37] local.INFO: Acknowledgment sent {"connection_id":190560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:49:57] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:57] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:49:57] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:50:01] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:01] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:01] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:50:02] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd208680012d19c300072653e80022013023..."} 
[2026-09-23 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd208680012d19c300072653e80022013023..."} 
[2026-09-23 12:50:02] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd208680012d19c300072653e80022013023..."} 
[2026-09-23 12:50:02] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:02] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":35,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277845760001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502114580480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790147856000,"timestamp_ms":1790147856000,"timestamp_seconds":1790147856,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd208680"} 
[2026-09-23 12:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:50: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-09-23 12: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":85,"data_length":795,"current_offset":136} 
[2026-09-23 12:50: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-09-23 12: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-09-23 12:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277845760001,"66":12852,"175":206,"83":42752,"24":0,"16":22682954945789952,"45":1856327502114580480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 12:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277845760001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502114580480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277845760001,"power":12852,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856327502114580480}} 
[2026-09-23 12:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:50:02] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:50:02] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:50:08] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:08] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:08] local.INFO: Packet analysis {"connection_id":190560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:08] local.INFO: Extracted packet for processing {"connection_id":190560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:50: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:50: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-09-23 12:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:50:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":190560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:50:08] local.INFO: GPS data processed {"connection_id":190560,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:50:08] local.INFO: Acknowledgment sent {"connection_id":190560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:50:31] local.INFO: TCP Data received {"connection_id":193232,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:31] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:31] local.INFO: IMEI packet received {"connection_id":193232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":193232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:50:33] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd20d888012d19c300072653e80022013027..."} 
[2026-09-23 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd20d888012d19c300072653e80022013027..."} 
[2026-09-23 12:50:33] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd20d888012d19c300072653e80022013027..."} 
[2026-09-23 12:50:33] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:33] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":39,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277851136001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502114580480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790147877000,"timestamp_ms":1790147877000,"timestamp_seconds":1790147877,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd20d888"} 
[2026-09-23 12:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:50: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-09-23 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 12:50: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-09-23 12:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277851136001,"66":12841,"175":206,"83":42752,"24":0,"16":22682954945789952,"45":1856327502114580480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 12:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277851136001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:50:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 12:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502114580480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277851136001,"power":12841,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856327502114580480}} 
[2026-09-23 12:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:50:33] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:50:33] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:50:36] local.INFO: TCP Data received {"connection_id":193232,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:36] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:50:36] local.INFO: IMEI packet received {"connection_id":193232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":193232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:50:37] local.INFO: TCP Data received {"connection_id":193232,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:37] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:50:37] local.INFO: Packet analysis {"connection_id":193232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:37] local.INFO: Extracted packet for processing {"connection_id":193232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:50: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-09-23 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:50:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":193232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:50:37] local.INFO: GPS data processed {"connection_id":193232,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:50:37] local.INFO: Acknowledgment sent {"connection_id":193232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:50:57] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: IMEI packet received {"connection_id":190561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":190561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:50:57] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:50:57] local.INFO: IMEI packet received {"connection_id":190561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":190561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:51:02] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:02] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:02] local.INFO: IMEI packet received {"connection_id":190561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:51:03] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd212a90012d19c300072653e80022013026..."} 
[2026-09-23 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd212a90012d19c300072653e80022013026..."} 
[2026-09-23 12:51:03] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd212a90012d19c300072653e80022013026..."} 
[2026-09-23 12:51:03] local.INFO: Packet analysis {"connection_id":190561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd21"} 
[2026-09-23 12:51:03] local.INFO: Extracted packet for processing {"connection_id":190561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd21"} 
[2026-09-23 12:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":38,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277856512001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502114580480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790147898000,"timestamp_ms":1790147898000,"timestamp_seconds":1790147898,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd212a90"} 
[2026-09-23 12:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:51: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-09-23 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 12:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277856512001,"66":13961,"175":206,"83":42752,"24":0,"16":22682954945789952,"45":1856327502114580480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 12:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277856512001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:51:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 12:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502114580480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277856512001,"power":13961,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856327502114580480}} 
[2026-09-23 12:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":190561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:51:03] local.INFO: GPS data processed {"connection_id":190561,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:51:03] local.INFO: Acknowledgment sent {"connection_id":190561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:51:08] local.INFO: TCP Data received {"connection_id":193232,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:08] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:08] local.INFO: Packet analysis {"connection_id":193232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:51:08] local.INFO: Extracted packet for processing {"connection_id":193232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:51: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:51:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":193232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:51:08] local.INFO: GPS data processed {"connection_id":193232,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:51:08] local.INFO: Acknowledgment sent {"connection_id":193232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:51:31] local.INFO: TCP Data received {"connection_id":190563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:31] local.INFO: Processing buffer {"connection_id":190563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:31] local.INFO: IMEI packet received {"connection_id":190563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":190563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:51:34] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd217c98012d19c300072653e80022013027..."} 
[2026-09-23 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd217c98012d19c300072653e80022013027..."} 
[2026-09-23 12:51:34] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd217c98012d19c300072653e80022013027..."} 
[2026-09-23 12:51:34] local.INFO: Packet analysis {"connection_id":190561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd21"} 
[2026-09-23 12:51:34] local.INFO: Extracted packet for processing {"connection_id":190561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd21"} 
[2026-09-23 12:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119952360,"longitude_deg":75.666304,"latitude_deg":11.995236,"altitude":34,"angle":304,"satellites":39,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"072653e8","is_valid_coordinates":true} 
[2026-09-23 12:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277861888001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22682954945789952,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502114580480,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790147919000,"timestamp_ms":1790147919000,"timestamp_seconds":1790147919,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd217c98"} 
[2026-09-23 12:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:51: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-09-23 12:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 12:51:34] 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-09-23 12:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277861888001,"66":13993,"232":206,"83":42752,"24":0,"16":22682954945789952,"45":1856327502114580480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277861888001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:51:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22682954945789952,"km_value":22682954945789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502114580480,"description":"Unknown IO ID 45"} 
[2026-09-23 12:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277861888001,"power":13993,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856327502114580480}} 
[2026-09-23 12:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":190561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:51:34] local.INFO: GPS data processed {"connection_id":190561,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:51:34] local.INFO: Acknowledgment sent {"connection_id":190561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:51:36] local.INFO: TCP Data received {"connection_id":190563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:36] local.INFO: Processing buffer {"connection_id":190563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:51:36] local.INFO: IMEI packet received {"connection_id":190563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":190563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:51:37] local.INFO: TCP Data received {"connection_id":190563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:37] local.INFO: Processing buffer {"connection_id":190563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:51:37] local.INFO: Packet analysis {"connection_id":190563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:51:37] local.INFO: Extracted packet for processing {"connection_id":190563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:51: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:51: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-09-23 12:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:51:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":190563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:51:37] local.INFO: GPS data processed {"connection_id":190563,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:51:37] local.INFO: Acknowledgment sent {"connection_id":190563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:51:57] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:57] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:51:57] local.INFO: IMEI packet received {"connection_id":190370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":190370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:52:00] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:00] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:00] local.INFO: IMEI packet received {"connection_id":190370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":190370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:52:02] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:02] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:02] local.INFO: IMEI packet received {"connection_id":190370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":190370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:52:03] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd235540012d19bd80072656a8002100fa22..."} 
[2026-09-23 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd235540012d19bd80072656a8002100fa22..."} 
[2026-09-23 12:52:03] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd235540012d19bd80072656a8002100fa22..."} 
[2026-09-23 12:52:03] local.INFO: Packet analysis {"connection_id":190370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:03] local.INFO: Extracted packet for processing {"connection_id":190370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277892864001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148040000,"timestamp_ms":1790148040000,"timestamp_seconds":1790148040,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd235540"} 
[2026-09-23 12:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52: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-09-23 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 12:52:03] 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-09-23 12:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277892864001,"66":12885,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277892864001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277892864001,"power":12885,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":190370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:03] local.INFO: GPS data processed {"connection_id":190370,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:03] local.INFO: Acknowledgment sent {"connection_id":190370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:07] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd23a748012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd23a748012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:52:07] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd23a748012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:52:07] local.INFO: Packet analysis {"connection_id":190370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:07] local.INFO: Extracted packet for processing {"connection_id":190370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277898240001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790148061000,"timestamp_ms":1790148061000,"timestamp_seconds":1790148061,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd23a748"} 
[2026-09-23 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277898240001,"66":12852,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277898240001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277898240001,"power":12852,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":190370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:07] local.INFO: GPS data processed {"connection_id":190370,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:07] local.INFO: Acknowledgment sent {"connection_id":190370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:08] local.INFO: TCP Data received {"connection_id":190563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:08] local.INFO: Processing buffer {"connection_id":190563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:08] local.INFO: Packet analysis {"connection_id":190563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:52:08] local.INFO: Extracted packet for processing {"connection_id":190563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52: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-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52: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-09-23 12:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":190563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:08] local.INFO: GPS data processed {"connection_id":190563,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:08] local.INFO: Acknowledgment sent {"connection_id":190563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:36] local.INFO: TCP Data received {"connection_id":193233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:36] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:36] local.INFO: IMEI packet received {"connection_id":193233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":193233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:52:40] local.INFO: TCP Data received {"connection_id":190370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd23f950012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd23f950012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:52:40] local.INFO: Processing buffer {"connection_id":190370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd23f950012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:52:40] local.INFO: Packet analysis {"connection_id":190370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:40] local.INFO: Extracted packet for processing {"connection_id":190370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd23"} 
[2026-09-23 12:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277903616001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790148082000,"timestamp_ms":1790148082000,"timestamp_seconds":1790148082,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd23f950"} 
[2026-09-23 12:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52: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-09-23 12:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 12:52: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-09-23 12: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-09-23 12:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277903616001,"66":12841,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277903616001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277903616001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":190370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:40] local.INFO: GPS data processed {"connection_id":190370,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:40] local.INFO: Acknowledgment sent {"connection_id":190370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:41] local.INFO: TCP Data received {"connection_id":193233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:41] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:52:41] local.INFO: IMEI packet received {"connection_id":193233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":193233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:52:42] local.INFO: TCP Data received {"connection_id":193233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:42] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd200d68012d4160c006cb46f00020013329..."} 
[2026-09-23 12:52:42] local.INFO: Packet analysis {"connection_id":193233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:52:42] local.INFO: Extracted packet for processing {"connection_id":193233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd20"} 
[2026-09-23 12:52:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790147825000,"timestamp_ms":1790147825000,"timestamp_seconds":1790147825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd200d68"} 
[2026-09-23 12:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 12:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277766144001,"66":26408,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277766144001,"power":26408,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":193233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:42] local.INFO: GPS data processed {"connection_id":193233,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:42] local.INFO: Acknowledgment sent {"connection_id":193233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:45] local.INFO: TCP Data received {"connection_id":193233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:52:45] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:52:45] local.INFO: Packet analysis {"connection_id":193233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:52:45] local.INFO: Extracted packet for processing {"connection_id":193233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:52: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-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:52:45] 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-09-23 12: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-09-23 12:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:52:45] 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-09-23 12:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:52:45] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":193233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:52:45] local.INFO: GPS data processed {"connection_id":193233,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:52:45] local.INFO: Acknowledgment sent {"connection_id":193233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:52:57] local.INFO: TCP Data received {"connection_id":190371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:57] local.INFO: Processing buffer {"connection_id":190371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:52:57] local.INFO: IMEI packet received {"connection_id":190371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":190371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:53:02] local.INFO: TCP Data received {"connection_id":190371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:02] local.INFO: Processing buffer {"connection_id":190371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:02] local.INFO: IMEI packet received {"connection_id":190371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":190371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:53:03] local.INFO: TCP Data received {"connection_id":190371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd244b58012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd244b58012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:53:03] local.INFO: Processing buffer {"connection_id":190371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd244b58012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:53:03] local.INFO: Packet analysis {"connection_id":190371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:03] local.INFO: Extracted packet for processing {"connection_id":190371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277908992001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148103000,"timestamp_ms":1790148103000,"timestamp_seconds":1790148103,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd244b58"} 
[2026-09-23 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-09-23 12:53: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-09-23 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277908992001,"66":12798,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277908992001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:53:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277908992001,"power":12798,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":190371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:53:03] local.INFO: GPS data processed {"connection_id":190371,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:53:03] local.INFO: Acknowledgment sent {"connection_id":190371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:53:16] local.INFO: TCP Data received {"connection_id":193233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:16] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:16] local.INFO: Packet analysis {"connection_id":193233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:16] local.INFO: Extracted packet for processing {"connection_id":193233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:53:16] 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-09-23 12: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-09-23 12:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:53:16] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":193233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:53:16] local.INFO: GPS data processed {"connection_id":193233,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:53:16] local.INFO: Acknowledgment sent {"connection_id":193233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:53:31] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:31] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:31] local.INFO: IMEI packet received {"connection_id":191903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:53:34] local.INFO: TCP Data received {"connection_id":190371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd249d60012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd249d60012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:53:34] local.INFO: Processing buffer {"connection_id":190371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd249d60012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:53:34] local.INFO: Packet analysis {"connection_id":190371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:34] local.INFO: Extracted packet for processing {"connection_id":190371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277914368001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148124000,"timestamp_ms":1790148124000,"timestamp_seconds":1790148124,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd249d60"} 
[2026-09-23 12:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:53: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-09-23 12: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":254,"data_length":795,"current_offset":136} 
[2026-09-23 12:53: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-09-23 12: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-09-23 12:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277914368001,"66":12798,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277914368001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:53:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277914368001,"power":12798,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":190371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:53:34] local.INFO: GPS data processed {"connection_id":190371,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:53:34] local.INFO: Acknowledgment sent {"connection_id":190371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:53:36] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:36] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:53:36] local.INFO: IMEI packet received {"connection_id":191903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":191903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:53:37] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:37] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:53:37] local.INFO: Packet analysis {"connection_id":191903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:37] local.INFO: Extracted packet for processing {"connection_id":191903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:53: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-09-23 12:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12: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-09-23 12:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:53:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":191903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:53:37] local.INFO: GPS data processed {"connection_id":191903,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:53:37] local.INFO: Acknowledgment sent {"connection_id":191903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:53:57] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:57] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:53:57] local.INFO: IMEI packet received {"connection_id":193234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":193234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:54:02] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:54:02] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:54:02] local.INFO: IMEI packet received {"connection_id":193234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":193234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:54:03] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24ef68012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24ef68012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:54:03] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24ef68012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:54:03] local.INFO: Packet analysis {"connection_id":193234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:03] local.INFO: Extracted packet for processing {"connection_id":193234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277919744001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148145000,"timestamp_ms":1790148145000,"timestamp_seconds":1790148145,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24ef68"} 
[2026-09-23 12:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:54: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-09-23 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 12:54: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-09-23 12: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-09-23 12:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277919744001,"66":12809,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277919744001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:54:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277919744001,"power":12809,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":193234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:54:03] local.INFO: GPS data processed {"connection_id":193234,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:54:03] local.INFO: Acknowledgment sent {"connection_id":193234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:54:08] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:08] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:08] local.INFO: Packet analysis {"connection_id":191903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:08] local.INFO: Extracted packet for processing {"connection_id":191903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:54: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-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:54:08] 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-09-23 12: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-09-23 12:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:54:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":191903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:54:08] local.INFO: GPS data processed {"connection_id":191903,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:54:08] local.INFO: Acknowledgment sent {"connection_id":191903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:54:30] local.INFO: TCP Data received {"connection_id":190564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:54:30] local.INFO: Processing buffer {"connection_id":190564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:54:30] local.INFO: IMEI packet received {"connection_id":190564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":190564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:54:32] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:32] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:32] local.INFO: IMEI packet received {"connection_id":190565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":190565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:54:34] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd254170012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd254170012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:54:34] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd254170012d19bd80072656a8002100fa23..."} 
[2026-09-23 12:54:34] local.INFO: Packet analysis {"connection_id":193234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:54:34] local.INFO: Extracted packet for processing {"connection_id":193234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277925120001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148166000,"timestamp_ms":1790148166000,"timestamp_seconds":1790148166,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd254170"} 
[2026-09-23 12:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:54: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-09-23 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3441623864,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2499832049777098112,"corrected_to":0} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2147952214,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854343561596499,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2519072768,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2762580139945556519,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,45,128,86,33,39,10,66,75,37,249,1,240,41,227,205,38,4,113,85,189,168,34,239,50,2,80,7,167],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2499832049777098112,"validated":0}]} 
[2026-09-23 12:54:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378175648662290432,"timestamp_seconds":2378175648662290.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 12:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277925120001,"66":12765,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277925120001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:54:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277925120001,"power":12765,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":193234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:54:34] local.INFO: GPS data processed {"connection_id":193234,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:54:34] local.INFO: Acknowledgment sent {"connection_id":193234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:54:36] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:36] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:54:36] local.INFO: IMEI packet received {"connection_id":190565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:54:37] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:37] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:54:37] local.INFO: Packet analysis {"connection_id":190565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:37] local.INFO: Extracted packet for processing {"connection_id":190565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12: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-09-23 12: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-09-23 12:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:54: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-09-23 12:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:54:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":190565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:54:37] local.INFO: GPS data processed {"connection_id":190565,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:54:37] local.INFO: Acknowledgment sent {"connection_id":190565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:02] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:02] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:02] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:55:07] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:07] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:07] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:55:08] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd259378012d19bd80072656a8002100fa24..."} 
[2026-09-23 12:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd259378012d19bd80072656a8002100fa24..."} 
[2026-09-23 12:55:08] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd259378012d19bd80072656a8002100fa24..."} 
[2026-09-23 12:55:08] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:55:08] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277930496001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148187000,"timestamp_ms":1790148187000,"timestamp_seconds":1790148187,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd259378"} 
[2026-09-23 12:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-23 12:55: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-09-23 12: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-09-23 12:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277930496001,"66":12776,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277930496001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277930496001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:55:08] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:55:08] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:08] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:08] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:08] local.INFO: Packet analysis {"connection_id":190565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:55:08] local.INFO: Extracted packet for processing {"connection_id":190565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:55: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-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:55:08] 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-09-23 12: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-09-23 12:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":190565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:55:08] local.INFO: GPS data processed {"connection_id":190565,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:55:08] local.INFO: Acknowledgment sent {"connection_id":190565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:09] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd25e968012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd25e968012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:55:09] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd25e968012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:55:09] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:55:09] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd25"} 
[2026-09-23 12:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277935872001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790148209000,"timestamp_ms":1790148209000,"timestamp_seconds":1790148209,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd25e968"} 
[2026-09-23 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-09-23 12:55: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-09-23 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 12:55:09] 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-09-23 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-09-23 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-09-23 12:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277935872001,"66":12743,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277935872001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:55:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277935872001,"power":12743,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:55:09] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:55:09] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:09] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:55:09] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 12:55:09] local.INFO: IMEI packet received {"connection_id":191905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":191905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:55:31] local.INFO: TCP Data received {"connection_id":193235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:31] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:31] local.INFO: IMEI packet received {"connection_id":193235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":193235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:55:36] local.INFO: TCP Data received {"connection_id":193235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:36] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:55:36] local.INFO: IMEI packet received {"connection_id":193235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":193235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:55:37] local.INFO: TCP Data received {"connection_id":193235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:37] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:55:37] local.INFO: Packet analysis {"connection_id":193235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:55:37] local.INFO: Extracted packet for processing {"connection_id":193235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:55: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-09-23 12:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:55: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-09-23 12:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:55:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":193235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:55:37] local.INFO: GPS data processed {"connection_id":193235,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:55:37] local.INFO: Acknowledgment sent {"connection_id":193235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:40] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd263788012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd263788012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:55:40] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd263788012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:55:40] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:55:40] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277941504001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790148229000,"timestamp_ms":1790148229000,"timestamp_seconds":1790148229,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd263788"} 
[2026-09-23 12:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 12:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277941504001,"66":12743,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277941504001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:55:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277941504001,"power":12743,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:55:40] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:55:40] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:55:57] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:57] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:55:57] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:56:02] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:02] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:02] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:56:03] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd268990012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd268990012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:56:03] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd268990012d19bd80072656a8002100fa27..."} 
[2026-09-23 12:56:03] local.INFO: Packet analysis {"connection_id":190566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:56:03] local.INFO: Extracted packet for processing {"connection_id":190566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277946624001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148250000,"timestamp_ms":1790148250000,"timestamp_seconds":1790148250,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd268990"} 
[2026-09-23 12:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:56: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-09-23 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 12:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 12: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-09-23 12:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277946624001,"66":12722,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277946624001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:56:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277946624001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":190566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:56:03] local.INFO: GPS data processed {"connection_id":190566,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:56:03] local.INFO: Acknowledgment sent {"connection_id":190566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:56:08] local.INFO: TCP Data received {"connection_id":193235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:08] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:08] local.INFO: Packet analysis {"connection_id":193235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:56:08] local.INFO: Extracted packet for processing {"connection_id":193235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:56:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:56: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-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:56:08] 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-09-23 12: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-09-23 12:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:56:08] 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-09-23 12:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:56:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":193235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:56:08] local.INFO: GPS data processed {"connection_id":193235,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:56:08] local.INFO: Acknowledgment sent {"connection_id":193235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:56:31] local.INFO: TCP Data received {"connection_id":191906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:31] local.INFO: Processing buffer {"connection_id":191906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:31] local.INFO: IMEI packet received {"connection_id":191906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":191906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:56:34] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd26db98012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd26db98012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:56:34] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd26db98012d19bd80072656a8002100fa25..."} 
[2026-09-23 12:56:34] local.INFO: Packet analysis {"connection_id":190566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:56:34] local.INFO: Extracted packet for processing {"connection_id":190566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd26"} 
[2026-09-23 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277952000001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148271000,"timestamp_ms":1790148271000,"timestamp_seconds":1790148271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd26db98"} 
[2026-09-23 12:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:56: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-09-23 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:56:34] 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-09-23 12: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-09-23 12:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277952000001,"66":12689,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277952000001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:56:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277952000001,"power":12689,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":190566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:56:34] local.INFO: GPS data processed {"connection_id":190566,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:56:34] local.INFO: Acknowledgment sent {"connection_id":190566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:56:36] local.INFO: TCP Data received {"connection_id":191906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:36] local.INFO: Processing buffer {"connection_id":191906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:56:36] local.INFO: IMEI packet received {"connection_id":191906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":191906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:56:37] local.INFO: TCP Data received {"connection_id":191906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:37] local.INFO: Processing buffer {"connection_id":191906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:56:37] local.INFO: Packet analysis {"connection_id":191906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:56:37] local.INFO: Extracted packet for processing {"connection_id":191906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:56: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-09-23 12:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:56: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-09-23 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:56:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":191906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:56:37] local.INFO: GPS data processed {"connection_id":191906,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:56:37] local.INFO: Acknowledgment sent {"connection_id":191906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:56:54] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:54] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:54] local.INFO: IMEI packet received {"connection_id":190372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":190372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:56:57] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:57] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:56:57] local.INFO: IMEI packet received {"connection_id":190372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":190372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:57:02] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:02] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:02] local.INFO: IMEI packet received {"connection_id":190372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:57:03] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a0cd272da0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":93,"packet_hex":"00000000000000518e01000001a0cd272da0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:03] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0cd272da0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:03] local.INFO: Packet analysis {"connection_id":190372,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0cd27"} 
[2026-09-23 12:57:03] local.INFO: Extracted packet for processing {"connection_id":190372,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0cd27"} 
[2026-09-23 12:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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":93,"current_offset":40} 
[2026-09-23 12:57:03] 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-09-23 12:57:03] 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-09-23 12:57:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:57:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 12:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190372,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 12:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190372,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 12:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190372,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-23 12:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 12:57:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 12:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":190372,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 12:57:03] local.ERROR: GPS data processing failed {"connection_id":190372,"error":"No valid data to process"} 
[2026-09-23 12:57:03] local.INFO: Acknowledgment sent {"connection_id":190372,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 12:57:08] local.INFO: TCP Data received {"connection_id":191906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:08] local.INFO: Processing buffer {"connection_id":191906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:08] local.INFO: Packet analysis {"connection_id":191906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:57:08] local.INFO: Extracted packet for processing {"connection_id":191906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:57:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:57: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-09-23 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:57:08] 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-09-23 12: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-09-23 12:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57: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-09-23 12:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:57:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":191906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:57:08] local.INFO: GPS data processed {"connection_id":191906,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:57:08] local.INFO: Acknowledgment sent {"connection_id":191906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:57:34] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd277fa8012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd277fa8012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:34] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd277fa8012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:57:34] local.INFO: Packet analysis {"connection_id":190372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd27"} 
[2026-09-23 12:57:34] local.INFO: Extracted packet for processing {"connection_id":190372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd27"} 
[2026-09-23 12:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277962752001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148313000,"timestamp_ms":1790148313000,"timestamp_seconds":1790148313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd277fa8"} 
[2026-09-23 12:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:57: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-09-23 12:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:57:34] 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-09-23 12:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277962752001,"66":12722,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277962752001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:57:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277962752001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":190372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:57:34] local.INFO: GPS data processed {"connection_id":190372,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:57:34] local.INFO: Acknowledgment sent {"connection_id":190372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:57:36] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:36] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:36] local.INFO: IMEI packet received {"connection_id":191908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":191908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:57:41] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:41] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:57:41] local.INFO: IMEI packet received {"connection_id":191908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":191908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:57:42] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:42] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd24a530012d4160c006cb46f0002001332a..."} 
[2026-09-23 12:57:42] local.INFO: Packet analysis {"connection_id":191908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:57:42] local.INFO: Extracted packet for processing {"connection_id":191908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd24"} 
[2026-09-23 12:57:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277843200001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790148126000,"timestamp_ms":1790148126000,"timestamp_seconds":1790148126,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd24a530"} 
[2026-09-23 12:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 12:57: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-09-23 12:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277843200001,"66":26158,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277843200001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:57:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277843200001,"power":26158,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":191908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:57:42] local.INFO: GPS data processed {"connection_id":191908,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:57:42] local.INFO: Acknowledgment sent {"connection_id":191908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:57:46] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:57:46] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:57:46] local.INFO: Packet analysis {"connection_id":191908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:57:46] local.INFO: Extracted packet for processing {"connection_id":191908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 12:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 12:57:46] 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-09-23 12:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:57:46] 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-09-23 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:57:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":191908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:57:46] local.INFO: GPS data processed {"connection_id":191908,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:57:46] local.INFO: Acknowledgment sent {"connection_id":191908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:57:57] local.INFO: TCP Data received {"connection_id":193237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:57:57] local.INFO: TCP Data received {"connection_id":193237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:57:57] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:58:02] local.INFO: TCP Data received {"connection_id":193237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:02] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:02] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:58:03] local.INFO: TCP Data received {"connection_id":193237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd27d1b0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd27d1b0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:58:03] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd27d1b0012d19bd80072656a8002100fa26..."} 
[2026-09-23 12:58:03] local.INFO: Packet analysis {"connection_id":193237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd27"} 
[2026-09-23 12:58:03] local.INFO: Extracted packet for processing {"connection_id":193237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd27"} 
[2026-09-23 12:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119953064,"longitude_deg":75.6661632,"latitude_deg":11.9953064,"altitude":33,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19bd80","hex_latitude":"072656a8","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277968128001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683088089776128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148334000,"timestamp_ms":1790148334000,"timestamp_seconds":1790148334,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd27d1b0"} 
[2026-09-23 12:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:58: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-09-23 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:58:03] 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-09-23 12: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-09-23 12:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277968128001,"66":12711,"232":206,"83":42752,"24":0,"16":22683088089776128,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277968128001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:58:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683088089776128,"km_value":22683088089776.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277968128001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":193237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:58:03] local.INFO: GPS data processed {"connection_id":193237,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:58:03] local.INFO: Acknowledgment sent {"connection_id":193237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:58:31] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:31] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:31] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:58:35] local.INFO: TCP Data received {"connection_id":193237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2823b8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2823b8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:58:35] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2823b8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:58:35] local.INFO: Packet analysis {"connection_id":193237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:58:35] local.INFO: Extracted packet for processing {"connection_id":193237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277973504001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389742852096,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790148355000,"timestamp_ms":1790148355000,"timestamp_seconds":1790148355,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2823b8"} 
[2026-09-23 12:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:58:35] 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-09-23 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 12:58:35] 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-09-23 12: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-09-23 12:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277973504001,"66":12722,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1854779389742852096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277973504001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:58:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389742852096,"description":"Unknown IO ID 45"} 
[2026-09-23 12:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277973504001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854779389742852096}} 
[2026-09-23 12:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":193237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:58:35] local.INFO: GPS data processed {"connection_id":193237,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:58:35] local.INFO: Acknowledgment sent {"connection_id":193237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:58:36] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:36] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:58:36] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:58:37] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:58:37] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:58:37] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:58:37] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 12:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 12:58: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-09-23 12:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:58:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:58:37] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:58:37] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:58:57] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:57] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:58:57] local.INFO: IMEI packet received {"connection_id":190567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":190567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:59:00] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:00] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:00] local.INFO: IMEI packet received {"connection_id":190567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 12:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":190567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:59:01] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2875c0012d19ba0007265858001f00fa26..."} 
[2026-09-23 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2875c0012d19ba0007265858001f00fa26..."} 
[2026-09-23 12:59:01] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2875c0012d19ba0007265858001f00fa26..."} 
[2026-09-23 12:59:01] local.INFO: Packet analysis {"connection_id":190567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:59:01] local.INFO: Extracted packet for processing {"connection_id":190567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277978880001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790148376000,"timestamp_ms":1790148376000,"timestamp_seconds":1790148376,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2875c0"} 
[2026-09-23 12:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:59: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-09-23 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 12:59: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-09-23 12:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 12:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277978880001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277978880001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277978880001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 12:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":190567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:59:01] local.INFO: GPS data processed {"connection_id":190567,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:59:01] local.INFO: Acknowledgment sent {"connection_id":190567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:59:08] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:08] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:08] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:59:08] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12: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-09-23 12:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 12:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:59: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-09-23 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 12:59:08] 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-09-23 12: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-09-23 12:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:59:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:59:08] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:59:08] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:59:32] local.INFO: TCP Data received {"connection_id":193238,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:32] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:32] local.INFO: IMEI packet received {"connection_id":193238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":193238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 12:59:32] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd28c7c8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd28c7c8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:59:32] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd28c7c8012d19ba0007265858001f00fa27..."} 
[2026-09-23 12:59:32] local.INFO: Packet analysis {"connection_id":190567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:59:32] local.INFO: Extracted packet for processing {"connection_id":190567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd28"} 
[2026-09-23 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 12:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277984256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790148397000,"timestamp_ms":1790148397000,"timestamp_seconds":1790148397,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd28c7c8"} 
[2026-09-23 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-09-23 12:59: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-09-23 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 12:59: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-09-23 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-09-23 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-09-23 12:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 12:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 12:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 12:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 12:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277984256001,"66":12711,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 12:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 12:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 12:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277984256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:59:32] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 12:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 12:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277984256001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 12:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":190567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:59:32] local.INFO: GPS data processed {"connection_id":190567,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:59:32] local.INFO: Acknowledgment sent {"connection_id":190567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:59:36] local.INFO: TCP Data received {"connection_id":193238,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:36] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 12:59:36] local.INFO: IMEI packet received {"connection_id":193238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 12:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":193238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 12:59:37] local.INFO: TCP Data received {"connection_id":193238,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:37] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 12:59:37] local.INFO: Packet analysis {"connection_id":193238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:59:37] local.INFO: Extracted packet for processing {"connection_id":193238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 12:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 12:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 12:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 12:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 12:59: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-09-23 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 12:59: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-09-23 12: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-09-23 12:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 12:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 12:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 12:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 12:59: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-09-23 12:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 12:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 12:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 12:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 12:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 12:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 12:59:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 12:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 12:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 12:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 12:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 12:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":193238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 12:59:37] local.INFO: GPS data processed {"connection_id":193238,"processed":1,"errors":0,"total":1} 
[2026-09-23 12:59:37] local.INFO: Acknowledgment sent {"connection_id":193238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 12:59:57] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:57] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 12:59:57] local.INFO: IMEI packet received {"connection_id":190569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":190569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:00:02] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:02] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:02] local.INFO: IMEI packet received {"connection_id":190569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:00:03] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2919d0012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2919d0012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:00:03] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2919d0012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:00:03] local.INFO: Packet analysis {"connection_id":190569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:03] local.INFO: Extracted packet for processing {"connection_id":190569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277989632001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148418000,"timestamp_ms":1790148418000,"timestamp_seconds":1790148418,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2919d0"} 
[2026-09-23 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-09-23 13:00: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-09-23 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 13:00:03] 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-09-23 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-09-23 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-09-23 13:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277989632001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277989632001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:00:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277989632001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":190569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:00:03] local.INFO: GPS data processed {"connection_id":190569,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:00:03] local.INFO: Acknowledgment sent {"connection_id":190569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:00:08] local.INFO: TCP Data received {"connection_id":193238,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:08] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:08] local.INFO: Packet analysis {"connection_id":193238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:08] local.INFO: Extracted packet for processing {"connection_id":193238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 13:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:00: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-09-23 13:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:00:08] 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-09-23 13:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:00:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":193238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:00:08] local.INFO: GPS data processed {"connection_id":193238,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:00:08] local.INFO: Acknowledgment sent {"connection_id":193238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:00:31] local.INFO: TCP Data received {"connection_id":193239,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:31] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:31] local.INFO: IMEI packet received {"connection_id":193239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":193239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:00:34] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd296bd8012d19ba0007265858001f00fa22..."} 
[2026-09-23 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd296bd8012d19ba0007265858001f00fa22..."} 
[2026-09-23 13:00:34] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd296bd8012d19ba0007265858001f00fa22..."} 
[2026-09-23 13:00:34] local.INFO: Packet analysis {"connection_id":190569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:34] local.INFO: Extracted packet for processing {"connection_id":190569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277995008001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148439000,"timestamp_ms":1790148439000,"timestamp_seconds":1790148439,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd296bd8"} 
[2026-09-23 13:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:00: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:00:34] 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-09-23 13: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-09-23 13:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277995008001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277995008001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:00:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277995008001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":190569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:00:34] local.INFO: GPS data processed {"connection_id":190569,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:00:34] local.INFO: Acknowledgment sent {"connection_id":190569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:00:36] local.INFO: TCP Data received {"connection_id":193239,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:36] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:00:36] local.INFO: IMEI packet received {"connection_id":193239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":193239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:00:37] local.INFO: TCP Data received {"connection_id":193239,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:37] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:00:37] local.INFO: Packet analysis {"connection_id":193239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:37] local.INFO: Extracted packet for processing {"connection_id":193239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 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-09-23 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:00: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-09-23 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-09-23 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-09-23 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:00: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-09-23 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:00:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":193239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:00:37] local.INFO: GPS data processed {"connection_id":193239,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:00:37] local.INFO: Acknowledgment sent {"connection_id":193239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:00:40] local.INFO: TCP Data received {"connection_id":190570,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:00:40] local.INFO: Processing buffer {"connection_id":190570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:00:40] local.INFO: IMEI packet received {"connection_id":190570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":190570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:00:57] local.INFO: TCP Data received {"connection_id":190375,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:57] local.INFO: Processing buffer {"connection_id":190375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:00:57] local.INFO: IMEI packet received {"connection_id":190375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":190375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:01:02] local.INFO: TCP Data received {"connection_id":190375,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:02] local.INFO: Processing buffer {"connection_id":190375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:02] local.INFO: IMEI packet received {"connection_id":190375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":190375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:01:03] local.INFO: TCP Data received {"connection_id":190375,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd29bde0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd29bde0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:03] local.INFO: Processing buffer {"connection_id":190375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd29bde0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:03] local.INFO: Packet analysis {"connection_id":190375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:03] local.INFO: Extracted packet for processing {"connection_id":190375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278000384001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148460000,"timestamp_ms":1790148460000,"timestamp_seconds":1790148460,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd29bde0"} 
[2026-09-23 13:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:01: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-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:01: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-09-23 13: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-09-23 13:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278000384001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278000384001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:01:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278000384001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":190375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:01:03] local.INFO: GPS data processed {"connection_id":190375,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:01:03] local.INFO: Acknowledgment sent {"connection_id":190375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:01:08] local.INFO: TCP Data received {"connection_id":193239,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:08] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:08] local.INFO: Packet analysis {"connection_id":193239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:08] local.INFO: Extracted packet for processing {"connection_id":193239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 13:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:01: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-09-23 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:01:08] 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-09-23 13: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-09-23 13:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":193239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:01:08] local.INFO: GPS data processed {"connection_id":193239,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:01:08] local.INFO: Acknowledgment sent {"connection_id":193239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:01:34] local.INFO: TCP Data received {"connection_id":190375,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2a0fe8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2a0fe8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:34] local.INFO: Processing buffer {"connection_id":190375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2a0fe8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:01:34] local.INFO: Packet analysis {"connection_id":190375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:01:34] local.INFO: Extracted packet for processing {"connection_id":190375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278005760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148481000,"timestamp_ms":1790148481000,"timestamp_seconds":1790148481,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2a0fe8"} 
[2026-09-23 13:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:01: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:01:34] 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-09-23 13: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-09-23 13:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278005760001,"66":12689,"175":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278005760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:01:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278005760001,"power":12689,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":190375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:01:34] local.INFO: GPS data processed {"connection_id":190375,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:01:34] local.INFO: Acknowledgment sent {"connection_id":190375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:01:36] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:36] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:36] local.INFO: IMEI packet received {"connection_id":193240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":193240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:01:41] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:41] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:01:41] local.INFO: IMEI packet received {"connection_id":193240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":193240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:01:42] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:42] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:42] local.INFO: Packet analysis {"connection_id":193240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:42] local.INFO: Extracted packet for processing {"connection_id":193240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 13:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:01: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-09-23 13:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:01:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":193240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:01:42] local.INFO: GPS data processed {"connection_id":193240,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:01:42] local.INFO: Acknowledgment sent {"connection_id":193240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:01:47] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:47] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:01:47] local.INFO: Packet analysis {"connection_id":193240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:47] local.INFO: Extracted packet for processing {"connection_id":193240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 13:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:01: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-09-23 13:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:01:47] 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-09-23 13:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:01:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":193240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:01:47] local.INFO: GPS data processed {"connection_id":193240,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:01:47] local.INFO: Acknowledgment sent {"connection_id":193240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:01:47] local.INFO: TCP Data received {"connection_id":190376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:01:47] local.INFO: Processing buffer {"connection_id":190376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:01:47] local.INFO: IMEI packet received {"connection_id":190376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":190376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:01:57] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:57] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:01:57] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:02:02] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:02] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:02] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:02:03] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2a61f0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2a61f0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:02:03] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2a61f0012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:02:03] local.INFO: Packet analysis {"connection_id":190377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:02:03] local.INFO: Extracted packet for processing {"connection_id":190377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278011136001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148502000,"timestamp_ms":1790148502000,"timestamp_seconds":1790148502,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2a61f0"} 
[2026-09-23 13:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:02: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-09-23 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 13:02:03] 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-09-23 13: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-09-23 13:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278011136001,"66":12689,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278011136001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278011136001,"power":12689,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":190377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:02:03] local.INFO: GPS data processed {"connection_id":190377,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:02:03] local.INFO: Acknowledgment sent {"connection_id":190377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:02:31] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:31] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:31] local.INFO: IMEI packet received {"connection_id":191909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:02:34] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2ab3f8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2ab3f8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:02:34] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2ab3f8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:02:34] local.INFO: Packet analysis {"connection_id":190377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:02:34] local.INFO: Extracted packet for processing {"connection_id":190377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2a"} 
[2026-09-23 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278016512001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148523000,"timestamp_ms":1790148523000,"timestamp_seconds":1790148523,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2ab3f8"} 
[2026-09-23 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-09-23 13:02: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-09-23 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 13:02:34] 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-09-23 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-09-23 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-09-23 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278016512001,"66":12689,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278016512001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:02:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278016512001,"power":12689,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":190377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:02:34] local.INFO: GPS data processed {"connection_id":190377,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:02:34] local.INFO: Acknowledgment sent {"connection_id":190377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:02:36] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:36] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:02:36] local.INFO: IMEI packet received {"connection_id":191909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":191909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:02:37] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:02:37] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd293cf8012d4160c006cb46f00020013328..."} 
[2026-09-23 13:02:37] local.INFO: Packet analysis {"connection_id":191909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:02:37] local.INFO: Extracted packet for processing {"connection_id":191909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd29"} 
[2026-09-23 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277920256001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148427000,"timestamp_ms":1790148427000,"timestamp_seconds":1790148427,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd293cf8"} 
[2026-09-23 13:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 13:02: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-09-23 13:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277920256001,"66":26136,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277920256001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:02:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277920256001,"power":26136,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":191909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:02:37] local.INFO: GPS data processed {"connection_id":191909,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:02:37] local.INFO: Acknowledgment sent {"connection_id":191909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:02:57] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:57] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:02:57] local.INFO: IMEI packet received {"connection_id":190571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":190571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:03:01] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:01] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:01] local.INFO: IMEI packet received {"connection_id":191910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":191910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:03:02] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:03:02] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:03:02] local.INFO: IMEI packet received {"connection_id":190571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":190571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:03:03] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2b0600012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2b0600012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:03:03] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2b0600012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:03:03] local.INFO: Packet analysis {"connection_id":190571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:03:03] local.INFO: Extracted packet for processing {"connection_id":190571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278021888001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148544000,"timestamp_ms":1790148544000,"timestamp_seconds":1790148544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2b0600"} 
[2026-09-23 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:03: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-09-23 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 13:03:03] 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-09-23 13: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-09-23 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278021888001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278021888001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:03:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278021888001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":190571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:03:03] local.INFO: GPS data processed {"connection_id":190571,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:03:03] local.INFO: Acknowledgment sent {"connection_id":190571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:03:06] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:06] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:06] local.INFO: IMEI packet received {"connection_id":191910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:03:07] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:07] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:07] local.INFO: Packet analysis {"connection_id":191910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:03:07] local.INFO: Extracted packet for processing {"connection_id":191910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:03: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-09-23 13:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:03:07] local.INFO: GPS data processed {"connection_id":191910,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:03:07] local.INFO: Acknowledgment sent {"connection_id":191910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:03:31] local.INFO: TCP Data received {"connection_id":193242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:31] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:31] local.INFO: IMEI packet received {"connection_id":193242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":193242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:03:34] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2b5808012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2b5808012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:03:34] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2b5808012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:03:34] local.INFO: Packet analysis {"connection_id":190571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:03:34] local.INFO: Extracted packet for processing {"connection_id":190571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278027264001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148565000,"timestamp_ms":1790148565000,"timestamp_seconds":1790148565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2b5808"} 
[2026-09-23 13:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:03: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:03:34] 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-09-23 13: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-09-23 13:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278027264001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278027264001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:03:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278027264001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":190571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:03:34] local.INFO: GPS data processed {"connection_id":190571,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:03:34] local.INFO: Acknowledgment sent {"connection_id":190571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:03:36] local.INFO: TCP Data received {"connection_id":193242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:36] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:03:36] local.INFO: IMEI packet received {"connection_id":193242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":193242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:03:37] local.INFO: TCP Data received {"connection_id":193242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:37] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:03:37] local.INFO: Packet analysis {"connection_id":193242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:03:37] local.INFO: Extracted packet for processing {"connection_id":193242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:03: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-09-23 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:03:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":193242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:03:37] local.INFO: GPS data processed {"connection_id":193242,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:03:37] local.INFO: Acknowledgment sent {"connection_id":193242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:04:02] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:02] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:02] local.INFO: IMEI packet received {"connection_id":193243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":193243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:04:07] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:07] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:07] local.INFO: IMEI packet received {"connection_id":193243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":193243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:04:08] local.INFO: TCP Data received {"connection_id":193242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:08] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:08] local.INFO: Packet analysis {"connection_id":193242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:04:08] local.INFO: Extracted packet for processing {"connection_id":193242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:04:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:04: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-09-23 13:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:04:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":193242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:04:08] local.INFO: GPS data processed {"connection_id":193242,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:04:08] local.INFO: Acknowledgment sent {"connection_id":193242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:04:10] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2baa10012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2baa10012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:04:10] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2baa10012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:04:10] local.INFO: Packet analysis {"connection_id":193243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:04:10] local.INFO: Extracted packet for processing {"connection_id":193243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278032640001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790148586000,"timestamp_ms":1790148586000,"timestamp_seconds":1790148586,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2baa10"} 
[2026-09-23 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278032640001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278032640001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278032640001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":193243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:04:10] local.INFO: GPS data processed {"connection_id":193243,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:04:10] local.INFO: Acknowledgment sent {"connection_id":193243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:04:12] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2bfc18012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2bfc18012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:04:12] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2bfc18012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:04:12] local.INFO: Packet analysis {"connection_id":193243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:04:12] local.INFO: Extracted packet for processing {"connection_id":193243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2b"} 
[2026-09-23 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278038016001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790148607000,"timestamp_ms":1790148607000,"timestamp_seconds":1790148607,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2bfc18"} 
[2026-09-23 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-09-23 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:04:12] 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-09-23 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-09-23 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-09-23 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278038016001,"66":12635,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278038016001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:04:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278038016001,"power":12635,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":193243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:04:12] local.INFO: GPS data processed {"connection_id":193243,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:04:12] local.INFO: Acknowledgment sent {"connection_id":193243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:04:31] local.INFO: TCP Data received {"connection_id":191912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:31] local.INFO: Processing buffer {"connection_id":191912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:31] local.INFO: IMEI packet received {"connection_id":191912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:04:36] local.INFO: TCP Data received {"connection_id":191912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:36] local.INFO: Processing buffer {"connection_id":191912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:04:36] local.INFO: IMEI packet received {"connection_id":191912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":191912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:04:37] local.INFO: TCP Data received {"connection_id":191912,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:37] local.INFO: Processing buffer {"connection_id":191912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:04:37] local.INFO: Packet analysis {"connection_id":191912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:04:37] local.INFO: Extracted packet for processing {"connection_id":191912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:04: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-09-23 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:04: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-09-23 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":191912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:04:37] local.INFO: GPS data processed {"connection_id":191912,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:04:37] local.INFO: Acknowledgment sent {"connection_id":191912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:04:57] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: IMEI packet received {"connection_id":190573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":190573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:04:57] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:04:57] local.INFO: IMEI packet received {"connection_id":190573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":190573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:05:02] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:02] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:02] local.INFO: IMEI packet received {"connection_id":190573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:05:03] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2c4e20012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2c4e20012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:03] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2c4e20012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:03] local.INFO: Packet analysis {"connection_id":190573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2c"} 
[2026-09-23 13:05:03] local.INFO: Extracted packet for processing {"connection_id":190573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2c"} 
[2026-09-23 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278043392001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148628000,"timestamp_ms":1790148628000,"timestamp_seconds":1790148628,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2c4e20"} 
[2026-09-23 13:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:05: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-09-23 13: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 13:05:03] 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-09-23 13: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-09-23 13:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278043392001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278043392001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:05:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278043392001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":190573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:05:03] local.INFO: GPS data processed {"connection_id":190573,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:05:03] local.INFO: Acknowledgment sent {"connection_id":190573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:05:08] local.INFO: TCP Data received {"connection_id":191912,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:08] local.INFO: Processing buffer {"connection_id":191912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:08] local.INFO: Packet analysis {"connection_id":191912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:08] local.INFO: Extracted packet for processing {"connection_id":191912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05: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-09-23 13:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:05:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":191912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:05:08] local.INFO: GPS data processed {"connection_id":191912,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:05:08] local.INFO: Acknowledgment sent {"connection_id":191912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:05:34] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2ca028012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2ca028012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:34] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2ca028012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:05:34] local.INFO: Packet analysis {"connection_id":190573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2c"} 
[2026-09-23 13:05:34] local.INFO: Extracted packet for processing {"connection_id":190573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2c"} 
[2026-09-23 13:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:05: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-09-23 13:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278048768001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148649000,"timestamp_ms":1790148649000,"timestamp_seconds":1790148649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2ca028"} 
[2026-09-23 13:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:05: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:05:34] 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-09-23 13: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-09-23 13:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278048768001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278048768001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:05:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278048768001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":190573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:05:34] local.INFO: GPS data processed {"connection_id":190573,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:05:34] local.INFO: Acknowledgment sent {"connection_id":190573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:05:36] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:36] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:36] local.INFO: IMEI packet received {"connection_id":190574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":190574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:05:41] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:41] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:05:41] local.INFO: IMEI packet received {"connection_id":190574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":190574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:05:42] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:42] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:42] local.INFO: Packet analysis {"connection_id":190574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:42] local.INFO: Extracted packet for processing {"connection_id":190574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:05: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-09-23 13:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05: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-09-23 13:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:05:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":190574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:05:42] local.INFO: GPS data processed {"connection_id":190574,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:05:42] local.INFO: Acknowledgment sent {"connection_id":190574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:05:47] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:47] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:05:47] local.INFO: Packet analysis {"connection_id":190574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:47] local.INFO: Extracted packet for processing {"connection_id":190574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:05:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":190574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:05:47] local.INFO: GPS data processed {"connection_id":190574,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:05:47] local.INFO: Acknowledgment sent {"connection_id":190574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:05:57] local.INFO: TCP Data received {"connection_id":190379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:57] local.INFO: Processing buffer {"connection_id":190379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:05:57] local.INFO: IMEI packet received {"connection_id":190379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":190379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:06:00] local.INFO: TCP Data received {"connection_id":190379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:00] local.INFO: Processing buffer {"connection_id":190379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:00] local.INFO: IMEI packet received {"connection_id":190379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":190379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:06:05] local.INFO: TCP Data received {"connection_id":190379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd302680012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd302680012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:06:05] local.INFO: Processing buffer {"connection_id":190379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd302680012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:06:05] local.INFO: Packet analysis {"connection_id":190379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:06:05] local.INFO: Extracted packet for processing {"connection_id":190379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278107904001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790148880000,"timestamp_ms":1790148880000,"timestamp_seconds":1790148880,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd302680"} 
[2026-09-23 13:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3442337864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4915680286491672583,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":38,"raw_value":6365838206448574464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846674160,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2012485712355072,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-7624312694161539072,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57835308066952103,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,130,45,88,31,38,10,66,48,40,222,1,240,101,227,205,4,113,58,186,33,239,49,2,80,206,250,123],"length":632,"final_offset":762,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:06:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234060430521663488,"timestamp_seconds":2234060430521663.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278107904001,"66":12591,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278107904001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:06:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278107904001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":190379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:06:05] local.INFO: GPS data processed {"connection_id":190379,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:06:05] local.INFO: Acknowledgment sent {"connection_id":190379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:06:31] local.INFO: TCP Data received {"connection_id":193244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:31] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:31] local.INFO: IMEI packet received {"connection_id":193244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":193244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:06:36] local.INFO: TCP Data received {"connection_id":190379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd307888012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd307888012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:06:36] local.INFO: Processing buffer {"connection_id":190379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd307888012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:06:36] local.INFO: Packet analysis {"connection_id":190379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:06:36] local.INFO: Extracted packet for processing {"connection_id":190379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278113280001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790148901000,"timestamp_ms":1790148901000,"timestamp_seconds":1790148901,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd307888"} 
[2026-09-23 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:06:36] 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-09-23 13: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-09-23 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278113280001,"66":12602,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278113280001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:06:36] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278113280001,"power":12602,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":190379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:06:36] local.INFO: GPS data processed {"connection_id":190379,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:06:36] local.INFO: Acknowledgment sent {"connection_id":190379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:06:36] local.INFO: TCP Data received {"connection_id":193244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:36] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:06:36] local.INFO: IMEI packet received {"connection_id":193244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:06:37] local.INFO: TCP Data received {"connection_id":193244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:06:37] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:06:37] local.INFO: Packet analysis {"connection_id":193244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:06:37] local.INFO: Extracted packet for processing {"connection_id":193244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:06: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-09-23 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:06: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-09-23 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:06:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":193244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:06:37] local.INFO: GPS data processed {"connection_id":193244,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:06:37] local.INFO: Acknowledgment sent {"connection_id":193244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:06:50] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:06:50] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:06:50] local.INFO: IMEI packet received {"connection_id":190575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":190575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:06:57] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:57] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:06:57] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:07:02] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:02] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:02] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:07:03] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd30ca90012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd30ca90012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:07:03] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd30ca90012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:07:03] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:07:03] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd30"} 
[2026-09-23 13:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278118656001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148922000,"timestamp_ms":1790148922000,"timestamp_seconds":1790148922,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd30ca90"} 
[2026-09-23 13:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:07: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-09-23 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:07:03] 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-09-23 13: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-09-23 13:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278118656001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278118656001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:07:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278118656001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:07:03] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:07:03] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:07:08] local.INFO: TCP Data received {"connection_id":193244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:08] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:08] local.INFO: Packet analysis {"connection_id":193244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:07:08] local.INFO: Extracted packet for processing {"connection_id":193244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:07: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-09-23 13:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:07:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":193244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:07:08] local.INFO: GPS data processed {"connection_id":193244,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:07:08] local.INFO: Acknowledgment sent {"connection_id":193244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:07:09] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:07:09] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:07:09] local.INFO: IMEI packet received {"connection_id":190576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":190576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:07:31] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:31] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:31] local.INFO: IMEI packet received {"connection_id":190380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:07:34] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd311c98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd311c98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:07:34] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd311c98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:07:34] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:07:34] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278124032001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148943000,"timestamp_ms":1790148943000,"timestamp_seconds":1790148943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd311c98"} 
[2026-09-23 13:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:07: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:07:34] 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-09-23 13: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-09-23 13:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278124032001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278124032001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278124032001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:07:34] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:07:34] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:07:36] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:36] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:07:36] local.INFO: IMEI packet received {"connection_id":190380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:07:37] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:37] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd2dd4c0012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:07:37] local.INFO: Packet analysis {"connection_id":190380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:07:37] local.INFO: Extracted packet for processing {"connection_id":190380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd2d"} 
[2026-09-23 13:07:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458277997312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790148728000,"timestamp_ms":1790148728000,"timestamp_seconds":1790148728,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd2dd4c0"} 
[2026-09-23 13:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:07: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-09-23 13:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458277997312001,"66":26115,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458277997312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:07:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458277997312001,"power":26115,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:07:37] local.INFO: GPS data processed {"connection_id":190380,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:07:37] local.INFO: Acknowledgment sent {"connection_id":190380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:07:57] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:57] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:07:57] local.INFO: IMEI packet received {"connection_id":190577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":190577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:08:02] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:02] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:02] local.INFO: IMEI packet received {"connection_id":190577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":190577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:08:03] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd316ea0012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd316ea0012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:08:03] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd316ea0012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:08:03] local.INFO: Packet analysis {"connection_id":190577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:08:03] local.INFO: Extracted packet for processing {"connection_id":190577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278129408001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790148964000,"timestamp_ms":1790148964000,"timestamp_seconds":1790148964,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd316ea0"} 
[2026-09-23 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:08: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-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:08:03] 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-09-23 13: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-09-23 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278129408001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278129408001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:08:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278129408001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":190577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:08:03] local.INFO: GPS data processed {"connection_id":190577,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:08:03] local.INFO: Acknowledgment sent {"connection_id":190577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:08:08] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:08] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:08] local.INFO: Packet analysis {"connection_id":190380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:08:08] local.INFO: Extracted packet for processing {"connection_id":190380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:08:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:08: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-09-23 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:08: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-09-23 13:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:08:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":190380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:08:08] local.INFO: GPS data processed {"connection_id":190380,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:08:08] local.INFO: Acknowledgment sent {"connection_id":190380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:08:31] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:31] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:31] local.INFO: IMEI packet received {"connection_id":193246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":193246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:08:34] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd31c0a8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd31c0a8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:08:34] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd31c0a8012d19ba0007265858001f00fa27..."} 
[2026-09-23 13:08:34] local.INFO: Packet analysis {"connection_id":190577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:08:34] local.INFO: Extracted packet for processing {"connection_id":190577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd31"} 
[2026-09-23 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278134784001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790148985000,"timestamp_ms":1790148985000,"timestamp_seconds":1790148985,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd31c0a8"} 
[2026-09-23 13:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:08: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:08:34] 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-09-23 13: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-09-23 13:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278134784001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278134784001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:08:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278134784001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":190577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:08:34] local.INFO: GPS data processed {"connection_id":190577,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:08:34] local.INFO: Acknowledgment sent {"connection_id":190577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:08:36] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:36] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:08:36] local.INFO: IMEI packet received {"connection_id":193246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":193246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:08:37] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:37] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:08:37] local.INFO: Packet analysis {"connection_id":193246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:08:37] local.INFO: Extracted packet for processing {"connection_id":193246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:08: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-09-23 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:08: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-09-23 13:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:08:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":193246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:08:37] local.INFO: GPS data processed {"connection_id":193246,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:08:37] local.INFO: Acknowledgment sent {"connection_id":193246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:08:57] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:57] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:08:57] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:09:02] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:02] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:02] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:09:03] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3212b0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3212b0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:09:03] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3212b0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:09:03] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:03] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278140160001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149006000,"timestamp_ms":1790149006000,"timestamp_seconds":1790149006,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3212b0"} 
[2026-09-23 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:09: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-09-23 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:09:03] 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-09-23 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278140160001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278140160001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:09:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278140160001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:09:03] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:09:03] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:09:08] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:08] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:08] local.INFO: Packet analysis {"connection_id":193246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:08] local.INFO: Extracted packet for processing {"connection_id":193246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:09: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-09-23 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:09: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-09-23 13:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:09:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":193246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:09:08] local.INFO: GPS data processed {"connection_id":193246,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:09:08] local.INFO: Acknowledgment sent {"connection_id":193246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:09:31] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:31] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:31] local.INFO: IMEI packet received {"connection_id":190579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":190579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:09:34] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3264b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3264b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:09:34] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3264b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:09:34] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:34] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278145536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149027000,"timestamp_ms":1790149027000,"timestamp_seconds":1790149027,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3264b8"} 
[2026-09-23 13:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:09: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:09:34] 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-09-23 13: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-09-23 13:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278145536001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278145536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:09:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278145536001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:09:34] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:09:34] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:09:36] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:36] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:09:36] local.INFO: IMEI packet received {"connection_id":190579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":190579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:09:37] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:37] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:09:37] local.INFO: Packet analysis {"connection_id":190579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:37] local.INFO: Extracted packet for processing {"connection_id":190579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:09: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-09-23 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:09:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":190579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:09:37] local.INFO: GPS data processed {"connection_id":190579,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:09:37] local.INFO: Acknowledgment sent {"connection_id":190579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:09:57] local.INFO: TCP Data received {"connection_id":193247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:57] local.INFO: Processing buffer {"connection_id":193247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:09:57] local.INFO: IMEI packet received {"connection_id":193247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":193247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:10:02] local.INFO: TCP Data received {"connection_id":193247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:02] local.INFO: Processing buffer {"connection_id":193247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:02] local.INFO: IMEI packet received {"connection_id":193247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":193247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:10:03] local.INFO: TCP Data received {"connection_id":193247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd32b6c0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd32b6c0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:10:03] local.INFO: Processing buffer {"connection_id":193247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd32b6c0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:10:03] local.INFO: Packet analysis {"connection_id":193247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:03] local.INFO: Extracted packet for processing {"connection_id":193247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278150912001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149048000,"timestamp_ms":1790149048000,"timestamp_seconds":1790149048,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd32b6c0"} 
[2026-09-23 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-09-23 13:10: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-09-23 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:10:03] 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-09-23 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-09-23 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-09-23 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278150912001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278150912001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:10:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278150912001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":193247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:10:03] local.INFO: GPS data processed {"connection_id":193247,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:10:03] local.INFO: Acknowledgment sent {"connection_id":193247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:10:08] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:08] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:08] local.INFO: Packet analysis {"connection_id":190579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:08] local.INFO: Extracted packet for processing {"connection_id":190579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:10: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-09-23 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:10:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":190579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:10:08] local.INFO: GPS data processed {"connection_id":190579,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:10:08] local.INFO: Acknowledgment sent {"connection_id":190579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:10:33] local.INFO: TCP Data received {"connection_id":193247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3308c8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3308c8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:10:33] local.INFO: Processing buffer {"connection_id":193247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3308c8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:10:33] local.INFO: Packet analysis {"connection_id":193247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:10:33] local.INFO: Extracted packet for processing {"connection_id":193247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278156288001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790149069000,"timestamp_ms":1790149069000,"timestamp_seconds":1790149069,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3308c8"} 
[2026-09-23 13:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:10: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-09-23 13: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":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278156288001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278156288001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:10:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278156288001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":193247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:10:34] local.INFO: GPS data processed {"connection_id":193247,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:10:34] local.INFO: Acknowledgment sent {"connection_id":193247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:10:36] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:36] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:36] local.INFO: IMEI packet received {"connection_id":190382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:10:41] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:41] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:10:41] local.INFO: IMEI packet received {"connection_id":190382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":190382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:10:42] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:42] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:42] local.INFO: Packet analysis {"connection_id":190382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:42] local.INFO: Extracted packet for processing {"connection_id":190382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10: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-09-23 13:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:10:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":190382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:10:42] local.INFO: GPS data processed {"connection_id":190382,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:10:42] local.INFO: Acknowledgment sent {"connection_id":190382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:10:47] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:47] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:10:47] local.INFO: Packet analysis {"connection_id":190382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:47] local.INFO: Extracted packet for processing {"connection_id":190382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:10:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:10:47] 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-09-23 13:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:10:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":190382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:10:47] local.INFO: GPS data processed {"connection_id":190382,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:10:47] local.INFO: Acknowledgment sent {"connection_id":190382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:10:57] local.INFO: TCP Data received {"connection_id":190580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:57] local.INFO: Processing buffer {"connection_id":190580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:10:57] local.INFO: IMEI packet received {"connection_id":190580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":190580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:11:02] local.INFO: TCP Data received {"connection_id":190580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:02] local.INFO: Processing buffer {"connection_id":190580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:02] local.INFO: IMEI packet received {"connection_id":190580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:11:03] local.INFO: TCP Data received {"connection_id":190580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd335ad0012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd335ad0012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:11:03] local.INFO: Processing buffer {"connection_id":190580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd335ad0012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:11:03] local.INFO: Packet analysis {"connection_id":190580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:11:03] local.INFO: Extracted packet for processing {"connection_id":190580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278161664001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149090000,"timestamp_ms":1790149090000,"timestamp_seconds":1790149090,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd335ad0"} 
[2026-09-23 13:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:11: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-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:11:03] 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-09-23 13: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-09-23 13:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278161664001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278161664001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:11:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278161664001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":190580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:11:03] local.INFO: GPS data processed {"connection_id":190580,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:11:03] local.INFO: Acknowledgment sent {"connection_id":190580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:11:31] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:31] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:31] local.INFO: IMEI packet received {"connection_id":190383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":190383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:11:34] local.INFO: TCP Data received {"connection_id":190580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd33acd8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd33acd8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:11:34] local.INFO: Processing buffer {"connection_id":190580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd33acd8012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:11:34] local.INFO: Packet analysis {"connection_id":190580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:11:34] local.INFO: Extracted packet for processing {"connection_id":190580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278167040001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149111000,"timestamp_ms":1790149111000,"timestamp_seconds":1790149111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd33acd8"} 
[2026-09-23 13:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:11: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-09-23 13:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:11:34] 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-09-23 13:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278167040001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278167040001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:11:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278167040001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":190580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:11:34] local.INFO: GPS data processed {"connection_id":190580,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:11:34] local.INFO: Acknowledgment sent {"connection_id":190580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:11:36] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:36] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:11:36] local.INFO: IMEI packet received {"connection_id":190383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":190383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:11:37] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:11:37] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:11:37] local.INFO: Packet analysis {"connection_id":190383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:11:37] local.INFO: Extracted packet for processing {"connection_id":190383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:11:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:11: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-09-23 13:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:11:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":190383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:11:37] local.INFO: GPS data processed {"connection_id":190383,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:11:37] local.INFO: Acknowledgment sent {"connection_id":190383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:11:57] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: IMEI packet received {"connection_id":193249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":193249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:11:57] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:11:57] local.INFO: IMEI packet received {"connection_id":193249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":193249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:12:02] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:12:02] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:12:02] local.INFO: IMEI packet received {"connection_id":193249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":193249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:12:03] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd33fee0012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd33fee0012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:12:03] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd33fee0012d19ba0007265858001f00fa21..."} 
[2026-09-23 13:12:03] local.INFO: Packet analysis {"connection_id":193249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:12:03] local.INFO: Extracted packet for processing {"connection_id":193249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd33"} 
[2026-09-23 13:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":33,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278172416001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149132000,"timestamp_ms":1790149132000,"timestamp_seconds":1790149132,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd33fee0"} 
[2026-09-23 13:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:12: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-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:12:03] 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-09-23 13: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-09-23 13:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278172416001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278172416001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:12:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278172416001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":193249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:12:03] local.INFO: GPS data processed {"connection_id":193249,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:12:03] local.INFO: Acknowledgment sent {"connection_id":193249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:12:08] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:08] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:08] local.INFO: Packet analysis {"connection_id":190383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:12:08] local.INFO: Extracted packet for processing {"connection_id":190383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:12:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:12: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-09-23 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:12:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":190383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:12:08] local.INFO: GPS data processed {"connection_id":190383,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:12:08] local.INFO: Acknowledgment sent {"connection_id":190383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:12:31] local.INFO: TCP Data received {"connection_id":190385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:31] local.INFO: Processing buffer {"connection_id":190385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:31] local.INFO: IMEI packet received {"connection_id":190385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":190385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:12:34] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3450e8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3450e8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:12:34] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3450e8012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:12:34] local.INFO: Packet analysis {"connection_id":193249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:12:34] local.INFO: Extracted packet for processing {"connection_id":193249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278177792001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149153000,"timestamp_ms":1790149153000,"timestamp_seconds":1790149153,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3450e8"} 
[2026-09-23 13:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:12: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-09-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:12:34] 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-09-23 13: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-09-23 13:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278177792001,"66":12667,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278177792001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:12:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278177792001,"power":12667,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":193249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:12:34] local.INFO: GPS data processed {"connection_id":193249,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:12:34] local.INFO: Acknowledgment sent {"connection_id":193249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:12:34] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:12:34] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:12:34] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:12:36] local.INFO: TCP Data received {"connection_id":190385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:36] local.INFO: Processing buffer {"connection_id":190385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:12:36] local.INFO: IMEI packet received {"connection_id":190385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":190385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:12:37] local.INFO: TCP Data received {"connection_id":190385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:37] local.INFO: Processing buffer {"connection_id":190385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd326c88012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:12:37] local.INFO: Packet analysis {"connection_id":190385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:12:37] local.INFO: Extracted packet for processing {"connection_id":190385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd32"} 
[2026-09-23 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149029000,"timestamp_ms":1790149029000,"timestamp_seconds":1790149029,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd326c88"} 
[2026-09-23 13:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 13:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:12: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-09-23 13:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278074368001,"66":26082,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:12:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278074368001,"power":26082,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":190385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:12:37] local.INFO: GPS data processed {"connection_id":190385,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:12:37] local.INFO: Acknowledgment sent {"connection_id":190385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:00] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:00] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:00] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:13:02] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:02] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:02] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:13:07] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:07] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:07] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:13:08] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd34a2f0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd34a2f0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:13:08] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd34a2f0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:13:08] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:13:08] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278183168001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149174000,"timestamp_ms":1790149174000,"timestamp_seconds":1790149174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd34a2f0"} 
[2026-09-23 13:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:13:08] 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-09-23 13:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278183168001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278183168001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278183168001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:13:08] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:13:08] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:08] local.INFO: TCP Data received {"connection_id":190385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:08] local.INFO: Processing buffer {"connection_id":190385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:08] local.INFO: Packet analysis {"connection_id":190385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:08] local.INFO: Extracted packet for processing {"connection_id":190385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:13: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-09-23 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:13: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-09-23 13:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:13:08] local.INFO: GPS data processed {"connection_id":190385,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:13:08] local.INFO: Acknowledgment sent {"connection_id":190385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:09] local.INFO: TCP Data received {"connection_id":193250,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:13:09] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:13:09] local.INFO: IMEI packet received {"connection_id":193250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":193250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:13:12] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd34f4f8012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd34f4f8012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:13:12] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd34f4f8012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:13:12] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:13:12] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd34"} 
[2026-09-23 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278188544001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790149195000,"timestamp_ms":1790149195000,"timestamp_seconds":1790149195,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd34f4f8"} 
[2026-09-23 13:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278188544001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278188544001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:13:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278188544001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:13:12] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:13:12] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:36] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:36] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:36] local.INFO: IMEI packet received {"connection_id":190581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":190581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:13:41] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:41] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:13:41] local.INFO: IMEI packet received {"connection_id":190581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":190581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:13:42] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:42] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:42] local.INFO: Packet analysis {"connection_id":190581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:42] local.INFO: Extracted packet for processing {"connection_id":190581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13: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-09-23 13: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-09-23 13:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:13:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":190581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:13:42] local.INFO: GPS data processed {"connection_id":190581,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:13:42] local.INFO: Acknowledgment sent {"connection_id":190581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:47] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:47] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:13:47] local.INFO: Packet analysis {"connection_id":190581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:47] local.INFO: Extracted packet for processing {"connection_id":190581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:13: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-09-23 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:13:47] 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-09-23 13:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:13:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":190581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:13:47] local.INFO: GPS data processed {"connection_id":190581,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:13:47] local.INFO: Acknowledgment sent {"connection_id":190581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:13:57] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:57] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:13:57] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:14:02] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:02] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:02] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:14:03] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd354700012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd354700012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:14:03] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd354700012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:14:03] local.INFO: Packet analysis {"connection_id":191915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:14:03] local.INFO: Extracted packet for processing {"connection_id":191915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278193920001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149216000,"timestamp_ms":1790149216000,"timestamp_seconds":1790149216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd354700"} 
[2026-09-23 13:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:14: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-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:14: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-09-23 13: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-09-23 13:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278193920001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278193920001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:14:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278193920001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":191915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:14:03] local.INFO: GPS data processed {"connection_id":191915,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:14:03] local.INFO: Acknowledgment sent {"connection_id":191915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:14:31] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:31] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:31] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:14:34] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd359908012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd359908012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:14:34] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd359908012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:14:34] local.INFO: Packet analysis {"connection_id":191915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:14:34] local.INFO: Extracted packet for processing {"connection_id":191915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278199296001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149237000,"timestamp_ms":1790149237000,"timestamp_seconds":1790149237,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd359908"} 
[2026-09-23 13:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:14: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-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:14:34] 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-09-23 13: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-09-23 13:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278199296001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278199296001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:14:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278199296001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":191915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:14:34] local.INFO: GPS data processed {"connection_id":191915,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:14:34] local.INFO: Acknowledgment sent {"connection_id":191915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:14:36] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:36] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:14:36] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:14:37] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:37] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:37] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:14:37] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:14: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-09-23 13: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-09-23 13:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:14: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-09-23 13:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:14:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:14:37] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:14:37] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:14:42] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:42] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:14:42] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:14:42] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:14:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:14: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-09-23 13:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:14: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-09-23 13:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:14:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:14:42] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:14:42] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:14:57] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:57] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:14:57] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:15:02] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:02] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:02] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:15:03] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd35eb10012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd35eb10012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:15:03] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd35eb10012d19ba0007265858001f00fa28..."} 
[2026-09-23 13:15:03] local.INFO: Packet analysis {"connection_id":191917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:15:03] local.INFO: Extracted packet for processing {"connection_id":191917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd35"} 
[2026-09-23 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278204672001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149258000,"timestamp_ms":1790149258000,"timestamp_seconds":1790149258,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd35eb10"} 
[2026-09-23 13:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:15: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-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:15: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-09-23 13: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-09-23 13:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278204672001,"66":12558,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278204672001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:15:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278204672001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":191917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:15:03] local.INFO: GPS data processed {"connection_id":191917,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:15:03] local.INFO: Acknowledgment sent {"connection_id":191917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:15:13] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:13] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:13] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:15:13] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:15:13] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:15:13] 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-09-23 13: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-09-23 13:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:15:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:15:13] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:15:13] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:15:31] local.INFO: TCP Data received {"connection_id":191918,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:31] local.INFO: Processing buffer {"connection_id":191918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:31] local.INFO: IMEI packet received {"connection_id":191918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":191918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:15:34] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd363d18012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd363d18012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:15:34] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd363d18012d19ba0007265858001f00fa24..."} 
[2026-09-23 13:15:34] local.INFO: Packet analysis {"connection_id":191917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:15:34] local.INFO: Extracted packet for processing {"connection_id":191917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278210048001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149279000,"timestamp_ms":1790149279000,"timestamp_seconds":1790149279,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd363d18"} 
[2026-09-23 13:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:15: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-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3442736864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833115407243352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2519793664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,153,45,88,31,40,10,66,71,42,244,1,240,69,227,205,38,4,113,80,186,37,239,49,2,7,120,82,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234060464881401856,"timestamp_seconds":2234060464881401.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278210048001,"66":12558,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278210048001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:15:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278210048001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":191917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:15:34] local.INFO: GPS data processed {"connection_id":191917,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:15:34] local.INFO: Acknowledgment sent {"connection_id":191917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:15:36] local.INFO: TCP Data received {"connection_id":191918,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:36] local.INFO: Processing buffer {"connection_id":191918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:15:36] local.INFO: IMEI packet received {"connection_id":191918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":191918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:15:37] local.INFO: TCP Data received {"connection_id":191918,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:37] local.INFO: Processing buffer {"connection_id":191918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:15:37] local.INFO: Packet analysis {"connection_id":191918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:15:37] local.INFO: Extracted packet for processing {"connection_id":191918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:15: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-09-23 13: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-09-23 13:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:15: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-09-23 13:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:15:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":191918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:15:37] local.INFO: GPS data processed {"connection_id":191918,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:15:37] local.INFO: Acknowledgment sent {"connection_id":191918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:15:57] local.INFO: TCP Data received {"connection_id":193252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:57] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:15:57] local.INFO: IMEI packet received {"connection_id":193252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":193252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:16:02] local.INFO: TCP Data received {"connection_id":193252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:02] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:02] local.INFO: IMEI packet received {"connection_id":193252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":193252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:16:03] local.INFO: TCP Data received {"connection_id":193252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd368f20012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd368f20012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:16:03] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd368f20012d19ba0007265858001f00fa26..."} 
[2026-09-23 13:16:03] local.INFO: Packet analysis {"connection_id":193252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:16:03] local.INFO: Extracted packet for processing {"connection_id":193252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278215424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149300000,"timestamp_ms":1790149300000,"timestamp_seconds":1790149300,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd368f20"} 
[2026-09-23 13:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:16: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-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3442757864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833115407243352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2519793664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,235,45,88,31,40,10,66,153,71,1,240,101,227,205,38,4,113,162,186,37,239,49,2,80,7,120,82,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:16:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234060447701532672,"timestamp_seconds":2234060447701532.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278215424001,"66":11830,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278215424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:16:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278215424001,"power":11830,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:16:03] local.INFO: GPS data processed {"connection_id":193252,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:16:03] local.INFO: Acknowledgment sent {"connection_id":193252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:16:08] local.INFO: TCP Data received {"connection_id":191918,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:08] local.INFO: Processing buffer {"connection_id":191918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:08] local.INFO: Packet analysis {"connection_id":191918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:16:08] local.INFO: Extracted packet for processing {"connection_id":191918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:16:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:16: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-09-23 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:16: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-09-23 13: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-09-23 13:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:16:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":191918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:16:08] local.INFO: GPS data processed {"connection_id":191918,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:16:08] local.INFO: Acknowledgment sent {"connection_id":191918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:16:31] local.INFO: TCP Data received {"connection_id":193253,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:31] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:31] local.INFO: IMEI packet received {"connection_id":193253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":193253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:16:34] local.INFO: TCP Data received {"connection_id":193252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd36e128012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd36e128012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:16:34] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd36e128012d19ba0007265858001f00fa23..."} 
[2026-09-23 13:16:34] local.INFO: Packet analysis {"connection_id":193252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:16:34] local.INFO: Extracted packet for processing {"connection_id":193252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd36"} 
[2026-09-23 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278220800001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149321000,"timestamp_ms":1790149321000,"timestamp_seconds":1790149321,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd36e128"} 
[2026-09-23 13:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:16: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-09-23 13: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-23 13:16:34] 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-09-23 13: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-09-23 13:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278220800001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278220800001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:16:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278220800001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":193252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:16:34] local.INFO: GPS data processed {"connection_id":193252,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:16:34] local.INFO: Acknowledgment sent {"connection_id":193252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:16:36] local.INFO: TCP Data received {"connection_id":193253,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:36] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:16:36] local.INFO: IMEI packet received {"connection_id":193253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":193253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:16:37] local.INFO: TCP Data received {"connection_id":193253,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:37] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:16:37] local.INFO: Packet analysis {"connection_id":193253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:16:37] local.INFO: Extracted packet for processing {"connection_id":193253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:16: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-09-23 13: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-09-23 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:16: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-09-23 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:16:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":193253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:16:37] local.INFO: GPS data processed {"connection_id":193253,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:16:37] local.INFO: Acknowledgment sent {"connection_id":193253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:16:57] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:57] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:16:57] local.INFO: IMEI packet received {"connection_id":190583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":190583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:17:02] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:02] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:02] local.INFO: IMEI packet received {"connection_id":190583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:17:03] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd373330012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd373330012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:17:03] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd373330012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:17:03] local.INFO: Packet analysis {"connection_id":190583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:03] local.INFO: Extracted packet for processing {"connection_id":190583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278226176001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149342000,"timestamp_ms":1790149342000,"timestamp_seconds":1790149342,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd373330"} 
[2026-09-23 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-09-23 13:17: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-09-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:17: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-09-23 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-09-23 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-09-23 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278226176001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278226176001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:17:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278226176001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":190583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:17:03] local.INFO: GPS data processed {"connection_id":190583,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:17:03] local.INFO: Acknowledgment sent {"connection_id":190583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:17:08] local.INFO: TCP Data received {"connection_id":193253,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:08] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:08] local.INFO: Packet analysis {"connection_id":193253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:08] local.INFO: Extracted packet for processing {"connection_id":193253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 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-09-23 13:17: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-09-23 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:17: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-09-23 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-09-23 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-09-23 13:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:17: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-09-23 13:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:17:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":193253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:17:08] local.INFO: GPS data processed {"connection_id":193253,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:17:08] local.INFO: Acknowledgment sent {"connection_id":193253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:17:31] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:31] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:31] local.INFO: IMEI packet received {"connection_id":190389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":190389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:17:33] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3ab988012d19ba0007265858001f00fa2c..."} 
[2026-09-23 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3ab988012d19ba0007265858001f00fa2c..."} 
[2026-09-23 13:17:33] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3ab988012d19ba0007265858001f00fa2c..."} 
[2026-09-23 13:17:33] local.INFO: Packet analysis {"connection_id":190583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3a"} 
[2026-09-23 13:17:33] local.INFO: Extracted packet for processing {"connection_id":190583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3a"} 
[2026-09-23 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278285312001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790149573000,"timestamp_ms":1790149573000,"timestamp_seconds":1790149573,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3ab988"} 
[2026-09-23 13:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:17: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-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443030864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833115407243352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1476472089,"corrected_to":0} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2519793664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,21,45,88,31,44,10,66,195,34,113,1,240,69,227,205,38,4,186,43,239,49,2,80,7,120,82,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1476472089,"validated":0}]} 
[2026-09-23 13:17:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234060477766303744,"timestamp_seconds":2234060477766303.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278285312001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278285312001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:17:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278285312001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":190583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:17:34] local.INFO: GPS data processed {"connection_id":190583,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:17:34] local.INFO: Acknowledgment sent {"connection_id":190583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:17:36] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:36] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:17:36] local.INFO: IMEI packet received {"connection_id":190389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":190389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:17:37] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:37] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd370450012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:17:37] local.INFO: Packet analysis {"connection_id":190389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:37] local.INFO: Extracted packet for processing {"connection_id":190389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd37"} 
[2026-09-23 13:17:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149330000,"timestamp_ms":1790149330000,"timestamp_seconds":1790149330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd370450"} 
[2026-09-23 13:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-23 13:17: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-09-23 13: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-09-23 13:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278151424001,"66":26060,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:17:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278151424001,"power":26060,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":190389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:17:37] local.INFO: GPS data processed {"connection_id":190389,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:17:37] local.INFO: Acknowledgment sent {"connection_id":190389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:17:57] local.INFO: TCP Data received {"connection_id":193254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:57] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:17:57] local.INFO: IMEI packet received {"connection_id":193254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":193254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:18:02] local.INFO: TCP Data received {"connection_id":193254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:02] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:02] local.INFO: IMEI packet received {"connection_id":193254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":193254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:18:03] local.INFO: TCP Data received {"connection_id":193254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b0b90012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b0b90012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:18:03] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b0b90012d19ba0007265858001f00fa2b..."} 
[2026-09-23 13:18:03] local.INFO: Packet analysis {"connection_id":193254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:03] local.INFO: Extracted packet for processing {"connection_id":193254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278290688001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149594000,"timestamp_ms":1790149594000,"timestamp_seconds":1790149594,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b0b90"} 
[2026-09-23 13:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:18: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-09-23 13: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-09-23 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278290688001,"66":12645,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278290688001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:18:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278290688001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":193254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:18:03] local.INFO: GPS data processed {"connection_id":193254,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:18:03] local.INFO: Acknowledgment sent {"connection_id":193254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:18:08] local.INFO: TCP Data received {"connection_id":190389,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:08] local.INFO: Processing buffer {"connection_id":190389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:08] local.INFO: Packet analysis {"connection_id":190389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:08] local.INFO: Extracted packet for processing {"connection_id":190389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:18: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-09-23 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":190389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:18:08] local.INFO: GPS data processed {"connection_id":190389,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:18:08] local.INFO: Acknowledgment sent {"connection_id":190389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:18:34] local.INFO: TCP Data received {"connection_id":193254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b5d98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b5d98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:18:34] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b5d98012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:18:34] local.INFO: Packet analysis {"connection_id":193254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:34] local.INFO: Extracted packet for processing {"connection_id":193254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278296064001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149615000,"timestamp_ms":1790149615000,"timestamp_seconds":1790149615,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b5d98"} 
[2026-09-23 13:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:18:34] 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-09-23 13: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-09-23 13:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278296064001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278296064001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278296064001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":193254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:18:34] local.INFO: GPS data processed {"connection_id":193254,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:18:34] local.INFO: Acknowledgment sent {"connection_id":193254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:18:36] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:36] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:36] local.INFO: IMEI packet received {"connection_id":190391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":190391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:18:41] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:41] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:18:41] local.INFO: IMEI packet received {"connection_id":190391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":190391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:18:42] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:42] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:42] local.INFO: Packet analysis {"connection_id":190391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:42] local.INFO: Extracted packet for processing {"connection_id":190391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18: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-09-23 13:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:18:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":190391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:18:42] local.INFO: GPS data processed {"connection_id":190391,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:18:42] local.INFO: Acknowledgment sent {"connection_id":190391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:18:47] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:47] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:18:47] local.INFO: Packet analysis {"connection_id":190391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:47] local.INFO: Extracted packet for processing {"connection_id":190391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:18:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:18: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-09-23 13:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:18:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":190391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:18:47] local.INFO: GPS data processed {"connection_id":190391,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:18:47] local.INFO: Acknowledgment sent {"connection_id":190391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:18:57] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:18:57] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:18:57] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:19:02] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:19:02] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:19:02] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:19:03] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3bafa0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3bafa0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:19:03] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3bafa0012d19ba0007265858001f00fa25..."} 
[2026-09-23 13:19:03] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:19:03] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278301440001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149636000,"timestamp_ms":1790149636000,"timestamp_seconds":1790149636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3bafa0"} 
[2026-09-23 13:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:19: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-09-23 13: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-09-23 13:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278301440001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278301440001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:19:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278301440001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:19:03] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:19:03] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:19:10] local.INFO: TCP Data received {"connection_id":193255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:19:10] local.INFO: Processing buffer {"connection_id":193255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:19:10] local.INFO: IMEI packet received {"connection_id":193255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":193255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:19:31] local.INFO: TCP Data received {"connection_id":191920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:31] local.INFO: Processing buffer {"connection_id":191920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:31] local.INFO: IMEI packet received {"connection_id":191920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":191920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:19:34] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3c01a8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3c01a8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:19:34] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3c01a8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:19:34] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:19:34] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278306816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149657000,"timestamp_ms":1790149657000,"timestamp_seconds":1790149657,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3c01a8"} 
[2026-09-23 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:19:34] 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-09-23 13: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-09-23 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278306816001,"66":12613,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278306816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:19:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278306816001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:19:34] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:19:34] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:19:36] local.INFO: TCP Data received {"connection_id":191920,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:36] local.INFO: Processing buffer {"connection_id":191920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:19:36] local.INFO: IMEI packet received {"connection_id":191920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":191920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:19:37] local.INFO: TCP Data received {"connection_id":191920,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:19:37] local.INFO: Processing buffer {"connection_id":191920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:19:37] local.INFO: Packet analysis {"connection_id":191920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:19:37] local.INFO: Extracted packet for processing {"connection_id":191920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:19: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-09-23 13:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:19:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":191920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:19:37] local.INFO: GPS data processed {"connection_id":191920,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:19:37] local.INFO: Acknowledgment sent {"connection_id":191920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:02] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:02] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:02] local.INFO: IMEI packet received {"connection_id":193256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":193256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:20:07] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:07] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:07] local.INFO: IMEI packet received {"connection_id":193256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":193256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:20:07] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3c53b0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3c53b0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:20:07] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3c53b0012d19ba0007265858001f00fa2a..."} 
[2026-09-23 13:20:07] local.INFO: Packet analysis {"connection_id":193256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:07] local.INFO: Extracted packet for processing {"connection_id":193256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278312192001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790149678000,"timestamp_ms":1790149678000,"timestamp_seconds":1790149678,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3c53b0"} 
[2026-09-23 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:20:07] 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-09-23 13: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-09-23 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278312192001,"66":12428,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278312192001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278312192001,"power":12428,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":193256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:20:07] local.INFO: GPS data processed {"connection_id":193256,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:20:07] local.INFO: Acknowledgment sent {"connection_id":193256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:08] local.INFO: TCP Data received {"connection_id":191920,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:08] local.INFO: Processing buffer {"connection_id":191920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:08] local.INFO: Packet analysis {"connection_id":191920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:20:08] local.INFO: Extracted packet for processing {"connection_id":191920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:20:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:20: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-09-23 13:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:20: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-09-23 13:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:20:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":191920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:20:08] local.INFO: GPS data processed {"connection_id":191920,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:20:08] local.INFO: Acknowledgment sent {"connection_id":191920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:09] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3ca5b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3ca5b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:20:09] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3ca5b8012d19ba0007265858001f00fa29..."} 
[2026-09-23 13:20:09] local.INFO: Packet analysis {"connection_id":193256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:09] local.INFO: Extracted packet for processing {"connection_id":193256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119953496,"longitude_deg":75.6660736,"latitude_deg":11.9953496,"altitude":31,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d19ba00","hex_latitude":"07265858","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278317568001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683135334416384,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790149699000,"timestamp_ms":1790149699000,"timestamp_seconds":1790149699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3ca5b8"} 
[2026-09-23 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:20:09] 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-09-23 13: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-09-23 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278317568001,"66":12406,"232":206,"83":42752,"24":0,"16":22683135334416384,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278317568001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:20:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683135334416384,"km_value":22683135334416.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278317568001,"power":12406,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":193256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:20:09] local.INFO: GPS data processed {"connection_id":193256,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:20:09] local.INFO: Acknowledgment sent {"connection_id":193256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:31] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:31] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:31] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:20:36] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:36] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:20:36] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:20:37] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:37] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:20:37] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:20:37] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:20: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-09-23 13:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:20:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:20:37] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:20:37] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:40] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3cc8e0012d19bc4007265b38001201552b..."} 
[2026-09-23 13:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3cc8e0012d19bc4007265b38001201552b..."} 
[2026-09-23 13:20:40] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3cc8e0012d19bc4007265b38001201552b..."} 
[2026-09-23 13:20:40] local.INFO: Packet analysis {"connection_id":193256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:40] local.INFO: Extracted packet for processing {"connection_id":193256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3c"} 
[2026-09-23 13:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119954232,"longitude_deg":75.6661312,"latitude_deg":11.9954232,"altitude":18,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d19bc40","hex_latitude":"07265b38","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278322944001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683178284089344,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227324475392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790149708000,"timestamp_ms":1790149708000,"timestamp_seconds":1790149708,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3cc8e0"} 
[2026-09-23 13:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 13:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278322944001,"66":12602,"232":206,"83":42752,"24":0,"16":22683178284089344,"45":1853794227324475392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278322944001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:20:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683178284089344,"km_value":22683178284089.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227324475392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278322944001,"power":12602,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853794227324475392}} 
[2026-09-23 13:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":193256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:20:40] local.INFO: GPS data processed {"connection_id":193256,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:20:40] local.INFO: Acknowledgment sent {"connection_id":193256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:20:54] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:54] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:54] local.INFO: IMEI packet received {"connection_id":190584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":190584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:20:57] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:57] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:20:57] local.INFO: IMEI packet received {"connection_id":190584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":190584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:21:02] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:02] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:02] local.INFO: IMEI packet received {"connection_id":190584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":190584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:21:03] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3d1ae8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3d1ae8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:03] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3d1ae8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:03] local.INFO: Packet analysis {"connection_id":190584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:03] local.INFO: Extracted packet for processing {"connection_id":190584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119954288,"longitude_deg":75.6661376,"latitude_deg":11.9954288,"altitude":17,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"07265b70","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278325248001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683182579056640,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427546022262784,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149729000,"timestamp_ms":1790149729000,"timestamp_seconds":1790149729,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3d1ae8"} 
[2026-09-23 13:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:21:03] 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-09-23 13: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-09-23 13:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278325248001,"66":12613,"232":206,"83":42752,"24":0,"16":22683182579056640,"45":1854427546022262784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278325248001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:21:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683182579056640,"km_value":22683182579056.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427546022262784,"description":"Unknown IO ID 45"} 
[2026-09-23 13:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278325248001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854427546022262784}} 
[2026-09-23 13:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":190584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:21:03] local.INFO: GPS data processed {"connection_id":190584,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:21:03] local.INFO: Acknowledgment sent {"connection_id":190584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:21:07] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3d6cf0012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3d6cf0012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:07] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3d6cf0012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:07] local.INFO: Packet analysis {"connection_id":190584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:07] local.INFO: Extracted packet for processing {"connection_id":190584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119954288,"longitude_deg":75.6661376,"latitude_deg":11.9954288,"altitude":17,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"07265b70","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278330624001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683182579056640,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914766454784,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790149750000,"timestamp_ms":1790149750000,"timestamp_seconds":1790149750,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3d6cf0"} 
[2026-09-23 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:21:07] 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-09-23 13: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-09-23 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278330624001,"66":12548,"232":206,"83":42752,"24":0,"16":22683182579056640,"45":1854497914766454784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278330624001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:21:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683182579056640,"km_value":22683182579056.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914766454784,"description":"Unknown IO ID 45"} 
[2026-09-23 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278330624001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854497914766454784}} 
[2026-09-23 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":190584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:21:07] local.INFO: GPS data processed {"connection_id":190584,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:21:07] local.INFO: Acknowledgment sent {"connection_id":190584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:21:08] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:08] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:08] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:21:08] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:21: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-09-23 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:21: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-09-23 13:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:21:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:21:08] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:21:08] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:21:31] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:31] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:31] local.INFO: IMEI packet received {"connection_id":190585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":190585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:21:36] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:36] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:21:36] local.INFO: IMEI packet received {"connection_id":190585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":190585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:21:37] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:37] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:21:37] local.INFO: Packet analysis {"connection_id":190585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:21:37] local.INFO: Extracted packet for processing {"connection_id":190585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:21: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-09-23 13:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:21:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":190585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:21:37] local.INFO: GPS data processed {"connection_id":190585,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:21:37] local.INFO: Acknowledgment sent {"connection_id":190585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:21:39] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3dbef8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3dbef8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:39] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3dbef8012d19bc8007265b700011015527..."} 
[2026-09-23 13:21:39] local.INFO: Packet analysis {"connection_id":190584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:39] local.INFO: Extracted packet for processing {"connection_id":190584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119954288,"longitude_deg":75.6661376,"latitude_deg":11.9954288,"altitude":17,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"07265b70","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278336000001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683182579056640,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914766454784,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790149771000,"timestamp_ms":1790149771000,"timestamp_seconds":1790149771,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3dbef8"} 
[2026-09-23 13:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443240864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":57345,"corrected_to":0} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2519793664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:21:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,232,83,24,241,157,16,150,160,26,45,128,91,17,39,10,66,200,64,18,43,165,1,240,118,227,205,38,4,113,186,88,41,239,49,2,80,7,31,120],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":200,"original":57345,"validated":0},{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:21:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225354199613571072,"timestamp_seconds":1225354199613571.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278336000001,"66":12537,"232":206,"83":42752,"24":0,"16":22683182579056640,"45":1854497914766454784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278336000001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:21:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683182579056640,"km_value":22683182579056.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914766454784,"description":"Unknown IO ID 45"} 
[2026-09-23 13:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278336000001,"power":12537,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854497914766454784}} 
[2026-09-23 13:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":190584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:21:39] local.INFO: GPS data processed {"connection_id":190584,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:21:39] local.INFO: Acknowledgment sent {"connection_id":190584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:21:57] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:57] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:57] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:21:58] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:58] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:21:58] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:22:02] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:02] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:02] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:22:03] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3dcab0012d19b90007265cd0000b012525..."} 
[2026-09-23 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3dcab0012d19b90007265cd0000b012525..."} 
[2026-09-23 13:22:03] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3dcab0012d19b90007265cd0000b012525..."} 
[2026-09-23 13:22:03] local.INFO: Packet analysis {"connection_id":190586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:22:03] local.INFO: Extracted packet for processing {"connection_id":190586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3d"} 
[2026-09-23 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954640,"longitude_deg":75.666048,"latitude_deg":11.995464,"altitude":11,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265cd0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278341376001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914766454784,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149774000,"timestamp_ms":1790149774000,"timestamp_seconds":1790149774,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3dcab0"} 
[2026-09-23 13:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":249,"data_length":795,"current_offset":136} 
[2026-09-23 13:22:03] 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-09-23 13: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-09-23 13:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278341376001,"66":12613,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1854497914766454784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278341376001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:22:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914766454784,"description":"Unknown IO ID 45"} 
[2026-09-23 13:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278341376001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854497914766454784}} 
[2026-09-23 13:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":190586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:22:03] local.INFO: GPS data processed {"connection_id":190586,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:22:03] local.INFO: Acknowledgment sent {"connection_id":190586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:22:07] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3e1cb8012d19b90007265ce0000b012024..."} 
[2026-09-23 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3e1cb8012d19b90007265ce0000b012024..."} 
[2026-09-23 13:22:07] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3e1cb8012d19b90007265ce0000b012024..."} 
[2026-09-23 13:22:07] local.INFO: Packet analysis {"connection_id":190586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:22:07] local.INFO: Extracted packet for processing {"connection_id":190586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":36,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278342144001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348057600,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790149795000,"timestamp_ms":1790149795000,"timestamp_seconds":1790149795,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3e1cb8"} 
[2026-09-23 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-09-23 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:22:07] 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-09-23 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-09-23 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-09-23 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278342144001,"66":12613,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348057600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278342144001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348057600,"description":"Unknown IO ID 45"} 
[2026-09-23 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278342144001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348057600}} 
[2026-09-23 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":190586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:22:07] local.INFO: GPS data processed {"connection_id":190586,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:22:07] local.INFO: Acknowledgment sent {"connection_id":190586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:22:08] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:08] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:08] local.INFO: Packet analysis {"connection_id":190585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:22:08] local.INFO: Extracted packet for processing {"connection_id":190585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:22:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:22: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-09-23 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:22:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:22:08] local.INFO: GPS data processed {"connection_id":190585,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:22:08] local.INFO: Acknowledgment sent {"connection_id":190585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:22:31] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:31] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:31] local.INFO: IMEI packet received {"connection_id":191921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":191921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:22:36] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:36] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:22:36] local.INFO: IMEI packet received {"connection_id":191921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":191921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:22:37] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:37] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3b9c18012d4160c006cb46f0002001332e..."} 
[2026-09-23 13:22:37] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:22:37] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3b"} 
[2026-09-23 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":46,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278228480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149631000,"timestamp_ms":1790149631000,"timestamp_seconds":1790149631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3b9c18"} 
[2026-09-23 13:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 13:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:22: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-09-23 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278228480001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278228480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:22:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278228480001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:22:37] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:22:37] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:22:38] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3e6ec0012d19b90007265ce0000b012029..."} 
[2026-09-23 13:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3e6ec0012d19b90007265ce0000b012029..."} 
[2026-09-23 13:22:38] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3e6ec0012d19b90007265ce0000b012029..."} 
[2026-09-23 13:22:38] local.INFO: Packet analysis {"connection_id":190586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:22:38] local.INFO: Extracted packet for processing {"connection_id":190586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278347520001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790149816000,"timestamp_ms":1790149816000,"timestamp_seconds":1790149816,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3e6ec0"} 
[2026-09-23 13:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278347520001,"66":12548,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278347520001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:22:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278347520001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":190586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:22:38] local.INFO: GPS data processed {"connection_id":190586,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:22:38] local.INFO: Acknowledgment sent {"connection_id":190586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:22:57] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:57] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:22:57] local.INFO: IMEI packet received {"connection_id":193259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":193259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:23:02] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:02] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:02] local.INFO: IMEI packet received {"connection_id":193259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":193259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:23:03] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3ec0c8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3ec0c8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:23:03] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3ec0c8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:23:03] local.INFO: Packet analysis {"connection_id":193259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:23:03] local.INFO: Extracted packet for processing {"connection_id":193259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3e"} 
[2026-09-23 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278352896001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149837000,"timestamp_ms":1790149837000,"timestamp_seconds":1790149837,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3ec0c8"} 
[2026-09-23 13:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443312864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147952219,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2520514560,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,232,83,24,241,157,16,150,160,28,45,92,11,36,10,66,202,37,190,128,1,240,249,227,205,38,4,113,26,188,112,39,239,49,2,80,7,18,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:23:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792950369859665920,"timestamp_seconds":792950369859665.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278352896001,"66":12548,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278352896001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:23:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278352896001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":193259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:23:03] local.INFO: GPS data processed {"connection_id":193259,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:23:03] local.INFO: Acknowledgment sent {"connection_id":193259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:23:08] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:08] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:08] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:23:08] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:23:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:23: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-09-23 13: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":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:23:08] 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-09-23 13: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-09-23 13:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:23: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-09-23 13:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:23:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:23:08] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:23:08] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:23:31] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:31] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:31] local.INFO: IMEI packet received {"connection_id":190394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":190394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:23:34] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3f12d0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3f12d0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:23:34] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3f12d0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:23:34] local.INFO: Packet analysis {"connection_id":193259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:23:34] local.INFO: Extracted packet for processing {"connection_id":193259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":45,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278358272001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149858000,"timestamp_ms":1790149858000,"timestamp_seconds":1790149858,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3f12d0"} 
[2026-09-23 13:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443333864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":108,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147952219,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2520514560,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,150,160,110,45,92,11,41,10,66,28,36,202,1,240,69,227,205,38,4,113,108,188,112,39,239,49,2,80,7,17,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:23:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792950374154633216,"timestamp_seconds":792950374154633.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278358272001,"66":12613,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278358272001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:23:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278358272001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":193259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:23:34] local.INFO: GPS data processed {"connection_id":193259,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:23:34] local.INFO: Acknowledgment sent {"connection_id":193259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:23:36] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:36] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:23:36] local.INFO: IMEI packet received {"connection_id":190394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":190394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:23:37] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:37] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:23:37] local.INFO: Packet analysis {"connection_id":190394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:23:37] local.INFO: Extracted packet for processing {"connection_id":190394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:23: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-09-23 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:23:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":190394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:23:37] local.INFO: GPS data processed {"connection_id":190394,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:23:37] local.INFO: Acknowledgment sent {"connection_id":190394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:23:57] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:57] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:23:57] local.INFO: IMEI packet received {"connection_id":193260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":193260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:24:07] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:07] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:07] local.INFO: IMEI packet received {"connection_id":193260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":193260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:24:08] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3f64d8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3f64d8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:24:08] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3f64d8012d19b90007265ce0000b01202a..."} 
[2026-09-23 13:24:08] local.INFO: Packet analysis {"connection_id":193260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:24:08] local.INFO: Extracted packet for processing {"connection_id":193260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278363648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149879000,"timestamp_ms":1790149879000,"timestamp_seconds":1790149879,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3f64d8"} 
[2026-09-23 13:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 13:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278363648001,"66":12558,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278363648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278363648001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":193260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:24:08] local.INFO: GPS data processed {"connection_id":193260,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:24:08] local.INFO: Acknowledgment sent {"connection_id":193260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:24:08] local.INFO: TCP Data received {"connection_id":190394,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:08] local.INFO: Processing buffer {"connection_id":190394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:08] local.INFO: Packet analysis {"connection_id":190394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:24:08] local.INFO: Extracted packet for processing {"connection_id":190394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:24: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-09-23 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:24:08] 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-09-23 13:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:24: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-09-23 13:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:24:08] local.INFO: GPS data processed {"connection_id":190394,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:24:08] local.INFO: Acknowledgment sent {"connection_id":190394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:24:31] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:31] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:31] local.INFO: IMEI packet received {"connection_id":190587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":190587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:24:34] local.INFO: TCP Data received {"connection_id":193261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:24:34] local.INFO: Processing buffer {"connection_id":193261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:24:34] local.INFO: IMEI packet received {"connection_id":193261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":193261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:24:36] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:36] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:24:36] local.INFO: IMEI packet received {"connection_id":190587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":190587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:24:37] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:37] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:24:37] local.INFO: Packet analysis {"connection_id":190587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:24:37] local.INFO: Extracted packet for processing {"connection_id":190587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 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-09-23 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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":190587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:24:37] local.INFO: GPS data processed {"connection_id":190587,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:24:37] local.INFO: Acknowledgment sent {"connection_id":190587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:24:39] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd3fb6e0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd3fb6e0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:24:39] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd3fb6e0012d19b90007265ce0000b01202d..."} 
[2026-09-23 13:24:39] local.INFO: Packet analysis {"connection_id":193260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:24:39] local.INFO: Extracted packet for processing {"connection_id":193260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd3f"} 
[2026-09-23 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":45,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278369024001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790149900000,"timestamp_ms":1790149900000,"timestamp_seconds":1790149900,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd3fb6e0"} 
[2026-09-23 13:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443375864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249835864186313584,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:24:39] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2952867097,"corrected_to":0} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521235456,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:24:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,18,45,92,11,10,66,192,42,110,1,240,4,227,205,38,113,202,185,208,37,239,49,2,80,7,17,120,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0},{"io_id":202,"original":2952867097,"validated":0}]} 
[2026-09-23 13:24:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792950374154633216,"timestamp_seconds":792950374154633.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278369024001,"66":12602,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278369024001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:24:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278369024001,"power":12602,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":193260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:24:39] local.INFO: GPS data processed {"connection_id":193260,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:24:39] local.INFO: Acknowledgment sent {"connection_id":193260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:24:57] local.INFO: TCP Data received {"connection_id":191923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:57] local.INFO: Processing buffer {"connection_id":191923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:24:57] local.INFO: IMEI packet received {"connection_id":191923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":191923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:25:02] local.INFO: TCP Data received {"connection_id":191923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:02] local.INFO: Processing buffer {"connection_id":191923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:02] local.INFO: IMEI packet received {"connection_id":191923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":191923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:25:03] local.INFO: TCP Data received {"connection_id":191923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4008e8012d19b90007265ce0000b012029..."} 
[2026-09-23 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4008e8012d19b90007265ce0000b012029..."} 
[2026-09-23 13:25:03] local.INFO: Processing buffer {"connection_id":191923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4008e8012d19b90007265ce0000b012029..."} 
[2026-09-23 13:25:03] local.INFO: Packet analysis {"connection_id":191923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:03] local.INFO: Extracted packet for processing {"connection_id":191923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119954656,"longitude_deg":75.666048,"latitude_deg":11.9954656,"altitude":11,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d19b900","hex_latitude":"07265ce0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278374400001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683229823696896,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149921000,"timestamp_ms":1790149921000,"timestamp_seconds":1790149921,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4008e8"} 
[2026-09-23 13:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:25:03] 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-09-23 13: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-09-23 13:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278374400001,"66":11830,"232":206,"83":42752,"24":0,"16":22683229823696896,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278374400001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:25:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683229823696896,"km_value":22683229823696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278374400001,"power":11830,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":191923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:25:03] local.INFO: GPS data processed {"connection_id":191923,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:25:03] local.INFO: Acknowledgment sent {"connection_id":191923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:25:08] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:08] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:08] local.INFO: Packet analysis {"connection_id":190587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:08] local.INFO: Extracted packet for processing {"connection_id":190587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:25:08] 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-09-23 13: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-09-23 13:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:25: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-09-23 13:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:25:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":190587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:25:08] local.INFO: GPS data processed {"connection_id":190587,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:25:08] local.INFO: Acknowledgment sent {"connection_id":190587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:25:10] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:25:10] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:25:10] local.INFO: IMEI packet received {"connection_id":191924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":191924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:25:31] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:31] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:31] local.INFO: IMEI packet received {"connection_id":190395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":190395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:25:34] local.INFO: TCP Data received {"connection_id":191923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd402440012d19bac0072659e0000c00632a..."} 
[2026-09-23 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd402440012d19bac0072659e0000c00632a..."} 
[2026-09-23 13:25:34] local.INFO: Processing buffer {"connection_id":191923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd402440012d19bac0072659e0000c00632a..."} 
[2026-09-23 13:25:34] local.INFO: Packet analysis {"connection_id":191923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:34] local.INFO: Extracted packet for processing {"connection_id":191923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119953888,"longitude_deg":75.6660928,"latitude_deg":11.9953888,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bac0","hex_latitude":"072659e0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278379776001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683272773369856,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752348061696,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790149928000,"timestamp_ms":1790149928000,"timestamp_seconds":1790149928,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd402440"} 
[2026-09-23 13:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-23 13:25:34] 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-09-23 13: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-09-23 13:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278379776001,"66":12591,"232":206,"83":42752,"24":0,"16":22683272773369856,"45":1853512752348061696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278379776001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:25:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683272773369856,"km_value":22683272773369.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752348061696,"description":"Unknown IO ID 45"} 
[2026-09-23 13:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278379776001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853512752348061696}} 
[2026-09-23 13:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:25:34] local.INFO: GPS data processed {"connection_id":191923,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:25:34] local.INFO: Acknowledgment sent {"connection_id":191923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:25:36] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:36] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:25:36] local.INFO: IMEI packet received {"connection_id":190395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":190395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:25:37] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:37] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:25:37] local.INFO: Packet analysis {"connection_id":190395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:37] local.INFO: Extracted packet for processing {"connection_id":190395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:25:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":190395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:25:37] local.INFO: GPS data processed {"connection_id":190395,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:25:37] local.INFO: Acknowledgment sent {"connection_id":190395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:25:57] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:57] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:25:57] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:26:02] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:02] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:02] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:26:03] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd407648012d19bb00072659d8000c006329..."} 
[2026-09-23 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd407648012d19bb00072659d8000c006329..."} 
[2026-09-23 13:26:03] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd407648012d19bb00072659d8000c006329..."} 
[2026-09-23 13:26:03] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:03] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278381568001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333557108736,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790149949000,"timestamp_ms":1790149949000,"timestamp_seconds":1790149949,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd407648"} 
[2026-09-23 13:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:26:03] 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-09-23 13: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-09-23 13:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278381568001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854005333557108736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278381568001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:26:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333557108736,"description":"Unknown IO ID 45"} 
[2026-09-23 13:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278381568001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854005333557108736}} 
[2026-09-23 13:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:26:03] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:26:03] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:26:08] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:08] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:08] local.INFO: Packet analysis {"connection_id":190395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:08] local.INFO: Extracted packet for processing {"connection_id":190395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:26: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-09-23 13:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:26:08] 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-09-23 13:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:26: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-09-23 13:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:26:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:26:08] local.INFO: GPS data processed {"connection_id":190395,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:26:08] local.INFO: Acknowledgment sent {"connection_id":190395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:26:31] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:31] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:31] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:26:35] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd40c850012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd40c850012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:26:35] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd40c850012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:26:35] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:35] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278386944001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790149970000,"timestamp_ms":1790149970000,"timestamp_seconds":1790149970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd40c850"} 
[2026-09-23 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:26:35] 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-09-23 13: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-09-23 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278386944001,"66":12558,"175":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278386944001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278386944001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:26:35] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:26:35] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:26:36] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:36] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:26:36] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:26:37] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:37] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:26:37] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:37] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:26:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:26:37] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:26:37] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:26:58] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:58] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:26:58] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:27:02] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:02] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:02] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:27:07] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:07] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:07] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:27:07] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd411a58012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd411a58012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:27:07] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd411a58012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:27:07] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:27:07] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":43,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278392320001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790149991000,"timestamp_ms":1790149991000,"timestamp_seconds":1790149991,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd411a58"} 
[2026-09-23 13:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443462864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832015895616736,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521235456,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,175,83,24,241,157,16,150,160,118,45,89,12,41,10,66,232,36,192,42,8,1,240,54,227,205,38,4,113,100,185,224,239,49,2,80,7,11,120,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:27:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800160494911488,"timestamp_seconds":864800160494911.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278392320001,"66":12537,"175":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278392320001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278392320001,"power":12537,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:27:07] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:27:07] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:27:08] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:08] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:08] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:27:08] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:27: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:27:08] 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-09-23 13:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:27:08] 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-09-23 13:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:27:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:27:08] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:27:08] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:27:12] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd416c60012d19bb00072659d8000c006325..."} 
[2026-09-23 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd416c60012d19bb00072659d8000c006325..."} 
[2026-09-23 13:27:12] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd416c60012d19bb00072659d8000c006325..."} 
[2026-09-23 13:27:12] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:27:12] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278397696001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790150012000,"timestamp_ms":1790150012000,"timestamp_seconds":1790150012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd416c60"} 
[2026-09-23 13:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 13:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278397696001,"66":12558,"175":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278397696001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:27:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278397696001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:27:12] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:27:12] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:27:31] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:31] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:31] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:27:36] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:36] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:27:36] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:27:37] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:37] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4033e0012d4160c006cb46f0002001332a..."} 
[2026-09-23 13:27:37] local.INFO: Packet analysis {"connection_id":190398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:27:37] local.INFO: Extracted packet for processing {"connection_id":190398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd40"} 
[2026-09-23 13:27:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790149932000,"timestamp_ms":1790149932000,"timestamp_seconds":1790149932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4033e0"} 
[2026-09-23 13:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278305536001,"66":26006,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:27:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278305536001,"power":26006,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":190398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:27:37] local.INFO: GPS data processed {"connection_id":190398,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:27:37] local.INFO: Acknowledgment sent {"connection_id":190398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:27:57] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:57] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:27:57] local.INFO: IMEI packet received {"connection_id":193263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":193263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:28:01] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:01] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:01] local.INFO: IMEI packet received {"connection_id":193263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":193263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:28:02] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd41be68012d19bb00072659d8000c006327..."} 
[2026-09-23 13:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd41be68012d19bb00072659d8000c006327..."} 
[2026-09-23 13:28:02] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd41be68012d19bb00072659d8000c006327..."} 
[2026-09-23 13:28:02] local.INFO: Packet analysis {"connection_id":193263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:28:02] local.INFO: Extracted packet for processing {"connection_id":193263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd41"} 
[2026-09-23 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278403072001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790150033000,"timestamp_ms":1790150033000,"timestamp_seconds":1790150033,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd41be68"} 
[2026-09-23 13:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443504864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":20481,"corrected_to":0} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832015895616736,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521235456,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,175,83,24,241,157,16,150,160,26,45,89,12,43,10,66,200,42,118,1,240,47,227,205,38,4,113,8,185,224,41,239,46,232,2,80,7,11,120,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":200,"original":20481,"validated":0},{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:28:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800139020075008,"timestamp_seconds":864800139020075.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278403072001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278403072001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:28:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278403072001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":193263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:28:02] local.INFO: GPS data processed {"connection_id":193263,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:28:02] local.INFO: Acknowledgment sent {"connection_id":193263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:28:08] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:08] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:08] local.INFO: Packet analysis {"connection_id":190398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:28:08] local.INFO: Extracted packet for processing {"connection_id":190398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:28:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:28: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-09-23 13:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:28:08] 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-09-23 13:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:28:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":190398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:28:08] local.INFO: GPS data processed {"connection_id":190398,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:28:08] local.INFO: Acknowledgment sent {"connection_id":190398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:28:31] local.INFO: TCP Data received {"connection_id":193264,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:31] local.INFO: Processing buffer {"connection_id":193264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:31] local.INFO: IMEI packet received {"connection_id":193264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:28:33] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd421070012d19bb00072659d8000c006324..."} 
[2026-09-23 13:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd421070012d19bb00072659d8000c006324..."} 
[2026-09-23 13:28:33] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd421070012d19bb00072659d8000c006324..."} 
[2026-09-23 13:28:33] local.INFO: Packet analysis {"connection_id":193263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:28:33] local.INFO: Extracted packet for processing {"connection_id":193263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":36,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278408448001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790150054000,"timestamp_ms":1790150054000,"timestamp_seconds":1790150054,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd421070"} 
[2026-09-23 13:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:28: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-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:28:33] 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-09-23 13: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-09-23 13:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278408448001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278408448001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:28:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278408448001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":193263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:28:33] local.INFO: GPS data processed {"connection_id":193263,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:28:33] local.INFO: Acknowledgment sent {"connection_id":193263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:28:36] local.INFO: TCP Data received {"connection_id":193264,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:36] local.INFO: Processing buffer {"connection_id":193264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:28:36] local.INFO: IMEI packet received {"connection_id":193264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":193264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:28:37] local.INFO: TCP Data received {"connection_id":193264,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:37] local.INFO: Processing buffer {"connection_id":193264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:28:37] local.INFO: Packet analysis {"connection_id":193264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:28:37] local.INFO: Extracted packet for processing {"connection_id":193264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:28:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 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-09-23 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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:28:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":193264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:28:37] local.INFO: GPS data processed {"connection_id":193264,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:28:37] local.INFO: Acknowledgment sent {"connection_id":193264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:28:57] local.INFO: TCP Data received {"connection_id":193265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:57] local.INFO: Processing buffer {"connection_id":193265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:28:57] local.INFO: IMEI packet received {"connection_id":193265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":193265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:29:02] local.INFO: TCP Data received {"connection_id":193265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:02] local.INFO: Processing buffer {"connection_id":193265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:02] local.INFO: IMEI packet received {"connection_id":193265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":193265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:29:03] local.INFO: TCP Data received {"connection_id":193265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd426278012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd426278012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:29:03] local.INFO: Processing buffer {"connection_id":193265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd426278012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:29:03] local.INFO: Packet analysis {"connection_id":193265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:29:03] local.INFO: Extracted packet for processing {"connection_id":193265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":43,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278413824001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150075000,"timestamp_ms":1790150075000,"timestamp_seconds":1790150075,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd426278"} 
[2026-09-23 13:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:29:03] 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-09-23 13: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-09-23 13:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278413824001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278413824001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:29:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278413824001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":193265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:29:03] local.INFO: GPS data processed {"connection_id":193265,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:29:03] local.INFO: Acknowledgment sent {"connection_id":193265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:29:09] local.INFO: TCP Data received {"connection_id":193264,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:09] local.INFO: Processing buffer {"connection_id":193264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:09] local.INFO: Packet analysis {"connection_id":193264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:29:09] local.INFO: Extracted packet for processing {"connection_id":193264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:29:09] 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-09-23 13: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-09-23 13:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:29: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-09-23 13:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:29:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":193264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:29:09] local.INFO: GPS data processed {"connection_id":193264,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:29:09] local.INFO: Acknowledgment sent {"connection_id":193264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:29:31] local.INFO: TCP Data received {"connection_id":190588,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:31] local.INFO: Processing buffer {"connection_id":190588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:31] local.INFO: IMEI packet received {"connection_id":190588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":190588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:29:34] local.INFO: TCP Data received {"connection_id":193265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd42b480012d19bb00072659d8000c006329..."} 
[2026-09-23 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd42b480012d19bb00072659d8000c006329..."} 
[2026-09-23 13:29:34] local.INFO: Processing buffer {"connection_id":193265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd42b480012d19bb00072659d8000c006329..."} 
[2026-09-23 13:29:34] local.INFO: Packet analysis {"connection_id":193265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:29:34] local.INFO: Extracted packet for processing {"connection_id":193265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd42"} 
[2026-09-23 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:29: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-09-23 13:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278419200001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150096000,"timestamp_ms":1790150096000,"timestamp_seconds":1790150096,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd42b480"} 
[2026-09-23 13:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:29: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:29:34] 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-09-23 13:29: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-09-23 13:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278419200001,"66":12580,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278419200001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:29:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278419200001,"power":12580,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":193265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:29:34] local.INFO: GPS data processed {"connection_id":193265,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:29:34] local.INFO: Acknowledgment sent {"connection_id":193265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:29:36] local.INFO: TCP Data received {"connection_id":190588,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:36] local.INFO: Processing buffer {"connection_id":190588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:29:36] local.INFO: IMEI packet received {"connection_id":190588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":190588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:29:37] local.INFO: TCP Data received {"connection_id":190588,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:37] local.INFO: Processing buffer {"connection_id":190588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:29:37] local.INFO: Packet analysis {"connection_id":190588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:29:37] local.INFO: Extracted packet for processing {"connection_id":190588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:29:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:29: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-09-23 13:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:29: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-09-23 13:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:29:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":190588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:29:37] local.INFO: GPS data processed {"connection_id":190588,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:29:37] local.INFO: Acknowledgment sent {"connection_id":190588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:29:57] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:57] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:29:57] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:30:02] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:02] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:02] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:30:03] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd430688012d19bb00072659d8000c006328..."} 
[2026-09-23 13:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd430688012d19bb00072659d8000c006328..."} 
[2026-09-23 13:30:03] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd430688012d19bb00072659d8000c006328..."} 
[2026-09-23 13:30:03] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd43"} 
[2026-09-23 13:30:03] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd43"} 
[2026-09-23 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278424576001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150117000,"timestamp_ms":1790150117000,"timestamp_seconds":1790150117,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd430688"} 
[2026-09-23 13:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 13:30:03] 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-09-23 13: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-09-23 13:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278424576001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278424576001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:30:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278424576001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:30:03] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:30:03] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:30:08] local.INFO: TCP Data received {"connection_id":190588,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:08] local.INFO: Processing buffer {"connection_id":190588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:08] local.INFO: Packet analysis {"connection_id":190588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:30:08] local.INFO: Extracted packet for processing {"connection_id":190588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:30:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:30:08] 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-09-23 13: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-09-23 13:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:30: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-09-23 13:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:30:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:30:08] local.INFO: GPS data processed {"connection_id":190588,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:30:08] local.INFO: Acknowledgment sent {"connection_id":190588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:30:32] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:32] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:32] local.INFO: IMEI packet received {"connection_id":190589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":190589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:30:34] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd468ce0012d19bb00072659d8000c00632c..."} 
[2026-09-23 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd468ce0012d19bb00072659d8000c00632c..."} 
[2026-09-23 13:30:34] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd468ce0012d19bb00072659d8000c00632c..."} 
[2026-09-23 13:30:34] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd46"} 
[2026-09-23 13:30:34] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd46"} 
[2026-09-23 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":44,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278483712001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150348000,"timestamp_ms":1790150348000,"timestamp_seconds":1790150348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd468ce0"} 
[2026-09-23 13:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:30:34] 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-09-23 13: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-09-23 13:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278483712001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278483712001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:30:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278483712001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:30:34] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:30:34] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:30:36] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:36] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:30:36] local.INFO: IMEI packet received {"connection_id":190589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:30:37] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:37] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:30:37] local.INFO: Packet analysis {"connection_id":190589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:30:37] local.INFO: Extracted packet for processing {"connection_id":190589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:30:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:30:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:30:37] local.INFO: GPS data processed {"connection_id":190589,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:30:37] local.INFO: Acknowledgment sent {"connection_id":190589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:30:57] local.INFO: TCP Data received {"connection_id":190590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:57] local.INFO: Processing buffer {"connection_id":190590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:30:57] local.INFO: IMEI packet received {"connection_id":190590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":190590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:31:02] local.INFO: TCP Data received {"connection_id":190590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:02] local.INFO: Processing buffer {"connection_id":190590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:02] local.INFO: IMEI packet received {"connection_id":190590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":190590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:31:03] local.INFO: TCP Data received {"connection_id":190590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd46dee8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd46dee8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:31:03] local.INFO: Processing buffer {"connection_id":190590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd46dee8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:31:03] local.INFO: Packet analysis {"connection_id":190590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd46"} 
[2026-09-23 13:31:03] local.INFO: Extracted packet for processing {"connection_id":190590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd46"} 
[2026-09-23 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278489088001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150369000,"timestamp_ms":1790150369000,"timestamp_seconds":1790150369,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd46dee8"} 
[2026-09-23 13:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:31:03] 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-09-23 13: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-09-23 13:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278489088001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278489088001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:31:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278489088001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":190590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:31:03] local.INFO: GPS data processed {"connection_id":190590,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:31:03] local.INFO: Acknowledgment sent {"connection_id":190590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:31:08] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:08] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:08] local.INFO: Packet analysis {"connection_id":190589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:31:08] local.INFO: Extracted packet for processing {"connection_id":190589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:31:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:31: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:31:08] 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-09-23 13: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-09-23 13:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:31:08] 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-09-23 13:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:31:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":190589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:31:08] local.INFO: GPS data processed {"connection_id":190589,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:31:08] local.INFO: Acknowledgment sent {"connection_id":190589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:31:31] local.INFO: TCP Data received {"connection_id":193266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:31] local.INFO: Processing buffer {"connection_id":193266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:31] local.INFO: IMEI packet received {"connection_id":193266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":193266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:31:34] local.INFO: TCP Data received {"connection_id":190590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4730f0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4730f0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:31:34] local.INFO: Processing buffer {"connection_id":190590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4730f0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:31:34] local.INFO: Packet analysis {"connection_id":190590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:31:34] local.INFO: Extracted packet for processing {"connection_id":190590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278494464001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150390000,"timestamp_ms":1790150390000,"timestamp_seconds":1790150390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4730f0"} 
[2026-09-23 13:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:31:34] 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-09-23 13: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-09-23 13:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278494464001,"66":12526,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278494464001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:31:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278494464001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":190590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:31:34] local.INFO: GPS data processed {"connection_id":190590,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:31:34] local.INFO: Acknowledgment sent {"connection_id":190590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:31:36] local.INFO: TCP Data received {"connection_id":193266,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:36] local.INFO: Processing buffer {"connection_id":193266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:31:36] local.INFO: IMEI packet received {"connection_id":193266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":193266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:31:37] local.INFO: TCP Data received {"connection_id":193266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:37] local.INFO: Processing buffer {"connection_id":193266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:31:37] local.INFO: Packet analysis {"connection_id":193266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:31:37] local.INFO: Extracted packet for processing {"connection_id":193266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 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-09-23 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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:31: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-09-23 13:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:31:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":193266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:31:37] local.INFO: GPS data processed {"connection_id":193266,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:31:37] local.INFO: Acknowledgment sent {"connection_id":193266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:31:57] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:57] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:31:57] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:32:02] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:02] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:02] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:32:03] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4782f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4782f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:03] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4782f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:03] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:03] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278499840001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150411000,"timestamp_ms":1790150411000,"timestamp_seconds":1790150411,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4782f8"} 
[2026-09-23 13:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:32: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-09-23 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:03] 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-09-23 13: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-09-23 13:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278499840001,"66":12548,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278499840001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:32:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278499840001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:32:03] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:32:03] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:08] local.INFO: TCP Data received {"connection_id":193266,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:08] local.INFO: Processing buffer {"connection_id":193266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:08] local.INFO: Packet analysis {"connection_id":193266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:32:08] local.INFO: Extracted packet for processing {"connection_id":193266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:32:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:32: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-09-23 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:08] 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-09-23 13: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-09-23 13:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:32: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-09-23 13:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:32:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":193266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:32:08] local.INFO: GPS data processed {"connection_id":193266,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:32:08] local.INFO: Acknowledgment sent {"connection_id":193266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:30] local.INFO: TCP Data received {"connection_id":190591,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:32:30] local.INFO: TCP Data received {"connection_id":190591,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:32:30] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:32:31] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:31] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:31] local.INFO: IMEI packet received {"connection_id":190401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":190401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:32:32] local.INFO: TCP Data received {"connection_id":190591,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd483a900100000000000000000000000000..."} 
[2026-09-23 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd483a900100000000000000000000000000..."} 
[2026-09-23 13:32:32] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd483a900100000000000000000000000000..."} 
[2026-09-23 13:32:32] local.INFO: Packet analysis {"connection_id":190591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:32:32] local.INFO: Extracted packet for processing {"connection_id":190591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278502400001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5198702125478170626,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,237,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790150458000,"timestamp_ms":1790150458000,"timestamp_seconds":1790150458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd483a90"} 
[2026-09-23 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:32: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-09-23 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:32] 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-09-23 13: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-09-23 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":190591,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:32:32] local.INFO: GPS data processed {"connection_id":190591,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:32:32] local.INFO: Acknowledgment sent {"connection_id":190591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:34] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd47d500012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd47d500012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:34] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd47d500012d19bb00072659d8000c006329..."} 
[2026-09-23 13:32:34] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:34] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278505216001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150432000,"timestamp_ms":1790150432000,"timestamp_seconds":1790150432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd47d500"} 
[2026-09-23 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-09-23 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443889864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480632,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,232,83,24,241,157,16,150,160,48,45,89,12,41,10,66,222,42,140,1,240,47,227,205,38,4,113,187,216,43,239,2,80,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:32:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800156199944192,"timestamp_seconds":864800156199944.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 13:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278505216001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278505216001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:32:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278505216001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:32:34] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:32:34] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:36] local.INFO: TCP Data received {"connection_id":190591,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd47cd30012c47e3c00a09a390023900cc2f..."} 
[2026-09-23 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd47cd30012c47e3c00a09a390023900cc2f..."} 
[2026-09-23 13:32:36] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd47cd30012c47e3c00a09a390023900cc2f..."} 
[2026-09-23 13:32:36] local.INFO: Packet analysis {"connection_id":190591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:36] local.INFO: Extracted packet for processing {"connection_id":190591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd47"} 
[2026-09-23 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":742908864,"raw_latitude":168403856,"longitude_deg":74.2908864,"latitude_deg":16.8403856,"altitude":569,"angle":204,"satellites":47,"speed":49,"hex_longitude":"2c47e3c0","hex_latitude":"0a09a390","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,91,237,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790150430000,"timestamp_ms":1790150430000,"timestamp_seconds":1790150430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd47cd30"} 
[2026-09-23 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-09-23 13:32: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:36] 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-09-23 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-09-23 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-09-23 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"91":206,"237":50688,"24":49,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,237,24,16]} 
[2026-09-23 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:32:36] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 13:32:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":50688,"description":"Unknown IO ID 237"} 
[2026-09-23 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_91":206,"unknown_237":50688,"ignition":49,"odometer":null}} 
[2026-09-23 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":190591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:32:36] local.INFO: GPS data processed {"connection_id":190591,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:32:36] local.INFO: Acknowledgment sent {"connection_id":190591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:36] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:36] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:32:36] local.INFO: IMEI packet received {"connection_id":190401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":190401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:32:37] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:37] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd44cba8012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:32:37] local.INFO: Packet analysis {"connection_id":190401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:32:37] local.INFO: Extracted packet for processing {"connection_id":190401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd44"} 
[2026-09-23 13:32:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278382592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150233000,"timestamp_ms":1790150233000,"timestamp_seconds":1790150233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd44cba8"} 
[2026-09-23 13:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 13:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:32: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-09-23 13:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278382592001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278382592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:32:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278382592001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":190401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:32:37] local.INFO: GPS data processed {"connection_id":190401,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:32:37] local.INFO: Acknowledgment sent {"connection_id":190401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:32:57] local.INFO: TCP Data received {"connection_id":193267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:57] local.INFO: Processing buffer {"connection_id":193267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:32:57] local.INFO: IMEI packet received {"connection_id":193267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":193267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:33:02] local.INFO: TCP Data received {"connection_id":193267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:02] local.INFO: Processing buffer {"connection_id":193267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:02] local.INFO: IMEI packet received {"connection_id":193267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":193267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:33:03] local.INFO: TCP Data received {"connection_id":193267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd482af0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd482af0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:33:03] local.INFO: Processing buffer {"connection_id":193267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd482af0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:33:03] local.INFO: Packet analysis {"connection_id":193267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:03] local.INFO: Extracted packet for processing {"connection_id":193267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278510592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150454000,"timestamp_ms":1790150454000,"timestamp_seconds":1790150454,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd482af0"} 
[2026-09-23 13:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33: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-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443910864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,130,45,89,12,41,10,66,48,222,1,240,47,227,205,38,4,113,58,187,216,43,239,49,2,80,7,120,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:33:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800156199944192,"timestamp_seconds":864800156199944.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278510592001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278510592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278510592001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":193267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:03] local.INFO: GPS data processed {"connection_id":193267,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:03] local.INFO: Acknowledgment sent {"connection_id":193267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:09] local.INFO: TCP Data received {"connection_id":190401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:09] local.INFO: Processing buffer {"connection_id":190401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:09] local.INFO: Packet analysis {"connection_id":190401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:33:09] local.INFO: Extracted packet for processing {"connection_id":190401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:33:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33: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-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:33: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-09-23 13: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-09-23 13:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:33: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-09-23 13:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":190401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:09] local.INFO: GPS data processed {"connection_id":190401,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:09] local.INFO: Acknowledgment sent {"connection_id":190401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:09] local.INFO: TCP Data received {"connection_id":190592,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:09] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:09] local.INFO: IMEI packet received {"connection_id":190592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":190592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:33:18] local.INFO: TCP Data received {"connection_id":190592,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:18] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:33:18] local.INFO: IMEI packet received {"connection_id":190592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":190592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:33:20] local.INFO: TCP Data received {"connection_id":190592,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4861a0012c47aac00a091420024100c42f..."} 
[2026-09-23 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4861a0012c47aac00a091420024100c42f..."} 
[2026-09-23 13:33:20] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4861a0012c47aac00a091420024100c42f..."} 
[2026-09-23 13:33:20] local.INFO: Packet analysis {"connection_id":190592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:20] local.INFO: Extracted packet for processing {"connection_id":190592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":742894272,"raw_latitude":168367136,"longitude_deg":74.2894272,"latitude_deg":16.8367136,"altitude":577,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2c47aac0","hex_latitude":"0a091420","is_valid_coordinates":true} 
[2026-09-23 13:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278510080001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5180195145750122498,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,237,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790150468000,"timestamp_ms":1790150468000,"timestamp_seconds":1790150468,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4861a0"} 
[2026-09-23 13:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 13:33:20] 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-09-23 13:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278510080001,"66":28354,"91":206,"237":50688,"24":0,"16":3605341577150464,"44":5180195145750122498},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,237,24,16,44]} 
[2026-09-23 13:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278510080001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:20] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-23 13:33:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":50688,"description":"Unknown IO ID 237"} 
[2026-09-23 13:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":5180195145750122498,"description":"Unknown IO ID 44"} 
[2026-09-23 13:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278510080001,"power":28354,"unknown_91":206,"unknown_237":50688,"ignition":0,"odometer":null,"unknown_44":5180195145750122498}} 
[2026-09-23 13:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":190592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:20] local.INFO: GPS data processed {"connection_id":190592,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:20] local.INFO: Acknowledgment sent {"connection_id":190592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:31] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:31] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:31] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:33:34] local.INFO: TCP Data received {"connection_id":193267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd487cf8012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd487cf8012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:33:34] local.INFO: Processing buffer {"connection_id":193267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd487cf8012d19bb00072659d8000c00632b..."} 
[2026-09-23 13:33:34] local.INFO: Packet analysis {"connection_id":193267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:34] local.INFO: Extracted packet for processing {"connection_id":193267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":43,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278516224001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150475000,"timestamp_ms":1790150475000,"timestamp_seconds":1790150475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd487cf8"} 
[2026-09-23 13:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:33:34] 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-09-23 13: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-09-23 13:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278516224001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278516224001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278516224001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":193267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:34] local.INFO: GPS data processed {"connection_id":193267,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:34] local.INFO: Acknowledgment sent {"connection_id":193267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:36] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:36] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:33:36] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:33:37] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:37] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:33:37] local.INFO: Packet analysis {"connection_id":190402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:33:37] local.INFO: Extracted packet for processing {"connection_id":190402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:33:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:33: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-09-23 13:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":190402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:37] local.INFO: GPS data processed {"connection_id":190402,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:37] local.INFO: Acknowledgment sent {"connection_id":190402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:51] local.INFO: TCP Data received {"connection_id":190592,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd48b3a8012c479b400a08cfd0024400bb2f..."} 
[2026-09-23 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd48b3a8012c479b400a08cfd0024400bb2f..."} 
[2026-09-23 13:33:51] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd48b3a8012c479b400a08cfd0024400bb2f..."} 
[2026-09-23 13:33:51] local.INFO: Packet analysis {"connection_id":190592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:51] local.INFO: Extracted packet for processing {"connection_id":190592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":742890304,"raw_latitude":168349648,"longitude_deg":74.2890304,"latitude_deg":16.8349648,"altitude":580,"angle":187,"satellites":47,"speed":0,"hex_longitude":"2c479b40","hex_latitude":"0a08cfd0","is_valid_coordinates":true} 
[2026-09-23 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278519808001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5164151072068214786,"note":"Value kept but may cause issues"} 
[2026-09-23 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790150489000,"timestamp_ms":1790150489000,"timestamp_seconds":1790150489,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd48b3a8"} 
[2026-09-23 13:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:33:51] 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-09-23 13:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278519808001,"66":28300,"208":206,"37":23040,"24":0,"16":3605341577150464,"44":5164151072068214786},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-23 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278519808001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:33:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 13:33:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":5164151072068214786,"description":"Unknown IO ID 44"} 
[2026-09-23 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278519808001,"power":28300,"unknown_208":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5164151072068214786}} 
[2026-09-23 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":190592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:33:51] local.INFO: GPS data processed {"connection_id":190592,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:33:51] local.INFO: Acknowledgment sent {"connection_id":190592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:33:58] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:58] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:33:58] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:34:02] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:02] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:02] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:34:07] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:07] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:07] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:34:07] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd48cf00012d19bb00072659d8000c006327..."} 
[2026-09-23 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd48cf00012d19bb00072659d8000c006327..."} 
[2026-09-23 13:34:07] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd48cf00012d19bb00072659d8000c006327..."} 
[2026-09-23 13:34:07] local.INFO: Packet analysis {"connection_id":191928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:34:07] local.INFO: Extracted packet for processing {"connection_id":191928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd48"} 
[2026-09-23 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278521600001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790150496000,"timestamp_ms":1790150496000,"timestamp_seconds":1790150496,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd48cf00"} 
[2026-09-23 13:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443952864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,232,83,24,241,157,16,150,160,42,45,89,12,10,66,213,41,130,1,240,4,227,205,38,113,222,187,216,239,49,2,80,7,120,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:34:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800164789878784,"timestamp_seconds":864800164789878.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278521600001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278521600001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278521600001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":191928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:07] local.INFO: GPS data processed {"connection_id":191928,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:07] local.INFO: Acknowledgment sent {"connection_id":191928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:09] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:09] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:09] local.INFO: Packet analysis {"connection_id":190402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:09] local.INFO: Extracted packet for processing {"connection_id":190402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34: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-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:34: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-09-23 13: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-09-23 13:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:09] local.INFO: GPS data processed {"connection_id":190402,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:09] local.INFO: Acknowledgment sent {"connection_id":190402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:09] local.INFO: TCP Data received {"connection_id":193268,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:09] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:09] local.INFO: IMEI packet received {"connection_id":193268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":193268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:34:12] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4924f0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4924f0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:34:12] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4924f0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:34:12] local.INFO: Packet analysis {"connection_id":191928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:12] local.INFO: Extracted packet for processing {"connection_id":191928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278526976001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790150518000,"timestamp_ms":1790150518000,"timestamp_seconds":1790150518,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4924f0"} 
[2026-09-23 13:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:34:12] 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-09-23 13: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-09-23 13:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278526976001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278526976001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278526976001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":191928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:12] local.INFO: GPS data processed {"connection_id":191928,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:12] local.INFO: Acknowledgment sent {"connection_id":191928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:14] local.INFO: TCP Data received {"connection_id":193268,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:14] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:34:14] local.INFO: IMEI packet received {"connection_id":193268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":193268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:34:15] local.INFO: TCP Data received {"connection_id":193268,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd491168012c4795c00a0896f0024900bf2f..."} 
[2026-09-23 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd491168012c4795c00a0896f0024900bf2f..."} 
[2026-09-23 13:34:15] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd491168012c4795c00a0896f0024900bf2f..."} 
[2026-09-23 13:34:15] local.INFO: Packet analysis {"connection_id":193268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:15] local.INFO: Extracted packet for processing {"connection_id":193268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":742888896,"raw_latitude":168335088,"longitude_deg":74.2888896,"latitude_deg":16.8335088,"altitude":585,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2c4795c0","hex_latitude":"0a0896f0","is_valid_coordinates":true} 
[2026-09-23 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278525184001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5159788209924722690,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790150513000,"timestamp_ms":1790150513000,"timestamp_seconds":1790150513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd491168"} 
[2026-09-23 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278525184001,"66":28300,"208":206,"37":23040,"24":0,"16":3605341577150464,"44":5159788209924722690},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-23 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278525184001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 13:34:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":5159788209924722690,"description":"Unknown IO ID 44"} 
[2026-09-23 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278525184001,"power":28300,"unknown_208":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5159788209924722690}} 
[2026-09-23 13:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":193268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:16] local.INFO: GPS data processed {"connection_id":193268,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:16] local.INFO: Acknowledgment sent {"connection_id":193268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:32] local.INFO: TCP Data received {"connection_id":193269,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:32] local.INFO: Processing buffer {"connection_id":193269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:32] local.INFO: IMEI packet received {"connection_id":193269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":193269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:34:36] local.INFO: TCP Data received {"connection_id":193269,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:36] local.INFO: Processing buffer {"connection_id":193269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:34:36] local.INFO: IMEI packet received {"connection_id":193269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":193269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:34:37] local.INFO: TCP Data received {"connection_id":193269,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:37] local.INFO: Processing buffer {"connection_id":193269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:34:37] local.INFO: Packet analysis {"connection_id":193269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:37] local.INFO: Extracted packet for processing {"connection_id":193269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:34: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-09-23 13:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":193269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:37] local.INFO: GPS data processed {"connection_id":193269,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:37] local.INFO: Acknowledgment sent {"connection_id":193269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:48] local.INFO: TCP Data received {"connection_id":193268,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012c478ec00a085c60024e00b82f..."} 
[2026-09-23 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012c478ec00a085c60024e00b82f..."} 
[2026-09-23 13:34:48] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012c478ec00a085c60024e00b82f..."} 
[2026-09-23 13:34:48] local.INFO: Packet analysis {"connection_id":193268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:48] local.INFO: Extracted packet for processing {"connection_id":193268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":742887104,"raw_latitude":168320096,"longitude_deg":74.2887104,"latitude_deg":16.8320096,"altitude":590,"angle":184,"satellites":47,"speed":0,"hex_longitude":"2c478ec0","hex_latitude":"0a085c60","is_valid_coordinates":true} 
[2026-09-23 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278531328001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5158240097549086722,"note":"Value kept but may cause issues"} 
[2026-09-23 13:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278531328001,"66":28354,"208":206,"37":23040,"24":0,"16":3605341577150464,"44":5158240097549086722},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-23 13:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278531328001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:34:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 13:34:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5158240097549086722,"description":"Unknown IO ID 44"} 
[2026-09-23 13:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278531328001,"power":28354,"unknown_208":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5158240097549086722}} 
[2026-09-23 13:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":193268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:34:48] local.INFO: GPS data processed {"connection_id":193268,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:34:48] local.INFO: Acknowledgment sent {"connection_id":193268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:34:57] local.INFO: TCP Data received {"connection_id":191929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:57] local.INFO: Processing buffer {"connection_id":191929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:34:57] local.INFO: IMEI packet received {"connection_id":191929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":191929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:35:01] local.INFO: TCP Data received {"connection_id":191929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:01] local.INFO: Processing buffer {"connection_id":191929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:01] local.INFO: IMEI packet received {"connection_id":191929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":191929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:35:02] local.INFO: TCP Data received {"connection_id":191929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4976f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4976f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:02] local.INFO: Processing buffer {"connection_id":191929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4976f8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:02] local.INFO: Packet analysis {"connection_id":191929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:02] local.INFO: Extracted packet for processing {"connection_id":191929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278532608001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790150539000,"timestamp_ms":1790150539000,"timestamp_seconds":1790150539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4976f8"} 
[2026-09-23 13:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3443994864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,150,160,207,45,89,12,39,10,66,124,43,42,1,240,47,227,205,38,4,113,130,187,216,41,239,49,2,80,7,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:35:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800160494911488,"timestamp_seconds":864800160494911.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278532608001,"66":12580,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278532608001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278532608001,"power":12580,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":191929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:02] local.INFO: GPS data processed {"connection_id":191929,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:02] local.INFO: Acknowledgment sent {"connection_id":191929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:08] local.INFO: TCP Data received {"connection_id":193269,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:08] local.INFO: Processing buffer {"connection_id":193269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:08] local.INFO: Packet analysis {"connection_id":193269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:08] local.INFO: Extracted packet for processing {"connection_id":193269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:35: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-09-23 13:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:35:08] 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-09-23 13:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":193269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:08] local.INFO: GPS data processed {"connection_id":193269,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:08] local.INFO: Acknowledgment sent {"connection_id":193269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:09] local.INFO: TCP Data received {"connection_id":190593,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:09] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:09] local.INFO: IMEI packet received {"connection_id":190593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":190593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:35:14] local.INFO: TCP Data received {"connection_id":190593,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:14] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:35:14] local.INFO: IMEI packet received {"connection_id":190593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":190593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:35:15] local.INFO: TCP Data received {"connection_id":190593,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd49b578012c4786c00a082230025400c12e..."} 
[2026-09-23 13:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd49b578012c4786c00a082230025400c12e..."} 
[2026-09-23 13:35:15] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd49b578012c4786c00a082230025400c12e..."} 
[2026-09-23 13:35:15] local.INFO: Packet analysis {"connection_id":190593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:15] local.INFO: Extracted packet for processing {"connection_id":190593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:15] local.INFO: GPS Element Parsed {"raw_longitude":742885056,"raw_latitude":168305200,"longitude_deg":74.2885056,"latitude_deg":16.83052,"altitude":596,"angle":193,"satellites":46,"speed":0,"hex_longitude":"2c4786c0","hex_latitude":"0a082230","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5156269772708274178,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790150555000,"timestamp_ms":1790150555000,"timestamp_seconds":1790150555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd49b578"} 
[2026-09-23 13:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:35:15] 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-09-23 13: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-09-23 13:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":28256,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5156269772708274178},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:15] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:35:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":5156269772708274178,"description":"Unknown IO ID 44"} 
[2026-09-23 13:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":28256,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5156269772708274178}} 
[2026-09-23 13:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":190593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:16] local.INFO: GPS data processed {"connection_id":190593,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:16] local.INFO: Acknowledgment sent {"connection_id":190593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:31] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:31] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:31] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:35:33] local.INFO: TCP Data received {"connection_id":191929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd49cce8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd49cce8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:33] local.INFO: Processing buffer {"connection_id":191929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd49cce8012d19bb00072659d8000c006329..."} 
[2026-09-23 13:35:33] local.INFO: Packet analysis {"connection_id":191929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:33] local.INFO: Extracted packet for processing {"connection_id":191929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278537984001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790150561000,"timestamp_ms":1790150561000,"timestamp_seconds":1790150561,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd49cce8"} 
[2026-09-23 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-09-23 13:35: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-09-23 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 13:35: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-09-23 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-09-23 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-09-23 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278537984001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278537984001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278537984001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":191929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:33] local.INFO: GPS data processed {"connection_id":191929,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:33] local.INFO: Acknowledgment sent {"connection_id":191929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:36] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:36] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:35:36] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:35:37] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:37] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:35:37] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:37] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:35: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-09-23 13:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:37] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:37] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:47] local.INFO: TCP Data received {"connection_id":190593,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd49ec28012c476c800a07e2b0025400d12e..."} 
[2026-09-23 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd49ec28012c476c800a07e2b0025400d12e..."} 
[2026-09-23 13:35:47] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd49ec28012c476c800a07e2b0025400d12e..."} 
[2026-09-23 13:35:47] local.INFO: Packet analysis {"connection_id":190593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:47] local.INFO: Extracted packet for processing {"connection_id":190593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:35:47] local.INFO: GPS Element Parsed {"raw_longitude":742878336,"raw_latitude":168288944,"longitude_deg":74.2878336,"latitude_deg":16.8288944,"altitude":596,"angle":209,"satellites":46,"speed":41,"hex_longitude":"2c476c80","hex_latitude":"0a07e2b0","is_valid_coordinates":true} 
[2026-09-23 13:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278542080001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5154017972890775554,"note":"Value kept but may cause issues"} 
[2026-09-23 13:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790150569000,"timestamp_ms":1790150569000,"timestamp_seconds":1790150569,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd49ec28"} 
[2026-09-23 13:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:35: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-09-23 13:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:35:47] 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-09-23 13:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278542080001,"66":28278,"77":206,"37":23040,"24":41,"16":3605341577150464,"44":5154017972890775554},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278542080001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:35:47] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:35:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":5154017972890775554,"description":"Unknown IO ID 44"} 
[2026-09-23 13:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278542080001,"power":28278,"unknown_77":206,"unknown_37":23040,"ignition":41,"odometer":null,"unknown_44":5154017972890775554}} 
[2026-09-23 13:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":190593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:35:48] local.INFO: GPS data processed {"connection_id":190593,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:35:48] local.INFO: Acknowledgment sent {"connection_id":190593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:35:57] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:57] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:35:57] local.INFO: IMEI packet received {"connection_id":191930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":191930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:36:02] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:02] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:02] local.INFO: IMEI packet received {"connection_id":191930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":191930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:36:03] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4a1ef0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4a1ef0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:36:03] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4a1ef0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:36:03] local.INFO: Packet analysis {"connection_id":191930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:03] local.INFO: Extracted packet for processing {"connection_id":191930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278543616001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150582000,"timestamp_ms":1790150582000,"timestamp_seconds":1790150582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4a1ef0"} 
[2026-09-23 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444036864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,118,45,89,12,41,10,66,36,42,207,1,240,47,227,205,38,4,113,187,216,239,49,2,80,7,120,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:36:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800156199944192,"timestamp_seconds":864800156199944.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278543616001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278543616001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278543616001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":191930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:03] local.INFO: GPS data processed {"connection_id":191930,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:03] local.INFO: Acknowledgment sent {"connection_id":191930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:08] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:08] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:08] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:36:08] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:36:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:36: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-09-23 13:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:08] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:08] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:24] local.INFO: TCP Data received {"connection_id":190594,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:36:24] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:36:24] local.INFO: IMEI packet received {"connection_id":190594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":190594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:36:31] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:31] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:31] local.INFO: IMEI packet received {"connection_id":193270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":193270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:36:34] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4a74e0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4a74e0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:36:34] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4a74e0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:36:34] local.INFO: Packet analysis {"connection_id":191930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:34] local.INFO: Extracted packet for processing {"connection_id":191930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":38,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278548992001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150604000,"timestamp_ms":1790150604000,"timestamp_seconds":1790150604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4a74e0"} 
[2026-09-23 13:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444058864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,150,160,204,45,89,12,41,10,66,118,36,1,240,14,227,205,38,4,113,124,187,216,43,239,49,2,80,7,120,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:36:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800130430140416,"timestamp_seconds":864800130430140.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278548992001,"66":11558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278548992001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278548992001,"power":11558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":191930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:34] local.INFO: GPS data processed {"connection_id":191930,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:34] local.INFO: Acknowledgment sent {"connection_id":191930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:36] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:36] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:36:36] local.INFO: IMEI packet received {"connection_id":193270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":193270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:36:37] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:37] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:36:37] local.INFO: Packet analysis {"connection_id":193270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:36:37] local.INFO: Extracted packet for processing {"connection_id":193270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:36: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-09-23 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":193270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:37] local.INFO: GPS data processed {"connection_id":193270,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:37] local.INFO: Acknowledgment sent {"connection_id":193270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:41] local.INFO: TCP Data received {"connection_id":190594,"ip":"117.224.136.242","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 13:36:41] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 13:36:41] local.INFO: IMEI packet received {"connection_id":190594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":190594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:36:42] local.INFO: TCP Data received {"connection_id":190594,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4a3e30012c4745800a07a1a0025200cc2f..."} 
[2026-09-23 13:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4a3e30012c4745800a07a1a0025200cc2f..."} 
[2026-09-23 13:36:42] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0cd..."} 
[2026-09-23 13:36:42] local.INFO: IMEI packet received {"connection_id":190594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":190594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:36:43] local.INFO: TCP Data received {"connection_id":190594,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4a74e0012c472ac00a074fe0025000c02f..."} 
[2026-09-23 13:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4a74e0012c472ac00a074fe0025000c02f..."} 
[2026-09-23 13:36:43] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cd4a3e30012c4745800a07a1a0025200cc2f..."} 
[2026-09-23 13:36:43] local.INFO: Packet analysis {"connection_id":190594,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:43] local.INFO: Extracted packet for processing {"connection_id":190594,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:43] local.INFO: GPS Element Parsed {"raw_longitude":742868352,"raw_latitude":168272288,"longitude_deg":74.2868352,"latitude_deg":16.8272288,"altitude":594,"angle":204,"satellites":47,"speed":0,"hex_longitude":"2c474580","hex_latitude":"0a07a1a0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278545664001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5146629254747959298,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790150590000,"timestamp_ms":1790150590000,"timestamp_seconds":1790150590,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4a3e30"} 
[2026-09-23 13:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278545664001,"66":28343,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5146629254747959298},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278545664001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:43] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:36:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":5146629254747959298,"description":"Unknown IO ID 44"} 
[2026-09-23 13:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278545664001,"power":28343,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5146629254747959298}} 
[2026-09-23 13:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":190594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:44] local.INFO: GPS data processed {"connection_id":190594,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:44] local.INFO: Acknowledgment sent {"connection_id":190594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:44] local.INFO: Packet analysis {"connection_id":190594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:44] local.INFO: Extracted packet for processing {"connection_id":190594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":742861504,"raw_latitude":168251360,"longitude_deg":74.2861504,"latitude_deg":16.825136,"altitude":592,"angle":192,"satellites":47,"speed":57,"hex_longitude":"2c472ac0","hex_latitude":"0a074fe0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5135651730651979778,"note":"Value kept but may cause issues"} 
[2026-09-23 13:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790150604000,"timestamp_ms":1790150604000,"timestamp_seconds":1790150604,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4a74e0"} 
[2026-09-23 13:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 13:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278551040001,"66":28376,"77":206,"37":23040,"24":57,"16":3605341577150464,"44":5135651730651979778},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:36:44] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:36:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":5135651730651979778,"description":"Unknown IO ID 44"} 
[2026-09-23 13:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278551040001,"power":28376,"unknown_77":206,"unknown_37":23040,"ignition":57,"odometer":null,"unknown_44":5135651730651979778}} 
[2026-09-23 13:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":190594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:36:44] local.INFO: GPS data processed {"connection_id":190594,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:36:44] local.INFO: Acknowledgment sent {"connection_id":190594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:36:57] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:57] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:36:57] local.INFO: IMEI packet received {"connection_id":190595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":190595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:37:02] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:02] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:02] local.INFO: IMEI packet received {"connection_id":190595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":190595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:37:03] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4ac6e8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4ac6e8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:03] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4ac6e8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:03] local.INFO: Packet analysis {"connection_id":190595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:37:03] local.INFO: Extracted packet for processing {"connection_id":190595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4a"} 
[2026-09-23 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":36,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278554624001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150625000,"timestamp_ms":1790150625000,"timestamp_seconds":1790150625,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4ac6e8"} 
[2026-09-23 13:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:03] 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-09-23 13: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-09-23 13:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278554624001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278554624001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278554624001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":190595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:03] local.INFO: GPS data processed {"connection_id":190595,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:03] local.INFO: Acknowledgment sent {"connection_id":190595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:08] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:08] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:08] local.INFO: Packet analysis {"connection_id":193270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:08] local.INFO: Extracted packet for processing {"connection_id":193270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37: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-09-23 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37: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-09-23 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":193270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:08] local.INFO: GPS data processed {"connection_id":193270,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:08] local.INFO: Acknowledgment sent {"connection_id":193270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:35] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4b1cd8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4b1cd8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:35] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4b1cd8012d19bb00072659d8000c006324..."} 
[2026-09-23 13:37:35] local.INFO: Packet analysis {"connection_id":190595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:37:35] local.INFO: Extracted packet for processing {"connection_id":190595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":36,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278560000001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790150647000,"timestamp_ms":1790150647000,"timestamp_seconds":1790150647,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4b1cd8"} 
[2026-09-23 13:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37: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-09-23 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:35] 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-09-23 13: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-09-23 13:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278560000001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278560000001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278560000001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":190595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:35] local.INFO: GPS data processed {"connection_id":190595,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:35] local.INFO: Acknowledgment sent {"connection_id":190595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:36] local.INFO: TCP Data received {"connection_id":190404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:36] local.INFO: Processing buffer {"connection_id":190404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:36] local.INFO: IMEI packet received {"connection_id":190404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":190404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:37:39] local.INFO: TCP Data received {"connection_id":193271,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:39] local.INFO: Processing buffer {"connection_id":193271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:39] local.INFO: IMEI packet received {"connection_id":193271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":193271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:37:41] local.INFO: TCP Data received {"connection_id":190404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:41] local.INFO: Processing buffer {"connection_id":190404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:37:41] local.INFO: IMEI packet received {"connection_id":190404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":190404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:37:42] local.INFO: TCP Data received {"connection_id":190404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:42] local.INFO: Processing buffer {"connection_id":190404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:42] local.INFO: Packet analysis {"connection_id":190404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:42] local.INFO: Extracted packet for processing {"connection_id":190404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":190404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:42] local.INFO: GPS data processed {"connection_id":190404,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:42] local.INFO: Acknowledgment sent {"connection_id":190404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:45] local.INFO: TCP Data received {"connection_id":193271,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:45] local.INFO: Processing buffer {"connection_id":193271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:37:45] local.INFO: IMEI packet received {"connection_id":193271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":193271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:37:46] local.INFO: TCP Data received {"connection_id":193271,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4b0568012c4736800a06b9d0025500aa2e..."} 
[2026-09-23 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4b0568012c4736800a06b9d0025500aa2e..."} 
[2026-09-23 13:37:46] local.INFO: Processing buffer {"connection_id":193271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4b0568012c4736800a06b9d0025500aa2e..."} 
[2026-09-23 13:37:46] local.INFO: Packet analysis {"connection_id":193271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:37:46] local.INFO: Extracted packet for processing {"connection_id":193271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:37:46] local.INFO: GPS Element Parsed {"raw_longitude":742864512,"raw_latitude":168212944,"longitude_deg":74.2864512,"latitude_deg":16.8212944,"altitude":597,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2c473680","hex_latitude":"0a06b9d0","is_valid_coordinates":true} 
[2026-09-23 13:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278558720001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5126644531385982978,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790150641000,"timestamp_ms":1790150641000,"timestamp_seconds":1790150641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4b0568"} 
[2026-09-23 13:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278558720001,"66":28050,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5126644531385982978},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278558720001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:46] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:37:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":5126644531385982978,"description":"Unknown IO ID 44"} 
[2026-09-23 13:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278558720001,"power":28050,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5126644531385982978}} 
[2026-09-23 13:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":193271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:46] local.INFO: GPS data processed {"connection_id":193271,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:46] local.INFO: Acknowledgment sent {"connection_id":193271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:47] local.INFO: TCP Data received {"connection_id":190404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:47] local.INFO: Processing buffer {"connection_id":190404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd496370012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:37:47] local.INFO: Packet analysis {"connection_id":190404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:47] local.INFO: Extracted packet for processing {"connection_id":190404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd49"} 
[2026-09-23 13:37:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278459648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790150534000,"timestamp_ms":1790150534000,"timestamp_seconds":1790150534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd496370"} 
[2026-09-23 13:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:37: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-09-23 13:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:37:47] 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-09-23 13:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278459648001,"66":25995,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278459648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:37:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278459648001,"power":25995,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":190404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:37:47] local.INFO: GPS data processed {"connection_id":190404,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:37:47] local.INFO: Acknowledgment sent {"connection_id":190404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:37:57] local.INFO: TCP Data received {"connection_id":193272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:57] local.INFO: Processing buffer {"connection_id":193272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:37:57] local.INFO: IMEI packet received {"connection_id":193272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":193272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:38:02] local.INFO: TCP Data received {"connection_id":193272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:02] local.INFO: Processing buffer {"connection_id":193272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:02] local.INFO: IMEI packet received {"connection_id":193272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":193272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:38:03] local.INFO: TCP Data received {"connection_id":193272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4b6ee0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4b6ee0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:38:03] local.INFO: Processing buffer {"connection_id":193272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4b6ee0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:38:03] local.INFO: Packet analysis {"connection_id":193272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:03] local.INFO: Extracted packet for processing {"connection_id":193272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278565632001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150668000,"timestamp_ms":1790150668000,"timestamp_seconds":1790150668,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4b6ee0"} 
[2026-09-23 13:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:38: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-09-23 13: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:38:03] 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-09-23 13: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-09-23 13:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278565632001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278565632001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278565632001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":193272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:03] local.INFO: GPS data processed {"connection_id":193272,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:03] local.INFO: Acknowledgment sent {"connection_id":193272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:14] local.INFO: TCP Data received {"connection_id":190596,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:14] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:14] local.INFO: IMEI packet received {"connection_id":190596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":190596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:38:16] local.INFO: TCP Data received {"connection_id":190596,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:16] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:38:16] local.INFO: IMEI packet received {"connection_id":190596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":190596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:38:18] local.INFO: TCP Data received {"connection_id":190596,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4b5770012c473e400a067e00025900b42e..."} 
[2026-09-23 13:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4b5770012c473e400a067e00025900b42e..."} 
[2026-09-23 13:38:18] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4b5770012c473e400a067e00025900b42e..."} 
[2026-09-23 13:38:18] local.INFO: Packet analysis {"connection_id":190596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:18] local.INFO: Extracted packet for processing {"connection_id":190596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:18] local.INFO: GPS Element Parsed {"raw_longitude":742866496,"raw_latitude":168197632,"longitude_deg":74.2866496,"latitude_deg":16.8197632,"altitude":601,"angle":180,"satellites":46,"speed":0,"hex_longitude":"2c473e40","hex_latitude":"0a067e00","is_valid_coordinates":true} 
[2026-09-23 13:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278564096001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5131429605986127874,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790150662000,"timestamp_ms":1790150662000,"timestamp_seconds":1790150662,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4b5770"} 
[2026-09-23 13:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 13:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278564096001,"66":28354,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5131429605986127874},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278564096001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:18] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:38:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":5131429605986127874,"description":"Unknown IO ID 44"} 
[2026-09-23 13:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278564096001,"power":28354,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5131429605986127874}} 
[2026-09-23 13:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":190596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:18] local.INFO: GPS data processed {"connection_id":190596,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:18] local.INFO: Acknowledgment sent {"connection_id":190596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:20] local.INFO: TCP Data received {"connection_id":190596,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4ba978012c4734c00a063fe0025b00bd2f..."} 
[2026-09-23 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4ba978012c4734c00a063fe0025b00bd2f..."} 
[2026-09-23 13:38:20] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4ba978012c4734c00a063fe0025b00bd2f..."} 
[2026-09-23 13:38:20] local.INFO: Packet analysis {"connection_id":190596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:20] local.INFO: Extracted packet for processing {"connection_id":190596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":742864064,"raw_latitude":168181728,"longitude_deg":74.2864064,"latitude_deg":16.8181728,"altitude":603,"angle":189,"satellites":47,"speed":0,"hex_longitude":"2c4734c0","hex_latitude":"0a063fe0","is_valid_coordinates":true} 
[2026-09-23 13:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278569472001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5133611037051715586,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790150683000,"timestamp_ms":1790150683000,"timestamp_seconds":1790150683,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4ba978"} 
[2026-09-23 13:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:38:20] 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-09-23 13:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278569472001,"66":28300,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5133611037051715586},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278569472001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:20] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:38:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":5133611037051715586,"description":"Unknown IO ID 44"} 
[2026-09-23 13:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278569472001,"power":28300,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5133611037051715586}} 
[2026-09-23 13:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":190596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:20] local.INFO: GPS data processed {"connection_id":190596,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:20] local.INFO: Acknowledgment sent {"connection_id":190596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:31] local.INFO: TCP Data received {"connection_id":190597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:31] local.INFO: Processing buffer {"connection_id":190597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:31] local.INFO: IMEI packet received {"connection_id":190597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":190597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:38:34] local.INFO: TCP Data received {"connection_id":193272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4bc4d0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4bc4d0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:38:34] local.INFO: Processing buffer {"connection_id":193272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4bc4d0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:38:34] local.INFO: Packet analysis {"connection_id":193272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:34] local.INFO: Extracted packet for processing {"connection_id":193272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278571008001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150690000,"timestamp_ms":1790150690000,"timestamp_seconds":1790150690,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4bc4d0"} 
[2026-09-23 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444143864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:38:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3892391193,"corrected_to":0} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,28,45,89,12,36,10,66,198,116,1,240,38,227,205,4,113,204,187,216,41,239,49,2,80,7,120,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0},{"io_id":204,"original":3892391193,"validated":0}]} 
[2026-09-23 13:38:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800160494911488,"timestamp_seconds":864800160494911.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278571008001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278571008001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278571008001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":193272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:34] local.INFO: GPS data processed {"connection_id":193272,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:34] local.INFO: Acknowledgment sent {"connection_id":193272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:36] local.INFO: TCP Data received {"connection_id":190597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:36] local.INFO: Processing buffer {"connection_id":190597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:38:36] local.INFO: IMEI packet received {"connection_id":190597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":190597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:38:37] local.INFO: TCP Data received {"connection_id":190597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:38:37] local.INFO: Processing buffer {"connection_id":190597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:38:37] local.INFO: Packet analysis {"connection_id":190597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:38:37] local.INFO: Extracted packet for processing {"connection_id":190597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:38:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:38: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-09-23 13:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:38: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-09-23 13:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":190597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:37] local.INFO: GPS data processed {"connection_id":190597,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:37] local.INFO: Acknowledgment sent {"connection_id":190597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:51] local.INFO: TCP Data received {"connection_id":190596,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4bfb80012c4726000a05fda0025d00c02e..."} 
[2026-09-23 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4bfb80012c4726000a05fda0025d00c02e..."} 
[2026-09-23 13:38:51] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4bfb80012c4726000a05fda0025d00c02e..."} 
[2026-09-23 13:38:51] local.INFO: Packet analysis {"connection_id":190596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:51] local.INFO: Extracted packet for processing {"connection_id":190596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4b"} 
[2026-09-23 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":742860288,"raw_latitude":168164768,"longitude_deg":74.2860288,"latitude_deg":16.8164768,"altitude":605,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2c472600","hex_latitude":"0a05fda0","is_valid_coordinates":true} 
[2026-09-23 13:38: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-09-23 13:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278574848001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5130937024768892930,"note":"Value kept but may cause issues"} 
[2026-09-23 13:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790150704000,"timestamp_ms":1790150704000,"timestamp_seconds":1790150704,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4bfb80"} 
[2026-09-23 13:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:38: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:38: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-09-23 13:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278574848001,"66":27887,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5130937024768892930},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278574848001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:38:51] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:38:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":5130937024768892930,"description":"Unknown IO ID 44"} 
[2026-09-23 13:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278574848001,"power":27887,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5130937024768892930}} 
[2026-09-23 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":190596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:38:51] local.INFO: GPS data processed {"connection_id":190596,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:38:51] local.INFO: Acknowledgment sent {"connection_id":190596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:38:57] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:57] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:38:57] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:39:02] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:39:02] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:39:02] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:39:03] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4c1ac0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4c1ac0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:39:03] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4c1ac0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:39:03] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:03] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278576640001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150712000,"timestamp_ms":1790150712000,"timestamp_seconds":1790150712,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4c1ac0"} 
[2026-09-23 13:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:39:03] 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-09-23 13: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-09-23 13:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278576640001,"66":12580,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278576640001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:39:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278576640001,"power":12580,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:39:03] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:39:03] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:39:08] local.INFO: TCP Data received {"connection_id":190597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:08] local.INFO: Processing buffer {"connection_id":190597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:08] local.INFO: Packet analysis {"connection_id":190597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39:08] local.INFO: Extracted packet for processing {"connection_id":190597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:39: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-09-23 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:39:08] 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-09-23 13: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-09-23 13:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:39: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-09-23 13:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:39:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:39:08] local.INFO: GPS data processed {"connection_id":190597,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:39:08] local.INFO: Acknowledgment sent {"connection_id":190597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:39:09] local.INFO: TCP Data received {"connection_id":191931,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:09] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:09] local.INFO: IMEI packet received {"connection_id":191931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":191931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:39:15] local.INFO: TCP Data received {"connection_id":191931,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:15] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:39:15] local.INFO: IMEI packet received {"connection_id":191931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":191931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:39:16] local.INFO: TCP Data received {"connection_id":191931,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4c4d88012c4714000a05bd50026000ba2f..."} 
[2026-09-23 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4c4d88012c4714000a05bd50026000ba2f..."} 
[2026-09-23 13:39:16] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4c4d88012c4714000a05bd50026000ba2f..."} 
[2026-09-23 13:39:16] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:16] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":742855680,"raw_latitude":168148304,"longitude_deg":74.285568,"latitude_deg":16.8148304,"altitude":608,"angle":186,"satellites":47,"speed":0,"hex_longitude":"2c471400","hex_latitude":"0a05bd50","is_valid_coordinates":true} 
[2026-09-23 13:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278580224001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5126785268858068994,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790150725000,"timestamp_ms":1790150725000,"timestamp_seconds":1790150725,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4c4d88"} 
[2026-09-23 13:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 13:39: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-09-23 13:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278580224001,"66":28300,"77":206,"37":23040,"24":0,"16":3605341577150464,"44":5126785268858068994},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-23 13:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278580224001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:39:16] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 13:39:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-23 13:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":5126785268858068994,"description":"Unknown IO ID 44"} 
[2026-09-23 13:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278580224001,"power":28300,"unknown_77":206,"unknown_37":23040,"ignition":0,"odometer":null,"unknown_44":5126785268858068994}} 
[2026-09-23 13:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:39:16] local.INFO: GPS data processed {"connection_id":191931,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:39:16] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:39:31] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:31] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:31] local.INFO: IMEI packet received {"connection_id":191932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":191932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:39:34] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4c6cc8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4c6cc8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:39:34] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4c6cc8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:39:34] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:34] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278582272001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790150733000,"timestamp_ms":1790150733000,"timestamp_seconds":1790150733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4c6cc8"} 
[2026-09-23 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 13:39:34] 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-09-23 13: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-09-23 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278582272001,"66":11721,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278582272001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:39:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278582272001,"power":11721,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:39:34] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:39:34] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:39:36] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:36] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:39:36] local.INFO: IMEI packet received {"connection_id":191932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":191932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:39:37] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:37] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:39:37] local.INFO: Packet analysis {"connection_id":191932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39:37] local.INFO: Extracted packet for processing {"connection_id":191932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:39: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-09-23 13:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:39:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":191932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:39:37] local.INFO: GPS data processed {"connection_id":191932,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:39:37] local.INFO: Acknowledgment sent {"connection_id":191932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:39:48] local.INFO: TCP Data received {"connection_id":191931,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4d30180100000000000000000000000000..."} 
[2026-09-23 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4d30180100000000000000000000000000..."} 
[2026-09-23 13:39:48] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4d30180100000000000000000000000000..."} 
[2026-09-23 13:39:48] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39:48] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:39: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-09-23 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278585600001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5121718719273062402,"note":"Value kept but may cause issues"} 
[2026-09-23 13:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790150783000,"timestamp_ms":1790150783000,"timestamp_seconds":1790150783,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4d3018"} 
[2026-09-23 13:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:39:48] local.INFO: GPS data processed {"connection_id":191931,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:39:48] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:02] local.INFO: TCP Data received {"connection_id":193273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:02] local.INFO: Processing buffer {"connection_id":193273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:02] local.INFO: IMEI packet received {"connection_id":193273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":193273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:40:07] local.INFO: TCP Data received {"connection_id":193273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:07] local.INFO: Processing buffer {"connection_id":193273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:07] local.INFO: IMEI packet received {"connection_id":193273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":193273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:40:07] local.INFO: TCP Data received {"connection_id":193273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4cc2b8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4cc2b8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:40:07] local.INFO: Processing buffer {"connection_id":193273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4cc2b8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:40:07] local.INFO: Packet analysis {"connection_id":193273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:40:07] local.INFO: Extracted packet for processing {"connection_id":193273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4c"} 
[2026-09-23 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278587648001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790150755000,"timestamp_ms":1790150755000,"timestamp_seconds":1790150755,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4cc2b8"} 
[2026-09-23 13:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 13:40:07] 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-09-23 13:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278587648001,"66":12591,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278587648001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:40:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278587648001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":193273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:40:07] local.INFO: GPS data processed {"connection_id":193273,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:40:07] local.INFO: Acknowledgment sent {"connection_id":193273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:08] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:08] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:08] local.INFO: Packet analysis {"connection_id":191932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:08] local.INFO: Extracted packet for processing {"connection_id":191932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40: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-09-23 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:40:08] 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-09-23 13: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-09-23 13:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:40: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-09-23 13:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:40:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":191932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:40:08] local.INFO: GPS data processed {"connection_id":191932,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:40:08] local.INFO: Acknowledgment sent {"connection_id":191932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:10] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:10] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:10] local.INFO: IMEI packet received {"connection_id":190406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":190406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:40:11] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:11] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:11] local.INFO: IMEI packet received {"connection_id":190406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":190406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:40:12] local.INFO: TCP Data received {"connection_id":193273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4d14c0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4d14c0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:40:12] local.INFO: Processing buffer {"connection_id":193273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4d14c0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:40:12] local.INFO: Packet analysis {"connection_id":193273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:12] local.INFO: Extracted packet for processing {"connection_id":193273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278593280001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790150776000,"timestamp_ms":1790150776000,"timestamp_seconds":1790150776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4d14c0"} 
[2026-09-23 13:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:40:12] 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-09-23 13:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278593280001,"66":12526,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278593280001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:40:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278593280001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":193273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:40:12] local.INFO: GPS data processed {"connection_id":193273,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:40:12] local.INFO: Acknowledgment sent {"connection_id":193273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:14] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:14] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:40:14] local.INFO: IMEI packet received {"connection_id":190406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":190406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:40:16] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4f6a68012c46c3400a024fa0024500db2e..."} 
[2026-09-23 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4f6a68012c46c3400a024fa0024500db2e..."} 
[2026-09-23 13:40:16] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4f6a68012c46c3400a024fa0024500db2e..."} 
[2026-09-23 13:40:16] local.INFO: Packet analysis {"connection_id":190406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4f"} 
[2026-09-23 13:40:16] local.INFO: Extracted packet for processing {"connection_id":190406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4f"} 
[2026-09-23 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":742835008,"raw_latitude":167923616,"longitude_deg":74.2835008,"latitude_deg":16.7923616,"altitude":581,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2c46c340","hex_latitude":"0a024fa0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278632448001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5098989614846156802,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790150929000,"timestamp_ms":1790150929000,"timestamp_seconds":1790150929,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4f6a68"} 
[2026-09-23 13:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40: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-09-23 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 13:40:16] 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-09-23 13: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-09-23 13:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278632448001,"66":28376,"4":206,"37":23808,"24":0,"16":3605341577150464,"44":5098989614846156802},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,37,24,16,44]} 
[2026-09-23 13:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278632448001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:40:16] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-23 13:40:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":5098989614846156802,"description":"Unknown IO ID 44"} 
[2026-09-23 13:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278632448001,"power":28376,"unknown_4":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5098989614846156802}} 
[2026-09-23 13:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":190406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:40:16] local.INFO: GPS data processed {"connection_id":190406,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:40:16] local.INFO: Acknowledgment sent {"connection_id":190406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:17] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd504cf80100000000000000000000000000..."} 
[2026-09-23 13:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd504cf80100000000000000000000000000..."} 
[2026-09-23 13:40:17] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd504cf80100000000000000000000000000..."} 
[2026-09-23 13:40:17] local.INFO: Packet analysis {"connection_id":190406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:40:17] local.INFO: Extracted packet for processing {"connection_id":190406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:40:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 13:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278637824001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5098989614846156802,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790150987000,"timestamp_ms":1790150987000,"timestamp_seconds":1790150987,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd504cf8"} 
[2026-09-23 13:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40: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-09-23 13:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 13:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":190406,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:40:17] local.INFO: GPS data processed {"connection_id":190406,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:40:17] local.INFO: Acknowledgment sent {"connection_id":190406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:31] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:31] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:31] local.INFO: IMEI packet received {"connection_id":191933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":191933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:40:36] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:36] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:40:36] local.INFO: IMEI packet received {"connection_id":191933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":191933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:40:37] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:37] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:40:37] local.INFO: Packet analysis {"connection_id":191933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:37] local.INFO: Extracted packet for processing {"connection_id":191933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:40: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-09-23 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:40: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-09-23 13:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:40:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":191933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:40:37] local.INFO: GPS data processed {"connection_id":191933,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:40:37] local.INFO: Acknowledgment sent {"connection_id":191933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:40:57] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:57] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:57] local.INFO: IMEI packet received {"connection_id":193274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":193274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:40:58] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:58] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:40:58] local.INFO: IMEI packet received {"connection_id":193274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":193274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:41:02] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:02] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:02] local.INFO: IMEI packet received {"connection_id":193274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":193274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:41:03] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4d6ab0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4d6ab0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:41:03] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4d6ab0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:41:03] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:03] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":38,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278598656001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790150798000,"timestamp_ms":1790150798000,"timestamp_seconds":1790150798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4d6ab0"} 
[2026-09-23 13:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:41: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-09-23 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:41:03] 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-09-23 13: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-09-23 13:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278598656001,"66":12558,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278598656001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278598656001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:03] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:03] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:07] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dbcb8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dbcb8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:41:07] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dbcb8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:41:07] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:07] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278604288001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790150819000,"timestamp_ms":1790150819000,"timestamp_seconds":1790150819,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dbcb8"} 
[2026-09-23 13:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:41: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-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444272864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834214918871512,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,232,83,24,241,157,16,150,160,20,45,89,12,39,10,66,194,42,108,1,240,201,227,205,38,4,113,196,187,216,239,49,2,80,7,120,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:41:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800143315042304,"timestamp_seconds":864800143315042.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278604288001,"66":12504,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278604288001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278604288001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:07] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:07] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:09] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:09] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:09] local.INFO: Packet analysis {"connection_id":191933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:09] local.INFO: Extracted packet for processing {"connection_id":191933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:41: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-09-23 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:41: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-09-23 13:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":191933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:09] local.INFO: GPS data processed {"connection_id":191933,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:09] local.INFO: Acknowledgment sent {"connection_id":191933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:28] local.INFO: TCP Data received {"connection_id":190406,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4fc828012c469b000a022e90024100e82e..."} 
[2026-09-23 13:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4fc828012c469b000a022e90024100e82e..."} 
[2026-09-23 13:41:28] local.INFO: Processing buffer {"connection_id":190406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4fc828012c469b000a022e90024100e82e..."} 
[2026-09-23 13:41:28] local.INFO: Packet analysis {"connection_id":190406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4f"} 
[2026-09-23 13:41:28] local.INFO: Extracted packet for processing {"connection_id":190406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4f"} 
[2026-09-23 13:41:28] local.INFO: GPS Element Parsed {"raw_longitude":742824704,"raw_latitude":167915152,"longitude_deg":74.2824704,"latitude_deg":16.7915152,"altitude":577,"angle":232,"satellites":46,"speed":20,"hex_longitude":"2c469b00","hex_latitude":"0a022e90","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,4,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790150953000,"timestamp_ms":1790150953000,"timestamp_seconds":1790150953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4fc828"} 
[2026-09-23 13:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:41:28] 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-09-23 13:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"4":206,"37":23808,"24":20,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,37,24,16]} 
[2026-09-23 13:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-23 13:41:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_4":206,"unknown_37":23808,"ignition":20,"odometer":null}} 
[2026-09-23 13:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":190406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:28] local.INFO: GPS data processed {"connection_id":190406,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:28] local.INFO: Acknowledgment sent {"connection_id":190406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:31] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:31] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:31] local.INFO: IMEI packet received {"connection_id":193275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":193275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:41:36] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:36] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:41:36] local.INFO: IMEI packet received {"connection_id":193275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":193275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:41:37] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:37] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:41:37] local.INFO: Packet analysis {"connection_id":193275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:37] local.INFO: Extracted packet for processing {"connection_id":193275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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-09-23 13: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-09-23 13: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-09-23 13:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":193275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:37] local.INFO: GPS data processed {"connection_id":193275,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:37] local.INFO: Acknowledgment sent {"connection_id":193275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:39] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:41:39] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:41:39] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:41:39] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:41: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-09-23 13:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278668288001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790151048000,"timestamp_ms":1790151048000,"timestamp_seconds":1790151048,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd513b40"} 
[2026-09-23 13:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:41:39] 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-09-23 13: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-09-23 13:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278668288001,"66":12526,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278668288001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:41:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278668288001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:41:39] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:41:39] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:41:44] local.INFO: TCP Data received {"connection_id":190407,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:41:44] local.INFO: Processing buffer {"connection_id":190407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:41:44] local.INFO: IMEI packet received {"connection_id":190407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":190407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:41:57] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:57] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:41:57] local.INFO: IMEI packet received {"connection_id":191934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":191934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:42:01] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:01] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:01] local.INFO: IMEI packet received {"connection_id":191934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":191934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:42:02] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:42:02] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd513b40012d19bb00072659d8000c006325..."} 
[2026-09-23 13:42:02] local.INFO: Packet analysis {"connection_id":191934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:42:02] local.INFO: Extracted packet for processing {"connection_id":191934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:42: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-09-23 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278668288001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790151048000,"timestamp_ms":1790151048000,"timestamp_seconds":1790151048,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd513b40"} 
[2026-09-23 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278668288001,"66":12526,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278668288001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278668288001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":191934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:42:02] local.INFO: GPS data processed {"connection_id":191934,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:42:02] local.INFO: Acknowledgment sent {"connection_id":191934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:09] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:09] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:09] local.INFO: Packet analysis {"connection_id":193275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:42:09] local.INFO: Extracted packet for processing {"connection_id":193275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 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-09-23 13:42: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-09-23 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:42: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-09-23 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:42:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":193275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:42:09] local.INFO: GPS data processed {"connection_id":193275,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:42:09] local.INFO: Acknowledgment sent {"connection_id":193275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:12] local.INFO: TCP Data received {"connection_id":190407,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:12] local.INFO: Processing buffer {"connection_id":190407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:12] local.INFO: IMEI packet received {"connection_id":190407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":190407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:42:20] local.INFO: TCP Data received {"connection_id":190598,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:20] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:20] local.INFO: IMEI packet received {"connection_id":190598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":190598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:42:25] local.INFO: TCP Data received {"connection_id":190598,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:26] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:42:26] local.INFO: IMEI packet received {"connection_id":190598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":190598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:42:27] local.INFO: TCP Data received {"connection_id":190598,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd50aab80100000000000000000000000000..."} 
[2026-09-23 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd50aab80100000000000000000000000000..."} 
[2026-09-23 13:42:27] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd50aab80100000000000000000000000000..."} 
[2026-09-23 13:42:27] local.INFO: Packet analysis {"connection_id":190598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:42:27] local.INFO: Extracted packet for processing {"connection_id":190598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278643968001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5087660247031386114,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790151011000,"timestamp_ms":1790151011000,"timestamp_seconds":1790151011,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd50aab8"} 
[2026-09-23 13:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 13:42:27] 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-09-23 13: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-09-23 13:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":190598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:42:27] local.INFO: GPS data processed {"connection_id":190598,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:42:27] local.INFO: Acknowledgment sent {"connection_id":190598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:30] local.INFO: TCP Data received {"connection_id":190598,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5029d0012c466b400a020e00024200ea2e..."} 
[2026-09-23 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5029d0012c466b400a020e00024200ea2e..."} 
[2026-09-23 13:42:30] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5029d0012c466b400a020e00024200ea2e..."} 
[2026-09-23 13:42:30] local.INFO: Packet analysis {"connection_id":190598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:42:30] local.INFO: Extracted packet for processing {"connection_id":190598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":742812480,"raw_latitude":167906816,"longitude_deg":74.281248,"latitude_deg":16.7906816,"altitude":578,"angle":234,"satellites":46,"speed":28,"hex_longitude":"2c466b40","hex_latitude":"0a020e00","is_valid_coordinates":true} 
[2026-09-23 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,4,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790150978000,"timestamp_ms":1790150978000,"timestamp_seconds":1790150978,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5029d0"} 
[2026-09-23 13:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:42: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:42:30] 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-09-23 13:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"4":206,"37":23808,"24":28,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,37,24,16]} 
[2026-09-23 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_4":206,"unknown_37":23808,"ignition":28,"odometer":null}} 
[2026-09-23 13:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":190598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:42:31] local.INFO: GPS data processed {"connection_id":190598,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:42:31] local.INFO: Acknowledgment sent {"connection_id":190598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:31] local.INFO: TCP Data received {"connection_id":193276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:31] local.INFO: Processing buffer {"connection_id":193276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:31] local.INFO: IMEI packet received {"connection_id":193276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:42:33] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5152b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5152b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:42:33] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5152b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:42:33] local.INFO: Packet analysis {"connection_id":191934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:42:33] local.INFO: Extracted packet for processing {"connection_id":191934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278668288001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790151054000,"timestamp_ms":1790151054000,"timestamp_seconds":1790151054,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5152b0"} 
[2026-09-23 13:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:42: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-09-23 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:42:33] 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-09-23 13: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-09-23 13:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278668288001,"66":12374,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278668288001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:42:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278668288001,"power":12374,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":191934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:42:33] local.INFO: GPS data processed {"connection_id":191934,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:42:33] local.INFO: Acknowledgment sent {"connection_id":191934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:36] local.INFO: TCP Data received {"connection_id":193276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:36] local.INFO: Processing buffer {"connection_id":193276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:42:36] local.INFO: IMEI packet received {"connection_id":193276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:42:37] local.INFO: TCP Data received {"connection_id":193276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:37] local.INFO: Processing buffer {"connection_id":193276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd4dfb38012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:42:37] local.INFO: Packet analysis {"connection_id":193276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:42:37] local.INFO: Extracted packet for processing {"connection_id":193276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd4d"} 
[2026-09-23 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278536704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790150835000,"timestamp_ms":1790150835000,"timestamp_seconds":1790150835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd4dfb38"} 
[2026-09-23 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":139,"data_length":795,"current_offset":136} 
[2026-09-23 13:42: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-09-23 13: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-09-23 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278536704001,"66":25973,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278536704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:42:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278536704001,"power":25973,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":193276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:42:37] local.INFO: GPS data processed {"connection_id":193276,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:42:37] local.INFO: Acknowledgment sent {"connection_id":193276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:42:57] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:57] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:42:57] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:43:02] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:02] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:02] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:43:03] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd51a8a0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd51a8a0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:43:03] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd51a8a0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:43:03] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:43:03] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278669824001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151076000,"timestamp_ms":1790151076000,"timestamp_seconds":1790151076,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd51a8a0"} 
[2026-09-23 13:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:43: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-09-23 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-23 13:43: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-09-23 13: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-09-23 13:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278669824001,"66":14102,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278669824001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:43:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278669824001,"power":14102,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:43:03] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:43:03] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:43:11] local.INFO: TCP Data received {"connection_id":193276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:11] local.INFO: Processing buffer {"connection_id":193276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:11] local.INFO: Packet analysis {"connection_id":193276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:43:11] local.INFO: Extracted packet for processing {"connection_id":193276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:43: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-09-23 13:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:43:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":193276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:43:11] local.INFO: GPS data processed {"connection_id":193276,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:43:11] local.INFO: Acknowledgment sent {"connection_id":193276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:43:29] local.INFO: TCP Data received {"connection_id":193277,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:29] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:29] local.INFO: IMEI packet received {"connection_id":193277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":193277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:43:31] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:31] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:31] local.INFO: IMEI packet received {"connection_id":193278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:43:34] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd51faa8012d19bb00072659d8000c006326..."} 
[2026-09-23 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd51faa8012d19bb00072659d8000c006326..."} 
[2026-09-23 13:43:34] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd51faa8012d19bb00072659d8000c006326..."} 
[2026-09-23 13:43:34] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:43:34] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":38,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278675456001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151097000,"timestamp_ms":1790151097000,"timestamp_seconds":1790151097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd51faa8"} 
[2026-09-23 13:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":22,"data_length":795,"current_offset":136} 
[2026-09-23 13:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278675456001,"66":14233,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278675456001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:43:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278675456001,"power":14233,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:43:34] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:43:34] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:43:34] local.INFO: TCP Data received {"connection_id":193277,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:34] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:43:34] local.INFO: IMEI packet received {"connection_id":193277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":193277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:43:36] local.INFO: TCP Data received {"connection_id":193277,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5077f0012c4639c00a01e790024100dc2e..."} 
[2026-09-23 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5077f0012c4639c00a01e790024100dc2e..."} 
[2026-09-23 13:43:36] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5077f0012c4639c00a01e790024100dc2e..."} 
[2026-09-23 13:43:36] local.INFO: Packet analysis {"connection_id":193277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:43:36] local.INFO: Extracted packet for processing {"connection_id":193277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd50"} 
[2026-09-23 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":742799808,"raw_latitude":167896976,"longitude_deg":74.2799808,"latitude_deg":16.7896976,"altitude":577,"angle":220,"satellites":46,"speed":26,"hex_longitude":"2c4639c0","hex_latitude":"0a01e790","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278650368001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5074219816891318274,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790150998000,"timestamp_ms":1790150998000,"timestamp_seconds":1790150998,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5077f0"} 
[2026-09-23 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-09-23 13:43: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-09-23 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 13:43: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-09-23 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-09-23 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-09-23 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278650368001,"66":28354,"4":206,"37":23808,"24":26,"16":3605341577150464,"44":5074219816891318274},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,37,24,16,44]} 
[2026-09-23 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278650368001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:43:36] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-23 13:43:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":5074219816891318274,"description":"Unknown IO ID 44"} 
[2026-09-23 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278650368001,"power":28354,"unknown_4":206,"unknown_37":23808,"ignition":26,"odometer":null,"unknown_44":5074219816891318274}} 
[2026-09-23 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":193277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:43:36] local.INFO: GPS data processed {"connection_id":193277,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:43:36] local.INFO: Acknowledgment sent {"connection_id":193277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:43:36] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:36] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:43:36] local.INFO: IMEI packet received {"connection_id":193278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":193278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:43:37] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:37] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:43:37] local.INFO: Packet analysis {"connection_id":193278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:43:37] local.INFO: Extracted packet for processing {"connection_id":193278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:43:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":193278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:43:37] local.INFO: GPS data processed {"connection_id":193278,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:43:37] local.INFO: Acknowledgment sent {"connection_id":193278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:43:57] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:57] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:43:57] local.INFO: IMEI packet received {"connection_id":193279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":193279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:44:02] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:02] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:02] local.INFO: IMEI packet received {"connection_id":193279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":193279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:44:03] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd524cb0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd524cb0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:44:03] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd524cb0012d19bb00072659d8000c006329..."} 
[2026-09-23 13:44:03] local.INFO: Packet analysis {"connection_id":193279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:03] local.INFO: Extracted packet for processing {"connection_id":193279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":41,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278680832001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151118000,"timestamp_ms":1790151118000,"timestamp_seconds":1790151118,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd524cb0"} 
[2026-09-23 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-09-23 13: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-09-23 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 13:44:03] 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-09-23 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-09-23 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-09-23 13:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278680832001,"66":13319,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278680832001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:44:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278680832001,"power":13319,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":193279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:44:03] local.INFO: GPS data processed {"connection_id":193279,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:44:03] local.INFO: Acknowledgment sent {"connection_id":193279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:09] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:09] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:09] local.INFO: Packet analysis {"connection_id":193278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:09] local.INFO: Extracted packet for processing {"connection_id":193278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:44: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-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:44: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-09-23 13: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-09-23 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:44: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-09-23 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:44:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":193278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:44:09] local.INFO: GPS data processed {"connection_id":193278,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:44:09] local.INFO: Acknowledgment sent {"connection_id":193278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:10] local.INFO: TCP Data received {"connection_id":190599,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:10] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:10] local.INFO: IMEI packet received {"connection_id":190599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":190599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:44:15] local.INFO: TCP Data received {"connection_id":190599,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:15] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:44:15] local.INFO: IMEI packet received {"connection_id":190599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":190599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:44:19] local.INFO: TCP Data received {"connection_id":190599,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd515a800100000000000000000000000000..."} 
[2026-09-23 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd515a800100000000000000000000000000..."} 
[2026-09-23 13:44:19] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd515a800100000000000000000000000000..."} 
[2026-09-23 13:44:19] local.INFO: Packet analysis {"connection_id":190599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:44:19] local.INFO: Extracted packet for processing {"connection_id":190599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd51"} 
[2026-09-23 13:44: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-09-23 13:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278655488001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5060286805541621762,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790151056000,"timestamp_ms":1790151056000,"timestamp_seconds":1790151056,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd515a80"} 
[2026-09-23 13:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":190599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:44:19] local.INFO: GPS data processed {"connection_id":190599,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:44:19] local.INFO: Acknowledgment sent {"connection_id":190599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:31] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:31] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:31] local.INFO: IMEI packet received {"connection_id":190600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":190600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:44:34] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd52a2a0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd52a2a0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:44:34] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd52a2a0012d19bb00072659d8000c006327..."} 
[2026-09-23 13:44:34] local.INFO: Packet analysis {"connection_id":193279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:34] local.INFO: Extracted packet for processing {"connection_id":193279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278686208001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151140000,"timestamp_ms":1790151140000,"timestamp_seconds":1790151140,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd52a2a0"} 
[2026-09-23 13:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444652864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":38,"raw_value":6473924515891193088,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57835308066952103,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3987938763253415943,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,250,45,89,12,38,10,66,168,37,82,1,240,86,227,205,4,113,59,187,216,239,48,2,80,7,238,81],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800156199944192,"timestamp_seconds":864800156199944.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278686208001,"66":13156,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278686208001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:44:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278686208001,"power":13156,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":193279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:44:34] local.INFO: GPS data processed {"connection_id":193279,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:44:34] local.INFO: Acknowledgment sent {"connection_id":193279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:36] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:36] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:44:36] local.INFO: IMEI packet received {"connection_id":190600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":190600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:44:37] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:37] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:44:37] local.INFO: Packet analysis {"connection_id":190600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:37] local.INFO: Extracted packet for processing {"connection_id":190600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:44:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":190600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:44:37] local.INFO: GPS data processed {"connection_id":190600,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:44:37] local.INFO: Acknowledgment sent {"connection_id":190600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:50] local.INFO: TCP Data received {"connection_id":190599,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd53d350012c45d98009fe4390023c00a12b..."} 
[2026-09-23 13:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd53d350012c45d98009fe4390023c00a12b..."} 
[2026-09-23 13:44:50] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd53d350012c45d98009fe4390023c00a12b..."} 
[2026-09-23 13:44:50] local.INFO: Packet analysis {"connection_id":190599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:44:50] local.INFO: Extracted packet for processing {"connection_id":190599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:44:50] local.INFO: GPS Element Parsed {"raw_longitude":742775168,"raw_latitude":167658384,"longitude_deg":74.2775168,"latitude_deg":16.7658384,"altitude":572,"angle":161,"satellites":43,"speed":0,"hex_longitude":"2c45d980","hex_latitude":"09fe4390","is_valid_coordinates":true} 
[2026-09-23 13:44: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-09-23 13:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278706432001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5025102433397071874,"note":"Value kept but may cause issues"} 
[2026-09-23 13:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790151218000,"timestamp_ms":1790151218000,"timestamp_seconds":1790151218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd53d350"} 
[2026-09-23 13:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:44: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:44: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-09-23 13:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278706432001,"66":28354,"193":206,"37":23808,"24":0,"16":3605341577150464,"44":5025102433397071874},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,37,24,16,44]} 
[2026-09-23 13:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278706432001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:44:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-23 13:44:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":5025102433397071874,"description":"Unknown IO ID 44"} 
[2026-09-23 13:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278706432001,"power":28354,"unknown_193":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5025102433397071874}} 
[2026-09-23 13:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":190599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:44:51] local.INFO: GPS data processed {"connection_id":190599,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:44:51] local.INFO: Acknowledgment sent {"connection_id":190599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:44:56] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:57] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:44:57] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:45:02] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:02] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:02] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:45:03] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd52f4a8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd52f4a8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:45:03] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd52f4a8012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:45:03] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:03] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278691840001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151161000,"timestamp_ms":1790151161000,"timestamp_seconds":1790151161,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd52f4a8"} 
[2026-09-23 13:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:03] 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-09-23 13: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-09-23 13:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278691840001,"66":13080,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278691840001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:45:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278691840001,"power":13080,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:45:03] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:45:03] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:08] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:08] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:08] local.INFO: Packet analysis {"connection_id":190600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:08] local.INFO: Extracted packet for processing {"connection_id":190600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:45: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-09-23 13:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:45: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-09-23 13:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:45:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":190600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:45:08] local.INFO: GPS data processed {"connection_id":190600,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:45:08] local.INFO: Acknowledgment sent {"connection_id":190600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:09] local.INFO: TCP Data received {"connection_id":191935,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:09] local.INFO: Processing buffer {"connection_id":191935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:09] local.INFO: IMEI packet received {"connection_id":191935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":191935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:45:15] local.INFO: TCP Data received {"connection_id":191935,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:15] local.INFO: Processing buffer {"connection_id":191935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:45:15] local.INFO: IMEI packet received {"connection_id":191935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":191935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:45:16] local.INFO: TCP Data received {"connection_id":191935,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd54b5e00100000000000000000000000000..."} 
[2026-09-23 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd54b5e00100000000000000000000000000..."} 
[2026-09-23 13:45:16] local.INFO: Processing buffer {"connection_id":191935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd54b5e00100000000000000000000000000..."} 
[2026-09-23 13:45:16] local.INFO: Packet analysis {"connection_id":191935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:45:16] local.INFO: Extracted packet for processing {"connection_id":191935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:45: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-09-23 13: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-09-23 13:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278711808001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5033194838972141570,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790151276000,"timestamp_ms":1790151276000,"timestamp_seconds":1790151276,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd54b5e0"} 
[2026-09-23 13:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13: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-09-23 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:16] 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-09-23 13: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-09-23 13:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":191935,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:45:16] local.INFO: GPS data processed {"connection_id":191935,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:45:16] local.INFO: Acknowledgment sent {"connection_id":191935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:31] local.INFO: TCP Data received {"connection_id":190410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:31] local.INFO: Processing buffer {"connection_id":190410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:31] local.INFO: IMEI packet received {"connection_id":190410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":190410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:45:34] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5346b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5346b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:45:34] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5346b0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:45:34] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:45:34] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278697216001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151182000,"timestamp_ms":1790151182000,"timestamp_seconds":1790151182,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5346b0"} 
[2026-09-23 13:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:34] 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-09-23 13:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278697216001,"66":12993,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278697216001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:45:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278697216001,"power":12993,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:45:34] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:45:34] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:36] local.INFO: TCP Data received {"connection_id":190410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:36] local.INFO: Processing buffer {"connection_id":190410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:45:36] local.INFO: IMEI packet received {"connection_id":190410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:45:37] local.INFO: TCP Data received {"connection_id":190410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:37] local.INFO: Processing buffer {"connection_id":190410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:45:37] local.INFO: Packet analysis {"connection_id":190410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:37] local.INFO: Extracted packet for processing {"connection_id":190410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:45:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:45: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-09-23 13:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:45:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":190410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:45:38] local.INFO: GPS data processed {"connection_id":190410,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:45:38] local.INFO: Acknowledgment sent {"connection_id":190410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:49] local.INFO: TCP Data received {"connection_id":191935,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd543cc8012c45ff4009fda000023a00af2e..."} 
[2026-09-23 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd543cc8012c45ff4009fda000023a00af2e..."} 
[2026-09-23 13:45:49] local.INFO: Processing buffer {"connection_id":191935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd543cc8012c45ff4009fda000023a00af2e..."} 
[2026-09-23 13:45:49] local.INFO: Packet analysis {"connection_id":191935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:45:49] local.INFO: Extracted packet for processing {"connection_id":191935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":742784832,"raw_latitude":167616512,"longitude_deg":74.2784832,"latitude_deg":16.7616512,"altitude":570,"angle":175,"satellites":46,"speed":49,"hex_longitude":"2c45ff40","hex_latitude":"09fda000","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:45:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790151245000,"timestamp_ms":1790151245000,"timestamp_seconds":1790151245,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd543cc8"} 
[2026-09-23 13:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:45:49] 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-09-23 13: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-09-23 13:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"194":206,"37":23808,"24":49,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16]} 
[2026-09-23 13:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:45:49] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-23 13:45:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:45:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_194":206,"unknown_37":23808,"ignition":49,"odometer":null}} 
[2026-09-23 13:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":191935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:45:49] local.INFO: GPS data processed {"connection_id":191935,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:45:49] local.INFO: Acknowledgment sent {"connection_id":191935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:45:57] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:57] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:45:57] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:46:02] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:02] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:02] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:46:03] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5398b8012d19bb00072659d8000c006327..."} 
[2026-09-23 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5398b8012d19bb00072659d8000c006327..."} 
[2026-09-23 13:46:03] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5398b8012d19bb00072659d8000c006327..."} 
[2026-09-23 13:46:03] local.INFO: Packet analysis {"connection_id":190411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:46:03] local.INFO: Extracted packet for processing {"connection_id":190411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278702592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151203000,"timestamp_ms":1790151203000,"timestamp_seconds":1790151203,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5398b8"} 
[2026-09-23 13:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:46: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-09-23 13: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-23 13:46: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-09-23 13: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-09-23 13:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278702592001,"66":12841,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278702592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:46:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278702592001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":190411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:46:03] local.INFO: GPS data processed {"connection_id":190411,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:46:03] local.INFO: Acknowledgment sent {"connection_id":190411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:46:08] local.INFO: TCP Data received {"connection_id":190410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:08] local.INFO: Processing buffer {"connection_id":190410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:08] local.INFO: Packet analysis {"connection_id":190410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:46:08] local.INFO: Extracted packet for processing {"connection_id":190410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:46:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:46: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-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:46: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-09-23 13:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:46:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":190410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:46:08] local.INFO: GPS data processed {"connection_id":190410,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:46:08] local.INFO: Acknowledgment sent {"connection_id":190410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:46:09] local.INFO: TCP Data received {"connection_id":191936,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:09] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:09] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:46:15] local.INFO: TCP Data received {"connection_id":191936,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:15] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:46:15] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:46:17] local.INFO: TCP Data received {"connection_id":191936,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd548ed0012c46070009fd4b40023c00ae2d..."} 
[2026-09-23 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd548ed0012c46070009fd4b40023c00ae2d..."} 
[2026-09-23 13:46:17] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd548ed0012c46070009fd4b40023c00ae2d..."} 
[2026-09-23 13:46:17] local.INFO: Packet analysis {"connection_id":191936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:46:17] local.INFO: Extracted packet for processing {"connection_id":191936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":742786816,"raw_latitude":167594816,"longitude_deg":74.2786816,"latitude_deg":16.7594816,"altitude":572,"angle":174,"satellites":45,"speed":0,"hex_longitude":"2c460700","hex_latitude":"09fd4b40","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278718720001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5043820519332249602,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790151266000,"timestamp_ms":1790151266000,"timestamp_seconds":1790151266,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd548ed0"} 
[2026-09-23 13:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 13:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278718720001,"66":28300,"194":206,"37":23808,"24":0,"16":3605341577150464,"44":5043820519332249602},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-23 13:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278718720001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:46:17] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-23 13:46:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":5043820519332249602,"description":"Unknown IO ID 44"} 
[2026-09-23 13:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278718720001,"power":28300,"unknown_194":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5043820519332249602}} 
[2026-09-23 13:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":191936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:46:17] local.INFO: GPS data processed {"connection_id":191936,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:46:17] local.INFO: Acknowledgment sent {"connection_id":191936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:46:31] local.INFO: TCP Data received {"connection_id":193280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:31] local.INFO: Processing buffer {"connection_id":193280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:31] local.INFO: IMEI packet received {"connection_id":193280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":193280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:46:34] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd53eea8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd53eea8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:46:34] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd53eea8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:46:34] local.INFO: Packet analysis {"connection_id":190411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:46:34] local.INFO: Extracted packet for processing {"connection_id":190411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd53"} 
[2026-09-23 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278707968001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151225000,"timestamp_ms":1790151225000,"timestamp_seconds":1790151225,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd53eea8"} 
[2026-09-23 13:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":41,"data_length":795,"current_offset":136} 
[2026-09-23 13:46:34] 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-09-23 13: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-09-23 13:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278707968001,"66":12874,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278707968001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:46:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278707968001,"power":12874,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":190411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:46:34] local.INFO: GPS data processed {"connection_id":190411,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:46:34] local.INFO: Acknowledgment sent {"connection_id":190411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:46:36] local.INFO: TCP Data received {"connection_id":193280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:36] local.INFO: Processing buffer {"connection_id":193280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:46:36] local.INFO: IMEI packet received {"connection_id":193280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":193280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:46:37] local.INFO: TCP Data received {"connection_id":193280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:37] local.INFO: Processing buffer {"connection_id":193280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:46:37] local.INFO: Packet analysis {"connection_id":193280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:46:37] local.INFO: Extracted packet for processing {"connection_id":193280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 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-09-23 13:46: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-09-23 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:46:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":193280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:46:37] local.INFO: GPS data processed {"connection_id":193280,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:46:37] local.INFO: Acknowledgment sent {"connection_id":193280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:46:57] local.INFO: TCP Data received {"connection_id":191937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:57] local.INFO: Processing buffer {"connection_id":191937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:46:57] local.INFO: IMEI packet received {"connection_id":191937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":191937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:47:02] local.INFO: TCP Data received {"connection_id":191937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:02] local.INFO: Processing buffer {"connection_id":191937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:02] local.INFO: IMEI packet received {"connection_id":191937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":191937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:47:03] local.INFO: TCP Data received {"connection_id":191937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5440b0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5440b0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:47:03] local.INFO: Processing buffer {"connection_id":191937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5440b0012d19bb00072659d8000c006323..."} 
[2026-09-23 13:47:03] local.INFO: Packet analysis {"connection_id":191937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:47:03] local.INFO: Extracted packet for processing {"connection_id":191937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278713600001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151246000,"timestamp_ms":1790151246000,"timestamp_seconds":1790151246,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5440b0"} 
[2026-09-23 13:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:47: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-09-23 13: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":74,"data_length":795,"current_offset":136} 
[2026-09-23 13:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278713600001,"66":12885,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278713600001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:47:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278713600001,"power":12885,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":191937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:47:03] local.INFO: GPS data processed {"connection_id":191937,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:47:03] local.INFO: Acknowledgment sent {"connection_id":191937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:08] local.INFO: TCP Data received {"connection_id":193280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:08] local.INFO: Processing buffer {"connection_id":193280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:08] local.INFO: Packet analysis {"connection_id":193280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:47:08] local.INFO: Extracted packet for processing {"connection_id":193280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:47:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 13:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:47: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-09-23 13: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:47: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-09-23 13:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:47:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":193280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:47:08] local.INFO: GPS data processed {"connection_id":193280,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:47:08] local.INFO: Acknowledgment sent {"connection_id":193280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:19] local.INFO: TCP Data received {"connection_id":191936,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5571600100000000000000000000000000..."} 
[2026-09-23 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5571600100000000000000000000000000..."} 
[2026-09-23 13:47:19] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5571600100000000000000000000000000..."} 
[2026-09-23 13:47:19] local.INFO: Packet analysis {"connection_id":191936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:47:19] local.INFO: Extracted packet for processing {"connection_id":191936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:47: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-09-23 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278724096001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5046001950396203010,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790151324000,"timestamp_ms":1790151324000,"timestamp_seconds":1790151324,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd557160"} 
[2026-09-23 13:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":191936,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:47:19] local.INFO: GPS data processed {"connection_id":191936,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:47:19] local.INFO: Acknowledgment sent {"connection_id":191936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:25] local.INFO: TCP Data received {"connection_id":190412,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:25] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:25] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:47:31] local.INFO: TCP Data received {"connection_id":190412,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:31] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:47:31] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:47:31] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:31] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:31] local.INFO: IMEI packet received {"connection_id":190413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":190413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:47:32] local.INFO: TCP Data received {"connection_id":190412,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd550400012c46170009fc9e70023500ae2e..."} 
[2026-09-23 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd550400012c46170009fc9e70023500ae2e..."} 
[2026-09-23 13:47:32] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd550400012c46170009fc9e70023500ae2e..."} 
[2026-09-23 13:47:32] local.INFO: Packet analysis {"connection_id":190412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:47:32] local.INFO: Extracted packet for processing {"connection_id":190412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":742790912,"raw_latitude":167550576,"longitude_deg":74.2790912,"latitude_deg":16.7550576,"altitude":565,"angle":174,"satellites":46,"speed":0,"hex_longitude":"2c461700","hex_latitude":"09fc9e70","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790151296000,"timestamp_ms":1790151296000,"timestamp_seconds":1790151296,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd550400"} 
[2026-09-23 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:47: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 13:47:32] 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-09-23 13: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-09-23 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"194":206,"37":23808,"24":0,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16]} 
[2026-09-23 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:47:32] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-23 13:47:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_194":206,"unknown_37":23808,"ignition":0,"odometer":null}} 
[2026-09-23 13:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":190412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:47:33] local.INFO: GPS data processed {"connection_id":190412,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:47:33] local.INFO: Acknowledgment sent {"connection_id":190412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:34] local.INFO: TCP Data received {"connection_id":191937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5492b8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5492b8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:47:34] local.INFO: Processing buffer {"connection_id":191937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5492b8012d19bb00072659d8000c006325..."} 
[2026-09-23 13:47:34] local.INFO: Packet analysis {"connection_id":191937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:47:34] local.INFO: Extracted packet for processing {"connection_id":191937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278718976001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151267000,"timestamp_ms":1790151267000,"timestamp_seconds":1790151267,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5492b8"} 
[2026-09-23 13:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":85,"data_length":795,"current_offset":136} 
[2026-09-23 13:47: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-09-23 13: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-09-23 13:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278718976001,"66":12841,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278718976001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:47:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278718976001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":191937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:47:34] local.INFO: GPS data processed {"connection_id":191937,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:47:34] local.INFO: Acknowledgment sent {"connection_id":191937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:36] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:36] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:47:36] local.INFO: IMEI packet received {"connection_id":190413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":190413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:47:37] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:37] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd529300012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:47:37] local.INFO: Packet analysis {"connection_id":190413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:47:37] local.INFO: Extracted packet for processing {"connection_id":190413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd52"} 
[2026-09-23 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278613760001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151136000,"timestamp_ms":1790151136000,"timestamp_seconds":1790151136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd529300"} 
[2026-09-23 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-09-23 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 13:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:47: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-09-23 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278613760001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278613760001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:47:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278613760001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":190413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:47:37] local.INFO: GPS data processed {"connection_id":190413,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:47:37] local.INFO: Acknowledgment sent {"connection_id":190413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:47:56] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:57] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:57] local.INFO: IMEI packet received {"connection_id":191938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":191938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:47:59] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:59] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:47:59] local.INFO: IMEI packet received {"connection_id":191938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":191938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:48:02] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:48:02] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:48:02] local.INFO: IMEI packet received {"connection_id":191938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":191938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:48:03] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd54e4c0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd54e4c0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:48:03] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd54e4c0012d19bb00072659d8000c006325..."} 
[2026-09-23 13:48:03] local.INFO: Packet analysis {"connection_id":191938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:48:03] local.INFO: Extracted packet for processing {"connection_id":191938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd54"} 
[2026-09-23 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278724352001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151288000,"timestamp_ms":1790151288000,"timestamp_seconds":1790151288,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd54e4c0"} 
[2026-09-23 13:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:48: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-09-23 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278724352001,"66":12841,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278724352001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278724352001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":191938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:03] local.INFO: GPS data processed {"connection_id":191938,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:03] local.INFO: Acknowledgment sent {"connection_id":191938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:08] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:08] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:08] local.INFO: Packet analysis {"connection_id":190413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:08] local.INFO: Extracted packet for processing {"connection_id":190413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:48: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-09-23 13: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:08] 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-09-23 13: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-09-23 13:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48: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-09-23 13:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":190413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:08] local.INFO: GPS data processed {"connection_id":190413,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:08] local.INFO: Acknowledgment sent {"connection_id":190413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:09] local.INFO: TCP Data received {"connection_id":193281,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:09] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:09] local.INFO: IMEI packet received {"connection_id":193281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":193281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:48:15] local.INFO: TCP Data received {"connection_id":193281,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:15] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:48:15] local.INFO: IMEI packet received {"connection_id":193281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":193281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:48:16] local.INFO: TCP Data received {"connection_id":193281,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd555220012c46280009fc4520023700a82d..."} 
[2026-09-23 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd555220012c46280009fc4520023700a82d..."} 
[2026-09-23 13:48:16] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd555220012c46280009fc4520023700a82d..."} 
[2026-09-23 13:48:16] local.INFO: Packet analysis {"connection_id":193281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:48:16] local.INFO: Extracted packet for processing {"connection_id":193281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:48:16] local.INFO: GPS Element Parsed {"raw_longitude":742795264,"raw_latitude":167527712,"longitude_deg":74.2795264,"latitude_deg":16.7527712,"altitude":567,"angle":168,"satellites":45,"speed":0,"hex_longitude":"2c462800","hex_latitude":"09fc4520","is_valid_coordinates":true} 
[2026-09-23 13:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278731776001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5050505550012248066,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790151316000,"timestamp_ms":1790151316000,"timestamp_seconds":1790151316,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd555220"} 
[2026-09-23 13:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:48: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-09-23 13:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:16] 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-09-23 13:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278731776001,"66":28300,"194":206,"37":23808,"24":0,"16":3605341577150464,"44":5050505550012248066},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-23 13:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278731776001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:16] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-23 13:48:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":5050505550012248066,"description":"Unknown IO ID 44"} 
[2026-09-23 13:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278731776001,"power":28300,"unknown_194":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5050505550012248066}} 
[2026-09-23 13:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":193281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:16] local.INFO: GPS data processed {"connection_id":193281,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:16] local.INFO: Acknowledgment sent {"connection_id":193281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:34] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:34] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:34] local.INFO: IMEI packet received {"connection_id":191939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":191939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:48:34] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5536c8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5536c8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:48:34] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5536c8012d19bb00072659d8000c006328..."} 
[2026-09-23 13:48:34] local.INFO: Packet analysis {"connection_id":191938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:48:34] local.INFO: Extracted packet for processing {"connection_id":191938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278729728001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151309000,"timestamp_ms":1790151309000,"timestamp_seconds":1790151309,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5536c8"} 
[2026-09-23 13:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:34] 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-09-23 13: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-09-23 13:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278729728001,"66":12841,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278729728001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278729728001,"power":12841,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:34] local.INFO: GPS data processed {"connection_id":191938,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:34] local.INFO: Acknowledgment sent {"connection_id":191938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:36] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:36] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:48:36] local.INFO: IMEI packet received {"connection_id":191939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":191939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:48:37] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:37] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:37] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:37] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 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-09-23 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:48: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-09-23 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-09-23 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-09-23 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48: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-09-23 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:37] local.INFO: GPS data processed {"connection_id":191939,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:37] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:42] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:42] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:48:42] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:42] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 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-09-23 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:48:42] local.INFO: GPS data processed {"connection_id":191939,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:48:42] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:48:48] local.INFO: TCP Data received {"connection_id":193281,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5638980100000000000000000000000000..."} 
[2026-09-23 13:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5638980100000000000000000000000000..."} 
[2026-09-23 13:48:48] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5638980100000000000000000000000000..."} 
[2026-09-23 13:48:48] local.INFO: Packet analysis {"connection_id":193281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:48:48] local.INFO: Extracted packet for processing {"connection_id":193281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13: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-09-23 13: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-09-23 13:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278736896001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5055290624610476034,"note":"Value kept but may cause issues"} 
[2026-09-23 13:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790151375000,"timestamp_ms":1790151375000,"timestamp_seconds":1790151375,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd563898"} 
[2026-09-23 13:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 13:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":193281,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:48:48] local.INFO: GPS data processed {"connection_id":193281,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:48:48] local.INFO: Acknowledgment sent {"connection_id":193281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:03] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:03] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:03] local.INFO: IMEI packet received {"connection_id":190601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":190601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:49:07] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:07] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:07] local.INFO: IMEI packet received {"connection_id":190601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":190601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:49:08] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5588d0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5588d0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:08] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5588d0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:08] local.INFO: Packet analysis {"connection_id":190601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:08] local.INFO: Extracted packet for processing {"connection_id":190601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278735104001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151330000,"timestamp_ms":1790151330000,"timestamp_seconds":1790151330,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5588d0"} 
[2026-09-23 13:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278735104001,"66":12809,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278735104001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278735104001,"power":12809,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:08] local.INFO: GPS data processed {"connection_id":190601,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:08] local.INFO: Acknowledgment sent {"connection_id":190601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:09] local.INFO: TCP Data received {"connection_id":193282,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:09] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:09] local.INFO: IMEI packet received {"connection_id":193282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":193282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:49:10] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd55dec0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd55dec0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:49:10] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd55dec0012d19bb00072659d8000c006328..."} 
[2026-09-23 13:49:10] local.INFO: Packet analysis {"connection_id":190601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:10] local.INFO: Extracted packet for processing {"connection_id":190601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":40,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278740480001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790151352000,"timestamp_ms":1790151352000,"timestamp_seconds":1790151352,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd55dec0"} 
[2026-09-23 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-09-23 13:49: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-09-23 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3444807864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6000677072615881472,"corrected_to":0} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587274727181907,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2521956352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2763477341081461544,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,232,83,24,241,157,16,150,160,54,45,89,12,40,10,66,228,37,146,1,240,41,227,205,38,4,113,238,187,216,239,50,2,80,7,167,82],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":6000677072615881472,"validated":0}]} 
[2026-09-23 13:49:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864800160494911488,"timestamp_seconds":864800160494911.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278740480001,"66":12798,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278740480001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278740480001,"power":12798,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":190601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:10] local.INFO: GPS data processed {"connection_id":190601,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:10] local.INFO: Acknowledgment sent {"connection_id":190601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:13] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:13] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:13] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:49:13] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:49:13] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 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-09-23 13:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:13] 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-09-23 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-09-23 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-09-23 13:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:49: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-09-23 13:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:13] local.INFO: GPS data processed {"connection_id":191939,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:13] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:15] local.INFO: TCP Data received {"connection_id":193282,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:15] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:49:15] local.INFO: IMEI packet received {"connection_id":193282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":193282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:49:17] local.INFO: TCP Data received {"connection_id":193282,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd55bf80012c464f8009fb9d10023300a52c..."} 
[2026-09-23 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd55bf80012c464f8009fb9d10023300a52c..."} 
[2026-09-23 13:49:17] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd55bf80012c464f8009fb9d10023300a52c..."} 
[2026-09-23 13:49:17] local.INFO: Packet analysis {"connection_id":193282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:17] local.INFO: Extracted packet for processing {"connection_id":193282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd55"} 
[2026-09-23 13:49:17] local.INFO: GPS Element Parsed {"raw_longitude":742805376,"raw_latitude":167484688,"longitude_deg":74.2805376,"latitude_deg":16.7484688,"altitude":563,"angle":165,"satellites":44,"speed":53,"hex_longitude":"2c464f80","hex_latitude":"09fb9d10","is_valid_coordinates":true} 
[2026-09-23 13:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790151344000,"timestamp_ms":1790151344000,"timestamp_seconds":1790151344,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd55bf80"} 
[2026-09-23 13:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:49: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28430,"194":206,"37":23808,"24":53,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16]} 
[2026-09-23 13:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:17] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-23 13:49:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28430,"unknown_194":206,"unknown_37":23808,"ignition":53,"odometer":null}} 
[2026-09-23 13:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":193282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:17] local.INFO: GPS data processed {"connection_id":193282,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:17] local.INFO: Acknowledgment sent {"connection_id":193282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:31] local.INFO: TCP Data received {"connection_id":193283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:31] local.INFO: Processing buffer {"connection_id":193283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:31] local.INFO: IMEI packet received {"connection_id":193283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":193283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:49:36] local.INFO: TCP Data received {"connection_id":193283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:36] local.INFO: Processing buffer {"connection_id":193283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:49:36] local.INFO: IMEI packet received {"connection_id":193283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":193283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:49:37] local.INFO: TCP Data received {"connection_id":193283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:37] local.INFO: Processing buffer {"connection_id":193283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:49:37] local.INFO: Packet analysis {"connection_id":193283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:49:37] local.INFO: Extracted packet for processing {"connection_id":193283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:49: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-09-23 13:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:49: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-09-23 13:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":193283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:37] local.INFO: GPS data processed {"connection_id":193283,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:37] local.INFO: Acknowledgment sent {"connection_id":193283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:41] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd562ce0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd562ce0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:41] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd562ce0012d19bb00072659d8000c00632a..."} 
[2026-09-23 13:49:41] local.INFO: Packet analysis {"connection_id":190601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:49:41] local.INFO: Extracted packet for processing {"connection_id":190601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":42,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 13:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278746112001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790151372000,"timestamp_ms":1790151372000,"timestamp_seconds":1790151372,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd562ce0"} 
[2026-09-23 13:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:49: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-09-23 13:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278746112001,"66":12765,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278746112001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278746112001,"power":12765,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":190601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:41] local.INFO: GPS data processed {"connection_id":190601,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:41] local.INFO: Acknowledgment sent {"connection_id":190601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:48] local.INFO: TCP Data received {"connection_id":193282,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5872e8012c468b0009f9db80022800b02a..."} 
[2026-09-23 13:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5872e8012c468b0009f9db80022800b02a..."} 
[2026-09-23 13:49:48] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5872e8012c468b0009f9db80022800b02a..."} 
[2026-09-23 13:49:48] local.INFO: Packet analysis {"connection_id":193282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd58"} 
[2026-09-23 13:49:48] local.INFO: Extracted packet for processing {"connection_id":193282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd58"} 
[2026-09-23 13:49:48] local.INFO: GPS Element Parsed {"raw_longitude":742820608,"raw_latitude":167369600,"longitude_deg":74.2820608,"latitude_deg":16.73696,"altitude":552,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2c468b00","hex_latitude":"09f9db80","is_valid_coordinates":true} 
[2026-09-23 13:49: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-09-23 13:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278784000001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5081819641130315778,"note":"Value kept but may cause issues"} 
[2026-09-23 13:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790151521000,"timestamp_ms":1790151521000,"timestamp_seconds":1790151521,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5872e8"} 
[2026-09-23 13:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:49: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":124,"data_length":795,"current_offset":136} 
[2026-09-23 13:49:48] 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-09-23 13:49: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-09-23 13:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278784000001,"66":28398,"211":206,"37":23808,"24":0,"16":3605341577150464,"44":5081819641130315778},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,37,24,16,44]} 
[2026-09-23 13:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278784000001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:49:48] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 13:49:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:49:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5081819641130315778,"description":"Unknown IO ID 44"} 
[2026-09-23 13:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278784000001,"power":28398,"unknown_211":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5081819641130315778}} 
[2026-09-23 13:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":193282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:49:49] local.INFO: GPS data processed {"connection_id":193282,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:49:49] local.INFO: Acknowledgment sent {"connection_id":193282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:49:57] local.INFO: TCP Data received {"connection_id":190414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:57] local.INFO: Processing buffer {"connection_id":190414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:49:57] local.INFO: IMEI packet received {"connection_id":190414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":190414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:50:02] local.INFO: TCP Data received {"connection_id":190414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:02] local.INFO: Processing buffer {"connection_id":190414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:02] local.INFO: IMEI packet received {"connection_id":190414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":190414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:50:03] local.INFO: TCP Data received {"connection_id":190414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5682d0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5682d0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:50:03] local.INFO: Processing buffer {"connection_id":190414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5682d0012d19bb00072659d8000c006326..."} 
[2026-09-23 13:50:03] local.INFO: Packet analysis {"connection_id":190414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:50:03] local.INFO: Extracted packet for processing {"connection_id":190414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119953880,"longitude_deg":75.6660992,"latitude_deg":11.995388,"altitude":12,"angle":99,"satellites":38,"speed":0,"hex_longitude":"2d19bb00","hex_latitude":"072659d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278751232001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683277068337152,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151394000,"timestamp_ms":1790151394000,"timestamp_seconds":1790151394,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5682d0"} 
[2026-09-23 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-09-23 13:50: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-09-23 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-23 13:50: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-09-23 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-09-23 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-09-23 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278751232001,"66":12776,"232":206,"83":42752,"24":0,"16":22683277068337152,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278751232001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:50:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683277068337152,"km_value":22683277068337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278751232001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":190414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:50:03] local.INFO: GPS data processed {"connection_id":190414,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:50:03] local.INFO: Acknowledgment sent {"connection_id":190414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:50:09] local.INFO: TCP Data received {"connection_id":193283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:09] local.INFO: Processing buffer {"connection_id":193283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:09] local.INFO: Packet analysis {"connection_id":193283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:50:09] local.INFO: Extracted packet for processing {"connection_id":193283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:50: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-09-23 13: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:50: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-09-23 13: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-09-23 13:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:50:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":193283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:50:09] local.INFO: GPS data processed {"connection_id":193283,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:50:09] local.INFO: Acknowledgment sent {"connection_id":193283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:50:31] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:31] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:31] local.INFO: IMEI packet received {"connection_id":191940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":191940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:50:33] local.INFO: TCP Data received {"connection_id":190602,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:33] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:33] local.INFO: IMEI packet received {"connection_id":190602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":190602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:50:34] local.INFO: TCP Data received {"connection_id":190414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5686b8012d19bcc0072656f00024007326..."} 
[2026-09-23 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5686b8012d19bcc0072656f00024007326..."} 
[2026-09-23 13:50:34] local.INFO: Processing buffer {"connection_id":190414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5686b8012d19bcc0072656f00024007326..."} 
[2026-09-23 13:50:34] local.INFO: Packet analysis {"connection_id":190414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:50:34] local.INFO: Extracted packet for processing {"connection_id":190414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119953136,"longitude_deg":75.666144,"latitude_deg":11.9953136,"altitude":36,"angle":115,"satellites":38,"speed":0,"hex_longitude":"2d19bcc0","hex_latitude":"072656f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278756864001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683320018010112,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702301284352,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151395000,"timestamp_ms":1790151395000,"timestamp_seconds":1790151395,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5686b8"} 
[2026-09-23 13:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 13:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278756864001,"66":12711,"232":206,"83":42752,"24":0,"16":22683320018010112,"45":1854075702301284352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278756864001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:50:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683320018010112,"km_value":22683320018010.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702301284352,"description":"Unknown IO ID 45"} 
[2026-09-23 13:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278756864001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854075702301284352}} 
[2026-09-23 13:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":190414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:50:34] local.INFO: GPS data processed {"connection_id":190414,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:50:34] local.INFO: Acknowledgment sent {"connection_id":190414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:50:35] local.INFO: TCP Data received {"connection_id":190602,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:35] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:50:35] local.INFO: IMEI packet received {"connection_id":190602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":190602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:50:36] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:36] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:50:36] local.INFO: IMEI packet received {"connection_id":191940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":191940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:50:37] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:37] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:50:37] local.INFO: Packet analysis {"connection_id":191940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:50:37] local.INFO: Extracted packet for processing {"connection_id":191940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:50:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:50: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-09-23 13: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":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:50: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-09-23 13: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-09-23 13:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:50: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-09-23 13:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:50:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":191940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:50:37] local.INFO: GPS data processed {"connection_id":191940,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:50:37] local.INFO: Acknowledgment sent {"connection_id":191940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:50:56] local.INFO: TCP Data received {"connection_id":193284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:56] local.INFO: Processing buffer {"connection_id":193284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:50:56] local.INFO: IMEI packet received {"connection_id":193284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":193284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:50:59] local.INFO: TCP Data received {"connection_id":190602,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5955780100000000000000000000000000..."} 
[2026-09-23 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5955780100000000000000000000000000..."} 
[2026-09-23 13:50:59] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5955780100000000000000000000000000..."} 
[2026-09-23 13:50:59] local.INFO: Packet analysis {"connection_id":190602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd59"} 
[2026-09-23 13:50:59] local.INFO: Extracted packet for processing {"connection_id":190602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd59"} 
[2026-09-23 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278789376001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5083156647264354306,"note":"Value kept but may cause issues"} 
[2026-09-23 13:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790151579000,"timestamp_ms":1790151579000,"timestamp_seconds":1790151579,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd595578"} 
[2026-09-23 13:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:50:59] 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-09-23 13:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":190602,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 13:50:59] local.INFO: GPS data processed {"connection_id":190602,"processed":0,"errors":0,"total":1} 
[2026-09-23 13:50:59] local.INFO: Acknowledgment sent {"connection_id":190602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:51:08] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:08] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:08] local.INFO: Packet analysis {"connection_id":191940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:51:08] local.INFO: Extracted packet for processing {"connection_id":191940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:51:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:51: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-09-23 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:51:08] 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-09-23 13:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:51: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-09-23 13:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:51:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":191940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:51:08] local.INFO: GPS data processed {"connection_id":191940,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:51:08] local.INFO: Acknowledgment sent {"connection_id":191940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:51:11] local.INFO: TCP Data received {"connection_id":193284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:11] local.INFO: Processing buffer {"connection_id":193284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:11] local.INFO: IMEI packet received {"connection_id":193284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":193284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:51:12] local.INFO: TCP Data received {"connection_id":193284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd56d8c0012d19bd00072656d00025007324..."} 
[2026-09-23 13:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd56d8c0012d19bd00072656d00025007324..."} 
[2026-09-23 13:51:12] local.INFO: Processing buffer {"connection_id":193284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd56d8c0012d19bd00072656d00025007324..."} 
[2026-09-23 13:51:12] local.INFO: Packet analysis {"connection_id":193284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:51:12] local.INFO: Extracted packet for processing {"connection_id":193284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd56"} 
[2026-09-23 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119953104,"longitude_deg":75.6661504,"latitude_deg":11.9953104,"altitude":37,"angle":115,"satellites":36,"speed":0,"hex_longitude":"2d19bd00","hex_latitude":"072656d0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278757120001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683324312977408,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283510337536,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790151416000,"timestamp_ms":1790151416000,"timestamp_seconds":1790151416,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd56d8c0"} 
[2026-09-23 13:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 13:51: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-09-23 13: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-09-23 13:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278757120001,"66":12711,"232":206,"83":42752,"24":0,"16":22683324312977408,"45":1854568283510337536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278757120001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:51:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683324312977408,"km_value":22683324312977.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283510337536,"description":"Unknown IO ID 45"} 
[2026-09-23 13:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278757120001,"power":12711,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1854568283510337536}} 
[2026-09-23 13:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":193284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:51:12] local.INFO: GPS data processed {"connection_id":193284,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:51:12] local.INFO: Acknowledgment sent {"connection_id":193284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:51:19] local.INFO: TCP Data received {"connection_id":193285,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:19] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:19] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:51:20] local.INFO: TCP Data received {"connection_id":193285,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:20] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:20] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:51:27] local.INFO: TCP Data received {"connection_id":193285,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:27] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:27] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:51:30] local.INFO: TCP Data received {"connection_id":193285,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:30] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:51:30] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:51:31] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:31] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:31] local.INFO: IMEI packet received {"connection_id":190415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":190415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:51:34] local.INFO: TCP Data received {"connection_id":193285,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd58e048012c46954009f937b0022500ae2b..."} 
[2026-09-23 13:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd58e048012c46954009f937b0022500ae2b..."} 
[2026-09-23 13:51:34] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd58e048012c46954009f937b0022500ae2b..."} 
[2026-09-23 13:51:34] local.INFO: Packet analysis {"connection_id":193285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd58"} 
[2026-09-23 13:51:34] local.INFO: Extracted packet for processing {"connection_id":193285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd58"} 
[2026-09-23 13:51:34] local.INFO: GPS Element Parsed {"raw_longitude":742823232,"raw_latitude":167327664,"longitude_deg":74.2823232,"latitude_deg":16.7327664,"altitude":549,"angle":174,"satellites":43,"speed":50,"hex_longitude":"2c469540","hex_latitude":"09f937b0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151549000,"timestamp_ms":1790151549000,"timestamp_seconds":1790151549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd58e048"} 
[2026-09-23 13:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 13:51:34] 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-09-23 13: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-09-23 13:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28452,"55":206,"37":23808,"24":50,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,37,24,16]} 
[2026-09-23 13:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:51:34] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-23 13:51:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:51:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28452,"unknown_55":206,"unknown_37":23808,"ignition":50,"odometer":null}} 
[2026-09-23 13:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":193285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:51:34] local.INFO: GPS data processed {"connection_id":193285,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:51:34] local.INFO: Acknowledgment sent {"connection_id":193285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:51:36] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:36] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:51:36] local.INFO: IMEI packet received {"connection_id":190415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":190415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:51:37] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:37] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:51:37] local.INFO: Packet analysis {"connection_id":190415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:51:37] local.INFO: Extracted packet for processing {"connection_id":190415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 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-09-23 13:51: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-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:51: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-09-23 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-09-23 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-09-23 13:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:51: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-09-23 13:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:51:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":190415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:51:37] local.INFO: GPS data processed {"connection_id":190415,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:51:37] local.INFO: Acknowledgment sent {"connection_id":190415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:51:56] local.INFO: TCP Data received {"connection_id":191941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:56] local.INFO: Processing buffer {"connection_id":191941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:51:56] local.INFO: IMEI packet received {"connection_id":191941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":191941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:52:02] local.INFO: TCP Data received {"connection_id":191941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:02] local.INFO: Processing buffer {"connection_id":191941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:02] local.INFO: IMEI packet received {"connection_id":191941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":191941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:52:04] local.INFO: TCP Data received {"connection_id":191941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5a2868012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5a2868012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:52:04] local.INFO: Processing buffer {"connection_id":191941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5a2868012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:52:04] local.INFO: Packet analysis {"connection_id":191941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:52:04] local.INFO: Extracted packet for processing {"connection_id":191941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278812672001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790151633000,"timestamp_ms":1790151633000,"timestamp_seconds":1790151633,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5a2868"} 
[2026-09-23 13:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:52: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-09-23 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278812672001,"66":12667,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278812672001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:52:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278812672001,"power":12667,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":191941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:52:04] local.INFO: GPS data processed {"connection_id":191941,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:52:04] local.INFO: Acknowledgment sent {"connection_id":191941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:52:08] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:08] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:08] local.INFO: Packet analysis {"connection_id":190415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:52:08] local.INFO: Extracted packet for processing {"connection_id":190415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:52: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-09-23 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:52:08] 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-09-23 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:52: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-09-23 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:52:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":190415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:52:08] local.INFO: GPS data processed {"connection_id":190415,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:52:08] local.INFO: Acknowledgment sent {"connection_id":190415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:52:19] local.INFO: TCP Data received {"connection_id":193286,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:19] local.INFO: Processing buffer {"connection_id":193286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:19] local.INFO: IMEI packet received {"connection_id":193286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":193286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:52:25] local.INFO: TCP Data received {"connection_id":193286,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:25] local.INFO: Processing buffer {"connection_id":193286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:52:25] local.INFO: IMEI packet received {"connection_id":193286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":193286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:52:26] local.INFO: TCP Data received {"connection_id":193286,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd592e68012c469b8009f8e3a0022400b029..."} 
[2026-09-23 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd592e68012c469b8009f8e3a0022400b029..."} 
[2026-09-23 13:52:26] local.INFO: Processing buffer {"connection_id":193286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd592e68012c469b8009f8e3a0022400b029..."} 
[2026-09-23 13:52:26] local.INFO: Packet analysis {"connection_id":193286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd59"} 
[2026-09-23 13:52:26] local.INFO: Extracted packet for processing {"connection_id":193286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd59"} 
[2026-09-23 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":742824832,"raw_latitude":167306144,"longitude_deg":74.2824832,"latitude_deg":16.7306144,"altitude":548,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2c469b80","hex_latitude":"09f8e3a0","is_valid_coordinates":true} 
[2026-09-23 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278796544001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5086041765764902914,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790151569000,"timestamp_ms":1790151569000,"timestamp_seconds":1790151569,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd592e68"} 
[2026-09-23 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 13:52:26] 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-09-23 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278796544001,"66":28398,"55":206,"37":23808,"24":0,"16":3605341577150464,"44":5086041765764902914},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,37,24,16,44]} 
[2026-09-23 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278796544001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:52:26] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-23 13:52:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-23 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5086041765764902914,"description":"Unknown IO ID 44"} 
[2026-09-23 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278796544001,"power":28398,"unknown_55":206,"unknown_37":23808,"ignition":0,"odometer":null,"unknown_44":5086041765764902914}} 
[2026-09-23 13:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":193286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:52:27] local.INFO: GPS data processed {"connection_id":193286,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:52:27] local.INFO: Acknowledgment sent {"connection_id":193286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:52:31] local.INFO: TCP Data received {"connection_id":190416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:31] local.INFO: Processing buffer {"connection_id":190416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:31] local.INFO: IMEI packet received {"connection_id":190416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":190416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:52:36] local.INFO: TCP Data received {"connection_id":190416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:36] local.INFO: Processing buffer {"connection_id":190416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:52:36] local.INFO: IMEI packet received {"connection_id":190416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":190416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:52:37] local.INFO: TCP Data received {"connection_id":191941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5a7e58012d19b9c0072658e8000d012823..."} 
[2026-09-23 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5a7e58012d19b9c0072658e8000d012823..."} 
[2026-09-23 13:52:37] local.INFO: Processing buffer {"connection_id":191941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5a7e58012d19b9c0072658e8000d012823..."} 
[2026-09-23 13:52:37] local.INFO: Packet analysis {"connection_id":191941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:52:37] local.INFO: Extracted packet for processing {"connection_id":191941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":35,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278818048001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151655000,"timestamp_ms":1790151655000,"timestamp_seconds":1790151655,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5a7e58"} 
[2026-09-23 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:52: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-09-23 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 13:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278818048001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278818048001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278818048001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:52:37] local.INFO: TCP Data received {"connection_id":190416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:37] local.INFO: Processing buffer {"connection_id":190416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd572ac8012d4160c006cb46f0002001332b..."} 
[2026-09-23 13:52:37] local.INFO: Packet analysis {"connection_id":190416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:52:37] local.INFO: Extracted packet for processing {"connection_id":190416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd57"} 
[2026-09-23 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278690816001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151437000,"timestamp_ms":1790151437000,"timestamp_seconds":1790151437,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd572ac8"} 
[2026-09-23 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:52: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-09-23 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 13:52: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-09-23 13:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:52: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-09-23 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278690816001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278690816001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278690816001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":190416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:52:37] local.INFO: GPS data processed {"connection_id":190416,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:52:37] local.INFO: Acknowledgment sent {"connection_id":190416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":191941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:52:37] local.INFO: GPS data processed {"connection_id":191941,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:52:37] local.INFO: Acknowledgment sent {"connection_id":191941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:52:57] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:57] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:57] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:52:58] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:58] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:52:58] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:53:02] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:53:02] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:53:02] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:53:03] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5ad060012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5ad060012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:53:03] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5ad060012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:53:03] local.INFO: Packet analysis {"connection_id":191942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:53:03] local.INFO: Extracted packet for processing {"connection_id":191942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5a"} 
[2026-09-23 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278823680001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151676000,"timestamp_ms":1790151676000,"timestamp_seconds":1790151676,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5ad060"} 
[2026-09-23 13:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445130864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249833115407243480,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,83,24,241,157,16,150,160,40,45,192,88,13,39,10,66,214,232,128,1,240,134,227,205,38,4,113,220,185,239,49,2,80,7,120,85,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 13:53:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074328258740224,"timestamp_seconds":937074328258740.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278823680001,"66":12602,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278823680001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:53:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278823680001,"power":12602,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":191942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:53:03] local.INFO: GPS data processed {"connection_id":191942,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:53:03] local.INFO: Acknowledgment sent {"connection_id":191942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:53:08] local.INFO: TCP Data received {"connection_id":190416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:08] local.INFO: Processing buffer {"connection_id":190416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:08] local.INFO: Packet analysis {"connection_id":190416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:08] local.INFO: Extracted packet for processing {"connection_id":190416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:53: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-09-23 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:53: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-09-23 13:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:53:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":190416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:53:08] local.INFO: GPS data processed {"connection_id":190416,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:53:08] local.INFO: Acknowledgment sent {"connection_id":190416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:53:31] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:31] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:31] local.INFO: IMEI packet received {"connection_id":190603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":190603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:53:34] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5b2650012d19b9c0072658e8000d012824..."} 
[2026-09-23 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5b2650012d19b9c0072658e8000d012824..."} 
[2026-09-23 13:53:34] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5b2650012d19b9c0072658e8000d012824..."} 
[2026-09-23 13:53:34] local.INFO: Packet analysis {"connection_id":191942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:34] local.INFO: Extracted packet for processing {"connection_id":191942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278829056001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151698000,"timestamp_ms":1790151698000,"timestamp_seconds":1790151698,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5b2650"} 
[2026-09-23 13:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:53:34] 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-09-23 13: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-09-23 13:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278829056001,"66":12645,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278829056001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:53:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278829056001,"power":12645,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:53:34] local.INFO: GPS data processed {"connection_id":191942,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:53:34] local.INFO: Acknowledgment sent {"connection_id":191942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:53:36] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:36] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:53:36] local.INFO: IMEI packet received {"connection_id":190603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":190603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:53:37] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:37] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:37] local.INFO: Packet analysis {"connection_id":190603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:37] local.INFO: Extracted packet for processing {"connection_id":190603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:53: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-09-23 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:53:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":190603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:53:37] local.INFO: GPS data processed {"connection_id":190603,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:53:37] local.INFO: Acknowledgment sent {"connection_id":190603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:53:42] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:42] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:53:42] local.INFO: Packet analysis {"connection_id":190603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:42] local.INFO: Extracted packet for processing {"connection_id":190603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:53:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":190603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:53:42] local.INFO: GPS data processed {"connection_id":190603,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:53:42] local.INFO: Acknowledgment sent {"connection_id":190603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:53:52] local.INFO: TCP Data received {"connection_id":193287,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:53:52] local.INFO: Processing buffer {"connection_id":193287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:53:52] local.INFO: IMEI packet received {"connection_id":193287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":193287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:54:02] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:02] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:02] local.INFO: IMEI packet received {"connection_id":191943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":191943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:54:06] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:06] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:54:06] local.INFO: IMEI packet received {"connection_id":191943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":191943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:54:07] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5b7858012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5b7858012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:07] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5b7858012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:07] local.INFO: Packet analysis {"connection_id":191943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:07] local.INFO: Extracted packet for processing {"connection_id":191943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278834688001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790151719000,"timestamp_ms":1790151719000,"timestamp_seconds":1790151719,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5b7858"} 
[2026-09-23 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:54: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-09-23 13: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":101,"data_length":795,"current_offset":136} 
[2026-09-23 13:54: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-09-23 13: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-09-23 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278834688001,"66":12602,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278834688001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278834688001,"power":12602,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":191943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:07] local.INFO: GPS data processed {"connection_id":191943,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:07] local.INFO: Acknowledgment sent {"connection_id":191943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:54:13] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:13] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:13] local.INFO: Packet analysis {"connection_id":190603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:13] local.INFO: Extracted packet for processing {"connection_id":190603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:13] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:54: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-09-23 13:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":190603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:13] local.INFO: GPS data processed {"connection_id":190603,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:13] local.INFO: Acknowledgment sent {"connection_id":190603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:54:20] local.INFO: TCP Data received {"connection_id":193288,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:20] local.INFO: Processing buffer {"connection_id":193288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:20] local.INFO: IMEI packet received {"connection_id":193288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":193288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:54:25] local.INFO: TCP Data received {"connection_id":193288,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:25] local.INFO: Processing buffer {"connection_id":193288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:54:25] local.INFO: IMEI packet received {"connection_id":193288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":193288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:54:27] local.INFO: TCP Data received {"connection_id":193288,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5c2c08012c4649c009f5b8d0021d00c12a..."} 
[2026-09-23 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5c2c08012c4649c009f5b8d0021d00c12a..."} 
[2026-09-23 13:54:27] local.INFO: Processing buffer {"connection_id":193288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5c2c08012c4649c009f5b8d0021d00c12a..."} 
[2026-09-23 13:54:27] local.INFO: Packet analysis {"connection_id":193288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:54:27] local.INFO: Extracted packet for processing {"connection_id":193288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":742803904,"raw_latitude":167098576,"longitude_deg":74.2803904,"latitude_deg":16.7098576,"altitude":541,"angle":193,"satellites":42,"speed":40,"hex_longitude":"2c4649c0","hex_latitude":"09f5b8d0","is_valid_coordinates":true} 
[2026-09-23 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:54:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-23 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,200,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-23 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790151765000,"timestamp_ms":1790151765000,"timestamp_seconds":1790151765,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5c2c08"} 
[2026-09-23 13:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"200":0,"19":59392,"24":40,"16":3605341577150464},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,19,24,16]} 
[2026-09-23 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":59392,"description":"Unknown IO ID 19"} 
[2026-09-23 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"gsm_signal":0,"unknown_19":59392,"ignition":40,"odometer":null}} 
[2026-09-23 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":193288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:27] local.INFO: GPS data processed {"connection_id":193288,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:27] local.INFO: Acknowledgment sent {"connection_id":193288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:54:30] local.INFO: TCP Data received {"connection_id":193288,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5c7e10012c46374009f56f60021b00c229..."} 
[2026-09-23 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5c7e10012c46374009f56f60021b00c229..."} 
[2026-09-23 13:54:30] local.INFO: Processing buffer {"connection_id":193288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5c7e10012c46374009f56f60021b00c229..."} 
[2026-09-23 13:54:30] local.INFO: Packet analysis {"connection_id":193288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:54:30] local.INFO: Extracted packet for processing {"connection_id":193288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:54:30] local.INFO: GPS Element Parsed {"raw_longitude":742799168,"raw_latitude":167079776,"longitude_deg":74.2799168,"latitude_deg":16.7079776,"altitude":539,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2c463740","hex_latitude":"09f56f60","is_valid_coordinates":true} 
[2026-09-23 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278851840001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5064790404964601858,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790151786000,"timestamp_ms":1790151786000,"timestamp_seconds":1790151786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5c7e10"} 
[2026-09-23 13:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:54: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-09-23 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 13:54:30] 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-09-23 13:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278851840001,"66":28376,"255":206,"37":24064,"24":0,"16":3605341577150464,"44":5064790404964601858},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,37,24,16,44]} 
[2026-09-23 13:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278851840001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-23 13:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5064790404964601858,"description":"Unknown IO ID 44"} 
[2026-09-23 13:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278851840001,"power":28376,"unknown_255":206,"unknown_37":24064,"ignition":0,"odometer":null,"unknown_44":5064790404964601858}} 
[2026-09-23 13:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":193288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:30] local.INFO: GPS data processed {"connection_id":193288,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:30] local.INFO: Acknowledgment sent {"connection_id":193288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:54:31] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:31] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:31] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:54:36] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:36] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:54:36] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:54:37] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:37] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:54:37] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:37] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 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-09-23 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:37] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:37] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:54:39] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bce48012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bce48012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:39] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bce48012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:54:39] local.INFO: Packet analysis {"connection_id":191943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:39] local.INFO: Extracted packet for processing {"connection_id":191943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278840064001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790151741000,"timestamp_ms":1790151741000,"timestamp_seconds":1790151741,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bce48"} 
[2026-09-23 13:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:54: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-09-23 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:54:39] 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-09-23 13: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-09-23 13:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278840064001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278840064001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:54:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278840064001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":191943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:54:39] local.INFO: GPS data processed {"connection_id":191943,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:54:39] local.INFO: Acknowledgment sent {"connection_id":191943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:02] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:02] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:02] local.INFO: IMEI packet received {"connection_id":190418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":190418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:55:04] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:04] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:04] local.INFO: IMEI packet received {"connection_id":190418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":190418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:55:04] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5c2050012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5c2050012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:55:04] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5c2050012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:55:04] local.INFO: Packet analysis {"connection_id":190418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:04] local.INFO: Extracted packet for processing {"connection_id":190418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278845696001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790151762000,"timestamp_ms":1790151762000,"timestamp_seconds":1790151762,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5c2050"} 
[2026-09-23 13:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55: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-09-23 13: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":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445216864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,175,83,24,241,157,16,150,160,120,45,192,88,13,38,10,66,36,208,1,240,58,227,205,4,113,40,185,232,39,239,49,2,80,7,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:55:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074341143642112,"timestamp_seconds":937074341143642.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278845696001,"66":12591,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278845696001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278845696001,"power":12591,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":190418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:05] local.INFO: GPS data processed {"connection_id":190418,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:05] local.INFO: Acknowledgment sent {"connection_id":190418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:07] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5c7640012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5c7640012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:55:07] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5c7640012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:55:07] local.INFO: Packet analysis {"connection_id":190418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:07] local.INFO: Extracted packet for processing {"connection_id":190418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278851072001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790151784000,"timestamp_ms":1790151784000,"timestamp_seconds":1790151784,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5c7640"} 
[2026-09-23 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:07] 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-09-23 13:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278851072001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278851072001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278851072001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":190418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:07] local.INFO: GPS data processed {"connection_id":190418,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:07] local.INFO: Acknowledgment sent {"connection_id":190418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:08] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:08] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:08] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:55:08] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55: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-09-23 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:55: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-09-23 13:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:08] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:08] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:31] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:31] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:31] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:55:36] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:36] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:55:36] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:55:37] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:37] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:55:37] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:55:37] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:55: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-09-23 13:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:37] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:37] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:38] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5cc848012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5cc848012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:55:38] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5cc848012d19b9c0072658e8000d012826..."} 
[2026-09-23 13:55:38] local.INFO: Packet analysis {"connection_id":190418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:38] local.INFO: Extracted packet for processing {"connection_id":190418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278856704001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790151805000,"timestamp_ms":1790151805000,"timestamp_seconds":1790151805,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5cc848"} 
[2026-09-23 13:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445259864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,175,83,24,241,157,16,150,160,32,45,192,88,13,39,10,66,206,38,120,1,240,58,227,205,4,113,208,185,232,239,49,2,80,7,106,85],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:55:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074358323511296,"timestamp_seconds":937074358323511.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278856704001,"66":12602,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278856704001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:38] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278856704001,"power":12602,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":190418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:38] local.INFO: GPS data processed {"connection_id":190418,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:38] local.INFO: Acknowledgment sent {"connection_id":190418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:39] local.INFO: TCP Data received {"connection_id":193289,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: IMEI packet received {"connection_id":193289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 13:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":193289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:55:39] local.INFO: TCP Data received {"connection_id":193289,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:39] local.INFO: IMEI packet received {"connection_id":193289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":193289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:55:44] local.INFO: TCP Data received {"connection_id":193289,"ip":"117.224.136.242","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:44] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 13:55:44] local.INFO: IMEI packet received {"connection_id":193289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 13:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":193289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:55:46] local.INFO: TCP Data received {"connection_id":193289,"ip":"117.224.136.242","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5cd018012c46234009f51f20021800c12a..."} 
[2026-09-23 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5cd018012c46234009f51f20021800c12a..."} 
[2026-09-23 13:55:46] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5cd018012c46234009f51f20021800c12a..."} 
[2026-09-23 13:55:46] local.INFO: Packet analysis {"connection_id":193289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:46] local.INFO: Extracted packet for processing {"connection_id":193289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5c"} 
[2026-09-23 13:55:46] local.INFO: GPS Element Parsed {"raw_longitude":742794048,"raw_latitude":167059232,"longitude_deg":74.2794048,"latitude_deg":16.7059232,"altitude":536,"angle":193,"satellites":42,"speed":0,"hex_longitude":"2c462340","hex_latitude":"09f51f20","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278857216001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5059583117890641922,"note":"Value kept but may cause issues"} 
[2026-09-23 13:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790151807000,"timestamp_ms":1790151807000,"timestamp_seconds":1790151807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5cd018"} 
[2026-09-23 13:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 13:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 13:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.136.242","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 13:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 13:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278857216001,"66":28430,"175":206,"19":59392,"24":0,"16":3605341577150464,"44":5059583117890641922},"client_ip":"117.224.136.242","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,44]} 
[2026-09-23 13:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 13:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 13:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278857216001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:55:46] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:55:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":59392,"description":"Unknown IO ID 19"} 
[2026-09-23 13:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":5059583117890641922,"description":"Unknown IO ID 44"} 
[2026-09-23 13:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278857216001,"power":28430,"unknown_175":206,"unknown_19":59392,"ignition":0,"odometer":null,"unknown_44":5059583117890641922}} 
[2026-09-23 13:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":193289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:55:46] local.INFO: GPS data processed {"connection_id":193289,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:55:46] local.INFO: Acknowledgment sent {"connection_id":193289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:55:57] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:57] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:55:57] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:56:03] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:03] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:03] local.INFO: IMEI packet received {"connection_id":190420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":190420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:56:04] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5d1a50012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5d1a50012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:04] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5d1a50012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:04] local.INFO: Packet analysis {"connection_id":190420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:56:04] local.INFO: Extracted packet for processing {"connection_id":190420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278862080001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790151826000,"timestamp_ms":1790151826000,"timestamp_seconds":1790151826,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5d1a50"} 
[2026-09-23 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-09-23 13:56: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-09-23 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 13:56:04] 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-09-23 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-09-23 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-09-23 13:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278862080001,"66":12591,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278862080001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:56:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278862080001,"power":12591,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":190420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:56:05] local.INFO: GPS data processed {"connection_id":190420,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:56:05] local.INFO: Acknowledgment sent {"connection_id":190420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:56:08] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:08] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:08] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:56:08] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:56:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:56: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-09-23 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:56: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-09-23 13:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:56:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:56:08] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:56:08] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:56:31] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:31] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:31] local.INFO: IMEI packet received {"connection_id":190421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":190421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:56:36] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:36] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:56:36] local.INFO: IMEI packet received {"connection_id":190421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":190421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:56:37] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:37] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:56:37] local.INFO: Packet analysis {"connection_id":190421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:56:37] local.INFO: Extracted packet for processing {"connection_id":190421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13: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-09-23 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:56:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":190421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:56:37] local.INFO: GPS data processed {"connection_id":190421,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:56:37] local.INFO: Acknowledgment sent {"connection_id":190421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:56:40] local.INFO: TCP Data received {"connection_id":190420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5d7040012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5d7040012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:40] local.INFO: Processing buffer {"connection_id":190420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5d7040012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:56:40] local.INFO: Packet analysis {"connection_id":190420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:56:40] local.INFO: Extracted packet for processing {"connection_id":190420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278867456001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790151848000,"timestamp_ms":1790151848000,"timestamp_seconds":1790151848,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5d7040"} 
[2026-09-23 13:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:56: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-09-23 13:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 13:56: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-09-23 13: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-09-23 13:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278867456001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278867456001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:56:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278867456001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":190420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:56:40] local.INFO: GPS data processed {"connection_id":190420,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:56:40] local.INFO: Acknowledgment sent {"connection_id":190420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:56:57] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:57] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:56:57] local.INFO: IMEI packet received {"connection_id":190604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":190604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:57:02] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:02] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:02] local.INFO: IMEI packet received {"connection_id":190604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:57:03] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5dc248012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5dc248012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:57:03] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5dc248012d19b9c0072658e8000d012827..."} 
[2026-09-23 13:57:03] local.INFO: Packet analysis {"connection_id":190604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:57:03] local.INFO: Extracted packet for processing {"connection_id":190604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5d"} 
[2026-09-23 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278873088001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790151869000,"timestamp_ms":1790151869000,"timestamp_seconds":1790151869,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5dc248"} 
[2026-09-23 13:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445323864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":18433,"corrected_to":0} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,175,83,24,241,157,16,150,160,26,45,192,88,13,39,10,66,200,38,118,1,240,14,227,205,4,113,206,185,232,239,49,2,80,7,106,84],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":200,"original":18433,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:57:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074345438609408,"timestamp_seconds":937074345438609.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278873088001,"66":12548,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278873088001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:57:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278873088001,"power":12548,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":190604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:57:03] local.INFO: GPS data processed {"connection_id":190604,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:57:03] local.INFO: Acknowledgment sent {"connection_id":190604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:57:08] local.INFO: TCP Data received {"connection_id":190421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:08] local.INFO: Processing buffer {"connection_id":190421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:08] local.INFO: Packet analysis {"connection_id":190421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:57:08] local.INFO: Extracted packet for processing {"connection_id":190421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 13:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:57: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-09-23 13:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:57: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-09-23 13:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:57:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:57:08] local.INFO: GPS data processed {"connection_id":190421,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:57:08] local.INFO: Acknowledgment sent {"connection_id":190421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:57:31] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:31] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:31] local.INFO: IMEI packet received {"connection_id":193290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":193290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:57:34] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5e1450012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5e1450012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:57:34] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5e1450012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:57:34] local.INFO: Packet analysis {"connection_id":190604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:57:34] local.INFO: Extracted packet for processing {"connection_id":190604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278878464001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790151890000,"timestamp_ms":1790151890000,"timestamp_seconds":1790151890,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5e1450"} 
[2026-09-23 13:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445345864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":18433,"corrected_to":0} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,175,83,24,241,157,16,150,160,112,45,192,88,13,39,10,66,26,200,1,240,58,227,205,38,4,113,32,185,232,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":200,"original":18433,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:57:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074345438609408,"timestamp_seconds":937074345438609.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278878464001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278878464001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:57:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278878464001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":190604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:57:35] local.INFO: GPS data processed {"connection_id":190604,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:57:35] local.INFO: Acknowledgment sent {"connection_id":190604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:57:36] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:36] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:57:36] local.INFO: IMEI packet received {"connection_id":193290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":193290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:57:37] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:37] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5bc290012d4160c006cb46f0002001332d..."} 
[2026-09-23 13:57:37] local.INFO: Packet analysis {"connection_id":193290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:57:37] local.INFO: Extracted packet for processing {"connection_id":193290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5b"} 
[2026-09-23 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":45,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278767872001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790151738000,"timestamp_ms":1790151738000,"timestamp_seconds":1790151738,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5bc290"} 
[2026-09-23 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-09-23 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 13:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:57: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-09-23 13:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278767872001,"66":25962,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278767872001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:57:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278767872001,"power":25962,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":193290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:57:37] local.INFO: GPS data processed {"connection_id":193290,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:57:37] local.INFO: Acknowledgment sent {"connection_id":193290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:57:57] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:57] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:57:57] local.INFO: IMEI packet received {"connection_id":190422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":190422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:58:05] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:58:05] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:58:05] local.INFO: IMEI packet received {"connection_id":190422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":190422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:58:08] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:08] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:08] local.INFO: Packet analysis {"connection_id":193290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:58:08] local.INFO: Extracted packet for processing {"connection_id":193290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 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-09-23 13:58: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-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 13:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 13:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:58: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-09-23 13:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:58:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":193290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:58:08] local.INFO: GPS data processed {"connection_id":193290,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:58:08] local.INFO: Acknowledgment sent {"connection_id":193290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:58:09] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5e6658012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5e6658012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:09] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5e6658012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:09] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:58:09] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278883840001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790151911000,"timestamp_ms":1790151911000,"timestamp_seconds":1790151911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5e6658"} 
[2026-09-23 13:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445366864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:09] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,175,83,24,241,157,16,150,160,194,45,192,88,13,39,10,66,112,26,1,240,47,227,205,38,4,113,118,185,232,42,239,49,2,80,7,106,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:58:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074358323511296,"timestamp_seconds":937074358323511.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278883840001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278883840001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:58:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278883840001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:58:09] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:58:09] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:58:11] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5eb860012d19b9c0072658e8000d012828..."} 
[2026-09-23 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5eb860012d19b9c0072658e8000d012828..."} 
[2026-09-23 13:58:11] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5eb860012d19b9c0072658e8000d012828..."} 
[2026-09-23 13:58:11] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:58:11] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5e"} 
[2026-09-23 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278889216001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790151932000,"timestamp_ms":1790151932000,"timestamp_seconds":1790151932,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5eb860"} 
[2026-09-23 13:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445388864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:58:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1208036633,"corrected_to":0} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,175,83,24,241,157,16,150,160,20,45,192,88,13,42,10,66,194,39,112,1,240,14,227,205,38,4,113,200,185,232,239,49,2,80,7,106,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0},{"io_id":200,"original":1208036633,"validated":0}]} 
[2026-09-23 13:58:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074358323511296,"timestamp_seconds":937074358323511.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278889216001,"66":12558,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278889216001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:58:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278889216001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:58:11] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:58:11] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:58:31] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:31] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:31] local.INFO: IMEI packet received {"connection_id":191944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":191944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:58:34] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:34] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:34] local.INFO: IMEI packet received {"connection_id":193291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 13:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":193291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:58:37] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:37] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:58:37] local.INFO: IMEI packet received {"connection_id":191944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":191944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:58:38] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:38] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:58:38] local.INFO: Packet analysis {"connection_id":191944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:58:38] local.INFO: Extracted packet for processing {"connection_id":191944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 13:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:58: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-09-23 13: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 13:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:58:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":191944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:58:38] local.INFO: GPS data processed {"connection_id":191944,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:58:38] local.INFO: Acknowledgment sent {"connection_id":191944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:58:39] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:39] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 13:58:39] local.INFO: IMEI packet received {"connection_id":193291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 13:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":193291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:58:40] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-23 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-23 13:58:40] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-23 13:58:40] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 13:58:40] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 13:58: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-09-23 13:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:40] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-23 13:58:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:58:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 13:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-23 13:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-23 13:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 13:58:40] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 13:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 13:58:40] local.ERROR: GPS data processing failed {"connection_id":193291,"error":"No valid data to process"} 
[2026-09-23 13:58:40] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 13:58:42] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5f0a68012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5f0a68012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:42] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5f0a68012d19b9c0072658e8000d01282a..."} 
[2026-09-23 13:58:42] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:58:42] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278894592001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790151953000,"timestamp_ms":1790151953000,"timestamp_seconds":1790151953,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5f0a68"} 
[2026-09-23 13:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445409864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 13:58:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,83,24,241,157,16,150,160,102,45,192,88,13,42,10,66,20,194,1,240,4,227,205,38,113,26,185,232,39,239,49,2,80,7,106,85,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:58:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074349733576704,"timestamp_seconds":937074349733576.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 13:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278894592001,"66":12548,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278894592001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:58:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278894592001,"power":12548,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:58:42] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:58:42] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:01] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:01] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:01] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:59:01] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:02] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:02] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:59:02] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5f5c70012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5f5c70012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:02] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5f5c70012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:02] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:02] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278899968001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790151974000,"timestamp_ms":1790151974000,"timestamp_seconds":1790151974,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5f5c70"} 
[2026-09-23 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-09-23 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445430864,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,83,24,241,157,16,150,160,184,45,192,88,13,40,10,66,102,42,20,1,240,14,227,205,38,4,113,112,185,232,39,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 13:59:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074358323511296,"timestamp_seconds":937074358323511.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278899968001,"66":12526,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278899968001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278899968001,"power":12526,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:02] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:02] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:07] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5faa90012d19b9c0072658e8000d01282c..."} 
[2026-09-23 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5faa90012d19b9c0072658e8000d01282c..."} 
[2026-09-23 13:59:07] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5faa90012d19b9c0072658e8000d01282c..."} 
[2026-09-23 13:59:07] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:07] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278905344001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790151994000,"timestamp_ms":1790151994000,"timestamp_seconds":1790151994,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5faa90"} 
[2026-09-23 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278905344001,"66":12504,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278905344001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278905344001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:07] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:07] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:08] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:08] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:08] local.INFO: Packet analysis {"connection_id":191944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:08] local.INFO: Extracted packet for processing {"connection_id":191944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 13:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59: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-09-23 13: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59: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-09-23 13:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":191944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:08] local.INFO: GPS data processed {"connection_id":191944,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:08] local.INFO: Acknowledgment sent {"connection_id":191944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:11] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6196c0012d7e018005d510500009000009..."} 
[2026-09-23 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6196c0012d7e018005d510500009000009..."} 
[2026-09-23 13:59:11] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6196c0012d7e018005d510500009000009..."} 
[2026-09-23 13:59:11] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 13:59:11] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97849424,"longitude_deg":76.323264,"latitude_deg":9.7849424,"altitude":9,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d7e0180","hex_latitude":"05d51050","is_valid_coordinates":true} 
[2026-09-23 13:59:11] 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-09-23 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790152120000,"timestamp_ms":1790152120000,"timestamp_seconds":1790152120,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6196c0"} 
[2026-09-23 13:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 13:59: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-09-23 13:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"111":206,"85":15104,"24":0,"16":135586873379651584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16]} 
[2026-09-23 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 13:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-23 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:11] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:11] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:36] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:36] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:36] local.INFO: IMEI packet received {"connection_id":190605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 13:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":190605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:59:38] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd5ffc98012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd5ffc98012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:38] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd5ffc98012d19b9c0072658e8000d012829..."} 
[2026-09-23 13:59:38] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:38] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd5f"} 
[2026-09-23 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278910464001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790152015000,"timestamp_ms":1790152015000,"timestamp_seconds":1790152015,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd5ffc98"} 
[2026-09-23 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278910464001,"66":12504,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278910464001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 13:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278910464001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:38] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:38] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:41] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:41] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 13:59:41] local.INFO: IMEI packet received {"connection_id":190605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 13:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":190605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 13:59:42] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 13:59:42] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 13:59:42] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 13:59:42] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849496,"longitude_deg":76.3232576,"latitude_deg":9.7849496,"altitude":5,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51098","is_valid_coordinates":true} 
[2026-09-23 13:59: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-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278942720001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293438464,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] 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-09-23 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790152136000,"timestamp_ms":1790152136000,"timestamp_seconds":1790152136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd61d540"} 
[2026-09-23 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 13:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278942720001,"66":12385,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9079679086293438464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278942720001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293438464,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278942720001,"power":12385,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293438464}} 
[2026-09-23 13:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:42] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:42] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:42] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:42] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:42] local.INFO: Packet analysis {"connection_id":190605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:42] local.INFO: Extracted packet for processing {"connection_id":190605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":190605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:42] local.INFO: GPS data processed {"connection_id":190605,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:42] local.INFO: Acknowledgment sent {"connection_id":190605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:47] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:47] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 13:59:47] local.INFO: Packet analysis {"connection_id":190605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:47] local.INFO: Extracted packet for processing {"connection_id":190605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 13: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-09-23 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 13:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 13:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 13:59: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-09-23 13: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 13:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 13: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-09-23 13:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 13:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 13:59:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 13:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":190605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 13:59:47] local.INFO: GPS data processed {"connection_id":190605,"processed":1,"errors":0,"total":1} 
[2026-09-23 13:59:47] local.INFO: Acknowledgment sent {"connection_id":190605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 13:59:57] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:57] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:57] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 13:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 13:59:58] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:58] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 13:59:58] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:00:02] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:00:02] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:00:02] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:00:03] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd604ea0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd604ea0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:00:03] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd604ea0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:00:03] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:03] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278915840001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790152036000,"timestamp_ms":1790152036000,"timestamp_seconds":1790152036,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd604ea0"} 
[2026-09-23 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:00:03] 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-09-23 14: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-09-23 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278915840001,"66":12558,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278915840001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:00:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278915840001,"power":12558,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:00:03] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:00:03] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:00:12] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 14:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 14:00:12] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd61d540012d7e014005d51098000500000e..."} 
[2026-09-23 14:00:12] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 14:00:12] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd61"} 
[2026-09-23 14:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849496,"longitude_deg":76.3232576,"latitude_deg":9.7849496,"altitude":5,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51098","is_valid_coordinates":true} 
[2026-09-23 14:00:12] 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-09-23 14:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278946816001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079608717549279232,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:12] 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-09-23 14:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790152136000,"timestamp_ms":1790152136000,"timestamp_seconds":1790152136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd61d540"} 
[2026-09-23 14:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:00:12] 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-09-23 14:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 14:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278946816001,"66":12385,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9079608717549279232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278946816001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:00:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079608717549279232,"description":"Unknown IO ID 45"} 
[2026-09-23 14:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278946816001,"power":12385,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079608717549279232}} 
[2026-09-23 14:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:00:12] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:00:12] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:00:31] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:31] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:31] local.INFO: IMEI packet received {"connection_id":191946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":191946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:00:36] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:36] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:00:36] local.INFO: IMEI packet received {"connection_id":191946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":191946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:00:37] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:00:37] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:00:37] local.INFO: Packet analysis {"connection_id":191946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:37] local.INFO: Extracted packet for processing {"connection_id":191946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 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-09-23 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:00: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-09-23 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:00:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":191946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:00:37] local.INFO: GPS data processed {"connection_id":191946,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:00:37] local.INFO: Acknowledgment sent {"connection_id":191946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:00:38] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd60a0a8012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd60a0a8012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:00:38] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd60a0a8012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:00:38] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:38] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921216001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790152057000,"timestamp_ms":1790152057000,"timestamp_seconds":1790152057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd60a0a8"} 
[2026-09-23 14:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3445515864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249832840529336552,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,232,83,24,241,157,16,150,160,252,45,192,88,13,41,10,66,170,44,92,1,240,238,227,205,38,4,113,184,185,40,239,49,175,2,80,7,106,85,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-23 14:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074354028544000,"timestamp_seconds":937074354028544,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921216001,"66":12504,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921216001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:00:38] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921216001,"power":12504,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:00:38] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:00:38] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:00:43] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd622748012d7e024005d51050000500000f..."} 
[2026-09-23 14:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd622748012d7e024005d51050000500000f..."} 
[2026-09-23 14:00:43] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd622748012d7e024005d51050000500000f..."} 
[2026-09-23 14:00:43] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:00:43] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849424,"longitude_deg":76.3232832,"latitude_deg":9.7849424,"altitude":5,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51050","is_valid_coordinates":true} 
[2026-09-23 14:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278946816001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586886264553472,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079608717549279232,"note":"Value kept but may cause issues"} 
[2026-09-23 14:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790152157000,"timestamp_ms":1790152157000,"timestamp_seconds":1790152157,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd622748"} 
[2026-09-23 14:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:00:43] 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-09-23 14:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 14:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278946816001,"66":12156,"111":206,"85":15104,"24":0,"16":135586886264553472,"45":9079608717549279232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278946816001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:00:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586886264553472,"km_value":135586886264553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079608717549279232,"description":"Unknown IO ID 45"} 
[2026-09-23 14:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278946816001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079608717549279232}} 
[2026-09-23 14:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:00:43] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:00:43] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:01:08] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:08] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:08] local.INFO: Packet analysis {"connection_id":191946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:01:08] local.INFO: Extracted packet for processing {"connection_id":191946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 14:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:01: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-09-23 14:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 14:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:01: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-09-23 14:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":191946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:01:08] local.INFO: GPS data processed {"connection_id":191946,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:01:08] local.INFO: Acknowledgment sent {"connection_id":191946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:01:14] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd627950012d7e028005d510b00002000012..."} 
[2026-09-23 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd627950012d7e028005d510b00002000012..."} 
[2026-09-23 14:01:14] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd627950012d7e028005d510b00002000012..."} 
[2026-09-23 14:01:14] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:01:14] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849520,"longitude_deg":76.3232896,"latitude_deg":9.784952,"altitude":2,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278952192001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586899149455360,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525971456,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790152178000,"timestamp_ms":1790152178000,"timestamp_seconds":1790152178,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd627950"} 
[2026-09-23 14:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:01:14] 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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:01:14] 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-09-23 14: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-09-23 14:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278952192001,"66":12189,"111":206,"85":15104,"24":0,"16":135586899149455360,"45":9079890192525971456},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278952192001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:01:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586899149455360,"km_value":135586899149455.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525971456,"description":"Unknown IO ID 45"} 
[2026-09-23 14:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278952192001,"power":12189,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525971456}} 
[2026-09-23 14:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:01:14] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:01:14] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:01:24] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:01:24] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:01:24] local.INFO: IMEI packet received {"connection_id":190606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":190606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:01:25] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:01:25] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:01:25] local.INFO: IMEI packet received {"connection_id":190606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":190606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:01:31] local.INFO: TCP Data received {"connection_id":190607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:31] local.INFO: Processing buffer {"connection_id":190607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:31] local.INFO: IMEI packet received {"connection_id":190607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":190607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:01:36] local.INFO: TCP Data received {"connection_id":190607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:36] local.INFO: Processing buffer {"connection_id":190607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:01:36] local.INFO: IMEI packet received {"connection_id":190607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:01:37] local.INFO: TCP Data received {"connection_id":190607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:37] local.INFO: Processing buffer {"connection_id":190607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:01:37] local.INFO: Packet analysis {"connection_id":190607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:01:37] local.INFO: Extracted packet for processing {"connection_id":190607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 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-09-23 14:01: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-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:01:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:01:37] local.INFO: GPS data processed {"connection_id":190607,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:01:37] local.INFO: Acknowledgment sent {"connection_id":190607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:01:45] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd62cb58012d7e02c005d511000000000012..."} 
[2026-09-23 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd62cb58012d7e02c005d511000000000012..."} 
[2026-09-23 14:01:45] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd62cb58012d7e02c005d511000000000012..."} 
[2026-09-23 14:01:45] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:01:45] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd62"} 
[2026-09-23 14:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849600,"longitude_deg":76.323296,"latitude_deg":9.78496,"altitude":0,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51100","is_valid_coordinates":true} 
[2026-09-23 14:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278957568001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586912034357248,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270173696,"note":"Value kept but may cause issues"} 
[2026-09-23 14:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790152199000,"timestamp_ms":1790152199000,"timestamp_seconds":1790152199,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd62cb58"} 
[2026-09-23 14:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-23 14:01:45] 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-09-23 14:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278957568001,"66":12135,"111":206,"85":15104,"24":0,"16":135586912034357248,"45":9079960561270173696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278957568001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:01:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586912034357248,"km_value":135586912034357.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270173696,"description":"Unknown IO ID 45"} 
[2026-09-23 14:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278957568001,"power":12135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270173696}} 
[2026-09-23 14:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:01:45] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:01:45] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:02:08] local.INFO: TCP Data received {"connection_id":190607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:08] local.INFO: Processing buffer {"connection_id":190607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:08] local.INFO: Packet analysis {"connection_id":190607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:02:08] local.INFO: Extracted packet for processing {"connection_id":190607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 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-09-23 14:02: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-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 14:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:02: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-09-23 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:02:08] local.INFO: GPS data processed {"connection_id":190607,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:02:08] local.INFO: Acknowledgment sent {"connection_id":190607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:02:16] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd631d60012d7e02c005d511080000000014..."} 
[2026-09-23 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd631d60012d7e02c005d511080000000014..."} 
[2026-09-23 14:02:16] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd631d60012d7e02c005d511080000000014..."} 
[2026-09-23 14:02:16] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:02:16] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849608,"longitude_deg":76.323296,"latitude_deg":9.7849608,"altitude":0,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51108","is_valid_coordinates":true} 
[2026-09-23 14:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278962944001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586916329324544,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014371840,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:16] 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-09-23 14:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790152220000,"timestamp_ms":1790152220000,"timestamp_seconds":1790152220,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd631d60"} 
[2026-09-23 14:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 14:02:16] 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-09-23 14:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278962944001,"66":12156,"111":206,"85":15104,"24":0,"16":135586916329324544,"45":9080030930014371840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278962944001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:02:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586916329324544,"km_value":135586916329324.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014371840,"description":"Unknown IO ID 45"} 
[2026-09-23 14:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278962944001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014371840}} 
[2026-09-23 14:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:02:16] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:02:16] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:02:31] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:31] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:31] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:02:36] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:36] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:02:36] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:02:37] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:37] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd605a58012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:02:37] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:02:37] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd60"} 
[2026-09-23 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152039000,"timestamp_ms":1790152039000,"timestamp_seconds":1790152039,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd605a58"} 
[2026-09-23 14:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 14:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:02: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-09-23 14:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278844928001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:02:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278844928001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:02:37] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:02:37] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:02:47] local.INFO: TCP Data received {"connection_id":193291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd636f68012d7e028005d511180003000014..."} 
[2026-09-23 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd636f68012d7e028005d511180003000014..."} 
[2026-09-23 14:02:47] local.INFO: Processing buffer {"connection_id":193291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd636f68012d7e028005d511180003000014..."} 
[2026-09-23 14:02:47] local.INFO: Packet analysis {"connection_id":193291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:02:47] local.INFO: Extracted packet for processing {"connection_id":193291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849624,"longitude_deg":76.3232896,"latitude_deg":9.7849624,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51118","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278968320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014373888,"note":"Value kept but may cause issues"} 
[2026-09-23 14:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790152241000,"timestamp_ms":1790152241000,"timestamp_seconds":1790152241,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd636f68"} 
[2026-09-23 14:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:02:47] 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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278968320001,"66":12135,"111":206,"85":15104,"24":0,"16":135586924919259136,"45":9080030930014373888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278968320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:02:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586924919259136,"km_value":135586924919259.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014373888,"description":"Unknown IO ID 45"} 
[2026-09-23 14:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278968320001,"power":12135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014373888}} 
[2026-09-23 14:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":193291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:02:47] local.INFO: GPS data processed {"connection_id":193291,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:02:47] local.INFO: Acknowledgment sent {"connection_id":193291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:03:08] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:08] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:08] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:08] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:03: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-09-23 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:03: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-09-23 14: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-09-23 14:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:03: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-09-23 14:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:03:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:03:08] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:03:08] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:03:14] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:14] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:14] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:03:18] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:18] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:03:18] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:03:19] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd63c170012d7e028005d511080003000015..."} 
[2026-09-23 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd63c170012d7e028005d511080003000015..."} 
[2026-09-23 14:03:19] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd63c170012d7e028005d511080003000015..."} 
[2026-09-23 14:03:19] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:03:19] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd63"} 
[2026-09-23 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849608,"longitude_deg":76.3232896,"latitude_deg":9.7849608,"altitude":3,"angle":0,"satellites":21,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51108","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278973696001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586929214226432,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270200320,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152262000,"timestamp_ms":1790152262000,"timestamp_seconds":1790152262,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd63c170"} 
[2026-09-23 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:03:19] 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-09-23 14: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 14:03:19] 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-09-23 14: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-09-23 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278973696001,"66":12135,"111":206,"85":15104,"24":0,"16":135586929214226432,"45":9079960561270200320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278973696001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586929214226432,"km_value":135586929214226.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270200320,"description":"Unknown IO ID 45"} 
[2026-09-23 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278973696001,"power":12135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270200320}} 
[2026-09-23 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:03:19] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:03:19] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:03:37] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:37] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:37] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:03:41] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:41] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:03:41] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:03:42] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:42] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:42] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:42] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:03:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:03:42] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:03:42] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:03:46] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:46] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:03:46] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:46] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:03:46] 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-09-23 14:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:03:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:03:46] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:03:46] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:03:50] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd641378012d7e028005d511a80001000017..."} 
[2026-09-23 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd641378012d7e028005d511a80001000017..."} 
[2026-09-23 14:03:50] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd641378012d7e028005d511a80001000017..."} 
[2026-09-23 14:03:50] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:50] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849768,"longitude_deg":76.3232896,"latitude_deg":9.7849768,"altitude":1,"angle":0,"satellites":23,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d511a8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278979072001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586937804161024,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270196224,"note":"Value kept but may cause issues"} 
[2026-09-23 14:03:50] 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-09-23 14:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790152283000,"timestamp_ms":1790152283000,"timestamp_seconds":1790152283,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd641378"} 
[2026-09-23 14:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:03:50] 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-09-23 14: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 14:03: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-09-23 14: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-09-23 14:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278979072001,"66":12156,"111":206,"85":15104,"24":0,"16":135586937804161024,"45":9079960561270196224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278979072001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:03:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586937804161024,"km_value":135586937804161.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270196224,"description":"Unknown IO ID 45"} 
[2026-09-23 14:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278979072001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270196224}} 
[2026-09-23 14:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:03:50] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:03:50] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:04:19] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:04:19] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:04:19] local.INFO: IMEI packet received {"connection_id":190427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":190427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:04:21] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd646580012d7e028005d511980001000017..."} 
[2026-09-23 14:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd646580012d7e028005d511980001000017..."} 
[2026-09-23 14:04:21] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd646580012d7e028005d511980001000017..."} 
[2026-09-23 14:04:21] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:21] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849752,"longitude_deg":76.3232896,"latitude_deg":9.7849752,"altitude":1,"angle":0,"satellites":23,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51198","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278984448001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586946394095616,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270237184,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:21] 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-09-23 14:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790152304000,"timestamp_ms":1790152304000,"timestamp_seconds":1790152304,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd646580"} 
[2026-09-23 14:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:04:21] 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-09-23 14: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-09-23 14:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278984448001,"66":12156,"111":206,"85":15104,"24":0,"16":135586946394095616,"45":9079960561270237184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278984448001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:04:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586946394095616,"km_value":135586946394095.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270237184,"description":"Unknown IO ID 45"} 
[2026-09-23 14:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278984448001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270237184}} 
[2026-09-23 14:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:04:21] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:04:21] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:04:31] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:31] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:31] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:04:36] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:36] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:04:36] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:04:37] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:04:37] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:04:37] local.INFO: Packet analysis {"connection_id":191949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:37] local.INFO: Extracted packet for processing {"connection_id":191949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 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-09-23 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:04: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-09-23 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-09-23 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-09-23 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:04: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-09-23 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:04:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":191949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:04:37] local.INFO: GPS data processed {"connection_id":191949,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:04:37] local.INFO: Acknowledgment sent {"connection_id":191949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:04:52] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64b788012d7e024005d510f80001000017..."} 
[2026-09-23 14:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64b788012d7e024005d510f80001000017..."} 
[2026-09-23 14:04:52] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64b788012d7e024005d510f80001000017..."} 
[2026-09-23 14:04:52] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:52] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:04:52] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849592,"longitude_deg":76.3232832,"latitude_deg":9.7849592,"altitude":1,"angle":0,"satellites":23,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278989824001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586963573964800,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270233088,"note":"Value kept but may cause issues"} 
[2026-09-23 14:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790152325000,"timestamp_ms":1790152325000,"timestamp_seconds":1790152325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64b788"} 
[2026-09-23 14:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:04: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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278989824001,"66":12156,"111":206,"85":15104,"24":0,"16":135586963573964800,"45":9079960561270233088},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278989824001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586963573964800,"km_value":135586963573964.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270233088,"description":"Unknown IO ID 45"} 
[2026-09-23 14:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278989824001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270233088}} 
[2026-09-23 14:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:04:52] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:04:52] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:05:08] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:08] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:08] local.INFO: Packet analysis {"connection_id":191949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:05:08] local.INFO: Extracted packet for processing {"connection_id":191949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:05: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-09-23 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:05: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-09-23 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:05: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-09-23 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:05:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":191949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:05:08] local.INFO: GPS data processed {"connection_id":191949,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:05:08] local.INFO: Acknowledgment sent {"connection_id":191949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:05:13] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:13] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:13] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:05:16] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:16] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:16] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:05:19] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:19] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:05:19] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:05:19] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd650990012d7e024005d510880000000018..."} 
[2026-09-23 14:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd650990012d7e024005d510880000000018..."} 
[2026-09-23 14:05:20] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd650990012d7e024005d510880000000018..."} 
[2026-09-23 14:05:20] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:05:20] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849480,"longitude_deg":76.3232832,"latitude_deg":9.784948,"altitude":0,"angle":0,"satellites":24,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51088","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278995200001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586972163899392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192526014464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:20] 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-09-23 14:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790152346000,"timestamp_ms":1790152346000,"timestamp_seconds":1790152346,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd650990"} 
[2026-09-23 14:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:05:20] 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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278995200001,"66":12156,"111":206,"85":15104,"24":0,"16":135586972163899392,"45":9079890192526014464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278995200001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:05:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586972163899392,"km_value":135586972163899.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192526014464,"description":"Unknown IO ID 45"} 
[2026-09-23 14:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278995200001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192526014464}} 
[2026-09-23 14:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:05:20] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:05:20] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:05:31] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:31] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:31] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:05:36] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:36] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:05:36] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:05:37] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:37] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:05:37] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:05:37] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:05: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-09-23 14:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:05: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-09-23 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:05:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:05:37] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:05:37] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:05:51] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd655b98012d7e024005d510580000000019..."} 
[2026-09-23 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd655b98012d7e024005d510580000000019..."} 
[2026-09-23 14:05:51] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd655b98012d7e024005d510580000000019..."} 
[2026-09-23 14:05:51] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:05:51] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849432,"longitude_deg":76.3232832,"latitude_deg":9.7849432,"altitude":0,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51058","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279000576001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586993638735872,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525985792,"note":"Value kept but may cause issues"} 
[2026-09-23 14:05:51] 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-09-23 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790152367000,"timestamp_ms":1790152367000,"timestamp_seconds":1790152367,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd655b98"} 
[2026-09-23 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:05:51] 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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:05:51] 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-09-23 14: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-09-23 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279000576001,"66":12113,"111":206,"85":15104,"24":0,"16":135586993638735872,"45":9079890192525985792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279000576001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586993638735872,"km_value":135586993638735.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525985792,"description":"Unknown IO ID 45"} 
[2026-09-23 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279000576001,"power":12113,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525985792}} 
[2026-09-23 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:05:51] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:05:51] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:08] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:08] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:08] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:06:08] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:06:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:06: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-09-23 14:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:06: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-09-23 14:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:06: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-09-23 14:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:06:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:06:08] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:06:08] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:19] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: IMEI packet received {"connection_id":193294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":193294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:06:19] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:19] local.INFO: IMEI packet received {"connection_id":193294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":193294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:06:24] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:24] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:06:24] local.INFO: IMEI packet received {"connection_id":193294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":193294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:06:24] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd65ada0012d7e028005d51020000100001a..."} 
[2026-09-23 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd65ada0012d7e028005d51020000100001a..."} 
[2026-09-23 14:06:24] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd65ada0012d7e028005d51020000100001a..."} 
[2026-09-23 14:06:24] local.INFO: Packet analysis {"connection_id":193294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:06:24] local.INFO: Extracted packet for processing {"connection_id":193294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849376,"longitude_deg":76.3232896,"latitude_deg":9.7849376,"altitude":1,"angle":0,"satellites":26,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51020","is_valid_coordinates":true} 
[2026-09-23 14:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279005952001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587002228670464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525973504,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:24] 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-09-23 14:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790152388000,"timestamp_ms":1790152388000,"timestamp_seconds":1790152388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd65ada0"} 
[2026-09-23 14:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:06:24] 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-09-23 14:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 14:06:24] 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-09-23 14:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279005952001,"66":12189,"254":206,"85":15104,"24":0,"16":135587002228670464,"45":9079890192525973504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279005952001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:06:24] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587002228670464,"km_value":135587002228670.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525973504,"description":"Unknown IO ID 45"} 
[2026-09-23 14:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279005952001,"power":12189,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525973504}} 
[2026-09-23 14:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":193294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:06:25] local.INFO: GPS data processed {"connection_id":193294,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:06:25] local.INFO: Acknowledgment sent {"connection_id":193294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:26] local.INFO: TCP Data received {"connection_id":190430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:26] local.INFO: Processing buffer {"connection_id":190430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:26] local.INFO: IMEI packet received {"connection_id":190430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":190430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:06:27] local.INFO: TCP Data received {"connection_id":190430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6747c8012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6747c8012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:06:27] local.INFO: Processing buffer {"connection_id":190430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6747c8012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:06:27] local.INFO: Packet analysis {"connection_id":190430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:06:27] local.INFO: Extracted packet for processing {"connection_id":190430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:06: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-09-23 14:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279032832001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790152493000,"timestamp_ms":1790152493000,"timestamp_seconds":1790152493,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6747c8"} 
[2026-09-23 14:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 14:06:27] 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-09-23 14:06: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-09-23 14:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279032832001,"66":12537,"185":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279032832001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:06:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279032832001,"power":12537,"unknown_185":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":190430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:06:27] local.INFO: GPS data processed {"connection_id":190430,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:06:27] local.INFO: Acknowledgment sent {"connection_id":190430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:29] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd65ffa8012d7e02c005d51010000300001b..."} 
[2026-09-23 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd65ffa8012d7e02c005d51010000300001b..."} 
[2026-09-23 14:06:29] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd65ffa8012d7e02c005d51010000300001b..."} 
[2026-09-23 14:06:29] local.INFO: Packet analysis {"connection_id":193294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:06:29] local.INFO: Extracted packet for processing {"connection_id":193294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd65"} 
[2026-09-23 14:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849360,"longitude_deg":76.323296,"latitude_deg":9.784936,"altitude":3,"angle":0,"satellites":27,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51010","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279011328001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587019408539648,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270136832,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:29] 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-09-23 14:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790152409000,"timestamp_ms":1790152409000,"timestamp_seconds":1790152409,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd65ffa8"} 
[2026-09-23 14:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-23 14:06:29] 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-09-23 14: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-09-23 14:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279011328001,"66":12156,"254":206,"85":15104,"24":0,"16":135587019408539648,"45":9079960561270136832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279011328001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:06:29] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587019408539648,"km_value":135587019408539.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270136832,"description":"Unknown IO ID 45"} 
[2026-09-23 14:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279011328001,"power":12156,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270136832}} 
[2026-09-23 14:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":193294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:06:29] local.INFO: GPS data processed {"connection_id":193294,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:06:29] local.INFO: Acknowledgment sent {"connection_id":193294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:31] local.INFO: TCP Data received {"connection_id":190608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:31] local.INFO: Processing buffer {"connection_id":190608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:31] local.INFO: IMEI packet received {"connection_id":190608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":190608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:06:36] local.INFO: TCP Data received {"connection_id":190608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:36] local.INFO: Processing buffer {"connection_id":190608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:06:36] local.INFO: IMEI packet received {"connection_id":190608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":190608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:06:37] local.INFO: TCP Data received {"connection_id":190608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:37] local.INFO: Processing buffer {"connection_id":190608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:06:37] local.INFO: Packet analysis {"connection_id":190608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:06:37] local.INFO: Extracted packet for processing {"connection_id":190608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:06: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-09-23 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:06:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":190608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:06:37] local.INFO: GPS data processed {"connection_id":190608,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:06:37] local.INFO: Acknowledgment sent {"connection_id":190608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:06:57] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:57] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:57] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:06:58] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:58] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:06:58] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:07:02] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:02] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:02] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:07:03] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6795e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6795e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:07:03] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6795e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:07:03] local.INFO: Packet analysis {"connection_id":190432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:07:03] local.INFO: Extracted packet for processing {"connection_id":190432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279038208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790152513000,"timestamp_ms":1790152513000,"timestamp_seconds":1790152513,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6795e8"} 
[2026-09-23 14:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07: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-09-23 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 14:07:03] 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-09-23 14: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-09-23 14:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279038208001,"66":12526,"185":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279038208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:03] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279038208001,"power":12526,"unknown_185":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":190432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:03] local.INFO: GPS data processed {"connection_id":190432,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:03] local.INFO: Acknowledgment sent {"connection_id":190432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:08] local.INFO: TCP Data received {"connection_id":190608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:08] local.INFO: Processing buffer {"connection_id":190608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:08] local.INFO: Packet analysis {"connection_id":190608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:07:08] local.INFO: Extracted packet for processing {"connection_id":190608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:07:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07: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-09-23 14:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:07: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-09-23 14:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:07: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-09-23 14:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:08] local.INFO: GPS data processed {"connection_id":190608,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:08] local.INFO: Acknowledgment sent {"connection_id":190608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:14] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:14] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:14] local.INFO: IMEI packet received {"connection_id":191952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":191952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:07:20] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:20] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:07:20] local.INFO: IMEI packet received {"connection_id":191952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":191952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:07:21] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6651b0012d7e024005d51068000200001c..."} 
[2026-09-23 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6651b0012d7e024005d51068000200001c..."} 
[2026-09-23 14:07:21] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6651b0012d7e024005d51068000200001c..."} 
[2026-09-23 14:07:21] local.INFO: Packet analysis {"connection_id":191952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:07:21] local.INFO: Extracted packet for processing {"connection_id":191952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849448,"longitude_deg":76.3232832,"latitude_deg":9.7849448,"altitude":2,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51068","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279016704001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587032293441536,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014310400,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:21] 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-09-23 14:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790152430000,"timestamp_ms":1790152430000,"timestamp_seconds":1790152430,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6651b0"} 
[2026-09-23 14:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07:21] 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-09-23 14: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:07:21] 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-09-23 14: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-09-23 14:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279016704001,"66":12178,"254":206,"85":15104,"24":0,"16":135587032293441536,"45":9080030930014310400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279016704001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:21] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587032293441536,"km_value":135587032293441.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014310400,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279016704001,"power":12178,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014310400}} 
[2026-09-23 14:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":191952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:21] local.INFO: GPS data processed {"connection_id":191952,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:21] local.INFO: Acknowledgment sent {"connection_id":191952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:31] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:31] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:31] local.INFO: IMEI packet received {"connection_id":190609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:07:34] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd67e7f0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd67e7f0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:07:34] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd67e7f0012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:07:34] local.INFO: Packet analysis {"connection_id":190432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:07:34] local.INFO: Extracted packet for processing {"connection_id":190432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd67"} 
[2026-09-23 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279043328001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790152534000,"timestamp_ms":1790152534000,"timestamp_seconds":1790152534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd67e7f0"} 
[2026-09-23 14:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 14:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279043328001,"66":12504,"185":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279043328001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279043328001,"power":12504,"unknown_185":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":190432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:34] local.INFO: GPS data processed {"connection_id":190432,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:34] local.INFO: Acknowledgment sent {"connection_id":190432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:36] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:36] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:07:36] local.INFO: IMEI packet received {"connection_id":190609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:07:37] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:37] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd64f220012d4160c006cb46f0002001332c..."} 
[2026-09-23 14:07:37] local.INFO: Packet analysis {"connection_id":190609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:07:37] local.INFO: Extracted packet for processing {"connection_id":190609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd64"} 
[2026-09-23 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278921984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152340000,"timestamp_ms":1790152340000,"timestamp_seconds":1790152340,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd64f220"} 
[2026-09-23 14:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:07: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-09-23 14:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:07: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-09-23 14:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278921984001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278921984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278921984001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:37] local.INFO: GPS data processed {"connection_id":190609,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:37] local.INFO: Acknowledgment sent {"connection_id":190609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:52] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd66a3b8012d7e024005d51088000100001c..."} 
[2026-09-23 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd66a3b8012d7e024005d51088000100001c..."} 
[2026-09-23 14:07:52] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd66a3b8012d7e024005d51088000100001c..."} 
[2026-09-23 14:07:52] local.INFO: Packet analysis {"connection_id":191952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:07:52] local.INFO: Extracted packet for processing {"connection_id":191952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849480,"longitude_deg":76.3232832,"latitude_deg":9.784948,"altitude":1,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51088","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279022080001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587036588408832,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525977600,"note":"Value kept but may cause issues"} 
[2026-09-23 14:07:52] 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-09-23 14:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790152451000,"timestamp_ms":1790152451000,"timestamp_seconds":1790152451,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd66a3b8"} 
[2026-09-23 14:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:07:52] 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-09-23 14: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 14:07:52] 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-09-23 14: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-09-23 14:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279022080001,"66":12189,"254":206,"85":15104,"24":0,"16":135587036588408832,"45":9079890192525977600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279022080001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587036588408832,"km_value":135587036588408.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525977600,"description":"Unknown IO ID 45"} 
[2026-09-23 14:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279022080001,"power":12189,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525977600}} 
[2026-09-23 14:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":191952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:07:52] local.INFO: GPS data processed {"connection_id":191952,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:07:52] local.INFO: Acknowledgment sent {"connection_id":191952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:07:56] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:56] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:07:56] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:08:01] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:01] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:01] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:08:02] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:02] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:08:02] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:08:02] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6839f8012d19b9c0072658e8000d012825..."} 
[2026-09-23 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6839f8012d19b9c0072658e8000d012825..."} 
[2026-09-23 14:08:02] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6839f8012d19b9c0072658e8000d012825..."} 
[2026-09-23 14:08:02] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:02] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":37,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279048704001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790152555000,"timestamp_ms":1790152555000,"timestamp_seconds":1790152555,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6839f8"} 
[2026-09-23 14:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08: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-09-23 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:08: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-09-23 14: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-09-23 14:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279048704001,"66":12548,"185":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279048704001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279048704001,"power":12548,"unknown_185":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:02] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:02] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:08:07] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd688818012d19b9c0072658e8000d01282b..."} 
[2026-09-23 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd688818012d19b9c0072658e8000d01282b..."} 
[2026-09-23 14:08:07] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd688818012d19b9c0072658e8000d01282b..."} 
[2026-09-23 14:08:07] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:07] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279054080001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790152575000,"timestamp_ms":1790152575000,"timestamp_seconds":1790152575,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd688818"} 
[2026-09-23 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221694040,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3446035864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706623182,"corrected_to":0} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,185,83,24,241,157,16,150,160,231,45,192,88,13,41,10,66,149,42,71,1,240,249,227,205,38,4,113,163,232,37,239,48,2,80,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1706623182,"validated":0}]} 
[2026-09-23 14:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074336848674816,"timestamp_seconds":937074336848674.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279054080001,"66":12548,"185":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279054080001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279054080001,"power":12548,"unknown_185":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:07] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:07] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:08:10] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:10] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:10] local.INFO: Packet analysis {"connection_id":190609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:08:10] local.INFO: Extracted packet for processing {"connection_id":190609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:08: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-09-23 14:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:08: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-09-23 14:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":190609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:10] local.INFO: GPS data processed {"connection_id":190609,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:10] local.INFO: Acknowledgment sent {"connection_id":190609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:08:24] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:24] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:24] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:08:25] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:25] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:25] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:08:30] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:30] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:08:30] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:08:31] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd66f5c0012d7e024005d51098000000001c..."} 
[2026-09-23 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd66f5c0012d7e024005d51098000000001c..."} 
[2026-09-23 14:08:31] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd66f5c0012d7e024005d51098000000001c..."} 
[2026-09-23 14:08:31] local.INFO: Packet analysis {"connection_id":191953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:08:31] local.INFO: Extracted packet for processing {"connection_id":191953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd66"} 
[2026-09-23 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849496,"longitude_deg":76.3232832,"latitude_deg":9.7849496,"altitude":0,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51098","is_valid_coordinates":true} 
[2026-09-23 14:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279027456001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587036588408832,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525985792,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:31] 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-09-23 14:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790152472000,"timestamp_ms":1790152472000,"timestamp_seconds":1790152472,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd66f5c0"} 
[2026-09-23 14:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-23 14:08:31] 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-09-23 14:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279027456001,"66":12189,"254":206,"85":15104,"24":0,"16":135587036588408832,"45":9079890192525985792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279027456001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:31] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587036588408832,"km_value":135587036588408.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525985792,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279027456001,"power":12189,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525985792}} 
[2026-09-23 14:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":191953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:31] local.INFO: GPS data processed {"connection_id":191953,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:31] local.INFO: Acknowledgment sent {"connection_id":191953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:08:31] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:31] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:31] local.INFO: IMEI packet received {"connection_id":190434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":190434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:08:36] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:36] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:08:36] local.INFO: IMEI packet received {"connection_id":190434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":190434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:08:38] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:38] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:08:38] local.INFO: Packet analysis {"connection_id":190434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:08:38] local.INFO: Extracted packet for processing {"connection_id":190434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:08: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-09-23 14: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-09-23 14:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":190434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:38] local.INFO: GPS data processed {"connection_id":190434,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:38] local.INFO: Acknowledgment sent {"connection_id":190434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:08:40] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd68da20012d19b9c0072658e8000d012826..."} 
[2026-09-23 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd68da20012d19b9c0072658e8000d012826..."} 
[2026-09-23 14:08:40] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd68da20012d19b9c0072658e8000d012826..."} 
[2026-09-23 14:08:40] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:40] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd68"} 
[2026-09-23 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279059200001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790152596000,"timestamp_ms":1790152596000,"timestamp_seconds":1790152596,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd68da20"} 
[2026-09-23 14:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:08: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-09-23 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3446055864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706623182,"corrected_to":0} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":245,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029989,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 14:08:40] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,185,83,24,241,157,16,150,160,57,45,192,88,13,37,10,66,231,41,149,1,240,238,227,205,38,4,113,245,232,40,239,48,2,80,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1706623182,"validated":0}]} 
[2026-09-23 14:08:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074362618478592,"timestamp_seconds":937074362618478.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279059200001,"66":11547,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279059200001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279059200001,"power":11547,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:08:40] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:08:40] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:06] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:06] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:06] local.INFO: IMEI packet received {"connection_id":190610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":190610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:09:08] local.INFO: TCP Data received {"connection_id":190434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:08] local.INFO: Processing buffer {"connection_id":190434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:08] local.INFO: Packet analysis {"connection_id":190434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:08] local.INFO: Extracted packet for processing {"connection_id":190434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:09: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-09-23 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:09:08] 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-09-23 14: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-09-23 14:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:09: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-09-23 14:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:09:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":190434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:09:08] local.INFO: GPS data processed {"connection_id":190434,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:09:08] local.INFO: Acknowledgment sent {"connection_id":190434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:12] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:12] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:12] local.INFO: IMEI packet received {"connection_id":190610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":190610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:09:13] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd692c28012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd692c28012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:09:13] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd692c28012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:09:13] local.INFO: Packet analysis {"connection_id":190610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:13] local.INFO: Extracted packet for processing {"connection_id":190610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279064576001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790152617000,"timestamp_ms":1790152617000,"timestamp_seconds":1790152617,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd692c28"} 
[2026-09-23 14:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 14:09:13] 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-09-23 14: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-09-23 14:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279064576001,"66":12548,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279064576001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:09:13] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279064576001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":190610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:09:13] local.INFO: GPS data processed {"connection_id":190610,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:09:13] local.INFO: Acknowledgment sent {"connection_id":190610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:14] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:14] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:14] local.INFO: IMEI packet received {"connection_id":190611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":190611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:09:19] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:19] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:09:19] local.INFO: IMEI packet received {"connection_id":190611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":190611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:09:20] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a7c18012d7e028005d510500000000020..."} 
[2026-09-23 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a7c18012d7e028005d510500000000020..."} 
[2026-09-23 14:09:20] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a7c18012d7e028005d510500000000020..."} 
[2026-09-23 14:09:20] local.INFO: Packet analysis {"connection_id":190611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:09:20] local.INFO: Extracted packet for processing {"connection_id":190611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849424,"longitude_deg":76.3232896,"latitude_deg":9.7849424,"altitude":0,"angle":0,"satellites":32,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51050","is_valid_coordinates":true} 
[2026-09-23 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279086592001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587122487754752,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270155264,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:20] 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-09-23 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790152703000,"timestamp_ms":1790152703000,"timestamp_seconds":1790152703,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a7c18"} 
[2026-09-23 14:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:09:20] 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-09-23 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-23 14:09:20] 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-09-23 14:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279086592001,"66":12232,"254":206,"85":15104,"24":0,"16":135587122487754752,"45":9079960561270155264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279086592001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:09:20] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587122487754752,"km_value":135587122487754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270155264,"description":"Unknown IO ID 45"} 
[2026-09-23 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279086592001,"power":12232,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270155264}} 
[2026-09-23 14:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":190611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:09:20] local.INFO: GPS data processed {"connection_id":190611,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:09:20] local.INFO: Acknowledgment sent {"connection_id":190611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:31] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:31] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:31] local.INFO: IMEI packet received {"connection_id":193297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:09:36] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:36] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:09:36] local.INFO: IMEI packet received {"connection_id":193297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":193297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:09:37] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:37] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:09:37] local.INFO: Packet analysis {"connection_id":193297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:37] local.INFO: Extracted packet for processing {"connection_id":193297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 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-09-23 14: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-09-23 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:09: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-09-23 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-09-23 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-09-23 14:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:09: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-09-23 14:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:09:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":193297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:09:37] local.INFO: GPS data processed {"connection_id":193297,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:09:37] local.INFO: Acknowledgment sent {"connection_id":193297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:50] local.INFO: TCP Data received {"connection_id":193296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:09:50] local.INFO: Processing buffer {"connection_id":193296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:09:50] local.INFO: IMEI packet received {"connection_id":193296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":193296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:09:51] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ace20012d7e028005d510500000000021..."} 
[2026-09-23 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ace20012d7e028005d510500000000021..."} 
[2026-09-23 14:09:51] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ace20012d7e028005d510500000000021..."} 
[2026-09-23 14:09:51] local.INFO: Packet analysis {"connection_id":190611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:09:51] local.INFO: Extracted packet for processing {"connection_id":190611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849424,"longitude_deg":76.3232896,"latitude_deg":9.7849424,"altitude":0,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d51050","is_valid_coordinates":true} 
[2026-09-23 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279091968001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587135372656640,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270149120,"note":"Value kept but may cause issues"} 
[2026-09-23 14:09:51] 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-09-23 14:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790152724000,"timestamp_ms":1790152724000,"timestamp_seconds":1790152724,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ace20"} 
[2026-09-23 14:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:09:51] 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-09-23 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 14:09:51] 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-09-23 14:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279091968001,"66":12287,"254":206,"85":15104,"24":0,"16":135587135372656640,"45":9079960561270149120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-23 14:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279091968001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:09:51] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-23 14:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587135372656640,"km_value":135587135372656.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270149120,"description":"Unknown IO ID 45"} 
[2026-09-23 14:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279091968001,"power":12287,"unknown_254":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270149120}} 
[2026-09-23 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":190611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:09:51] local.INFO: GPS data processed {"connection_id":190611,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:09:51] local.INFO: Acknowledgment sent {"connection_id":190611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:09:57] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:57] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:09:57] local.INFO: IMEI packet received {"connection_id":190612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":190612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:10:02] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:02] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:02] local.INFO: IMEI packet received {"connection_id":190612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":190612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:10:03] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd697a48012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd697a48012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:10:03] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd697a48012d19b9c0072658e8000d012828..."} 
[2026-09-23 14:10:03] local.INFO: Packet analysis {"connection_id":190612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:03] local.INFO: Extracted packet for processing {"connection_id":190612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279069952001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790152637000,"timestamp_ms":1790152637000,"timestamp_seconds":1790152637,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd697a48"} 
[2026-09-23 14:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3446097864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706623182,"corrected_to":0} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029989,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2523398144,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-5115862318013474816,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,232,83,24,241,157,16,150,160,218,45,192,88,13,38,10,66,136,43,185,57,1,240,4,227,205,113,149,42,239,48,2,80,7,101],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1706623182,"validated":0}]} 
[2026-09-23 14:10:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074349733576704,"timestamp_seconds":937074349733576.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279069952001,"66":12526,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279069952001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279069952001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":190612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:03] local.INFO: GPS data processed {"connection_id":190612,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:03] local.INFO: Acknowledgment sent {"connection_id":190612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:08] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:08] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:08] local.INFO: Packet analysis {"connection_id":193297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:08] local.INFO: Extracted packet for processing {"connection_id":193297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:10: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-09-23 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:10:08] 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-09-23 14: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-09-23 14:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:10: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-09-23 14:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":193297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:08] local.INFO: GPS data processed {"connection_id":193297,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:08] local.INFO: Acknowledgment sent {"connection_id":193297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:09] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:10:09] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:10:09] local.INFO: IMEI packet received {"connection_id":191954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":191954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:10:19] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:19] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:19] local.INFO: IMEI packet received {"connection_id":193298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":193298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:10:24] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:24] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:10:24] local.INFO: IMEI packet received {"connection_id":193298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":193298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:10:24] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6b2028012d7e024005d510580000000021..."} 
[2026-09-23 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6b2028012d7e024005d510580000000021..."} 
[2026-09-23 14:10:24] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6b2028012d7e024005d510580000000021..."} 
[2026-09-23 14:10:24] local.INFO: Packet analysis {"connection_id":193298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:10:24] local.INFO: Extracted packet for processing {"connection_id":193298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849432,"longitude_deg":76.3232832,"latitude_deg":9.7849432,"altitude":0,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51058","is_valid_coordinates":true} 
[2026-09-23 14:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279097344001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587143962591232,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270149120,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:24] 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-09-23 14:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790152745000,"timestamp_ms":1790152745000,"timestamp_seconds":1790152745,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6b2028"} 
[2026-09-23 14:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:10:24] 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-09-23 14:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:10:24] 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-09-23 14:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279097344001,"66":12232,"111":206,"85":15104,"24":0,"16":135587143962591232,"45":9079960561270149120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279097344001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587143962591232,"km_value":135587143962591.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270149120,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279097344001,"power":12232,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270149120}} 
[2026-09-23 14:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":193298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:25] local.INFO: GPS data processed {"connection_id":193298,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:25] local.INFO: Acknowledgment sent {"connection_id":193298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:29] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6b7230012d7e024005d510500000000022..."} 
[2026-09-23 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6b7230012d7e024005d510500000000022..."} 
[2026-09-23 14:10:29] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6b7230012d7e024005d510500000000022..."} 
[2026-09-23 14:10:29] local.INFO: Packet analysis {"connection_id":193298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:10:29] local.INFO: Extracted packet for processing {"connection_id":193298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849424,"longitude_deg":76.3232832,"latitude_deg":9.7849424,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51050","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279102720001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587148257558528,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525973504,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:29] 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-09-23 14:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790152766000,"timestamp_ms":1790152766000,"timestamp_seconds":1790152766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6b7230"} 
[2026-09-23 14:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:10:29] 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-09-23 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 14:10: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-09-23 14: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-09-23 14:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279102720001,"66":12254,"111":206,"85":15104,"24":0,"16":135587148257558528,"45":9079890192525973504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279102720001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587148257558528,"km_value":135587148257558.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525973504,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279102720001,"power":12254,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525973504}} 
[2026-09-23 14:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":193298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:29] local.INFO: GPS data processed {"connection_id":193298,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:29] local.INFO: Acknowledgment sent {"connection_id":193298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:31] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:31] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:31] local.INFO: IMEI packet received {"connection_id":190435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":190435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:10:34] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd69cc50012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd69cc50012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:10:34] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd69cc50012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:10:34] local.INFO: Packet analysis {"connection_id":190612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:34] local.INFO: Extracted packet for processing {"connection_id":190612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279075072001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790152658000,"timestamp_ms":1790152658000,"timestamp_seconds":1790152658,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd69cc50"} 
[2026-09-23 14:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 14:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279075072001,"66":12526,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279075072001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279075072001,"power":12526,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":190612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:34] local.INFO: GPS data processed {"connection_id":190612,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:34] local.INFO: Acknowledgment sent {"connection_id":190612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:36] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:36] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:10:36] local.INFO: IMEI packet received {"connection_id":190435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:10:37] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:37] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:10:37] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:37] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:10: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-09-23 14: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-09-23 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:10: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-09-23 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:10:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:10:37] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:10:37] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:10:56] local.INFO: TCP Data received {"connection_id":190613,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:56] local.INFO: Processing buffer {"connection_id":190613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:10:56] local.INFO: IMEI packet received {"connection_id":190613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":190613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:11:02] local.INFO: TCP Data received {"connection_id":190613,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:02] local.INFO: Processing buffer {"connection_id":190613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:02] local.INFO: IMEI packet received {"connection_id":190613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:11:03] local.INFO: TCP Data received {"connection_id":190613,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a1e58012d19b9c0072658e8000d012824..."} 
[2026-09-23 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a1e58012d19b9c0072658e8000d012824..."} 
[2026-09-23 14:11:03] local.INFO: Processing buffer {"connection_id":190613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a1e58012d19b9c0072658e8000d012824..."} 
[2026-09-23 14:11:03] local.INFO: Packet analysis {"connection_id":190613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:11:03] local.INFO: Extracted packet for processing {"connection_id":190613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279080448001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790152679000,"timestamp_ms":1790152679000,"timestamp_seconds":1790152679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a1e58"} 
[2026-09-23 14:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":238,"data_length":795,"current_offset":136} 
[2026-09-23 14:11:03] 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-09-23 14: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-09-23 14:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279080448001,"66":12461,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279080448001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279080448001,"power":12461,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":190613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:03] local.INFO: GPS data processed {"connection_id":190613,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:03] local.INFO: Acknowledgment sent {"connection_id":190613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:08] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:08] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:08] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:11:08] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11: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-09-23 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:11:08] 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-09-23 14:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:11: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-09-23 14:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:08] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:08] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:13] local.INFO: TCP Data received {"connection_id":193299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: Processing buffer {"connection_id":193299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: IMEI packet received {"connection_id":193299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":193299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:11:13] local.INFO: TCP Data received {"connection_id":193299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: Processing buffer {"connection_id":193299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:13] local.INFO: IMEI packet received {"connection_id":193299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":193299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:11:19] local.INFO: TCP Data received {"connection_id":193299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:19] local.INFO: Processing buffer {"connection_id":193299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:11:19] local.INFO: IMEI packet received {"connection_id":193299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":193299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:11:19] local.INFO: TCP Data received {"connection_id":193299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6bc438012d7e024005d510380000000022..."} 
[2026-09-23 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6bc438012d7e024005d510380000000022..."} 
[2026-09-23 14:11:19] local.INFO: Processing buffer {"connection_id":193299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6bc438012d7e024005d510380000000022..."} 
[2026-09-23 14:11:19] local.INFO: Packet analysis {"connection_id":193299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:11:19] local.INFO: Extracted packet for processing {"connection_id":193299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6b"} 
[2026-09-23 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849400,"longitude_deg":76.3232832,"latitude_deg":9.78494,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d51038","is_valid_coordinates":true} 
[2026-09-23 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279108096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587148257558528,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525971456,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152787000,"timestamp_ms":1790152787000,"timestamp_seconds":1790152787,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6bc438"} 
[2026-09-23 14:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11:19] 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-09-23 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:11:19] 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-09-23 14:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279108096001,"66":12287,"111":206,"85":15104,"24":0,"16":135587148257558528,"45":9079890192525971456},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279108096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587148257558528,"km_value":135587148257558.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525971456,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279108096001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525971456}} 
[2026-09-23 14:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":193299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:20] local.INFO: GPS data processed {"connection_id":193299,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:20] local.INFO: Acknowledgment sent {"connection_id":193299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:31] local.INFO: TCP Data received {"connection_id":190614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:31] local.INFO: Processing buffer {"connection_id":190614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:31] local.INFO: IMEI packet received {"connection_id":190614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":190614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:11:34] local.INFO: TCP Data received {"connection_id":190613,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a6c78012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a6c78012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:11:34] local.INFO: Processing buffer {"connection_id":190613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a6c78012d19b9c0072658e8000d012829..."} 
[2026-09-23 14:11:34] local.INFO: Packet analysis {"connection_id":190613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:11:34] local.INFO: Extracted packet for processing {"connection_id":190613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279085824001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790152699000,"timestamp_ms":1790152699000,"timestamp_seconds":1790152699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a6c78"} 
[2026-09-23 14:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:11:34] 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-09-23 14:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279085824001,"66":12287,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279085824001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279085824001,"power":12287,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":190613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:34] local.INFO: GPS data processed {"connection_id":190613,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:34] local.INFO: Acknowledgment sent {"connection_id":190613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:36] local.INFO: TCP Data received {"connection_id":190614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:36] local.INFO: Processing buffer {"connection_id":190614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:11:36] local.INFO: IMEI packet received {"connection_id":190614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":190614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:11:37] local.INFO: TCP Data received {"connection_id":190614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:37] local.INFO: Processing buffer {"connection_id":190614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:11:37] local.INFO: Packet analysis {"connection_id":190614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:11:37] local.INFO: Extracted packet for processing {"connection_id":190614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:11: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-09-23 14:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:11: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-09-23 14:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":190614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:37] local.INFO: GPS data processed {"connection_id":190614,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:37] local.INFO: Acknowledgment sent {"connection_id":190614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:50] local.INFO: TCP Data received {"connection_id":193299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6c1640012d7e024005d50ff00000000022..."} 
[2026-09-23 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6c1640012d7e024005d50ff00000000022..."} 
[2026-09-23 14:11:50] local.INFO: Processing buffer {"connection_id":193299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6c1640012d7e024005d50ff00000000022..."} 
[2026-09-23 14:11:50] local.INFO: Packet analysis {"connection_id":193299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:11:50] local.INFO: Extracted packet for processing {"connection_id":193299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97849328,"longitude_deg":76.3232832,"latitude_deg":9.7849328,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d50ff0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279113472001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587152552525824,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525965312,"note":"Value kept but may cause issues"} 
[2026-09-23 14:11:50] 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-09-23 14:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790152808000,"timestamp_ms":1790152808000,"timestamp_seconds":1790152808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6c1640"} 
[2026-09-23 14:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:11:50] 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-09-23 14: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":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:11: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-09-23 14: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-09-23 14:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279113472001,"66":12287,"111":206,"85":15104,"24":0,"16":135587152552525824,"45":9079890192525965312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279113472001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587152552525824,"km_value":135587152552525.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525965312,"description":"Unknown IO ID 45"} 
[2026-09-23 14:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279113472001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525965312}} 
[2026-09-23 14:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":193299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:11:50] local.INFO: GPS data processed {"connection_id":193299,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:11:50] local.INFO: Acknowledgment sent {"connection_id":193299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:11:56] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:56] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:11:56] local.INFO: IMEI packet received {"connection_id":191955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":191955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:12:01] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:12:01] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:12:01] local.INFO: IMEI packet received {"connection_id":191955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":191955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:12:02] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:02] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:02] local.INFO: Packet analysis {"connection_id":191955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:12:02] local.INFO: Extracted packet for processing {"connection_id":191955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:12: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-09-23 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279090944001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790152705000,"timestamp_ms":1790152705000,"timestamp_seconds":1790152705,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a83e8"} 
[2026-09-23 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-09-23 14:12: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-09-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:12:02] 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-09-23 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-09-23 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-09-23 14:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279090944001,"66":12254,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279090944001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279090944001,"power":12254,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":191955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:02] local.INFO: GPS data processed {"connection_id":191955,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:02] local.INFO: Acknowledgment sent {"connection_id":191955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:12:08] local.INFO: TCP Data received {"connection_id":190614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:08] local.INFO: Processing buffer {"connection_id":190614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:08] local.INFO: Packet analysis {"connection_id":190614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:12:08] local.INFO: Extracted packet for processing {"connection_id":190614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:12: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-09-23 14:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:12:08] 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-09-23 14:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:12: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-09-23 14:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":190614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:08] local.INFO: GPS data processed {"connection_id":190614,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:08] local.INFO: Acknowledgment sent {"connection_id":190614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:12:14] local.INFO: TCP Data received {"connection_id":193301,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:14] local.INFO: Processing buffer {"connection_id":193301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:14] local.INFO: IMEI packet received {"connection_id":193301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":193301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:12:16] local.INFO: TCP Data received {"connection_id":193301,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:16] local.INFO: Processing buffer {"connection_id":193301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:12:16] local.INFO: IMEI packet received {"connection_id":193301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":193301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:12:16] local.INFO: TCP Data received {"connection_id":193301,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6c6848012d7e028005d50fd80000000023..."} 
[2026-09-23 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6c6848012d7e028005d50fd80000000023..."} 
[2026-09-23 14:12:16] local.INFO: Processing buffer {"connection_id":193301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6c6848012d7e028005d50fd80000000023..."} 
[2026-09-23 14:12:16] local.INFO: Packet analysis {"connection_id":193301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:12:16] local.INFO: Extracted packet for processing {"connection_id":193301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97849304,"longitude_deg":76.3232896,"latitude_deg":9.7849304,"altitude":0,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50fd8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279118848001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587156847493120,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525946880,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:16] 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-09-23 14:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790152829000,"timestamp_ms":1790152829000,"timestamp_seconds":1790152829,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6c6848"} 
[2026-09-23 14:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:12:16] 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-09-23 14:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279118848001,"66":12232,"111":206,"85":15104,"24":0,"16":135587156847493120,"45":9079890192525946880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279118848001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587156847493120,"km_value":135587156847493.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525946880,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279118848001,"power":12232,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525946880}} 
[2026-09-23 14:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":193301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:16] local.INFO: GPS data processed {"connection_id":193301,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:16] local.INFO: Acknowledgment sent {"connection_id":193301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:12:31] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:31] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:31] local.INFO: IMEI packet received {"connection_id":190615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":190615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:12:34] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:34] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:12:34] local.INFO: Packet analysis {"connection_id":191955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:12:34] local.INFO: Extracted packet for processing {"connection_id":191955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:12:34] 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-09-23 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790152705000,"timestamp_ms":1790152705000,"timestamp_seconds":1790152705,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a83e8"} 
[2026-09-23 14:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:12:34] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:12: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-09-23 14: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-09-23 14:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":12254,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":12254,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":191955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:34] local.INFO: GPS data processed {"connection_id":191955,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:34] local.INFO: Acknowledgment sent {"connection_id":191955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:12:36] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:36] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:12:36] local.INFO: IMEI packet received {"connection_id":190615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":190615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:12:37] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:37] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6989e8012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:12:37] local.INFO: Packet analysis {"connection_id":190615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:12:37] local.INFO: Extracted packet for processing {"connection_id":190615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd69"} 
[2026-09-23 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458278999040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152641000,"timestamp_ms":1790152641000,"timestamp_seconds":1790152641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6989e8"} 
[2026-09-23 14:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 14:12: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-09-23 14: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-09-23 14:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:12: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-09-23 14:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458278999040001,"66":25919,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458278999040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458278999040001,"power":25919,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":190615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:37] local.INFO: GPS data processed {"connection_id":190615,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:37] local.INFO: Acknowledgment sent {"connection_id":190615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:12:47] local.INFO: TCP Data received {"connection_id":193301,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6cba50012d7e02c005d50fe80000000021..."} 
[2026-09-23 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6cba50012d7e02c005d50fe80000000021..."} 
[2026-09-23 14:12:47] local.INFO: Processing buffer {"connection_id":193301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6cba50012d7e02c005d50fe80000000021..."} 
[2026-09-23 14:12:47] local.INFO: Packet analysis {"connection_id":193301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:12:47] local.INFO: Extracted packet for processing {"connection_id":193301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6c"} 
[2026-09-23 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849320,"longitude_deg":76.323296,"latitude_deg":9.784932,"altitude":0,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50fe8","is_valid_coordinates":true} 
[2026-09-23 14:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279124224001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587161142460416,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561270118400,"note":"Value kept but may cause issues"} 
[2026-09-23 14:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790152850000,"timestamp_ms":1790152850000,"timestamp_seconds":1790152850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6cba50"} 
[2026-09-23 14:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 14:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279124224001,"66":12189,"111":206,"85":15104,"24":0,"16":135587161142460416,"45":9079960561270118400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279124224001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:12:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587161142460416,"km_value":135587161142460.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561270118400,"description":"Unknown IO ID 45"} 
[2026-09-23 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279124224001,"power":12189,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079960561270118400}} 
[2026-09-23 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":193301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:12:47] local.INFO: GPS data processed {"connection_id":193301,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:12:47] local.INFO: Acknowledgment sent {"connection_id":193301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:01] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:01] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:01] local.INFO: IMEI packet received {"connection_id":190616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":190616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:13:07] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:07] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:07] local.INFO: IMEI packet received {"connection_id":190616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":190616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:13:08] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:08] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:08] local.INFO: Packet analysis {"connection_id":190616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:13:08] local.INFO: Extracted packet for processing {"connection_id":190616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:13: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-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152705000,"timestamp_ms":1790152705000,"timestamp_seconds":1790152705,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a83e8"} 
[2026-09-23 14:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:13:08] 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-09-23 14: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-09-23 14:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":12254,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":12254,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:08] local.INFO: GPS data processed {"connection_id":190616,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:08] local.INFO: Acknowledgment sent {"connection_id":190616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:08] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:08] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:08] local.INFO: Packet analysis {"connection_id":190615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:13:08] local.INFO: Extracted packet for processing {"connection_id":190615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:13:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13: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-09-23 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:13: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-09-23 14: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-09-23 14:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:13: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-09-23 14:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:08] local.INFO: GPS data processed {"connection_id":190615,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:08] local.INFO: Acknowledgment sent {"connection_id":190615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:17] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:17] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:17] local.INFO: IMEI packet received {"connection_id":193302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":193302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:13:18] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:18] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:13:18] local.INFO: IMEI packet received {"connection_id":193302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":193302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:13:19] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6d0c58012d7e030005d510180000000022..."} 
[2026-09-23 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6d0c58012d7e030005d510180000000022..."} 
[2026-09-23 14:13:19] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6d0c58012d7e030005d510180000000022..."} 
[2026-09-23 14:13:19] local.INFO: Packet analysis {"connection_id":193302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:19] local.INFO: Extracted packet for processing {"connection_id":193302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97849368,"longitude_deg":76.3233024,"latitude_deg":9.7849368,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d51018","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279129600001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587178322329600,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014300160,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152871000,"timestamp_ms":1790152871000,"timestamp_seconds":1790152871,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6d0c58"} 
[2026-09-23 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-23 14:13:19] 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-09-23 14: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-09-23 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279129600001,"66":12211,"111":206,"85":15104,"24":0,"16":135587178322329600,"45":9080030930014300160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279129600001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587178322329600,"km_value":135587178322329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014300160,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279129600001,"power":12211,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014300160}} 
[2026-09-23 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":193302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:19] local.INFO: GPS data processed {"connection_id":193302,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:19] local.INFO: Acknowledgment sent {"connection_id":193302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:24] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6d5e60012d7e030005d510400000000022..."} 
[2026-09-23 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6d5e60012d7e030005d510400000000022..."} 
[2026-09-23 14:13:24] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6d5e60012d7e030005d510400000000022..."} 
[2026-09-23 14:13:24] local.INFO: Packet analysis {"connection_id":193302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:24] local.INFO: Extracted packet for processing {"connection_id":193302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97849408,"longitude_deg":76.3233024,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279134976001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587186912264192,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758490112,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:24] 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-09-23 14:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790152892000,"timestamp_ms":1790152892000,"timestamp_seconds":1790152892,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6d5e60"} 
[2026-09-23 14:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13:24] 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-09-23 14: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 14:13:24] 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-09-23 14: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-09-23 14:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279134976001,"66":12287,"111":206,"85":15104,"24":0,"16":135587186912264192,"45":9080101298758490112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279134976001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587186912264192,"km_value":135587186912264.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758490112,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279134976001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758490112}} 
[2026-09-23 14:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":193302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:24] local.INFO: GPS data processed {"connection_id":193302,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:24] local.INFO: Acknowledgment sent {"connection_id":193302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:31] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:31] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:31] local.INFO: IMEI packet received {"connection_id":193303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":193303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:13:36] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:36] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:13:36] local.INFO: IMEI packet received {"connection_id":193303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":193303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:13:37] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:37] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:13:37] local.INFO: Packet analysis {"connection_id":193303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:13:37] local.INFO: Extracted packet for processing {"connection_id":193303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13: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-09-23 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:13: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-09-23 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:13: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-09-23 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":193303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:37] local.INFO: GPS data processed {"connection_id":193303,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:37] local.INFO: Acknowledgment sent {"connection_id":193303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:39] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:39] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6a83e8012d19b9c0072658e8000d01282a..."} 
[2026-09-23 14:13:39] local.INFO: Packet analysis {"connection_id":190616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:13:39] local.INFO: Extracted packet for processing {"connection_id":190616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6a"} 
[2026-09-23 14:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119953640,"longitude_deg":75.6660672,"latitude_deg":11.995364,"altitude":13,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"072658e8","is_valid_coordinates":true} 
[2026-09-23 14:13: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-09-23 14:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790152705000,"timestamp_ms":1790152705000,"timestamp_seconds":1790152705,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6a83e8"} 
[2026-09-23 14:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13:39] 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-09-23 14:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:13:39] 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-09-23 14: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-09-23 14:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":12254,"175":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":12254,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":190616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:39] local.INFO: GPS data processed {"connection_id":190616,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:39] local.INFO: Acknowledgment sent {"connection_id":190616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:55] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6db068012d7e02c005d510680000000022..."} 
[2026-09-23 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6db068012d7e02c005d510680000000022..."} 
[2026-09-23 14:13:55] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6db068012d7e02c005d510680000000022..."} 
[2026-09-23 14:13:55] local.INFO: Packet analysis {"connection_id":193302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:55] local.INFO: Extracted packet for processing {"connection_id":193302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6d"} 
[2026-09-23 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849448,"longitude_deg":76.323296,"latitude_deg":9.7849448,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51068","is_valid_coordinates":true} 
[2026-09-23 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279140352001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587195502198784,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758500352,"note":"Value kept but may cause issues"} 
[2026-09-23 14:13:55] 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-09-23 14:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790152913000,"timestamp_ms":1790152913000,"timestamp_seconds":1790152913,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6db068"} 
[2026-09-23 14:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:13:55] 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-09-23 14:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279140352001,"66":12200,"111":206,"85":15104,"24":0,"16":135587195502198784,"45":9080101298758500352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279140352001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:13:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587195502198784,"km_value":135587195502198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758500352,"description":"Unknown IO ID 45"} 
[2026-09-23 14:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279140352001,"power":12200,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758500352}} 
[2026-09-23 14:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":193302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:13:55] local.INFO: GPS data processed {"connection_id":193302,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:13:55] local.INFO: Acknowledgment sent {"connection_id":193302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:13:57] local.INFO: TCP Data received {"connection_id":191956,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:57] local.INFO: Processing buffer {"connection_id":191956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:13:57] local.INFO: IMEI packet received {"connection_id":191956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":191956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:14:01] local.INFO: TCP Data received {"connection_id":191956,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:01] local.INFO: Processing buffer {"connection_id":191956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:01] local.INFO: IMEI packet received {"connection_id":191956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":191956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:14:02] local.INFO: TCP Data received {"connection_id":191956,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:02] local.INFO: Processing buffer {"connection_id":191956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:02] local.INFO: Packet analysis {"connection_id":191956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:14:02] local.INFO: Extracted packet for processing {"connection_id":191956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:02] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:14: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-09-23 14: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-09-23 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":191956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:02] local.INFO: GPS data processed {"connection_id":191956,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:02] local.INFO: Acknowledgment sent {"connection_id":191956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:08] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:08] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:08] local.INFO: Packet analysis {"connection_id":193303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:08] local.INFO: Extracted packet for processing {"connection_id":193303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14: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-09-23 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:14: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-09-23 14:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14: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-09-23 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":193303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:08] local.INFO: GPS data processed {"connection_id":193303,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:08] local.INFO: Acknowledgment sent {"connection_id":193303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:14] local.INFO: TCP Data received {"connection_id":191957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:14] local.INFO: Processing buffer {"connection_id":191957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:14] local.INFO: IMEI packet received {"connection_id":191957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":191957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:14:18] local.INFO: TCP Data received {"connection_id":191957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:18] local.INFO: Processing buffer {"connection_id":191957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:14:18] local.INFO: IMEI packet received {"connection_id":191957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":191957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:14:19] local.INFO: TCP Data received {"connection_id":191957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e0270012d7e02c005d510780000000020..."} 
[2026-09-23 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e0270012d7e02c005d510780000000020..."} 
[2026-09-23 14:14:19] local.INFO: Processing buffer {"connection_id":191957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e0270012d7e02c005d510780000000020..."} 
[2026-09-23 14:14:19] local.INFO: Packet analysis {"connection_id":191957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:19] local.INFO: Extracted packet for processing {"connection_id":191957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849464,"longitude_deg":76.323296,"latitude_deg":9.7849464,"altitude":0,"angle":0,"satellites":32,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51078","is_valid_coordinates":true} 
[2026-09-23 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279145728001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587199797166080,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014332928,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152934000,"timestamp_ms":1790152934000,"timestamp_seconds":1790152934,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e0270"} 
[2026-09-23 14:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:19] 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-09-23 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-23 14:14:19] 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-09-23 14:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279145728001,"66":12156,"111":206,"85":15104,"24":0,"16":135587199797166080,"45":9080030930014332928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279145728001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587199797166080,"km_value":135587199797166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014332928,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279145728001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014332928}} 
[2026-09-23 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":191957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:19] local.INFO: GPS data processed {"connection_id":191957,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:19] local.INFO: Acknowledgment sent {"connection_id":191957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:33] local.INFO: TCP Data received {"connection_id":191956,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:33] local.INFO: Processing buffer {"connection_id":191956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:14:33] local.INFO: Packet analysis {"connection_id":191956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:14:33] local.INFO: Extracted packet for processing {"connection_id":191956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:33] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:14:33] 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-09-23 14: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-09-23 14:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:33] local.INFO: GPS data processed {"connection_id":191956,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:33] local.INFO: Acknowledgment sent {"connection_id":191956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:34] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:34] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:34] local.INFO: IMEI packet received {"connection_id":191958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":191958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:14:36] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:36] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:14:36] local.INFO: IMEI packet received {"connection_id":191958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":191958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:14:37] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:37] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:37] local.INFO: Packet analysis {"connection_id":191958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:37] local.INFO: Extracted packet for processing {"connection_id":191958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:14: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-09-23 14:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14: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-09-23 14:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":191958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:37] local.INFO: GPS data processed {"connection_id":191958,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:37] local.INFO: Acknowledgment sent {"connection_id":191958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:42] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:42] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:14:42] local.INFO: Packet analysis {"connection_id":191958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:42] local.INFO: Extracted packet for processing {"connection_id":191958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:14: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-09-23 14:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":191958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:42] local.INFO: GPS data processed {"connection_id":191958,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:42] local.INFO: Acknowledgment sent {"connection_id":191958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:50] local.INFO: TCP Data received {"connection_id":191957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e5478012d7e02c005d510780000000024..."} 
[2026-09-23 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e5478012d7e02c005d510780000000024..."} 
[2026-09-23 14:14:50] local.INFO: Processing buffer {"connection_id":191957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e5478012d7e02c005d510780000000024..."} 
[2026-09-23 14:14:50] local.INFO: Packet analysis {"connection_id":191957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:50] local.INFO: Extracted packet for processing {"connection_id":191957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849464,"longitude_deg":76.323296,"latitude_deg":9.7849464,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51078","is_valid_coordinates":true} 
[2026-09-23 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279151104001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587199797166080,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014337024,"note":"Value kept but may cause issues"} 
[2026-09-23 14:14:50] 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-09-23 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790152955000,"timestamp_ms":1790152955000,"timestamp_seconds":1790152955,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e5478"} 
[2026-09-23 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:14:50] 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-09-23 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 14:14:50] 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-09-23 14:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279151104001,"66":12287,"111":206,"85":15104,"24":0,"16":135587199797166080,"45":9080030930014337024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279151104001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587199797166080,"km_value":135587199797166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014337024,"description":"Unknown IO ID 45"} 
[2026-09-23 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279151104001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014337024}} 
[2026-09-23 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":191957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:14:50] local.INFO: GPS data processed {"connection_id":191957,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:14:50] local.INFO: Acknowledgment sent {"connection_id":191957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:14:57] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:57] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:14:57] local.INFO: IMEI packet received {"connection_id":190437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":190437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:15:01] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:01] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:01] local.INFO: IMEI packet received {"connection_id":190437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":190437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:15:02] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:02] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:02] local.INFO: Packet analysis {"connection_id":190437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:15:02] local.INFO: Extracted packet for processing {"connection_id":190437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:15:02] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:15: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-09-23 14: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-09-23 14:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":190437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:02] local.INFO: GPS data processed {"connection_id":190437,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:02] local.INFO: Acknowledgment sent {"connection_id":190437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:13] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:13] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:13] local.INFO: Packet analysis {"connection_id":191958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:13] local.INFO: Extracted packet for processing {"connection_id":191958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:13] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:15: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-09-23 14: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-09-23 14:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:15: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-09-23 14:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:13] local.INFO: GPS data processed {"connection_id":191958,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:13] local.INFO: Acknowledgment sent {"connection_id":191958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:13] local.INFO: TCP Data received {"connection_id":193305,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:13] local.INFO: Processing buffer {"connection_id":193305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:13] local.INFO: IMEI packet received {"connection_id":193305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":193305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:15:19] local.INFO: TCP Data received {"connection_id":193305,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:19] local.INFO: Processing buffer {"connection_id":193305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:15:19] local.INFO: IMEI packet received {"connection_id":193305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":193305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:15:20] local.INFO: TCP Data received {"connection_id":193305,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ea680012d7e02c005d510580000000024..."} 
[2026-09-23 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ea680012d7e02c005d510580000000024..."} 
[2026-09-23 14:15:20] local.INFO: Processing buffer {"connection_id":193305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ea680012d7e02c005d510580000000024..."} 
[2026-09-23 14:15:20] local.INFO: Packet analysis {"connection_id":193305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:20] local.INFO: Extracted packet for processing {"connection_id":193305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849432,"longitude_deg":76.323296,"latitude_deg":9.7849432,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51058","is_valid_coordinates":true} 
[2026-09-23 14:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279156480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587204092133376,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014337024,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:20] 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-09-23 14:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790152976000,"timestamp_ms":1790152976000,"timestamp_seconds":1790152976,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ea680"} 
[2026-09-23 14:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:15:20] 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-09-23 14:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279156480001,"66":12287,"111":206,"85":15104,"24":0,"16":135587204092133376,"45":9080030930014337024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279156480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587204092133376,"km_value":135587204092133.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014337024,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279156480001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014337024}} 
[2026-09-23 14:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":193305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:20] local.INFO: GPS data processed {"connection_id":193305,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:20] local.INFO: Acknowledgment sent {"connection_id":193305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:31] local.INFO: TCP Data received {"connection_id":190617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:31] local.INFO: Processing buffer {"connection_id":190617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:31] local.INFO: IMEI packet received {"connection_id":190617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":190617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:15:33] local.INFO: TCP Data received {"connection_id":190437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:33] local.INFO: Processing buffer {"connection_id":190437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:15:33] local.INFO: Packet analysis {"connection_id":190437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:15:33] local.INFO: Extracted packet for processing {"connection_id":190437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 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-09-23 14:15:33] 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-09-23 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:15:33] 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-09-23 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-09-23 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-09-23 14:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":190437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:34] local.INFO: GPS data processed {"connection_id":190437,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:34] local.INFO: Acknowledgment sent {"connection_id":190437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:36] local.INFO: TCP Data received {"connection_id":190617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:36] local.INFO: Processing buffer {"connection_id":190617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:15:36] local.INFO: IMEI packet received {"connection_id":190617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":190617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:15:37] local.INFO: TCP Data received {"connection_id":190617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:37] local.INFO: Processing buffer {"connection_id":190617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:15:37] local.INFO: Packet analysis {"connection_id":190617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:37] local.INFO: Extracted packet for processing {"connection_id":190617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 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-09-23 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:15: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-09-23 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-09-23 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-09-23 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":190617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:37] local.INFO: GPS data processed {"connection_id":190617,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:37] local.INFO: Acknowledgment sent {"connection_id":190617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:40] local.INFO: TCP Data received {"connection_id":191959,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:15:40] local.INFO: Processing buffer {"connection_id":191959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:15:40] local.INFO: IMEI packet received {"connection_id":191959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":191959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:15:51] local.INFO: TCP Data received {"connection_id":193305,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:15:51] local.INFO: Processing buffer {"connection_id":193305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:15:51] local.INFO: Packet analysis {"connection_id":193305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:51] local.INFO: Extracted packet for processing {"connection_id":193305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849408,"longitude_deg":76.323296,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279161856001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014328832,"note":"Value kept but may cause issues"} 
[2026-09-23 14:15:51] 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-09-23 14:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790152988000,"timestamp_ms":1790152988000,"timestamp_seconds":1790152988,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ed560"} 
[2026-09-23 14:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:15: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-09-23 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:15:51] 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-09-23 14:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279161856001,"66":12287,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014328832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279161856001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014328832,"description":"Unknown IO ID 45"} 
[2026-09-23 14:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279161856001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014328832}} 
[2026-09-23 14:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":193305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:15:51] local.INFO: GPS data processed {"connection_id":193305,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:15:51] local.INFO: Acknowledgment sent {"connection_id":193305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:15:56] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:56] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:15:56] local.INFO: IMEI packet received {"connection_id":190438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":190438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:16:01] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:16:01] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:16:01] local.INFO: IMEI packet received {"connection_id":190438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":190438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:16:02] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:02] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:02] local.INFO: Packet analysis {"connection_id":190438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:16:02] local.INFO: Extracted packet for processing {"connection_id":190438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:16:02] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:16: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-09-23 14: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-09-23 14:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":190438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:02] local.INFO: GPS data processed {"connection_id":190438,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:02] local.INFO: Acknowledgment sent {"connection_id":190438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:16:08] local.INFO: TCP Data received {"connection_id":190617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:08] local.INFO: Processing buffer {"connection_id":190617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:08] local.INFO: Packet analysis {"connection_id":190617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:08] local.INFO: Extracted packet for processing {"connection_id":190617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 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-09-23 14:16: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-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:16: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-09-23 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-09-23 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-09-23 14:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:16: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-09-23 14:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:08] local.INFO: GPS data processed {"connection_id":190617,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:08] local.INFO: Acknowledgment sent {"connection_id":190617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:16:09] local.INFO: TCP Data received {"connection_id":193306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:16:09] local.INFO: Processing buffer {"connection_id":193306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:16:09] local.INFO: IMEI packet received {"connection_id":193306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":193306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:16:13] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:13] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:13] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:16:18] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:18] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:16:18] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:16:19] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:19] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:19] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:19] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849408,"longitude_deg":76.323296,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152988000,"timestamp_ms":1790152988000,"timestamp_seconds":1790152988,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ed560"} 
[2026-09-23 14:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:16:19] 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-09-23 14:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12287,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:19] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:19] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:16:31] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:31] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:31] local.INFO: IMEI packet received {"connection_id":193307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":193307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:16:33] local.INFO: TCP Data received {"connection_id":190438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:33] local.INFO: Processing buffer {"connection_id":190438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:16:33] local.INFO: Packet analysis {"connection_id":190438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:16:33] local.INFO: Extracted packet for processing {"connection_id":190438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:16:33] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:16:33] 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-09-23 14: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-09-23 14:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":190438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:34] local.INFO: GPS data processed {"connection_id":190438,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:34] local.INFO: Acknowledgment sent {"connection_id":190438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:16:36] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:36] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:16:36] local.INFO: IMEI packet received {"connection_id":193307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":193307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:16:37] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:37] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:16:37] local.INFO: Packet analysis {"connection_id":193307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:37] local.INFO: Extracted packet for processing {"connection_id":193307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:16: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-09-23 14:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:16: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-09-23 14:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":193307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:37] local.INFO: GPS data processed {"connection_id":193307,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:37] local.INFO: Acknowledgment sent {"connection_id":193307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:16:50] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:50] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:16:50] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:50] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:16:50] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849408,"longitude_deg":76.323296,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:16:50] 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-09-23 14:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790152988000,"timestamp_ms":1790152988000,"timestamp_seconds":1790152988,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ed560"} 
[2026-09-23 14:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:16:50] 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-09-23 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:16: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-09-23 14: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-09-23 14:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12287,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:16:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:16:50] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:16:50] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:01] local.INFO: TCP Data received {"connection_id":193308,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:01] local.INFO: Processing buffer {"connection_id":193308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:01] local.INFO: IMEI packet received {"connection_id":193308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":193308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:17:07] local.INFO: TCP Data received {"connection_id":193308,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:07] local.INFO: Processing buffer {"connection_id":193308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:07] local.INFO: IMEI packet received {"connection_id":193308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":193308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:17:08] local.INFO: TCP Data received {"connection_id":193308,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:08] local.INFO: Processing buffer {"connection_id":193308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:08] local.INFO: Packet analysis {"connection_id":193308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:17:08] local.INFO: Extracted packet for processing {"connection_id":193308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:17:08] 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-09-23 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":193308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:08] local.INFO: GPS data processed {"connection_id":193308,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:08] local.INFO: Acknowledgment sent {"connection_id":193308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:08] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:08] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:08] local.INFO: Packet analysis {"connection_id":193307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:08] local.INFO: Extracted packet for processing {"connection_id":193307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:17: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-09-23 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:17: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-09-23 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:17: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-09-23 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":193307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:08] local.INFO: GPS data processed {"connection_id":193307,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:08] local.INFO: Acknowledgment sent {"connection_id":193307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:12] local.INFO: TCP Data received {"connection_id":193308,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:12] local.INFO: Processing buffer {"connection_id":193308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:17:12] local.INFO: Packet analysis {"connection_id":193308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:17:12] local.INFO: Extracted packet for processing {"connection_id":193308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:17:12] 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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:17:12] 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-09-23 14: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-09-23 14:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":193308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:12] local.INFO: GPS data processed {"connection_id":193308,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:12] local.INFO: Acknowledgment sent {"connection_id":193308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:13] local.INFO: TCP Data received {"connection_id":191960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:13] local.INFO: Processing buffer {"connection_id":191960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:13] local.INFO: IMEI packet received {"connection_id":191960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":191960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:17:19] local.INFO: TCP Data received {"connection_id":191960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:19] local.INFO: Processing buffer {"connection_id":191960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:17:19] local.INFO: IMEI packet received {"connection_id":191960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":191960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:17:19] local.INFO: TCP Data received {"connection_id":191960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:19] local.INFO: Processing buffer {"connection_id":191960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:19] local.INFO: Packet analysis {"connection_id":191960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:19] local.INFO: Extracted packet for processing {"connection_id":191960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849408,"longitude_deg":76.323296,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790152988000,"timestamp_ms":1790152988000,"timestamp_seconds":1790152988,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ed560"} 
[2026-09-23 14:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:17:19] 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-09-23 14: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-09-23 14:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12287,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":191960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:20] local.INFO: GPS data processed {"connection_id":191960,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:20] local.INFO: Acknowledgment sent {"connection_id":191960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:31] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:31] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:31] local.INFO: IMEI packet received {"connection_id":190618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":190618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:17:36] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:36] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:17:36] local.INFO: IMEI packet received {"connection_id":190618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":190618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:17:37] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:37] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6e21b0012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:17:37] local.INFO: Packet analysis {"connection_id":190618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:37] local.INFO: Extracted packet for processing {"connection_id":190618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279076096001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790152942000,"timestamp_ms":1790152942000,"timestamp_seconds":1790152942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6e21b0"} 
[2026-09-23 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-09-23 14: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-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:17: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-09-23 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-09-23 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-09-23 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:17: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-09-23 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279076096001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279076096001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279076096001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":190618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:37] local.INFO: GPS data processed {"connection_id":190618,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:37] local.INFO: Acknowledgment sent {"connection_id":190618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:50] local.INFO: TCP Data received {"connection_id":191960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:50] local.INFO: Processing buffer {"connection_id":191960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6ed560012d7e02c005d510400000000024..."} 
[2026-09-23 14:17:50] local.INFO: Packet analysis {"connection_id":191960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:50] local.INFO: Extracted packet for processing {"connection_id":191960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6e"} 
[2026-09-23 14:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849408,"longitude_deg":76.323296,"latitude_deg":9.7849408,"altitude":0,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d51040","is_valid_coordinates":true} 
[2026-09-23 14:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:17:50] 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-09-23 14:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790152988000,"timestamp_ms":1790152988000,"timestamp_seconds":1790152988,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6ed560"} 
[2026-09-23 14:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:17:50] 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-09-23 14:17: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-09-23 14:17: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-09-23 14:17: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-09-23 14:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12287,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":191960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:17:50] local.INFO: GPS data processed {"connection_id":191960,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:17:50] local.INFO: Acknowledgment sent {"connection_id":191960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:17:57] local.INFO: TCP Data received {"connection_id":193310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:57] local.INFO: Processing buffer {"connection_id":193310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:17:57] local.INFO: IMEI packet received {"connection_id":193310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":193310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:18:02] local.INFO: TCP Data received {"connection_id":193310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:02] local.INFO: Processing buffer {"connection_id":193310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:02] local.INFO: IMEI packet received {"connection_id":193310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":193310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:18:03] local.INFO: TCP Data received {"connection_id":193310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:03] local.INFO: Processing buffer {"connection_id":193310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:03] local.INFO: Packet analysis {"connection_id":193310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:03] local.INFO: Extracted packet for processing {"connection_id":193310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18: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-09-23 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:18: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-09-23 14: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-09-23 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":193310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:03] local.INFO: GPS data processed {"connection_id":193310,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:03] local.INFO: Acknowledgment sent {"connection_id":193310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:07] local.INFO: TCP Data received {"connection_id":193310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:07] local.INFO: Processing buffer {"connection_id":193310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:07] local.INFO: Packet analysis {"connection_id":193310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:07] local.INFO: Extracted packet for processing {"connection_id":193310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18:07] 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-09-23 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:07] 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-09-23 14:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:07] local.INFO: GPS data processed {"connection_id":193310,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:07] local.INFO: Acknowledgment sent {"connection_id":193310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:08] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:08] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:08] local.INFO: Packet analysis {"connection_id":190618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:08] local.INFO: Extracted packet for processing {"connection_id":190618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:08] 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-09-23 14: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-09-23 14:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18: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-09-23 14:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":190618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:08] local.INFO: GPS data processed {"connection_id":190618,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:08] local.INFO: Acknowledgment sent {"connection_id":190618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:19] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:19] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:19] local.INFO: IMEI packet received {"connection_id":191961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":191961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:18:24] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:24] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:18:24] local.INFO: IMEI packet received {"connection_id":191961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":191961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:18:24] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:24] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:24] local.INFO: Packet analysis {"connection_id":191961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:18:24] local.INFO: Extracted packet for processing {"connection_id":191961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:24] 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-09-23 14:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18:24] 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-09-23 14:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:24] 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-09-23 14:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":191961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:25] local.INFO: GPS data processed {"connection_id":191961,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:25] local.INFO: Acknowledgment sent {"connection_id":191961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:29] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:29] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:18:29] local.INFO: Packet analysis {"connection_id":191961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:18:29] local.INFO: Extracted packet for processing {"connection_id":191961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:29] 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-09-23 14:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18: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-09-23 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:29] 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-09-23 14: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-09-23 14:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":191961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:29] local.INFO: GPS data processed {"connection_id":191961,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:29] local.INFO: Acknowledgment sent {"connection_id":191961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:36] local.INFO: TCP Data received {"connection_id":193311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:36] local.INFO: Processing buffer {"connection_id":193311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:36] local.INFO: IMEI packet received {"connection_id":193311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":193311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:18:40] local.INFO: TCP Data received {"connection_id":193310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:40] local.INFO: Processing buffer {"connection_id":193310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd6f13e0012d19b840072658d8000d012827..."} 
[2026-09-23 14:18:40] local.INFO: Packet analysis {"connection_id":193310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:40] local.INFO: Extracted packet for processing {"connection_id":193310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd6f"} 
[2026-09-23 14:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279092480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858580334592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790153004000,"timestamp_ms":1790153004000,"timestamp_seconds":1790153004,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd6f13e0"} 
[2026-09-23 14:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18:40] 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-09-23 14:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:40] 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-09-23 14: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-09-23 14:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279092480001,"66":2166,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853723858580334592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279092480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858580334592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279092480001,"power":2166,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853723858580334592}} 
[2026-09-23 14:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":193310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:40] local.INFO: GPS data processed {"connection_id":193310,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:40] local.INFO: Acknowledgment sent {"connection_id":193310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:41] local.INFO: TCP Data received {"connection_id":193311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:41] local.INFO: Processing buffer {"connection_id":193311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:18:41] local.INFO: IMEI packet received {"connection_id":193311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":193311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:18:42] local.INFO: TCP Data received {"connection_id":193311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:42] local.INFO: Processing buffer {"connection_id":193311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:42] local.INFO: Packet analysis {"connection_id":193311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:42] local.INFO: Extracted packet for processing {"connection_id":193311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18: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-09-23 14:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":193311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:42] local.INFO: GPS data processed {"connection_id":193311,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:42] local.INFO: Acknowledgment sent {"connection_id":193311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:47] local.INFO: TCP Data received {"connection_id":193311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:47] local.INFO: Processing buffer {"connection_id":193311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:18:47] local.INFO: Packet analysis {"connection_id":193311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:47] local.INFO: Extracted packet for processing {"connection_id":193311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:18: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-09-23 14:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:18:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":193311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:18:47] local.INFO: GPS data processed {"connection_id":193311,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:18:47] local.INFO: Acknowledgment sent {"connection_id":193311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:18:53] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:53] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:53] local.INFO: IMEI packet received {"connection_id":190440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":190440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:18:57] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:57] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:18:57] local.INFO: IMEI packet received {"connection_id":190440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":190440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:19:02] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:02] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:02] local.INFO: IMEI packet received {"connection_id":190440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":190440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:19:03] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd738c68012d19b840072658d8000d012828..."} 
[2026-09-23 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd738c68012d19b840072658d8000d012828..."} 
[2026-09-23 14:19:03] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd738c68012d19b840072658d8000d012828..."} 
[2026-09-23 14:19:03] local.INFO: Packet analysis {"connection_id":190440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:03] local.INFO: Extracted packet for processing {"connection_id":190440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279169024001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646115264512,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153297000,"timestamp_ms":1790153297000,"timestamp_seconds":1790153297,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd738c68"} 
[2026-09-23 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-09-23 14:19: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-09-23 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-09-23 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-09-23 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-09-23 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-09-23 14:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279169024001,"66":2155,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853301646115264512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279169024001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:19:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646115264512,"description":"Unknown IO ID 45"} 
[2026-09-23 14:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279169024001,"power":2155,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853301646115264512}} 
[2026-09-23 14:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":190440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:19:03] local.INFO: GPS data processed {"connection_id":190440,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:19:03] local.INFO: Acknowledgment sent {"connection_id":190440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:19:14] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:14] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:14] local.INFO: IMEI packet received {"connection_id":190441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":190441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:19:19] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:19] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:19:19] local.INFO: IMEI packet received {"connection_id":190441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":190441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:19:20] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:20] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:20] local.INFO: Packet analysis {"connection_id":190441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:20] local.INFO: Extracted packet for processing {"connection_id":190441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:20] 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-09-23 14:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:19:20] 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-09-23 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:19:20] 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-09-23 14:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:19:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":190441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:19:20] local.INFO: GPS data processed {"connection_id":190441,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:19:20] local.INFO: Acknowledgment sent {"connection_id":190441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:19:31] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:31] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:31] local.INFO: IMEI packet received {"connection_id":193312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":193312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:19:34] local.INFO: TCP Data received {"connection_id":190440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:19:34] local.INFO: Processing buffer {"connection_id":190440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:19:34] local.INFO: Packet analysis {"connection_id":190440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:34] local.INFO: Extracted packet for processing {"connection_id":190440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14:19:34] 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-09-23 14:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279244032001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646115264512,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790153311000,"timestamp_ms":1790153311000,"timestamp_seconds":1790153311,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd73c318"} 
[2026-09-23 14:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:19:34] 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-09-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 14:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279244032001,"66":12591,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853301646115264512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279244032001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646115264512,"description":"Unknown IO ID 45"} 
[2026-09-23 14:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279244032001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853301646115264512}} 
[2026-09-23 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":190440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:19:34] local.INFO: GPS data processed {"connection_id":190440,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:19:34] local.INFO: Acknowledgment sent {"connection_id":190440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:19:36] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:36] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:19:36] local.INFO: IMEI packet received {"connection_id":193312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":193312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:19:37] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:19:37] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:19:37] local.INFO: Packet analysis {"connection_id":193312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:19:37] local.INFO: Extracted packet for processing {"connection_id":193312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:19: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-09-23 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:19:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":193312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:19:37] local.INFO: GPS data processed {"connection_id":193312,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:19:37] local.INFO: Acknowledgment sent {"connection_id":193312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:19:57] local.INFO: TCP Data received {"connection_id":193313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:57] local.INFO: Processing buffer {"connection_id":193313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:19:57] local.INFO: IMEI packet received {"connection_id":193313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":193313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:19:58] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:58] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:19:58] local.INFO: Packet analysis {"connection_id":190441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:58] local.INFO: Extracted packet for processing {"connection_id":190441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:19:58] 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-09-23 14:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:19:58] 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-09-23 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:19:58] 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-09-23 14:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":190441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":190441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":190441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:19:58] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":190441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:19:58] local.INFO: GPS data processed {"connection_id":190441,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:19:58] local.INFO: Acknowledgment sent {"connection_id":190441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:02] local.INFO: TCP Data received {"connection_id":193313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:02] local.INFO: Processing buffer {"connection_id":193313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:02] local.INFO: IMEI packet received {"connection_id":193313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":193313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:20:03] local.INFO: TCP Data received {"connection_id":193313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:03] local.INFO: Processing buffer {"connection_id":193313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:03] local.INFO: Packet analysis {"connection_id":193313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:03] local.INFO: Extracted packet for processing {"connection_id":193313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14:20: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-09-23 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279247616001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646115264512,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153311000,"timestamp_ms":1790153311000,"timestamp_seconds":1790153311,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd73c318"} 
[2026-09-23 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:20: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-09-23 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 14:20:03] 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-09-23 14: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-09-23 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279247616001,"66":12591,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853301646115264512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279247616001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646115264512,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279247616001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853301646115264512}} 
[2026-09-23 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":193313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:03] local.INFO: GPS data processed {"connection_id":193313,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:03] local.INFO: Acknowledgment sent {"connection_id":193313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:08] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:08] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:08] local.INFO: Packet analysis {"connection_id":193312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:20:08] local.INFO: Extracted packet for processing {"connection_id":193312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:20:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:20: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:20:08] 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-09-23 14: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-09-23 14:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:20: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-09-23 14:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":193312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:08] local.INFO: GPS data processed {"connection_id":193312,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:08] local.INFO: Acknowledgment sent {"connection_id":193312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:14] local.INFO: TCP Data received {"connection_id":191964,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:14] local.INFO: Processing buffer {"connection_id":191964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:14] local.INFO: IMEI packet received {"connection_id":191964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":191964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:20:19] local.INFO: TCP Data received {"connection_id":191964,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:19] local.INFO: Processing buffer {"connection_id":191964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:20:19] local.INFO: IMEI packet received {"connection_id":191964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":191964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:20:20] local.INFO: TCP Data received {"connection_id":191964,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:20] local.INFO: Processing buffer {"connection_id":191964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:20] local.INFO: Packet analysis {"connection_id":191964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:20] local.INFO: Extracted packet for processing {"connection_id":191964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:20] 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-09-23 14:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:20:20] 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-09-23 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:20:20] 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-09-23 14:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":191964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:20] local.INFO: GPS data processed {"connection_id":191964,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:20] local.INFO: Acknowledgment sent {"connection_id":191964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:31] local.INFO: TCP Data received {"connection_id":193314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:31] local.INFO: Processing buffer {"connection_id":193314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:31] local.INFO: IMEI packet received {"connection_id":193314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":193314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:20:33] local.INFO: TCP Data received {"connection_id":193313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:33] local.INFO: Processing buffer {"connection_id":193313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd73c318012d19b840072658d8000d012824..."} 
[2026-09-23 14:20:33] local.INFO: Packet analysis {"connection_id":193313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:33] local.INFO: Extracted packet for processing {"connection_id":193313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119953624,"longitude_deg":75.6660288,"latitude_deg":11.9953624,"altitude":13,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d19b840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-09-23 14:20: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-09-23 14:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279247616001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683371557617664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646115264512,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153311000,"timestamp_ms":1790153311000,"timestamp_seconds":1790153311,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd73c318"} 
[2026-09-23 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-09-23 14:20: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-09-23 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 14:20:33] 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-09-23 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-09-23 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-09-23 14:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279247616001,"66":12591,"232":206,"83":42752,"24":0,"16":22683371557617664,"45":1853301646115264512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279247616001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683371557617664,"km_value":22683371557617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646115264512,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279247616001,"power":12591,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1853301646115264512}} 
[2026-09-23 14:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":193313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:34] local.INFO: GPS data processed {"connection_id":193313,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:34] local.INFO: Acknowledgment sent {"connection_id":193313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:36] local.INFO: TCP Data received {"connection_id":193314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:36] local.INFO: Processing buffer {"connection_id":193314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:20:36] local.INFO: IMEI packet received {"connection_id":193314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":193314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:20:37] local.INFO: TCP Data received {"connection_id":193314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:37] local.INFO: Processing buffer {"connection_id":193314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:20:37] local.INFO: Packet analysis {"connection_id":193314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:20:37] local.INFO: Extracted packet for processing {"connection_id":193314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:20: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-09-23 14:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:20: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-09-23 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":193314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:37] local.INFO: GPS data processed {"connection_id":193314,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:37] local.INFO: Acknowledgment sent {"connection_id":193314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:51] local.INFO: TCP Data received {"connection_id":191964,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:51] local.INFO: Processing buffer {"connection_id":191964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:20:51] local.INFO: Packet analysis {"connection_id":191964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:51] local.INFO: Extracted packet for processing {"connection_id":191964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:20:51] 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-09-23 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:20:51] 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-09-23 14:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":191964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:20:51] local.INFO: GPS data processed {"connection_id":191964,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:20:51] local.INFO: Acknowledgment sent {"connection_id":191964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:20:56] local.INFO: TCP Data received {"connection_id":190620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:56] local.INFO: Processing buffer {"connection_id":190620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:56] local.INFO: IMEI packet received {"connection_id":190620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":190620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:20:58] local.INFO: TCP Data received {"connection_id":190620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:58] local.INFO: Processing buffer {"connection_id":190620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:20:58] local.INFO: IMEI packet received {"connection_id":190620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":190620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:21:01] local.INFO: TCP Data received {"connection_id":190620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:01] local.INFO: Processing buffer {"connection_id":190620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:01] local.INFO: IMEI packet received {"connection_id":190620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":190620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:21:02] local.INFO: TCP Data received {"connection_id":190620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd753630012d19c0c007265728001000bd2b..."} 
[2026-09-23 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd753630012d19c0c007265728001000bd2b..."} 
[2026-09-23 14:21:02] local.INFO: Processing buffer {"connection_id":190620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd753630012d19c0c007265728001000bd2b..."} 
[2026-09-23 14:21:02] local.INFO: Packet analysis {"connection_id":190620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:21:02] local.INFO: Extracted packet for processing {"connection_id":190620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119953192,"longitude_deg":75.6662464,"latitude_deg":11.9953192,"altitude":16,"angle":189,"satellites":43,"speed":5,"hex_longitude":"2d19c0c0","hex_latitude":"07265728","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279271424001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683487521734656,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855623814673068032,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153406000,"timestamp_ms":1790153406000,"timestamp_seconds":1790153406,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd753630"} 
[2026-09-23 14:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21:02] 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-09-23 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:02] 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-09-23 14: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-09-23 14:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279271424001,"66":12406,"232":206,"83":42752,"24":5,"16":22683487521734656,"45":1855623814673068032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279271424001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683487521734656,"km_value":22683487521734.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855623814673068032,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279271424001,"power":12406,"unknown_232":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1855623814673068032}} 
[2026-09-23 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":190620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:02] local.INFO: GPS data processed {"connection_id":190620,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:02] local.INFO: Acknowledgment sent {"connection_id":190620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:08] local.INFO: TCP Data received {"connection_id":193314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:08] local.INFO: Processing buffer {"connection_id":193314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:08] local.INFO: Packet analysis {"connection_id":193314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:21:08] local.INFO: Extracted packet for processing {"connection_id":193314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:21:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:08] 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-09-23 14: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-09-23 14:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:21: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-09-23 14:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":193314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:08] local.INFO: GPS data processed {"connection_id":193314,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:08] local.INFO: Acknowledgment sent {"connection_id":193314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:13] local.INFO: TCP Data received {"connection_id":190622,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:13] local.INFO: Processing buffer {"connection_id":190622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:13] local.INFO: IMEI packet received {"connection_id":190622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":190622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:21:19] local.INFO: TCP Data received {"connection_id":190622,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:19] local.INFO: Processing buffer {"connection_id":190622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:21:19] local.INFO: IMEI packet received {"connection_id":190622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":190622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:21:20] local.INFO: TCP Data received {"connection_id":190622,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:20] local.INFO: Processing buffer {"connection_id":190622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:20] local.INFO: Packet analysis {"connection_id":190622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:21:20] local.INFO: Extracted packet for processing {"connection_id":190622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:21: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-09-23 14:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:20] 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-09-23 14:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21:20] 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-09-23 14:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:20] 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-09-23 14:21: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-09-23 14:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":190622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:20] local.INFO: GPS data processed {"connection_id":190622,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:20] local.INFO: Acknowledgment sent {"connection_id":190622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:31] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:31] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:31] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:21:33] local.INFO: TCP Data received {"connection_id":190620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd759bc0012d19c4c007264978001600382b..."} 
[2026-09-23 14:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd759bc0012d19c4c007264978001600382b..."} 
[2026-09-23 14:21:33] local.INFO: Processing buffer {"connection_id":190620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd759bc0012d19c4c007264978001600382b..."} 
[2026-09-23 14:21:33] local.INFO: Packet analysis {"connection_id":190620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:21:33] local.INFO: Extracted packet for processing {"connection_id":190620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119949688,"longitude_deg":75.6663488,"latitude_deg":11.9949688,"altitude":22,"angle":56,"satellites":43,"speed":5,"hex_longitude":"2d19c4c0","hex_latitude":"07264978","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279278336001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683680795262976,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345834778624,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153432000,"timestamp_ms":1790153432000,"timestamp_seconds":1790153432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd759bc0"} 
[2026-09-23 14:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21: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-09-23 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:33] 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-09-23 14: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-09-23 14:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279278336001,"66":12113,"232":206,"83":42752,"24":5,"16":22683680795262976,"45":1856679345834778624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279278336001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683680795262976,"km_value":22683680795262.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345834778624,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279278336001,"power":12113,"unknown_232":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1856679345834778624}} 
[2026-09-23 14:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":190620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:34] local.INFO: GPS data processed {"connection_id":190620,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:34] local.INFO: Acknowledgment sent {"connection_id":190620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:34] local.INFO: TCP Data received {"connection_id":190621,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:21:34] local.INFO: Processing buffer {"connection_id":190621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:21:34] local.INFO: IMEI packet received {"connection_id":190621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":190621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:21:36] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:36] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:21:36] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:21:37] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:37] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:21:37] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:21:37] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:37] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:37] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:51] local.INFO: TCP Data received {"connection_id":190622,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:51] local.INFO: Processing buffer {"connection_id":190622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:21:51] local.INFO: Packet analysis {"connection_id":190622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:21:51] local.INFO: Extracted packet for processing {"connection_id":190622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:21:51] 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-09-23 14:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:21:51] 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-09-23 14: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-09-23 14:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:21:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":190622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:21:51] local.INFO: GPS data processed {"connection_id":190622,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:21:51] local.INFO: Acknowledgment sent {"connection_id":190622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:21:56] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:56] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:21:56] local.INFO: IMEI packet received {"connection_id":193315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":193315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:22:02] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:22:02] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:22:02] local.INFO: IMEI packet received {"connection_id":193315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":193315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:22:02] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd759fa8012d19c540072649b0001600182b..."} 
[2026-09-23 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd759fa8012d19c540072649b0001600182b..."} 
[2026-09-23 14:22:03] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd759fa8012d19c540072649b0001600182b..."} 
[2026-09-23 14:22:03] local.INFO: Packet analysis {"connection_id":193315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:22:03] local.INFO: Extracted packet for processing {"connection_id":193315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119949744,"longitude_deg":75.6663616,"latitude_deg":11.9949744,"altitude":22,"angle":24,"satellites":43,"speed":3,"hex_longitude":"2d19c540","hex_latitude":"072649b0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279278592001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683685090230272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083323140096,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153433000,"timestamp_ms":1790153433000,"timestamp_seconds":1790153433,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd759fa8"} 
[2026-09-23 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 14:22:03] 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-09-23 14: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-09-23 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279278592001,"66":12113,"232":206,"83":42752,"24":3,"16":22683685090230272,"45":1856820083323140096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279278592001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683685090230272,"km_value":22683685090230.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083323140096,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279278592001,"power":12113,"unknown_232":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1856820083323140096}} 
[2026-09-23 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":193315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:03] local.INFO: GPS data processed {"connection_id":193315,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:03] local.INFO: Acknowledgment sent {"connection_id":193315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:22:08] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:08] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:08] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:22:08] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22: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-09-23 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:22:08] 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-09-23 14:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:22: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-09-23 14:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:08] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:08] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:22:14] local.INFO: TCP Data received {"connection_id":193316,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:22:14] local.INFO: Processing buffer {"connection_id":193316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:22:14] local.INFO: IMEI packet received {"connection_id":193316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":193316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:22:19] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:19] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:19] local.INFO: IMEI packet received {"connection_id":190623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":190623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:22:24] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:24] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:22:24] local.INFO: IMEI packet received {"connection_id":190623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":190623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:22:24] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:24] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:24] local.INFO: Packet analysis {"connection_id":190623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:22:24] local.INFO: Extracted packet for processing {"connection_id":190623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:24] 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-09-23 14:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22:24] 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-09-23 14:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:22:24] 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-09-23 14:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":190623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:25] local.INFO: GPS data processed {"connection_id":190623,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:25] local.INFO: Acknowledgment sent {"connection_id":190623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:22:31] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:31] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:31] local.INFO: IMEI packet received {"connection_id":193317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":193317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:22:34] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd75f1b0012d19c580072649e00017001429..."} 
[2026-09-23 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd75f1b0012d19c580072649e00017001429..."} 
[2026-09-23 14:22:34] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd75f1b0012d19c580072649e00017001429..."} 
[2026-09-23 14:22:34] local.INFO: Packet analysis {"connection_id":193315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:22:34] local.INFO: Extracted packet for processing {"connection_id":193315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd75"} 
[2026-09-23 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279278848001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820811509760,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790153454000,"timestamp_ms":1790153454000,"timestamp_seconds":1790153454,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd75f1b0"} 
[2026-09-23 14:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 14:22:34] 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-09-23 14: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-09-23 14:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279278848001,"66":12885,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1856960820811509760},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279278848001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820811509760,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279278848001,"power":12885,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1856960820811509760}} 
[2026-09-23 14:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":193315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:34] local.INFO: GPS data processed {"connection_id":193315,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:34] local.INFO: Acknowledgment sent {"connection_id":193315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:22:36] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:36] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:22:36] local.INFO: IMEI packet received {"connection_id":193317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":193317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:22:37] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:37] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd72b978012d4160c006cb46f0002001332b..."} 
[2026-09-23 14:22:37] local.INFO: Packet analysis {"connection_id":193317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:22:37] local.INFO: Extracted packet for processing {"connection_id":193317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd72"} 
[2026-09-23 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279153152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153243000,"timestamp_ms":1790153243000,"timestamp_seconds":1790153243,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd72b978"} 
[2026-09-23 14:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:22: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-09-23 14:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279153152001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279153152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279153152001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":193317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:37] local.INFO: GPS data processed {"connection_id":193317,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:37] local.INFO: Acknowledgment sent {"connection_id":193317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:22:56] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:56] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7378e0012d7e014005d510300000000028..."} 
[2026-09-23 14:22:56] local.INFO: Packet analysis {"connection_id":190623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:22:56] local.INFO: Extracted packet for processing {"connection_id":190623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd73"} 
[2026-09-23 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849392,"longitude_deg":76.3232576,"latitude_deg":9.7849392,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d51030","is_valid_coordinates":true} 
[2026-09-23 14:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279164928001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587208387100672,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014322688,"note":"Value kept but may cause issues"} 
[2026-09-23 14:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790153292000,"timestamp_ms":1790153292000,"timestamp_seconds":1790153292,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7378e0"} 
[2026-09-23 14:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:22:56] 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-09-23 14:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":190623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":190623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":190623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279164928001,"66":12472,"111":206,"85":15104,"24":0,"16":135587208387100672,"45":9080030930014322688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279164928001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:22:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587208387100672,"km_value":135587208387100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014322688,"description":"Unknown IO ID 45"} 
[2026-09-23 14:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279164928001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014322688}} 
[2026-09-23 14:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":190623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:22:56] local.INFO: GPS data processed {"connection_id":190623,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:22:56] local.INFO: Acknowledgment sent {"connection_id":190623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:02] local.INFO: TCP Data received {"connection_id":193318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:02] local.INFO: Processing buffer {"connection_id":193318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:02] local.INFO: IMEI packet received {"connection_id":193318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":193318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:23:07] local.INFO: TCP Data received {"connection_id":193318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:07] local.INFO: Processing buffer {"connection_id":193318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:07] local.INFO: IMEI packet received {"connection_id":193318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":193318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:23:08] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:08] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:08] local.INFO: Packet analysis {"connection_id":193317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:08] local.INFO: Extracted packet for processing {"connection_id":193317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:23: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-09-23 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:23:08] 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-09-23 14:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23: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-09-23 14:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":193317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:23:08] local.INFO: GPS data processed {"connection_id":193317,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:23:08] local.INFO: Acknowledgment sent {"connection_id":193317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:08] local.INFO: TCP Data received {"connection_id":193318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7643b8012d19c580072649e00017001429..."} 
[2026-09-23 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7643b8012d19c580072649e00017001429..."} 
[2026-09-23 14:23:08] local.INFO: Processing buffer {"connection_id":193318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7643b8012d19c580072649e00017001429..."} 
[2026-09-23 14:23:08] local.INFO: Packet analysis {"connection_id":193318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:23:08] local.INFO: Extracted packet for processing {"connection_id":193318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279284224001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153475000,"timestamp_ms":1790153475000,"timestamp_seconds":1790153475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7643b8"} 
[2026-09-23 14:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279284224001,"66":12863,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279284224001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279284224001,"power":12863,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":193318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:23:08] local.INFO: GPS data processed {"connection_id":193318,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:23:08] local.INFO: Acknowledgment sent {"connection_id":193318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:12] local.INFO: TCP Data received {"connection_id":193318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7695c0012d19c580072649e00017001428..."} 
[2026-09-23 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7695c0012d19c580072649e00017001428..."} 
[2026-09-23 14:23:12] local.INFO: Processing buffer {"connection_id":193318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7695c0012d19c580072649e00017001428..."} 
[2026-09-23 14:23:12] local.INFO: Packet analysis {"connection_id":193318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:23:12] local.INFO: Extracted packet for processing {"connection_id":193318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279289600001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790153496000,"timestamp_ms":1790153496000,"timestamp_seconds":1790153496,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7695c0"} 
[2026-09-23 14:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 14:23:12] 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-09-23 14:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279289600001,"66":12776,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279289600001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:23:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279289600001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":193318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:23:12] local.INFO: GPS data processed {"connection_id":193318,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:23:12] local.INFO: Acknowledgment sent {"connection_id":193318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:36] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:36] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:36] local.INFO: IMEI packet received {"connection_id":190443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":190443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:23:41] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:41] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:23:41] local.INFO: IMEI packet received {"connection_id":190443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":190443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:23:42] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:42] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:42] local.INFO: Packet analysis {"connection_id":190443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:42] local.INFO: Extracted packet for processing {"connection_id":190443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:23: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-09-23 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23: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-09-23 14:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:23:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":190443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:23:42] local.INFO: GPS data processed {"connection_id":190443,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:23:42] local.INFO: Acknowledgment sent {"connection_id":190443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:47] local.INFO: TCP Data received {"connection_id":190443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:47] local.INFO: Processing buffer {"connection_id":190443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:23:47] local.INFO: Packet analysis {"connection_id":190443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:47] local.INFO: Extracted packet for processing {"connection_id":190443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:23: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-09-23 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:23:47] 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-09-23 14:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:23:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":190443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:23:47] local.INFO: GPS data processed {"connection_id":190443,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:23:47] local.INFO: Acknowledgment sent {"connection_id":190443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:23:58] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:58] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:58] local.INFO: IMEI packet received {"connection_id":191966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":191966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:23:59] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:59] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:23:59] local.INFO: IMEI packet received {"connection_id":191966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":191966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:24:02] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:02] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:02] local.INFO: IMEI packet received {"connection_id":191966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":191966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:24:02] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd76e7c8012d19c580072649e00017001429..."} 
[2026-09-23 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd76e7c8012d19c580072649e00017001429..."} 
[2026-09-23 14:24:02] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd76e7c8012d19c580072649e00017001429..."} 
[2026-09-23 14:24:02] local.INFO: Packet analysis {"connection_id":191966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:24:02] local.INFO: Extracted packet for processing {"connection_id":191966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd76"} 
[2026-09-23 14:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279294976001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153517000,"timestamp_ms":1790153517000,"timestamp_seconds":1790153517,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd76e7c8"} 
[2026-09-23 14:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:24:02] 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-09-23 14: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 14:24:02] 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-09-23 14: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-09-23 14:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279294976001,"66":12776,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279294976001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:24:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279294976001,"power":12776,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":191966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:24:03] local.INFO: GPS data processed {"connection_id":191966,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:24:03] local.INFO: Acknowledgment sent {"connection_id":191966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:24:07] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7739d0012d19c580072649e0001700142a..."} 
[2026-09-23 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7739d0012d19c580072649e0001700142a..."} 
[2026-09-23 14:24:07] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7739d0012d19c580072649e0001700142a..."} 
[2026-09-23 14:24:07] local.INFO: Packet analysis {"connection_id":191966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:07] local.INFO: Extracted packet for processing {"connection_id":191966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279300352001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153538000,"timestamp_ms":1790153538000,"timestamp_seconds":1790153538,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7739d0"} 
[2026-09-23 14:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 14:24: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-09-23 14: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-09-23 14:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279300352001,"66":12722,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279300352001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:24:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279300352001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":191966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:24:07] local.INFO: GPS data processed {"connection_id":191966,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:24:07] local.INFO: Acknowledgment sent {"connection_id":191966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:24:31] local.INFO: TCP Data received {"connection_id":190444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:31] local.INFO: Processing buffer {"connection_id":190444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:31] local.INFO: IMEI packet received {"connection_id":190444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":190444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:24:36] local.INFO: TCP Data received {"connection_id":190444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:36] local.INFO: Processing buffer {"connection_id":190444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:24:36] local.INFO: IMEI packet received {"connection_id":190444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":190444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:24:37] local.INFO: TCP Data received {"connection_id":190444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:24:37] local.INFO: Processing buffer {"connection_id":190444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:24:37] local.INFO: Packet analysis {"connection_id":190444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:37] local.INFO: Extracted packet for processing {"connection_id":190444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 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-09-23 14: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-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:24: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-09-23 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-09-23 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-09-23 14:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:24:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":190444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:24:37] local.INFO: GPS data processed {"connection_id":190444,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:24:37] local.INFO: Acknowledgment sent {"connection_id":190444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:24:38] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd778bd8012d19c580072649e00017001428..."} 
[2026-09-23 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd778bd8012d19c580072649e00017001428..."} 
[2026-09-23 14:24:38] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd778bd8012d19c580072649e00017001428..."} 
[2026-09-23 14:24:38] local.INFO: Packet analysis {"connection_id":191966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:38] local.INFO: Extracted packet for processing {"connection_id":191966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279305728001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790153559000,"timestamp_ms":1790153559000,"timestamp_seconds":1790153559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd778bd8"} 
[2026-09-23 14:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:24: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-09-23 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 14:24:38] 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-09-23 14: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-09-23 14:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279305728001,"66":12722,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279305728001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:24:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279305728001,"power":12722,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":191966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:24:38] local.INFO: GPS data processed {"connection_id":191966,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:24:38] local.INFO: Acknowledgment sent {"connection_id":191966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:24:57] local.INFO: TCP Data received {"connection_id":191967,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:57] local.INFO: Processing buffer {"connection_id":191967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:24:57] local.INFO: IMEI packet received {"connection_id":191967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":191967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:25:02] local.INFO: TCP Data received {"connection_id":191967,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:02] local.INFO: Processing buffer {"connection_id":191967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:02] local.INFO: IMEI packet received {"connection_id":191967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":191967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:25:05] local.INFO: TCP Data received {"connection_id":191967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd77dde0012d19c580072649e00017001429..."} 
[2026-09-23 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd77dde0012d19c580072649e00017001429..."} 
[2026-09-23 14:25:05] local.INFO: Processing buffer {"connection_id":191967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd77dde0012d19c580072649e00017001429..."} 
[2026-09-23 14:25:05] local.INFO: Packet analysis {"connection_id":191967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:05] local.INFO: Extracted packet for processing {"connection_id":191967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279311104001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790153580000,"timestamp_ms":1790153580000,"timestamp_seconds":1790153580,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd77dde0"} 
[2026-09-23 14:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 14:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279311104001,"66":12689,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279311104001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279311104001,"power":12689,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":191967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:25:05] local.INFO: GPS data processed {"connection_id":191967,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:25:05] local.INFO: Acknowledgment sent {"connection_id":191967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:25:07] local.INFO: TCP Data received {"connection_id":190444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:07] local.INFO: Processing buffer {"connection_id":190444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:07] local.INFO: Packet analysis {"connection_id":190444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:07] local.INFO: Extracted packet for processing {"connection_id":190444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:25:07] 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-09-23 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:25: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-09-23 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":190444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:25:07] local.INFO: GPS data processed {"connection_id":190444,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:25:07] local.INFO: Acknowledgment sent {"connection_id":190444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:25:31] local.INFO: TCP Data received {"connection_id":193319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:31] local.INFO: Processing buffer {"connection_id":193319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:31] local.INFO: IMEI packet received {"connection_id":193319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":193319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:25:36] local.INFO: TCP Data received {"connection_id":191967,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd782fe8012d19c580072649e00017001429..."} 
[2026-09-23 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd782fe8012d19c580072649e00017001429..."} 
[2026-09-23 14:25:36] local.INFO: Processing buffer {"connection_id":191967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd782fe8012d19c580072649e00017001429..."} 
[2026-09-23 14:25:36] local.INFO: Packet analysis {"connection_id":191967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:25:36] local.INFO: Extracted packet for processing {"connection_id":191967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279316480001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790153601000,"timestamp_ms":1790153601000,"timestamp_seconds":1790153601,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd782fe8"} 
[2026-09-23 14:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:25: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-09-23 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 14:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279316480001,"66":12645,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279316480001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:25:36] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279316480001,"power":12645,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":191967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:25:36] local.INFO: GPS data processed {"connection_id":191967,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:25:36] local.INFO: Acknowledgment sent {"connection_id":191967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:25:36] local.INFO: TCP Data received {"connection_id":193319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:36] local.INFO: Processing buffer {"connection_id":193319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:25:36] local.INFO: IMEI packet received {"connection_id":193319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":193319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:25:37] local.INFO: TCP Data received {"connection_id":193319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:37] local.INFO: Processing buffer {"connection_id":193319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:25:37] local.INFO: Packet analysis {"connection_id":193319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:37] local.INFO: Extracted packet for processing {"connection_id":193319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:25: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-09-23 14: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-09-23 14:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:25:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":193319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:25:37] local.INFO: GPS data processed {"connection_id":193319,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:25:37] local.INFO: Acknowledgment sent {"connection_id":193319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:25:56] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:56] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:25:56] local.INFO: IMEI packet received {"connection_id":193320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":193320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:26:02] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:02] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:02] local.INFO: IMEI packet received {"connection_id":193320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":193320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:26:03] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7881f0012d19c580072649e0001700142b..."} 
[2026-09-23 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7881f0012d19c580072649e0001700142b..."} 
[2026-09-23 14:26:03] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7881f0012d19c580072649e0001700142b..."} 
[2026-09-23 14:26:03] local.INFO: Packet analysis {"connection_id":193320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:26:03] local.INFO: Extracted packet for processing {"connection_id":193320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279321856001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153622000,"timestamp_ms":1790153622000,"timestamp_seconds":1790153622,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7881f0"} 
[2026-09-23 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:26: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-09-23 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 14:26:03] 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-09-23 14:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279321856001,"66":12613,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279321856001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:26:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279321856001,"power":12613,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":193320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:26:03] local.INFO: GPS data processed {"connection_id":193320,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:26:03] local.INFO: Acknowledgment sent {"connection_id":193320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:26:08] local.INFO: TCP Data received {"connection_id":193319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:08] local.INFO: Processing buffer {"connection_id":193319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:08] local.INFO: Packet analysis {"connection_id":193319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:26:08] local.INFO: Extracted packet for processing {"connection_id":193319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:26: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-09-23 14:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:26:08] 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-09-23 14:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:26: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-09-23 14:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:26:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":193319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:26:08] local.INFO: GPS data processed {"connection_id":193319,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:26:08] local.INFO: Acknowledgment sent {"connection_id":193319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:26:31] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:31] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:31] local.INFO: IMEI packet received {"connection_id":190626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":190626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:26:34] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd78d3f8012d19c580072649e00017001429..."} 
[2026-09-23 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd78d3f8012d19c580072649e00017001429..."} 
[2026-09-23 14:26:34] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd78d3f8012d19c580072649e00017001429..."} 
[2026-09-23 14:26:34] local.INFO: Packet analysis {"connection_id":193320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:26:34] local.INFO: Extracted packet for processing {"connection_id":193320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd78"} 
[2026-09-23 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279327232001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790153643000,"timestamp_ms":1790153643000,"timestamp_seconds":1790153643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd78d3f8"} 
[2026-09-23 14:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:26: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-09-23 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 14:26:34] 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-09-23 14:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279327232001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279327232001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:26:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279327232001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":193320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:26:34] local.INFO: GPS data processed {"connection_id":193320,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:26:34] local.INFO: Acknowledgment sent {"connection_id":193320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:26:36] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:36] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:26:36] local.INFO: IMEI packet received {"connection_id":190626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":190626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:26:37] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:37] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:26:37] local.INFO: Packet analysis {"connection_id":190626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:26:37] local.INFO: Extracted packet for processing {"connection_id":190626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:26: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-09-23 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:26:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":190626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:26:37] local.INFO: GPS data processed {"connection_id":190626,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:26:37] local.INFO: Acknowledgment sent {"connection_id":190626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:26:56] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:56] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:26:56] local.INFO: IMEI packet received {"connection_id":191969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":191969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:27:02] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:27:02] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:27:02] local.INFO: IMEI packet received {"connection_id":191969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":191969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:27:03] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd792600012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd792600012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:03] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd792600012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:03] local.INFO: Packet analysis {"connection_id":191969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:27:03] local.INFO: Extracted packet for processing {"connection_id":191969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279332608001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153664000,"timestamp_ms":1790153664000,"timestamp_seconds":1790153664,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd792600"} 
[2026-09-23 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:27:03] 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-09-23 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279332608001,"66":12526,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279332608001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279332608001,"power":12526,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":191969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:27:03] local.INFO: GPS data processed {"connection_id":191969,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:27:03] local.INFO: Acknowledgment sent {"connection_id":191969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:27:08] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:08] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:08] local.INFO: Packet analysis {"connection_id":190626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:27:08] local.INFO: Extracted packet for processing {"connection_id":190626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:27: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-09-23 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:27:08] 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-09-23 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:27: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-09-23 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:27:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":190626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:27:08] local.INFO: GPS data processed {"connection_id":190626,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:27:08] local.INFO: Acknowledgment sent {"connection_id":190626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:27:31] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:31] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:31] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:27:34] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd797808012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd797808012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:34] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd797808012d19c580072649e0001700142a..."} 
[2026-09-23 14:27:34] local.INFO: Packet analysis {"connection_id":191969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:27:34] local.INFO: Extracted packet for processing {"connection_id":191969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279337984001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790153685000,"timestamp_ms":1790153685000,"timestamp_seconds":1790153685,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd797808"} 
[2026-09-23 14:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 14:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279337984001,"66":12548,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279337984001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:27:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279337984001,"power":12548,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":191969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:27:34] local.INFO: GPS data processed {"connection_id":191969,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:27:34] local.INFO: Acknowledgment sent {"connection_id":191969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:27:36] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:36] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:27:36] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:27:37] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:37] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd775140012d4160c006cb46f00020013329..."} 
[2026-09-23 14:27:37] local.INFO: Packet analysis {"connection_id":191970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:27:37] local.INFO: Extracted packet for processing {"connection_id":191970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd77"} 
[2026-09-23 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279230208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153544000,"timestamp_ms":1790153544000,"timestamp_seconds":1790153544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd775140"} 
[2026-09-23 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-09-23 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:27: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-09-23 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-09-23 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-09-23 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:27: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-09-23 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279230208001,"66":25941,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279230208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279230208001,"power":25941,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":191970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:27:37] local.INFO: GPS data processed {"connection_id":191970,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:27:37] local.INFO: Acknowledgment sent {"connection_id":191970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:27:39] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:27:39] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:27:39] local.INFO: IMEI packet received {"connection_id":190445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":190445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:28:02] local.INFO: TCP Data received {"connection_id":190627,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:02] local.INFO: Processing buffer {"connection_id":190627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:02] local.INFO: IMEI packet received {"connection_id":190627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":190627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:28:07] local.INFO: TCP Data received {"connection_id":190627,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:07] local.INFO: Processing buffer {"connection_id":190627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:07] local.INFO: IMEI packet received {"connection_id":190627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":190627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:28:07] local.INFO: TCP Data received {"connection_id":190627,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd79ca10012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd79ca10012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:07] local.INFO: Processing buffer {"connection_id":190627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd79ca10012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:07] local.INFO: Packet analysis {"connection_id":190627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:28:07] local.INFO: Extracted packet for processing {"connection_id":190627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd79"} 
[2026-09-23 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279343360001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153706000,"timestamp_ms":1790153706000,"timestamp_seconds":1790153706,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd79ca10"} 
[2026-09-23 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3447163864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2028470478,"corrected_to":0} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2147952201,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2528247808,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1729155398230861824,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,232,83,24,241,157,16,150,160,38,45,128,73,23,42,10,66,211,41,129,1,240,69,227,205,4,113,221,197,224,239,49,2,80,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2028470478,"validated":0}]} 
[2026-09-23 14:28:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657346833493524480,"timestamp_seconds":1657346833493524.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279343360001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279343360001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279343360001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":190627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:28:08] local.INFO: GPS data processed {"connection_id":190627,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:28:08] local.INFO: Acknowledgment sent {"connection_id":190627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:28:08] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:08] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:08] local.INFO: Packet analysis {"connection_id":191970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:28:08] local.INFO: Extracted packet for processing {"connection_id":191970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:28: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-09-23 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:28: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-09-23 14:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:28:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":191970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:28:08] local.INFO: GPS data processed {"connection_id":191970,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:28:08] local.INFO: Acknowledgment sent {"connection_id":191970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:28:12] local.INFO: TCP Data received {"connection_id":190627,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7a1c18012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7a1c18012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:12] local.INFO: Processing buffer {"connection_id":190627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7a1c18012d19c580072649e0001700142a..."} 
[2026-09-23 14:28:12] local.INFO: Packet analysis {"connection_id":190627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:28:12] local.INFO: Extracted packet for processing {"connection_id":190627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279348736001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790153727000,"timestamp_ms":1790153727000,"timestamp_seconds":1790153727,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7a1c18"} 
[2026-09-23 14:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:28:12] 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-09-23 14:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279348736001,"66":12439,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279348736001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:28:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279348736001,"power":12439,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":190627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:28:12] local.INFO: GPS data processed {"connection_id":190627,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:28:12] local.INFO: Acknowledgment sent {"connection_id":190627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:28:14] local.INFO: TCP Data received {"connection_id":191971,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:28:14] local.INFO: Processing buffer {"connection_id":191971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:28:14] local.INFO: IMEI packet received {"connection_id":191971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":191971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:28:31] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:31] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:31] local.INFO: IMEI packet received {"connection_id":190446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":190446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:28:36] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:36] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:28:36] local.INFO: IMEI packet received {"connection_id":190446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":190446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:28:37] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:37] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:28:37] local.INFO: Packet analysis {"connection_id":190446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:28:37] local.INFO: Extracted packet for processing {"connection_id":190446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:28: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-09-23 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:28:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":190446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:28:37] local.INFO: GPS data processed {"connection_id":190446,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:28:37] local.INFO: Acknowledgment sent {"connection_id":190446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:28:53] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:53] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:53] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:28:57] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:57] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:28:57] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:29:02] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:02] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:02] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:29:02] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7a6e20012d19c580072649e00017001429..."} 
[2026-09-23 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7a6e20012d19c580072649e00017001429..."} 
[2026-09-23 14:29:02] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7a6e20012d19c580072649e00017001429..."} 
[2026-09-23 14:29:02] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:29:02] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279354112001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153748000,"timestamp_ms":1790153748000,"timestamp_seconds":1790153748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7a6e20"} 
[2026-09-23 14:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279354112001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279354112001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279354112001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:03] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:03] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:07] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7ac028012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7ac028012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:07] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7ac028012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:07] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:29:07] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7a"} 
[2026-09-23 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279359488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153769000,"timestamp_ms":1790153769000,"timestamp_seconds":1790153769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7ac028"} 
[2026-09-23 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279359488001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279359488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279359488001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:07] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:07] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:07] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:07] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:07] local.INFO: Packet analysis {"connection_id":190446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:07] local.INFO: Extracted packet for processing {"connection_id":190446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29: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-09-23 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29: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-09-23 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":190446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:07] local.INFO: GPS data processed {"connection_id":190446,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:07] local.INFO: Acknowledgment sent {"connection_id":190446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:36] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:36] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:36] local.INFO: IMEI packet received {"connection_id":193321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":193321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:29:38] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7b1230012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7b1230012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:38] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7b1230012d19c580072649e0001700142b..."} 
[2026-09-23 14:29:38] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:38] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279364864001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790153790000,"timestamp_ms":1790153790000,"timestamp_seconds":1790153790,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7b1230"} 
[2026-09-23 14:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279364864001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279364864001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279364864001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:38] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:38] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:41] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:41] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:29:41] local.INFO: IMEI packet received {"connection_id":193321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":193321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:29:42] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:42] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:42] local.INFO: Packet analysis {"connection_id":193321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:42] local.INFO: Extracted packet for processing {"connection_id":193321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29: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-09-23 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29: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-09-23 14:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":193321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:42] local.INFO: GPS data processed {"connection_id":193321,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:42] local.INFO: Acknowledgment sent {"connection_id":193321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:46] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:46] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:29:46] local.INFO: Packet analysis {"connection_id":193321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:46] local.INFO: Extracted packet for processing {"connection_id":193321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:29:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":193321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:29:46] local.INFO: GPS data processed {"connection_id":193321,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:29:46] local.INFO: Acknowledgment sent {"connection_id":193321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:29:56] local.INFO: TCP Data received {"connection_id":190629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: Processing buffer {"connection_id":190629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: IMEI packet received {"connection_id":190629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":190629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:29:56] local.INFO: TCP Data received {"connection_id":190629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: Processing buffer {"connection_id":190629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:29:56] local.INFO: IMEI packet received {"connection_id":190629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":190629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:30:02] local.INFO: TCP Data received {"connection_id":190629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:02] local.INFO: Processing buffer {"connection_id":190629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:02] local.INFO: IMEI packet received {"connection_id":190629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:30:03] local.INFO: TCP Data received {"connection_id":190629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7b6438012d19c580072649e0001700142b..."} 
[2026-09-23 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7b6438012d19c580072649e0001700142b..."} 
[2026-09-23 14:30:03] local.INFO: Processing buffer {"connection_id":190629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7b6438012d19c580072649e0001700142b..."} 
[2026-09-23 14:30:03] local.INFO: Packet analysis {"connection_id":190629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:03] local.INFO: Extracted packet for processing {"connection_id":190629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279370240001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153811000,"timestamp_ms":1790153811000,"timestamp_seconds":1790153811,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7b6438"} 
[2026-09-23 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:30:03] 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-09-23 14: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-09-23 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279370240001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279370240001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:30:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279370240001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":190629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:30:03] local.INFO: GPS data processed {"connection_id":190629,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:30:03] local.INFO: Acknowledgment sent {"connection_id":190629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:30:31] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:31] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:31] local.INFO: IMEI packet received {"connection_id":190630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:30:36] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:36] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:30:36] local.INFO: IMEI packet received {"connection_id":190630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:30:37] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:30:37] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:30:37] local.INFO: Packet analysis {"connection_id":190630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:37] local.INFO: Extracted packet for processing {"connection_id":190630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:30:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:30:37] local.INFO: GPS data processed {"connection_id":190630,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:30:37] local.INFO: Acknowledgment sent {"connection_id":190630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:30:39] local.INFO: TCP Data received {"connection_id":190629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7bb640012d19c580072649e0001700142a..."} 
[2026-09-23 14:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7bb640012d19c580072649e0001700142a..."} 
[2026-09-23 14:30:39] local.INFO: Processing buffer {"connection_id":190629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7bb640012d19c580072649e0001700142a..."} 
[2026-09-23 14:30:39] local.INFO: Packet analysis {"connection_id":190629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:39] local.INFO: Extracted packet for processing {"connection_id":190629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279375616001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790153832000,"timestamp_ms":1790153832000,"timestamp_seconds":1790153832,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7bb640"} 
[2026-09-23 14:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279375616001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279375616001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:30:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279375616001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":190629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:30:39] local.INFO: GPS data processed {"connection_id":190629,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:30:39] local.INFO: Acknowledgment sent {"connection_id":190629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:30:57] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:57] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:57] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:30:59] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:59] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:30:59] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:31:00] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7c0848012d19c580072649e00017001429..."} 
[2026-09-23 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7c0848012d19c580072649e00017001429..."} 
[2026-09-23 14:31:00] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7c0848012d19c580072649e00017001429..."} 
[2026-09-23 14:31:00] local.INFO: Packet analysis {"connection_id":190448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:31:00] local.INFO: Extracted packet for processing {"connection_id":190448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279380992001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790153853000,"timestamp_ms":1790153853000,"timestamp_seconds":1790153853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7c0848"} 
[2026-09-23 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-09-23 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:31: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-09-23 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-09-23 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-09-23 14:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":190448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":190448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":190448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279380992001,"66":12428,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279380992001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:31:00] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279380992001,"power":12428,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":190448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:31:00] local.INFO: GPS data processed {"connection_id":190448,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:31:00] local.INFO: Acknowledgment sent {"connection_id":190448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:31:08] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:08] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:08] local.INFO: Packet analysis {"connection_id":190630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:31:08] local.INFO: Extracted packet for processing {"connection_id":190630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:31: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-09-23 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:31: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-09-23 14:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:31:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":190630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:31:08] local.INFO: GPS data processed {"connection_id":190630,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:31:08] local.INFO: Acknowledgment sent {"connection_id":190630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:31:31] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7c5a50012d19c580072649e0001700142b..."} 
[2026-09-23 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7c5a50012d19c580072649e0001700142b..."} 
[2026-09-23 14:31:31] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7c5a50012d19c580072649e0001700142b..."} 
[2026-09-23 14:31:31] local.INFO: Packet analysis {"connection_id":190448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:31:31] local.INFO: Extracted packet for processing {"connection_id":190448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279386368001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790153874000,"timestamp_ms":1790153874000,"timestamp_seconds":1790153874,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7c5a50"} 
[2026-09-23 14:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:31:31] 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-09-23 14: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-09-23 14:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":190448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":190448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":190448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279386368001,"66":12428,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279386368001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:31:31] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279386368001,"power":12428,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":190448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:31:31] local.INFO: GPS data processed {"connection_id":190448,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:31:31] local.INFO: Acknowledgment sent {"connection_id":190448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:31:31] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:31] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:31] local.INFO: IMEI packet received {"connection_id":191974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":191974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:31:36] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:36] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:31:36] local.INFO: IMEI packet received {"connection_id":191974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":191974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:31:37] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:37] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:31:37] local.INFO: Packet analysis {"connection_id":191974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:31:37] local.INFO: Extracted packet for processing {"connection_id":191974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:31:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:31: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-09-23 14:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:31:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":191974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:31:37] local.INFO: GPS data processed {"connection_id":191974,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:31:37] local.INFO: Acknowledgment sent {"connection_id":191974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:31:57] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:31:57] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:31:57] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:32:03] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:03] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:03] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:32:03] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7cac58012d19c580072649e0001700142b..."} 
[2026-09-23 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7cac58012d19c580072649e0001700142b..."} 
[2026-09-23 14:32:03] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7cac58012d19c580072649e0001700142b..."} 
[2026-09-23 14:32:03] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:32:03] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279391744001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153895000,"timestamp_ms":1790153895000,"timestamp_seconds":1790153895,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7cac58"} 
[2026-09-23 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:32:03] 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-09-23 14: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-09-23 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279391744001,"66":12406,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279391744001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:32:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279391744001,"power":12406,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:32:04] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:32:04] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:32:08] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:08] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:08] local.INFO: Packet analysis {"connection_id":191974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:32:08] local.INFO: Extracted packet for processing {"connection_id":191974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:32: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-09-23 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:32: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-09-23 14:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:32:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":191974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:32:08] local.INFO: GPS data processed {"connection_id":191974,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:32:08] local.INFO: Acknowledgment sent {"connection_id":191974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:32:31] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:31] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:31] local.INFO: IMEI packet received {"connection_id":193322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":193322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:32:35] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7cfe60012d19c580072649e0001700142c..."} 
[2026-09-23 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7cfe60012d19c580072649e0001700142c..."} 
[2026-09-23 14:32:35] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7cfe60012d19c580072649e0001700142c..."} 
[2026-09-23 14:32:35] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:32:35] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7c"} 
[2026-09-23 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279397120001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790153916000,"timestamp_ms":1790153916000,"timestamp_seconds":1790153916,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7cfe60"} 
[2026-09-23 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-09-23 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 14:32:35] 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-09-23 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-09-23 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-09-23 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279397120001,"66":12406,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279397120001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279397120001,"power":12406,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:32:35] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:32:35] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:32:36] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:36] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:32:36] local.INFO: IMEI packet received {"connection_id":193322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":193322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:32:37] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:37] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7be908012d4160c006cb46f00020013327..."} 
[2026-09-23 14:32:37] local.INFO: Packet analysis {"connection_id":193322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:32:37] local.INFO: Extracted packet for processing {"connection_id":193322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7b"} 
[2026-09-23 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790153845000,"timestamp_ms":1790153845000,"timestamp_seconds":1790153845,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7be908"} 
[2026-09-23 14:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 14:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:32: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-09-23 14:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279307264001,"66":25952,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:32:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279307264001,"power":25952,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":193322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:32:37] local.INFO: GPS data processed {"connection_id":193322,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:32:37] local.INFO: Acknowledgment sent {"connection_id":193322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:32:57] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:57] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:32:57] local.INFO: IMEI packet received {"connection_id":190450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":190450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:33:01] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:01] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:01] local.INFO: IMEI packet received {"connection_id":190450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":190450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:33:02] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7d5068012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7d5068012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:02] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7d5068012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:02] local.INFO: Packet analysis {"connection_id":190450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:33:02] local.INFO: Extracted packet for processing {"connection_id":190450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279402496001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790153937000,"timestamp_ms":1790153937000,"timestamp_seconds":1790153937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7d5068"} 
[2026-09-23 14:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 14:33:02] 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-09-23 14: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-09-23 14:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279402496001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279402496001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:33:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279402496001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":190450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:33:02] local.INFO: GPS data processed {"connection_id":190450,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:33:02] local.INFO: Acknowledgment sent {"connection_id":190450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:33:08] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:08] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:08] local.INFO: Packet analysis {"connection_id":193322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:33:08] local.INFO: Extracted packet for processing {"connection_id":193322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:33: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-09-23 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:33: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-09-23 14:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:33:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":193322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:33:08] local.INFO: GPS data processed {"connection_id":193322,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:33:08] local.INFO: Acknowledgment sent {"connection_id":193322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:33:31] local.INFO: TCP Data received {"connection_id":190632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:31] local.INFO: Processing buffer {"connection_id":190632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:31] local.INFO: IMEI packet received {"connection_id":190632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:33:33] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7da270012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7da270012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:33] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7da270012d19c580072649e0001700142a..."} 
[2026-09-23 14:33:33] local.INFO: Packet analysis {"connection_id":190450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:33:33] local.INFO: Extracted packet for processing {"connection_id":190450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279407872001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790153958000,"timestamp_ms":1790153958000,"timestamp_seconds":1790153958,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7da270"} 
[2026-09-23 14:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:33: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-09-23 14:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279407872001,"66":12439,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279407872001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:33:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279407872001,"power":12439,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":190450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:33:33] local.INFO: GPS data processed {"connection_id":190450,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:33:33] local.INFO: Acknowledgment sent {"connection_id":190450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:33:36] local.INFO: TCP Data received {"connection_id":190632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:36] local.INFO: Processing buffer {"connection_id":190632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:33:36] local.INFO: IMEI packet received {"connection_id":190632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:33:37] local.INFO: TCP Data received {"connection_id":190632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:37] local.INFO: Processing buffer {"connection_id":190632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:33:37] local.INFO: Packet analysis {"connection_id":190632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:33:37] local.INFO: Extracted packet for processing {"connection_id":190632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:33: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-09-23 14:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:33:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":190632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:33:37] local.INFO: GPS data processed {"connection_id":190632,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:33:37] local.INFO: Acknowledgment sent {"connection_id":190632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:33:56] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:56] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:33:56] local.INFO: IMEI packet received {"connection_id":191975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":191975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:34:02] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:34:02] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:34:02] local.INFO: IMEI packet received {"connection_id":191975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":191975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:34:03] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7df478012d19c580072649e0001700142a..."} 
[2026-09-23 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7df478012d19c580072649e0001700142a..."} 
[2026-09-23 14:34:03] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7df478012d19c580072649e0001700142a..."} 
[2026-09-23 14:34:03] local.INFO: Packet analysis {"connection_id":191975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:34:03] local.INFO: Extracted packet for processing {"connection_id":191975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7d"} 
[2026-09-23 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279413248001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790153979000,"timestamp_ms":1790153979000,"timestamp_seconds":1790153979,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7df478"} 
[2026-09-23 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-23 14:34: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-09-23 14: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-09-23 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279413248001,"66":11656,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279413248001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:34:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279413248001,"power":11656,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":191975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:34:03] local.INFO: GPS data processed {"connection_id":191975,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:34:03] local.INFO: Acknowledgment sent {"connection_id":191975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:34:08] local.INFO: TCP Data received {"connection_id":190632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:08] local.INFO: Processing buffer {"connection_id":190632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:08] local.INFO: Packet analysis {"connection_id":190632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:34:08] local.INFO: Extracted packet for processing {"connection_id":190632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:34:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:34: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-09-23 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:34: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-09-23 14:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:34:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:34:08] local.INFO: GPS data processed {"connection_id":190632,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:34:08] local.INFO: Acknowledgment sent {"connection_id":190632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:34:31] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:31] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:31] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:34:34] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7e4680012d19c580072649e00017001429..."} 
[2026-09-23 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7e4680012d19c580072649e00017001429..."} 
[2026-09-23 14:34:34] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7e4680012d19c580072649e00017001429..."} 
[2026-09-23 14:34:34] local.INFO: Packet analysis {"connection_id":191975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:34:34] local.INFO: Extracted packet for processing {"connection_id":191975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:34: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-09-23 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279418624001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790154000000,"timestamp_ms":1790154000000,"timestamp_seconds":1790154000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7e4680"} 
[2026-09-23 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-23 14:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279418624001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279418624001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:34:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279418624001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:34:34] local.INFO: GPS data processed {"connection_id":191975,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:34:34] local.INFO: Acknowledgment sent {"connection_id":191975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:34:36] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:36] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:34:36] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:34:37] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:37] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:34:37] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:34:37] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 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-09-23 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:34: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-09-23 14:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:34:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:34:37] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:34:37] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:02] local.INFO: TCP Data received {"connection_id":191977,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:02] local.INFO: Processing buffer {"connection_id":191977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:02] local.INFO: IMEI packet received {"connection_id":191977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":191977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:35:07] local.INFO: TCP Data received {"connection_id":191977,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:07] local.INFO: Processing buffer {"connection_id":191977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:07] local.INFO: IMEI packet received {"connection_id":191977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:35:07] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:07] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:07] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:07] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:35: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-09-23 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35: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-09-23 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:35:07] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:35:07] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:07] local.INFO: TCP Data received {"connection_id":191977,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7e9888012d19c580072649e0001700142a..."} 
[2026-09-23 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7e9888012d19c580072649e0001700142a..."} 
[2026-09-23 14:35:07] local.INFO: Processing buffer {"connection_id":191977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7e9888012d19c580072649e0001700142a..."} 
[2026-09-23 14:35:07] local.INFO: Packet analysis {"connection_id":191977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:35:07] local.INFO: Extracted packet for processing {"connection_id":191977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":42,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279424000001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790154021000,"timestamp_ms":1790154021000,"timestamp_seconds":1790154021,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7e9888"} 
[2026-09-23 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:35: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-09-23 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279424000001,"66":12319,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279424000001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279424000001,"power":12319,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":191977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:35:08] local.INFO: GPS data processed {"connection_id":191977,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:35:08] local.INFO: Acknowledgment sent {"connection_id":191977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:11] local.INFO: TCP Data received {"connection_id":191977,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd7eea90012d19c580072649e00017001429..."} 
[2026-09-23 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd7eea90012d19c580072649e00017001429..."} 
[2026-09-23 14:35:11] local.INFO: Processing buffer {"connection_id":191977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd7eea90012d19c580072649e00017001429..."} 
[2026-09-23 14:35:11] local.INFO: Packet analysis {"connection_id":191977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:35:11] local.INFO: Extracted packet for processing {"connection_id":191977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd7e"} 
[2026-09-23 14:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790154042000,"timestamp_ms":1790154042000,"timestamp_seconds":1790154042,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd7eea90"} 
[2026-09-23 14:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 14:35: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-09-23 14:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279429376001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:35:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279429376001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":191977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:35:11] local.INFO: GPS data processed {"connection_id":191977,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:35:11] local.INFO: Acknowledgment sent {"connection_id":191977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:36] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:36] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:36] local.INFO: IMEI packet received {"connection_id":190633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:35:41] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:41] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:35:41] local.INFO: IMEI packet received {"connection_id":190633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":190633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:35:42] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:42] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:42] local.INFO: Packet analysis {"connection_id":190633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:42] local.INFO: Extracted packet for processing {"connection_id":190633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:35:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":190633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:35:42] local.INFO: GPS data processed {"connection_id":190633,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:35:42] local.INFO: Acknowledgment sent {"connection_id":190633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:46] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:46] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:35:46] local.INFO: Packet analysis {"connection_id":190633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:46] local.INFO: Extracted packet for processing {"connection_id":190633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:35:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":190633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:35:47] local.INFO: GPS data processed {"connection_id":190633,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:35:47] local.INFO: Acknowledgment sent {"connection_id":190633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:35:53] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:53] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:53] local.INFO: IMEI packet received {"connection_id":191978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":191978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:35:57] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:57] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:35:57] local.INFO: IMEI packet received {"connection_id":191978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":191978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:36:02] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:02] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:02] local.INFO: IMEI packet received {"connection_id":191978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":191978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:36:03] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8270e8012d19c580072649e00017001429..."} 
[2026-09-23 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8270e8012d19c580072649e00017001429..."} 
[2026-09-23 14:36:03] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8270e8012d19c580072649e00017001429..."} 
[2026-09-23 14:36:03] local.INFO: Packet analysis {"connection_id":191978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:36:03] local.INFO: Extracted packet for processing {"connection_id":191978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279488512001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790154273000,"timestamp_ms":1790154273000,"timestamp_seconds":1790154273,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8270e8"} 
[2026-09-23 14:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:36: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-09-23 14: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-09-23 14:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279488512001,"66":12428,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279488512001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:36:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279488512001,"power":12428,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":191978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:36:03] local.INFO: GPS data processed {"connection_id":191978,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:36:03] local.INFO: Acknowledgment sent {"connection_id":191978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:36:07] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd82c2f0012d19c580072649e00017001428..."} 
[2026-09-23 14:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd82c2f0012d19c580072649e00017001428..."} 
[2026-09-23 14:36:07] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd82c2f0012d19c580072649e00017001428..."} 
[2026-09-23 14:36:07] local.INFO: Packet analysis {"connection_id":191978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:36:07] local.INFO: Extracted packet for processing {"connection_id":191978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279493888001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790154294000,"timestamp_ms":1790154294000,"timestamp_seconds":1790154294,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd82c2f0"} 
[2026-09-23 14:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:36: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-09-23 14:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:36: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-09-23 14:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279493888001,"66":12287,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279493888001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279493888001,"power":12287,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:36:07] local.INFO: GPS data processed {"connection_id":191978,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:36:07] local.INFO: Acknowledgment sent {"connection_id":191978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:36:31] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:31] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:31] local.INFO: IMEI packet received {"connection_id":190634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":190634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:36:36] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:36] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:36:36] local.INFO: IMEI packet received {"connection_id":190634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:36:37] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:36:37] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:36:37] local.INFO: Packet analysis {"connection_id":190634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:36:37] local.INFO: Extracted packet for processing {"connection_id":190634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 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-09-23 14: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-09-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:36:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":190634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:36:37] local.INFO: GPS data processed {"connection_id":190634,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:36:37] local.INFO: Acknowledgment sent {"connection_id":190634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:36:38] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8314f8012d19c580072649e00017001428..."} 
[2026-09-23 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8314f8012d19c580072649e00017001428..."} 
[2026-09-23 14:36:38] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8314f8012d19c580072649e00017001428..."} 
[2026-09-23 14:36:38] local.INFO: Packet analysis {"connection_id":191978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:36:38] local.INFO: Extracted packet for processing {"connection_id":191978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279499264001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790154315000,"timestamp_ms":1790154315000,"timestamp_seconds":1790154315,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8314f8"} 
[2026-09-23 14:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 14:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279499264001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279499264001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:36:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279499264001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":191978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:36:38] local.INFO: GPS data processed {"connection_id":191978,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:36:38] local.INFO: Acknowledgment sent {"connection_id":191978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:36:56] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:36:56] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:36:56] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:37:02] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:02] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:02] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:37:03] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd836700012d19c580072649e00017001427..."} 
[2026-09-23 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd836700012d19c580072649e00017001427..."} 
[2026-09-23 14:37:03] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd836700012d19c580072649e00017001427..."} 
[2026-09-23 14:37:03] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:37:03] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279504640001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790154336000,"timestamp_ms":1790154336000,"timestamp_seconds":1790154336,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd836700"} 
[2026-09-23 14:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:37: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-09-23 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:37: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-09-23 14: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-09-23 14:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279504640001,"66":12406,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279504640001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:37:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279504640001,"power":12406,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:37:03] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:37:03] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:37:08] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:08] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:08] local.INFO: Packet analysis {"connection_id":190634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:37:08] local.INFO: Extracted packet for processing {"connection_id":190634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:37:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 14:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:37: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-09-23 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:37: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-09-23 14:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:37:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:37:08] local.INFO: GPS data processed {"connection_id":190634,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:37:08] local.INFO: Acknowledgment sent {"connection_id":190634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:37:31] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:31] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:31] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:37:34] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd83b908012d19c580072649e00017001427..."} 
[2026-09-23 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd83b908012d19c580072649e00017001427..."} 
[2026-09-23 14:37:34] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd83b908012d19c580072649e00017001427..."} 
[2026-09-23 14:37:34] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:37:34] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279510016001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790154357000,"timestamp_ms":1790154357000,"timestamp_seconds":1790154357,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd83b908"} 
[2026-09-23 14:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 14:37:34] 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-09-23 14: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-09-23 14:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279510016001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279510016001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:37:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279510016001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:37:34] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:37:34] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:37:36] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:36] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:37:36] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:37:37] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:37] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8080d0012d4160c006cb46f00020013328..."} 
[2026-09-23 14:37:37] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:37:37] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd80"} 
[2026-09-23 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279384320001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154146000,"timestamp_ms":1790154146000,"timestamp_seconds":1790154146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8080d0"} 
[2026-09-23 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-09-23 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 14:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279384320001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279384320001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:37:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279384320001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:37:37] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:37:37] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:37:49] local.INFO: TCP Data received {"connection_id":193323,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:37:49] local.INFO: Processing buffer {"connection_id":193323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:37:49] local.INFO: IMEI packet received {"connection_id":193323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":193323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:37:58] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:58] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:37:58] local.INFO: IMEI packet received {"connection_id":193324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":193324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:38:07] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:38:07] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:38:07] local.INFO: IMEI packet received {"connection_id":193324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":193324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:38:08] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:08] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:08] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:38:08] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38: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-09-23 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:38:08] 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-09-23 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:08] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:08] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:10] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd840b10012d19c580072649e00017001427..."} 
[2026-09-23 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd840b10012d19c580072649e00017001427..."} 
[2026-09-23 14:38:10] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0cd..."} 
[2026-09-23 14:38:10] local.INFO: IMEI packet received {"connection_id":193324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":193324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:38:11] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd845d18012d19c580072649e00017001428..."} 
[2026-09-23 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd845d18012d19c580072649e00017001428..."} 
[2026-09-23 14:38:11] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cd840b10012d19c580072649e00017001427..."} 
[2026-09-23 14:38:11] local.INFO: Packet analysis {"connection_id":193324,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:11] local.INFO: Extracted packet for processing {"connection_id":193324,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279515392001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790154378000,"timestamp_ms":1790154378000,"timestamp_seconds":1790154378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd840b10"} 
[2026-09-23 14:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:38: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-09-23 14: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-09-23 14:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279515392001,"66":12461,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279515392001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279515392001,"power":12461,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":193324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:11] local.INFO: GPS data processed {"connection_id":193324,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:11] local.INFO: Acknowledgment sent {"connection_id":193324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:11] local.INFO: Packet analysis {"connection_id":193324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:11] local.INFO: Extracted packet for processing {"connection_id":193324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":40,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279520768001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790154399000,"timestamp_ms":1790154399000,"timestamp_seconds":1790154399,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd845d18"} 
[2026-09-23 14:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 14:38: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-09-23 14: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-09-23 14:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279520768001,"66":12504,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279520768001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279520768001,"power":12504,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":193324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:11] local.INFO: GPS data processed {"connection_id":193324,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:11] local.INFO: Acknowledgment sent {"connection_id":193324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:12] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd84af20012d19c580072649e00017001429..."} 
[2026-09-23 14:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd84af20012d19c580072649e00017001429..."} 
[2026-09-23 14:38:12] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd84af20012d19c580072649e00017001429..."} 
[2026-09-23 14:38:12] local.INFO: Packet analysis {"connection_id":193324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:12] local.INFO: Extracted packet for processing {"connection_id":193324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119949792,"longitude_deg":75.666368,"latitude_deg":11.9949792,"altitude":23,"angle":20,"satellites":41,"speed":0,"hex_longitude":"2d19c580","hex_latitude":"072649e0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279526144001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22683689385197568,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189555699712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790154420000,"timestamp_ms":1790154420000,"timestamp_seconds":1790154420,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd84af20"} 
[2026-09-23 14:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:38:12] 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-09-23 14: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-09-23 14:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279526144001,"66":14135,"232":206,"83":42752,"24":0,"16":22683689385197568,"45":1857031189555699712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-23 14:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279526144001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-23 14:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22683689385197568,"km_value":22683689385197.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189555699712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279526144001,"power":14135,"unknown_232":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1857031189555699712}} 
[2026-09-23 14:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":193324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:12] local.INFO: GPS data processed {"connection_id":193324,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:12] local.INFO: Acknowledgment sent {"connection_id":193324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:25] local.INFO: TCP Data received {"connection_id":193325,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:25] local.INFO: Processing buffer {"connection_id":193325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:25] local.INFO: IMEI packet received {"connection_id":193325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":193325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:38:30] local.INFO: TCP Data received {"connection_id":193325,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:30] local.INFO: Processing buffer {"connection_id":193325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:38:30] local.INFO: IMEI packet received {"connection_id":193325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:38:31] local.INFO: TCP Data received {"connection_id":193325,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd834ba80100000000000000000000000000..."} 
[2026-09-23 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd834ba80100000000000000000000000000..."} 
[2026-09-23 14:38:31] local.INFO: Processing buffer {"connection_id":193325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd834ba80100000000000000000000000000..."} 
[2026-09-23 14:38:31] local.INFO: Packet analysis {"connection_id":193325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:38:31] local.INFO: Extracted packet for processing {"connection_id":193325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 14:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279493376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5500584037204987906,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,13,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790154329000,"timestamp_ms":1790154329000,"timestamp_seconds":1790154329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd834ba8"} 
[2026-09-23 14:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 14:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":193325,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 14:38:31] local.INFO: GPS data processed {"connection_id":193325,"processed":0,"errors":0,"total":1} 
[2026-09-23 14:38:31] local.INFO: Acknowledgment sent {"connection_id":193325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:31] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:31] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:31] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:38:35] local.INFO: TCP Data received {"connection_id":193325,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd82da60012c4c980009da31d00237009c2c..."} 
[2026-09-23 14:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd82da60012c4c980009da31d00237009c2c..."} 
[2026-09-23 14:38:35] local.INFO: Processing buffer {"connection_id":193325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd82da60012c4c980009da31d00237009c2c..."} 
[2026-09-23 14:38:35] local.INFO: Packet analysis {"connection_id":193325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:38:35] local.INFO: Extracted packet for processing {"connection_id":193325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd82"} 
[2026-09-23 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":743217152,"raw_latitude":165294544,"longitude_deg":74.3217152,"latitude_deg":16.5294544,"altitude":567,"angle":156,"satellites":44,"speed":44,"hex_longitude":"2c4c9800","hex_latitude":"09da31d0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,13,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790154300000,"timestamp_ms":1790154300000,"timestamp_seconds":1790154300,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd82da60"} 
[2026-09-23 14:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"67":206,"13":768,"24":44,"16":3605341577150464},"client_ip":"117.224.50.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,13,24,16]} 
[2026-09-23 14:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 14:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":13,"value":768,"description":"Unknown IO ID 13"} 
[2026-09-23 14:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_67":206,"unknown_13":768,"ignition":44,"odometer":null}} 
[2026-09-23 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":193325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:36] local.INFO: GPS data processed {"connection_id":193325,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:36] local.INFO: Acknowledgment sent {"connection_id":193325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:36] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:36] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:38:36] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:38:37] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:37] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:38:37] local.INFO: Packet analysis {"connection_id":190635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:38:37] local.INFO: Extracted packet for processing {"connection_id":190635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:38: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-09-23 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:38: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-09-23 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:38:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":190635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:38:37] local.INFO: GPS data processed {"connection_id":190635,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:38:37] local.INFO: Acknowledgment sent {"connection_id":190635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:38:57] local.INFO: TCP Data received {"connection_id":193326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:57] local.INFO: Processing buffer {"connection_id":193326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:57] local.INFO: IMEI packet received {"connection_id":193326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":193326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:38:59] local.INFO: TCP Data received {"connection_id":193326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:59] local.INFO: Processing buffer {"connection_id":193326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:38:59] local.INFO: IMEI packet received {"connection_id":193326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":193326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:39:00] local.INFO: TCP Data received {"connection_id":193326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd85c860012d1a4540072615980020006325..."} 
[2026-09-23 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd85c860012d1a4540072615980020006325..."} 
[2026-09-23 14:39:00] local.INFO: Processing buffer {"connection_id":193326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd85c860012d1a4540072615980020006325..."} 
[2026-09-23 14:39:00] local.INFO: Packet analysis {"connection_id":193326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:00] local.INFO: Extracted packet for processing {"connection_id":193326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756696384,"raw_latitude":119936408,"longitude_deg":75.6696384,"latitude_deg":11.9936408,"altitude":32,"angle":99,"satellites":37,"speed":31,"hex_longitude":"2d1a4540","hex_latitude":"07261598","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279549440001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22685398782181376,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891300767966908416,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790154492000,"timestamp_ms":1790154492000,"timestamp_seconds":1790154492,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd85c860"} 
[2026-09-23 14:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279549440001,"66":14157,"185":206,"83":42752,"24":31,"16":22685398782181376,"45":1891300767966908416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-23 14:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279549440001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:39:00] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 14:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22685398782181376,"km_value":22685398782181.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891300767966908416,"description":"Unknown IO ID 45"} 
[2026-09-23 14:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279549440001,"power":14157,"unknown_185":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1891300767966908416}} 
[2026-09-23 14:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":193326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:39:00] local.INFO: GPS data processed {"connection_id":193326,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:39:00] local.INFO: Acknowledgment sent {"connection_id":193326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:07] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:07] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:07] local.INFO: Packet analysis {"connection_id":190635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:07] local.INFO: Extracted packet for processing {"connection_id":190635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39: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-09-23 14:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:07] 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-09-23 14: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-09-23 14:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:39: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-09-23 14:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":190635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:39:07] local.INFO: GPS data processed {"connection_id":190635,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:39:07] local.INFO: Acknowledgment sent {"connection_id":190635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:10] local.INFO: TCP Data received {"connection_id":190451,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:10] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:10] local.INFO: IMEI packet received {"connection_id":190451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":190451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:39:14] local.INFO: TCP Data received {"connection_id":190451,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:14] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:39:14] local.INFO: IMEI packet received {"connection_id":190451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":190451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:39:16] local.INFO: TCP Data received {"connection_id":190451,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd843dd80100000000000000000000000000..."} 
[2026-09-23 14:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd843dd80100000000000000000000000000..."} 
[2026-09-23 14:39:16] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd843dd80100000000000000000000000000..."} 
[2026-09-23 14:39:16] local.INFO: Packet analysis {"connection_id":190451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:39:16] local.INFO: Extracted packet for processing {"connection_id":190451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:39: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-09-23 14:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279500800001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5519161385657946114,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,13,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790154391000,"timestamp_ms":1790154391000,"timestamp_seconds":1790154391,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd843dd8"} 
[2026-09-23 14:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":190451,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 14:39:16] local.INFO: GPS data processed {"connection_id":190451,"processed":0,"errors":0,"total":1} 
[2026-09-23 14:39:16] local.INFO: Acknowledgment sent {"connection_id":190451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:24] local.INFO: TCP Data received {"connection_id":190451,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd844d780100000000000000000000000000..."} 
[2026-09-23 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd844d780100000000000000000000000000..."} 
[2026-09-23 14:39:24] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd844d780100000000000000000000000000..."} 
[2026-09-23 14:39:24] local.INFO: Packet analysis {"connection_id":190451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:39:24] local.INFO: Extracted packet for processing {"connection_id":190451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd84"} 
[2026-09-23 14:39:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 14:39: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-09-23 14:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,13,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790154395000,"timestamp_ms":1790154395000,"timestamp_seconds":1790154395,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd844d78"} 
[2026-09-23 14:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:39: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:24] 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-09-23 14:39: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-09-23 14:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":190451,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 14:39:24] local.INFO: GPS data processed {"connection_id":190451,"processed":0,"errors":0,"total":1} 
[2026-09-23 14:39:24] local.INFO: Acknowledgment sent {"connection_id":190451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:31] local.INFO: TCP Data received {"connection_id":190636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:31] local.INFO: Processing buffer {"connection_id":190636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:31] local.INFO: IMEI packet received {"connection_id":190636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":190636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:39:34] local.INFO: TCP Data received {"connection_id":193326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd85d030012d1a4b80072615400020005823..."} 
[2026-09-23 14:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd85d030012d1a4b80072615400020005823..."} 
[2026-09-23 14:39:34] local.INFO: Processing buffer {"connection_id":193326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd85d030012d1a4b80072615400020005823..."} 
[2026-09-23 14:39:34] local.INFO: Packet analysis {"connection_id":193326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:34] local.INFO: Extracted packet for processing {"connection_id":193326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756697984,"raw_latitude":119936320,"longitude_deg":75.6697984,"latitude_deg":11.993632,"altitude":32,"angle":88,"satellites":35,"speed":31,"hex_longitude":"2d1a4b80","hex_latitude":"07261540","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279549952001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22685476091592704,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892989617827059712,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790154494000,"timestamp_ms":1790154494000,"timestamp_seconds":1790154494,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd85d030"} 
[2026-09-23 14:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:34] 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-09-23 14: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-09-23 14:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279549952001,"66":14113,"175":206,"83":42752,"24":31,"16":22685476091592704,"45":1892989617827059712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279549952001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:39:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22685476091592704,"km_value":22685476091592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892989617827059712,"description":"Unknown IO ID 45"} 
[2026-09-23 14:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279549952001,"power":14113,"unknown_175":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1892989617827059712}} 
[2026-09-23 14:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":193326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:39:34] local.INFO: GPS data processed {"connection_id":193326,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:39:34] local.INFO: Acknowledgment sent {"connection_id":193326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:36] local.INFO: TCP Data received {"connection_id":190636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:36] local.INFO: Processing buffer {"connection_id":190636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:39:36] local.INFO: IMEI packet received {"connection_id":190636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:39:39] local.INFO: TCP Data received {"connection_id":190636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:39] local.INFO: Processing buffer {"connection_id":190636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:39:39] local.INFO: Packet analysis {"connection_id":190636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:39] local.INFO: Extracted packet for processing {"connection_id":190636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:39:39] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39: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-09-23 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:39] 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-09-23 14: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-09-23 14:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:39: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-09-23 14:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:39:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:39:39] local.INFO: GPS data processed {"connection_id":190636,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:39:39] local.INFO: Acknowledgment sent {"connection_id":190636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:55] local.INFO: TCP Data received {"connection_id":190451,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd83d078012c4d08c009d93cf0023b009e2f..."} 
[2026-09-23 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd83d078012c4d08c009d93cf0023b009e2f..."} 
[2026-09-23 14:39:55] local.INFO: Processing buffer {"connection_id":190451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd83d078012c4d08c009d93cf0023b009e2f..."} 
[2026-09-23 14:39:55] local.INFO: Packet analysis {"connection_id":190451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:39:55] local.INFO: Extracted packet for processing {"connection_id":190451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd83"} 
[2026-09-23 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":743246016,"raw_latitude":165231856,"longitude_deg":74.3246016,"latitude_deg":16.5231856,"altitude":571,"angle":158,"satellites":47,"speed":55,"hex_longitude":"2c4d08c0","hex_latitude":"09d93cf0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:39:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,13,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790154363000,"timestamp_ms":1790154363000,"timestamp_seconds":1790154363,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd83d078"} 
[2026-09-23 14:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-23 14:39:55] 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-09-23 14: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-09-23 14:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":190451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":190451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"67":206,"13":768,"24":55,"16":3605341577150464},"client_ip":"117.224.50.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,13,24,16]} 
[2026-09-23 14:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 14:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 14:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 14:39:55] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-23 14:39:55] local.INFO: Unknown IO ID detected {"io_id":13,"value":768,"description":"Unknown IO ID 13"} 
[2026-09-23 14:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:39:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_67":206,"unknown_13":768,"ignition":55,"odometer":null}} 
[2026-09-23 14:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":190451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:39:55] local.INFO: GPS data processed {"connection_id":190451,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:39:55] local.INFO: Acknowledgment sent {"connection_id":190451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:39:56] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:56] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:56] local.INFO: IMEI packet received {"connection_id":190452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":190452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:39:59] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:59] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:39:59] local.INFO: IMEI packet received {"connection_id":190452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":190452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:40:01] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:01] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:01] local.INFO: IMEI packet received {"connection_id":190452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:40:01] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd85eb88012d1a60c0072618e80020004c27..."} 
[2026-09-23 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd85eb88012d1a60c0072618e80020004c27..."} 
[2026-09-23 14:40:01] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd85eb88012d1a60c0072618e80020004c27..."} 
[2026-09-23 14:40:01] local.INFO: Packet analysis {"connection_id":190452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:01] local.INFO: Extracted packet for processing {"connection_id":190452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756703424,"raw_latitude":119937256,"longitude_deg":75.6703424,"latitude_deg":11.9937256,"altitude":32,"angle":76,"satellites":39,"speed":30,"hex_longitude":"2d1a60c0","hex_latitude":"072618e8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279550464001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22685738084597760,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894748836431478784,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790154501000,"timestamp_ms":1790154501000,"timestamp_seconds":1790154501,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd85eb88"} 
[2026-09-23 14:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:40: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-09-23 14: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 14:40: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-09-23 14: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-09-23 14:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279550464001,"66":14135,"175":206,"83":42752,"24":30,"16":22685738084597760,"45":1894748836431478784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279550464001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:40:01] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22685738084597760,"km_value":22685738084597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894748836431478784,"description":"Unknown IO ID 45"} 
[2026-09-23 14:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279550464001,"power":14135,"unknown_175":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1894748836431478784}} 
[2026-09-23 14:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":190452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:40:01] local.INFO: GPS data processed {"connection_id":190452,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:40:01] local.INFO: Acknowledgment sent {"connection_id":190452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:40:02] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd85f740012d1a68c007261c000020003e25..."} 
[2026-09-23 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd85f740012d1a68c007261c000020003e25..."} 
[2026-09-23 14:40:02] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd85f740012d1a68c007261c000020003e25..."} 
[2026-09-23 14:40:02] local.INFO: Packet analysis {"connection_id":190452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:02] local.INFO: Extracted packet for processing {"connection_id":190452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119938048,"longitude_deg":75.6705472,"latitude_deg":11.9938048,"altitude":32,"angle":62,"satellites":37,"speed":28,"hex_longitude":"2d1a68c0","hex_latitude":"07261c00","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279552256001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22685841163812864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900730179686819840,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790154504000,"timestamp_ms":1790154504000,"timestamp_seconds":1790154504,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd85f740"} 
[2026-09-23 14:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 14:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279552256001,"66":14157,"175":206,"83":42752,"24":28,"16":22685841163812864,"45":1900730179686819840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-23 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279552256001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22685841163812864,"km_value":22685841163812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900730179686819840,"description":"Unknown IO ID 45"} 
[2026-09-23 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279552256001,"power":14157,"unknown_175":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1900730179686819840}} 
[2026-09-23 14:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":190452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:40:02] local.INFO: GPS data processed {"connection_id":190452,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:40:02] local.INFO: Acknowledgment sent {"connection_id":190452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:40:09] local.INFO: TCP Data received {"connection_id":191981,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:40:09] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:40:09] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:40:10] local.INFO: TCP Data received {"connection_id":190636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:10] local.INFO: Processing buffer {"connection_id":190636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:10] local.INFO: Packet analysis {"connection_id":190636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:10] local.INFO: Extracted packet for processing {"connection_id":190636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:40:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":190636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:40:10] local.INFO: GPS data processed {"connection_id":190636,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:40:10] local.INFO: Acknowledgment sent {"connection_id":190636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:40:33] local.INFO: TCP Data received {"connection_id":190452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd874348012d1b52c0072622580029007726..."} 
[2026-09-23 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd874348012d1b52c0072622580029007726..."} 
[2026-09-23 14:40:33] local.INFO: Processing buffer {"connection_id":190452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd874348012d1b52c0072622580029007726..."} 
[2026-09-23 14:40:33] local.INFO: Packet analysis {"connection_id":190452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:40:33] local.INFO: Extracted packet for processing {"connection_id":190452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119939672,"longitude_deg":75.6765376,"latitude_deg":11.9939672,"altitude":41,"angle":119,"satellites":38,"speed":14,"hex_longitude":"2d1b52c0","hex_latitude":"07262258","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279573760001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22688851935887360,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966876799214626816,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790154589000,"timestamp_ms":1790154589000,"timestamp_seconds":1790154589,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd874348"} 
[2026-09-23 14:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:40: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-09-23 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 14:40:33] 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-09-23 14: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-09-23 14:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279573760001,"66":14080,"135":206,"83":42752,"24":14,"16":22688851935887360,"45":1966876799214626816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-23 14:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279573760001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:40:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-23 14:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22688851935887360,"km_value":22688851935887.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966876799214626816,"description":"Unknown IO ID 45"} 
[2026-09-23 14:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279573760001,"power":14080,"unknown_135":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1966876799214626816}} 
[2026-09-23 14:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":190452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:40:33] local.INFO: GPS data processed {"connection_id":190452,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:40:33] local.INFO: Acknowledgment sent {"connection_id":190452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:40:36] local.INFO: TCP Data received {"connection_id":190453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:36] local.INFO: Processing buffer {"connection_id":190453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:36] local.INFO: IMEI packet received {"connection_id":190453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:40:41] local.INFO: TCP Data received {"connection_id":190453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:41] local.INFO: Processing buffer {"connection_id":190453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:40:41] local.INFO: IMEI packet received {"connection_id":190453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":190453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:40:42] local.INFO: TCP Data received {"connection_id":190453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:42] local.INFO: Processing buffer {"connection_id":190453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:40:42] local.INFO: Packet analysis {"connection_id":190453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:42] local.INFO: Extracted packet for processing {"connection_id":190453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:40:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:40:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":190453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:40:42] local.INFO: GPS data processed {"connection_id":190453,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:40:42] local.INFO: Acknowledgment sent {"connection_id":190453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:40:56] local.INFO: TCP Data received {"connection_id":193327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:56] local.INFO: Processing buffer {"connection_id":193327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:56] local.INFO: IMEI packet received {"connection_id":193327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":193327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:40:59] local.INFO: TCP Data received {"connection_id":193327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:59] local.INFO: Processing buffer {"connection_id":193327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:40:59] local.INFO: IMEI packet received {"connection_id":193327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":193327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:41:02] local.INFO: TCP Data received {"connection_id":193327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:02] local.INFO: Processing buffer {"connection_id":193327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:02] local.INFO: IMEI packet received {"connection_id":193327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":193327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:41:03] local.INFO: TCP Data received {"connection_id":193327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd874730012d1b5400072621880029008325..."} 
[2026-09-23 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd874730012d1b5400072621880029008325..."} 
[2026-09-23 14:41:03] local.INFO: Processing buffer {"connection_id":193327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd874730012d1b5400072621880029008325..."} 
[2026-09-23 14:41:03] local.INFO: Packet analysis {"connection_id":193327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:41:03] local.INFO: Extracted packet for processing {"connection_id":193327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756765696,"raw_latitude":119939464,"longitude_deg":75.6765696,"latitude_deg":11.9939464,"altitude":41,"angle":131,"satellites":37,"speed":13,"hex_longitude":"2d1b5400","hex_latitude":"07262188","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279574784001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22688869115756544,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124051417088,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790154590000,"timestamp_ms":1790154590000,"timestamp_seconds":1790154590,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd874730"} 
[2026-09-23 14:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:41: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-09-23 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327616,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3448175864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147952161,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535574222,"corrected_to":0} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402075,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2600861696,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,135,83,24,241,157,16,155,160,51,45,192,37,39,38,10,66,64,32,1,240,153,227,205,4,113,23,8,120,35,239,54,2,80,7,28],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1535574222,"validated":0}]} 
[2026-09-23 14:41:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954492360648425472,"timestamp_seconds":2954492360648425.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279574784001,"66":14189,"135":206,"83":42752,"24":13,"16":22688869115756544,"45":1968847124051417088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-23 14:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279574784001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:41:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-23 14:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22688869115756544,"km_value":22688869115756.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124051417088,"description":"Unknown IO ID 45"} 
[2026-09-23 14:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279574784001,"power":14189,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1968847124051417088}} 
[2026-09-23 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":193327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:41:03] local.INFO: GPS data processed {"connection_id":193327,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:41:03] local.INFO: Acknowledgment sent {"connection_id":193327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:41:13] local.INFO: TCP Data received {"connection_id":190453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:13] local.INFO: Processing buffer {"connection_id":190453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:13] local.INFO: Packet analysis {"connection_id":190453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:41:13] local.INFO: Extracted packet for processing {"connection_id":190453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:41:13] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:41:13] 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-09-23 14: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-09-23 14:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:41: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-09-23 14:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:41:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":190453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:41:13] local.INFO: GPS data processed {"connection_id":190453,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:41:13] local.INFO: Acknowledgment sent {"connection_id":190453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:41:24] local.INFO: TCP Data received {"connection_id":191981,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:41:24] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:41:24] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:41:24] local.INFO: TCP Data received {"connection_id":191981,"ip":"117.224.50.114","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 14:41:24] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 14:41:24] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:41:31] local.INFO: TCP Data received {"connection_id":190637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:31] local.INFO: Processing buffer {"connection_id":190637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:31] local.INFO: IMEI packet received {"connection_id":190637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:41:36] local.INFO: TCP Data received {"connection_id":190637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:36] local.INFO: Processing buffer {"connection_id":190637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:41:36] local.INFO: IMEI packet received {"connection_id":190637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:41:37] local.INFO: TCP Data received {"connection_id":190637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:37] local.INFO: Processing buffer {"connection_id":190637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:41:37] local.INFO: Packet analysis {"connection_id":190637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:41:37] local.INFO: Extracted packet for processing {"connection_id":190637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:41: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-09-23 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:41:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":190637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:41:37] local.INFO: GPS data processed {"connection_id":190637,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:41:37] local.INFO: Acknowledgment sent {"connection_id":190637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:41:38] local.INFO: TCP Data received {"connection_id":193327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8752e8012d1b560007261f380029009025..."} 
[2026-09-23 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8752e8012d1b560007261f380029009025..."} 
[2026-09-23 14:41:38] local.INFO: Processing buffer {"connection_id":193327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8752e8012d1b560007261f380029009025..."} 
[2026-09-23 14:41:38] local.INFO: Packet analysis {"connection_id":193327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:41:38] local.INFO: Extracted packet for processing {"connection_id":193327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd87"} 
[2026-09-23 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119938872,"longitude_deg":75.6766208,"latitude_deg":11.9938872,"altitude":41,"angle":144,"satellites":37,"speed":6,"hex_longitude":"2d1b5600","hex_latitude":"07261f38","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279575040001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22688907770462208,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969198967772252160,"note":"Value kept but may cause issues"} 
[2026-09-23 14:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790154593000,"timestamp_ms":1790154593000,"timestamp_seconds":1790154593,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8752e8"} 
[2026-09-23 14:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 14:41: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-09-23 14: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-09-23 14:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279575040001,"66":14189,"135":206,"83":42752,"24":6,"16":22688907770462208,"45":1969198967772252160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-23 14:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279575040001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:41:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-23 14:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22688907770462208,"km_value":22688907770462.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969198967772252160,"description":"Unknown IO ID 45"} 
[2026-09-23 14:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279575040001,"power":14189,"unknown_135":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1969198967772252160}} 
[2026-09-23 14:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":193327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:41:38] local.INFO: GPS data processed {"connection_id":193327,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:41:38] local.INFO: Acknowledgment sent {"connection_id":193327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:41:57] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:57] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:41:57] local.INFO: IMEI packet received {"connection_id":191982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":191982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:42:02] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:02] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:02] local.INFO: IMEI packet received {"connection_id":191982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":191982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:42:03] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd884900012d1b49c0072585b8002a009526..."} 
[2026-09-23 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd884900012d1b49c0072585b8002a009526..."} 
[2026-09-23 14:42:03] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd884900012d1b49c0072585b8002a009526..."} 
[2026-09-23 14:42:03] local.INFO: Packet analysis {"connection_id":191982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:42:03] local.INFO: Extracted packet for processing {"connection_id":191982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119899576,"longitude_deg":75.6763072,"latitude_deg":11.9899576,"altitude":42,"angle":149,"satellites":38,"speed":35,"hex_longitude":"2d1b49c0","hex_latitude":"072585b8","is_valid_coordinates":true} 
[2026-09-23 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279589376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22690930700058624,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962232462090481664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790154656000,"timestamp_ms":1790154656000,"timestamp_seconds":1790154656,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd884900"} 
[2026-09-23 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:42: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-09-23 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 14:42:03] 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-09-23 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279589376001,"66":14189,"217":206,"83":42752,"24":35,"16":22690930700058624,"45":1962232462090481664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-23 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279589376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:42:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-23 14:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22690930700058624,"km_value":22690930700058.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962232462090481664,"description":"Unknown IO ID 45"} 
[2026-09-23 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279589376001,"power":14189,"unknown_217":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1962232462090481664}} 
[2026-09-23 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":191982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:42:03] local.INFO: GPS data processed {"connection_id":191982,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:42:03] local.INFO: Acknowledgment sent {"connection_id":191982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:42:08] local.INFO: TCP Data received {"connection_id":190637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:08] local.INFO: Processing buffer {"connection_id":190637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:08] local.INFO: Packet analysis {"connection_id":190637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:42:08] local.INFO: Extracted packet for processing {"connection_id":190637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:42: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-09-23 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:42:08] 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-09-23 14: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-09-23 14:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:42: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-09-23 14:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:42:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":190637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:42:08] local.INFO: GPS data processed {"connection_id":190637,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:42:08] local.INFO: Acknowledgment sent {"connection_id":190637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:42:31] local.INFO: TCP Data received {"connection_id":190638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:31] local.INFO: Processing buffer {"connection_id":190638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:31] local.INFO: IMEI packet received {"connection_id":190638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":190638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:42:35] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8858a0012d1b530007257a480029008828..."} 
[2026-09-23 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8858a0012d1b530007257a480029008828..."} 
[2026-09-23 14:42:35] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8858a0012d1b530007257a480029008828..."} 
[2026-09-23 14:42:35] local.INFO: Packet analysis {"connection_id":191982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:42:35] local.INFO: Extracted packet for processing {"connection_id":191982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756765440,"raw_latitude":119896648,"longitude_deg":75.676544,"latitude_deg":11.9896648,"altitude":41,"angle":136,"satellites":40,"speed":41,"hex_longitude":"2d1b5300","hex_latitude":"07257a48","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279591936001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22691115383652352,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966313849250756608,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790154660000,"timestamp_ms":1790154660000,"timestamp_seconds":1790154660,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8858a0"} 
[2026-09-23 14:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:42: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-09-23 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 14:42:35] 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-09-23 14: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-09-23 14:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279591936001,"66":14048,"43":206,"83":41984,"24":41,"16":22691115383652352,"45":1966313849250756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 14:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279591936001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22691115383652352,"km_value":22691115383652.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966313849250756608,"description":"Unknown IO ID 45"} 
[2026-09-23 14:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279591936001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1966313849250756608}} 
[2026-09-23 14:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":191982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:42:35] local.INFO: GPS data processed {"connection_id":191982,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:42:35] local.INFO: Acknowledgment sent {"connection_id":191982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:42:36] local.INFO: TCP Data received {"connection_id":190638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:36] local.INFO: Processing buffer {"connection_id":190638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:42:36] local.INFO: IMEI packet received {"connection_id":190638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":190638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:42:37] local.INFO: TCP Data received {"connection_id":190638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:37] local.INFO: Processing buffer {"connection_id":190638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd851898012d4160c006cb46f00020013324..."} 
[2026-09-23 14:42:37] local.INFO: Packet analysis {"connection_id":190638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:42:37] local.INFO: Extracted packet for processing {"connection_id":190638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd85"} 
[2026-09-23 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279461376001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154447000,"timestamp_ms":1790154447000,"timestamp_seconds":1790154447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd851898"} 
[2026-09-23 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":52,"data_length":795,"current_offset":136} 
[2026-09-23 14:42: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-09-23 14: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-09-23 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279461376001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279461376001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:42:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279461376001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":190638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:42:37] local.INFO: GPS data processed {"connection_id":190638,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:42:37] local.INFO: Acknowledgment sent {"connection_id":190638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:42:56] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:56] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:42:56] local.INFO: IMEI packet received {"connection_id":190639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":190639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:43:02] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:02] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:02] local.INFO: IMEI packet received {"connection_id":190639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:43:03] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8877e0012d1b6540072565680027009a28..."} 
[2026-09-23 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8877e0012d1b6540072565680027009a28..."} 
[2026-09-23 14:43:03] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8877e0012d1b6540072565680027009a28..."} 
[2026-09-23 14:43:03] local.INFO: Packet analysis {"connection_id":190639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:43:03] local.INFO: Extracted packet for processing {"connection_id":190639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd88"} 
[2026-09-23 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756770112,"raw_latitude":119891304,"longitude_deg":75.6770112,"latitude_deg":11.9891304,"altitude":39,"angle":154,"satellites":40,"speed":28,"hex_longitude":"2d1b6540","hex_latitude":"07256568","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279592960001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22691454686068736,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968917492784580608,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790154668000,"timestamp_ms":1790154668000,"timestamp_seconds":1790154668,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8877e0"} 
[2026-09-23 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-09-23 14:43: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-09-23 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:43: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-09-23 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-09-23 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-09-23 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279592960001,"66":14102,"43":206,"83":41984,"24":28,"16":22691454686068736,"45":1968917492784580608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-23 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279592960001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:43:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-23 14:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22691454686068736,"km_value":22691454686068.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968917492784580608,"description":"Unknown IO ID 45"} 
[2026-09-23 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279592960001,"power":14102,"unknown_43":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1968917492784580608}} 
[2026-09-23 14:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":190639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:43:03] local.INFO: GPS data processed {"connection_id":190639,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:43:03] local.INFO: Acknowledgment sent {"connection_id":190639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:43:08] local.INFO: TCP Data received {"connection_id":190638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:08] local.INFO: Processing buffer {"connection_id":190638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:08] local.INFO: Packet analysis {"connection_id":190638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:08] local.INFO: Extracted packet for processing {"connection_id":190638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:43: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-09-23 14: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":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:43:08] 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-09-23 14: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-09-23 14:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:43: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-09-23 14:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:43:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":190638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:43:08] local.INFO: GPS data processed {"connection_id":190638,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:43:08] local.INFO: Acknowledgment sent {"connection_id":190638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:43:31] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:31] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:31] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:43:35] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b448012d1b34000724a170002c00e127..."} 
[2026-09-23 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b448012d1b34000724a170002c00e127..."} 
[2026-09-23 14:43:35] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b448012d1b34000724a170002c00e127..."} 
[2026-09-23 14:43:35] local.INFO: Packet analysis {"connection_id":190639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:35] local.INFO: Extracted packet for processing {"connection_id":190639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119841136,"longitude_deg":75.6757504,"latitude_deg":11.9841136,"altitude":44,"angle":225,"satellites":39,"speed":17,"hex_longitude":"2d1b3400","hex_latitude":"0724a170","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279614720001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618352865280,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22694126155726848,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790154749000,"timestamp_ms":1790154749000,"timestamp_seconds":1790154749,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b448"} 
[2026-09-23 14:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:43: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-09-23 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 14:43:35] 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-09-23 14: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-09-23 14:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279614720001,"66":14233,"45":1961880618352865280,"83":41984,"24":17,"16":22694126155726848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-23 14:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279614720001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618352865280,"description":"Unknown IO ID 45"} 
[2026-09-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22694126155726848,"km_value":22694126155726.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:43:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458279614720001,"power":14233,"unknown_45":1961880618352865280,"unknown_83":41984,"ignition":17,"odometer":null}} 
[2026-09-23 14:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":190639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:43:35] local.INFO: GPS data processed {"connection_id":190639,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:43:35] local.INFO: Acknowledgment sent {"connection_id":190639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:43:36] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:36] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:43:36] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:43:37] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:37] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:43:37] local.INFO: Packet analysis {"connection_id":191983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:37] local.INFO: Extracted packet for processing {"connection_id":191983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 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-09-23 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:43: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-09-23 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-09-23 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-09-23 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:43:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":191983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:43:37] local.INFO: GPS data processed {"connection_id":191983,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:43:37] local.INFO: Acknowledgment sent {"connection_id":191983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:43:59] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:59] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:43:59] local.INFO: IMEI packet received {"connection_id":190640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":190640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:44:03] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:03] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:03] local.INFO: IMEI packet received {"connection_id":190640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":190640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:44:07] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:07] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:07] local.INFO: IMEI packet received {"connection_id":190640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":190640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:44:08] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89d388012d1b2500072496a0002e00ef29..."} 
[2026-09-23 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89d388012d1b2500072496a0002e00ef29..."} 
[2026-09-23 14:44:08] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89d388012d1b2500072496a0002e00ef29..."} 
[2026-09-23 14:44:08] local.INFO: Packet analysis {"connection_id":190640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:08] local.INFO: Extracted packet for processing {"connection_id":190640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756753664,"raw_latitude":119838368,"longitude_deg":75.6753664,"latitude_deg":11.9838368,"altitude":46,"angle":239,"satellites":41,"speed":21,"hex_longitude":"2d1b2500","hex_latitude":"072496a0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615744001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768492339200,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22694349494026240,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154757000,"timestamp_ms":1790154757000,"timestamp_seconds":1790154757,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89d388"} 
[2026-09-23 14:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 14:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615744001,"66":14233,"45":1960191768492339200,"83":41984,"24":21,"16":22694349494026240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615744001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768492339200,"description":"Unknown IO ID 45"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22694349494026240,"km_value":22694349494026.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458279615744001,"power":14233,"unknown_45":1960191768492339200,"unknown_83":41984,"ignition":21,"odometer":null}} 
[2026-09-23 14:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":190640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:08] local.INFO: GPS data processed {"connection_id":190640,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:08] local.INFO: Acknowledgment sent {"connection_id":190640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:08] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:08] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:08] local.INFO: Packet analysis {"connection_id":191983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:08] local.INFO: Extracted packet for processing {"connection_id":191983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:44: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:44:08] 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-09-23 14: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-09-23 14:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:44: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-09-23 14:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":191983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:08] local.INFO: GPS data processed {"connection_id":191983,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:08] local.INFO: Acknowledgment sent {"connection_id":191983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:09] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89eee0012d1b1cc007248fc8002d00e429..."} 
[2026-09-23 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89eee0012d1b1cc007248fc8002d00e429..."} 
[2026-09-23 14:44:09] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89eee0012d1b1cc007248fc8002d00e429..."} 
[2026-09-23 14:44:09] local.INFO: Packet analysis {"connection_id":190640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:09] local.INFO: Extracted packet for processing {"connection_id":190640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756751552,"raw_latitude":119836616,"longitude_deg":75.6751552,"latitude_deg":11.9836616,"altitude":45,"angle":228,"satellites":41,"speed":16,"hex_longitude":"2d1b1cc0","hex_latitude":"07248fc8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279617792001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955969643840970752,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22694482638012416,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790154764000,"timestamp_ms":1790154764000,"timestamp_seconds":1790154764,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89eee0"} 
[2026-09-23 14:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:44: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-09-23 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 14:44:09] 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-09-23 14: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-09-23 14:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279617792001,"66":14265,"45":1955969643840970752,"83":41984,"24":16,"16":22694482638012416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-23 14:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279617792001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955969643840970752,"description":"Unknown IO ID 45"} 
[2026-09-23 14:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22694482638012416,"km_value":22694482638012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458279617792001,"power":14265,"unknown_45":1955969643840970752,"unknown_83":41984,"ignition":16,"odometer":null}} 
[2026-09-23 14:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":190640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:09] local.INFO: GPS data processed {"connection_id":190640,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:09] local.INFO: Acknowledgment sent {"connection_id":190640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:12] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:12] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:12] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-23 14:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:44:13] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:13] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:13] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:44:17] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:17] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-23 14:44:17] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-23 14:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:44:18] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 14:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 14:44:18] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 14:44:18] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 14:44:18] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 14:44: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-09-23 14:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:44:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:44:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 14:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-23 14:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-23 14:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 14:44:18] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 14:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 14:44:18] local.ERROR: GPS data processing failed {"connection_id":191985,"error":"No valid data to process"} 
[2026-09-23 14:44:18] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 14:44:31] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:31] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:31] local.INFO: IMEI packet received {"connection_id":193328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":193328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:44:36] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:36] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:44:36] local.INFO: IMEI packet received {"connection_id":193328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":193328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:44:37] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:37] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:44:37] local.INFO: Packet analysis {"connection_id":193328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:37] local.INFO: Extracted packet for processing {"connection_id":193328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 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-09-23 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14: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-09-23 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-09-23 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-09-23 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":193328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:37] local.INFO: GPS data processed {"connection_id":193328,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:37] local.INFO: Acknowledgment sent {"connection_id":193328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:40] local.INFO: TCP Data received {"connection_id":190640,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8a40e8012d1b118007248648002b00e527..."} 
[2026-09-23 14:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8a40e8012d1b118007248648002b00e527..."} 
[2026-09-23 14:44:40] local.INFO: Processing buffer {"connection_id":190640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8a40e8012d1b118007248648002b00e527..."} 
[2026-09-23 14:44:40] local.INFO: Packet analysis {"connection_id":190640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:44:40] local.INFO: Extracted packet for processing {"connection_id":190640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756748672,"raw_latitude":119834184,"longitude_deg":75.6748672,"latitude_deg":11.9834184,"altitude":43,"angle":229,"satellites":39,"speed":17,"hex_longitude":"2d1b1180","hex_latitude":"07248648","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279619584001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22694667321606144,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953647475282659328,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790154785000,"timestamp_ms":1790154785000,"timestamp_seconds":1790154785,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8a40e8"} 
[2026-09-23 14:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:44: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-09-23 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 14:44: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-09-23 14: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-09-23 14:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279619584001,"66":14211,"137":206,"83":42752,"24":17,"16":22694667321606144,"45":1953647475282659328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279619584001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22694667321606144,"km_value":22694667321606.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953647475282659328,"description":"Unknown IO ID 45"} 
[2026-09-23 14:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279619584001,"power":14211,"unknown_137":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1953647475282659328}} 
[2026-09-23 14:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":190640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:40] local.INFO: GPS data processed {"connection_id":190640,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:40] local.INFO: Acknowledgment sent {"connection_id":190640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:49] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8b8520012d7e030005d50e90000d013407..."} 
[2026-09-23 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8b8520012d7e030005d50e90000d013407..."} 
[2026-09-23 14:44:49] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8b8520012d7e030005d50e90000d013407..."} 
[2026-09-23 14:44:49] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8b"} 
[2026-09-23 14:44:49] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8b"} 
[2026-09-23 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97848976,"longitude_deg":76.3233024,"latitude_deg":9.7848976,"altitude":13,"angle":308,"satellites":7,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d50e90","is_valid_coordinates":true} 
[2026-09-23 14:44:49] 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-09-23 14:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-23 14:44:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 14:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790154868000,"timestamp_ms":1790154868000,"timestamp_seconds":1790154868,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8b8520"} 
[2026-09-23 14:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-23 14:44:49] 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-09-23 14:44: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-09-23 14:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11547,"111":206,"85":15104,"24":0,"16":135586924919259136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16]} 
[2026-09-23 14:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 14:44:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586924919259136,"km_value":135586924919259.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:44:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11547,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-23 14:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:44:49] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:44:49] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:44:57] local.INFO: TCP Data received {"connection_id":193329,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:57] local.INFO: Processing buffer {"connection_id":193329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:57] local.INFO: IMEI packet received {"connection_id":193329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":193329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:44:59] local.INFO: TCP Data received {"connection_id":193329,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:59] local.INFO: Processing buffer {"connection_id":193329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:44:59] local.INFO: IMEI packet received {"connection_id":193329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":193329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:45:00] local.INFO: TCP Data received {"connection_id":193329,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8a6fc8012d1af80007246ca8002b00df23..."} 
[2026-09-23 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8a6fc8012d1af80007246ca8002b00df23..."} 
[2026-09-23 14:45:00] local.INFO: Processing buffer {"connection_id":193329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8a6fc8012d1af80007246ca8002b00df23..."} 
[2026-09-23 14:45:00] local.INFO: Packet analysis {"connection_id":193329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:45:00] local.INFO: Extracted packet for processing {"connection_id":193329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756742144,"raw_latitude":119827624,"longitude_deg":75.6742144,"latitude_deg":11.9827624,"altitude":43,"angle":223,"satellites":35,"speed":34,"hex_longitude":"2d1af800","hex_latitude":"07246ca8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279624960001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22695109703237632,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950480881794041856,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790154797000,"timestamp_ms":1790154797000,"timestamp_seconds":1790154797,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8a6fc8"} 
[2026-09-23 14:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279624960001,"66":14048,"137":206,"83":42752,"24":34,"16":22695109703237632,"45":1950480881794041856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279624960001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22695109703237632,"km_value":22695109703237.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950480881794041856,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279624960001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1950480881794041856}} 
[2026-09-23 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":193329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:00] local.INFO: GPS data processed {"connection_id":193329,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:00] local.INFO: Acknowledgment sent {"connection_id":193329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:07] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:07] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:07] local.INFO: Packet analysis {"connection_id":193328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:07] local.INFO: Extracted packet for processing {"connection_id":193328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:45: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-09-23 14: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-09-23 14:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45: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-09-23 14:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":193328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:07] local.INFO: GPS data processed {"connection_id":193328,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:07] local.INFO: Acknowledgment sent {"connection_id":193328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:20] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8b90d8012d7e034005d50ed8000d013408..."} 
[2026-09-23 14:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8b90d8012d7e034005d50ed8000d013408..."} 
[2026-09-23 14:45:20] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8b90d8012d7e034005d50ed8000d013408..."} 
[2026-09-23 14:45:20] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8b"} 
[2026-09-23 14:45:20] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8b"} 
[2026-09-23 14:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763233088,"raw_latitude":97849048,"longitude_deg":76.3233088,"latitude_deg":9.7849048,"altitude":13,"angle":308,"satellites":8,"speed":0,"hex_longitude":"2d7e0340","hex_latitude":"05d50ed8","is_valid_coordinates":true} 
[2026-09-23 14:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279646208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586929214226432,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758389760,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:20] 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-09-23 14:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790154871000,"timestamp_ms":1790154871000,"timestamp_seconds":1790154871,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8b90d8"} 
[2026-09-23 14:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-23 14:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-23 14:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-23 14:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279646208001,"66":11906,"111":206,"85":15104,"24":0,"16":135586929214226432,"45":9080101298758389760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-23 14:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-23 14:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-23 14:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279646208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 14:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-23 14:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586929214226432,"km_value":135586929214226.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758389760,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279646208001,"power":11906,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758389760}} 
[2026-09-23 14:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:20] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:20] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:31] local.INFO: TCP Data received {"connection_id":193329,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8a7f68012d1aef8007246108002b00d423..."} 
[2026-09-23 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8a7f68012d1aef8007246108002b00d423..."} 
[2026-09-23 14:45:31] local.INFO: Processing buffer {"connection_id":193329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8a7f68012d1aef8007246108002b00d423..."} 
[2026-09-23 14:45:31] local.INFO: Packet analysis {"connection_id":193329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:45:31] local.INFO: Extracted packet for processing {"connection_id":193329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8a"} 
[2026-09-23 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756739968,"raw_latitude":119824648,"longitude_deg":75.6739968,"latitude_deg":11.9824648,"altitude":43,"angle":212,"satellites":35,"speed":35,"hex_longitude":"2d1aef80","hex_latitude":"07246108","is_valid_coordinates":true} 
[2026-09-23 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279628032001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22695290091864064,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943303269886240768,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790154801000,"timestamp_ms":1790154801000,"timestamp_seconds":1790154801,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8a7f68"} 
[2026-09-23 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:31] 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-09-23 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279628032001,"66":14048,"137":206,"83":42752,"24":35,"16":22695290091864064,"45":1943303269886240768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279628032001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22695290091864064,"km_value":22695290091864.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943303269886240768,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279628032001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1943303269886240768}} 
[2026-09-23 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":193329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:31] local.INFO: GPS data processed {"connection_id":193329,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:31] local.INFO: Acknowledgment sent {"connection_id":193329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:36] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:36] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:36] local.INFO: IMEI packet received {"connection_id":193330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":193330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:45:41] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:41] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:45:41] local.INFO: IMEI packet received {"connection_id":193330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":193330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:45:42] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:42] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:42] local.INFO: Packet analysis {"connection_id":193330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:42] local.INFO: Extracted packet for processing {"connection_id":193330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45: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-09-23 14:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":193330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:42] local.INFO: GPS data processed {"connection_id":193330,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:42] local.INFO: Acknowledgment sent {"connection_id":193330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:46] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:46] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:45:46] local.INFO: Packet analysis {"connection_id":193330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:46] local.INFO: Extracted packet for processing {"connection_id":193330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":193330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:46] local.INFO: GPS data processed {"connection_id":193330,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:46] local.INFO: Acknowledgment sent {"connection_id":193330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:50] local.INFO: TCP Data received {"connection_id":190457,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:45:50] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:45:50] local.INFO: IMEI packet received {"connection_id":190457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":190457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:45:51] local.INFO: TCP Data received {"connection_id":190457,"ip":"117.224.50.114","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89a0c0012c4e698009d610d00257009c2d..."} 
[2026-09-23 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89a0c0012c4e698009d610d00257009c2d..."} 
[2026-09-23 14:45:51] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89a0c0012c4e698009d610d00257009c2d..."} 
[2026-09-23 14:45:51] local.INFO: Packet analysis {"connection_id":190457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:51] local.INFO: Extracted packet for processing {"connection_id":190457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:45:51] local.INFO: GPS Element Parsed {"raw_longitude":743336320,"raw_latitude":165023952,"longitude_deg":74.333632,"latitude_deg":16.5023952,"altitude":599,"angle":156,"satellites":45,"speed":0,"hex_longitude":"2c4e6980","hex_latitude":"09d610d0","is_valid_coordinates":true} 
[2026-09-23 14:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279609088001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5644488118972231682,"note":"Value kept but may cause issues"} 
[2026-09-23 14:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790154744000,"timestamp_ms":1790154744000,"timestamp_seconds":1790154744,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89a0c0"} 
[2026-09-23 14:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 14:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 14:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.50.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 14:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 14:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279609088001,"66":28354,"155":206,"9":8448,"24":0,"16":3605341577150464,"44":5644488118972231682},"client_ip":"117.224.50.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-23 14:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 14:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 14:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279609088001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:45:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-23 14:45:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-23 14:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":5644488118972231682,"description":"Unknown IO ID 44"} 
[2026-09-23 14:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279609088001,"power":28354,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5644488118972231682}} 
[2026-09-23 14:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":190457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:45:51] local.INFO: GPS data processed {"connection_id":190457,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:45:51] local.INFO: Acknowledgment sent {"connection_id":190457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:45:57] local.INFO: TCP Data received {"connection_id":193331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:45:57] local.INFO: Processing buffer {"connection_id":193331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:45:57] local.INFO: IMEI packet received {"connection_id":193331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":193331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:46:01] local.INFO: TCP Data received {"connection_id":193331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:01] local.INFO: Processing buffer {"connection_id":193331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:01] local.INFO: IMEI packet received {"connection_id":193331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":193331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:46:02] local.INFO: TCP Data received {"connection_id":193331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8c0608012d1a57400723f130003000d629..."} 
[2026-09-23 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8c0608012d1a57400723f130003000d629..."} 
[2026-09-23 14:46:02] local.INFO: Processing buffer {"connection_id":193331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8c0608012d1a57400723f130003000d629..."} 
[2026-09-23 14:46:02] local.INFO: Packet analysis {"connection_id":193331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:46:02] local.INFO: Extracted packet for processing {"connection_id":193331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756700992,"raw_latitude":119796016,"longitude_deg":75.6700992,"latitude_deg":11.9796016,"altitude":48,"angle":214,"satellites":41,"speed":31,"hex_longitude":"2d1a5740","hex_latitude":"0723f130","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279652864001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22697669503746048,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901785710814318592,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790154901000,"timestamp_ms":1790154901000,"timestamp_seconds":1790154901,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8c0608"} 
[2026-09-23 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-09-23 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 14:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 14:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279652864001,"66":13993,"42":206,"83":42752,"24":31,"16":22697669503746048,"45":1901785710814318592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279652864001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:46:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22697669503746048,"km_value":22697669503746.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901785710814318592,"description":"Unknown IO ID 45"} 
[2026-09-23 14:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279652864001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1901785710814318592}} 
[2026-09-23 14:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":193331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:46:02] local.INFO: GPS data processed {"connection_id":193331,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:46:02] local.INFO: Acknowledgment sent {"connection_id":193331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:46:31] local.INFO: TCP Data received {"connection_id":190641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:31] local.INFO: Processing buffer {"connection_id":190641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:31] local.INFO: IMEI packet received {"connection_id":190641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":190641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:46:33] local.INFO: TCP Data received {"connection_id":193331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8c2d18012d1a43800723d150002e00d227..."} 
[2026-09-23 14:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8c2d18012d1a43800723d150002e00d227..."} 
[2026-09-23 14:46:33] local.INFO: Processing buffer {"connection_id":193331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8c2d18012d1a43800723d150002e00d227..."} 
[2026-09-23 14:46:33] local.INFO: Packet analysis {"connection_id":193331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:46:33] local.INFO: Extracted packet for processing {"connection_id":193331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756695936,"raw_latitude":119787856,"longitude_deg":75.6695936,"latitude_deg":11.9787856,"altitude":46,"angle":210,"satellites":39,"speed":39,"hex_longitude":"2d1a4380","hex_latitude":"0723d150","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279654656001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698133360214016,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898056167371911168,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790154911000,"timestamp_ms":1790154911000,"timestamp_seconds":1790154911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8c2d18"} 
[2026-09-23 14:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:46: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-09-23 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 14:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279654656001,"66":13135,"42":206,"83":42752,"24":39,"16":22698133360214016,"45":1898056167371911168},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279654656001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:46:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698133360214016,"km_value":22698133360214.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898056167371911168,"description":"Unknown IO ID 45"} 
[2026-09-23 14:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279654656001,"power":13135,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1898056167371911168}} 
[2026-09-23 14:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":193331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:46:33] local.INFO: GPS data processed {"connection_id":193331,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:46:33] local.INFO: Acknowledgment sent {"connection_id":193331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:46:36] local.INFO: TCP Data received {"connection_id":190641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:36] local.INFO: Processing buffer {"connection_id":190641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:46:36] local.INFO: IMEI packet received {"connection_id":190641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:46:37] local.INFO: TCP Data received {"connection_id":190641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:46:37] local.INFO: Processing buffer {"connection_id":190641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:46:37] local.INFO: Packet analysis {"connection_id":190641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:46:37] local.INFO: Extracted packet for processing {"connection_id":190641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 14:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:46: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-09-23 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14: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-09-23 14:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:46:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":190641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:46:37] local.INFO: GPS data processed {"connection_id":190641,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:46:37] local.INFO: Acknowledgment sent {"connection_id":190641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:46:56] local.INFO: TCP Data received {"connection_id":193332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:56] local.INFO: Processing buffer {"connection_id":193332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:46:56] local.INFO: IMEI packet received {"connection_id":193332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":193332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:47:02] local.INFO: TCP Data received {"connection_id":193332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:47:02] local.INFO: Processing buffer {"connection_id":193332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:47:02] local.INFO: IMEI packet received {"connection_id":193332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":193332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:47:02] local.INFO: TCP Data received {"connection_id":193332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:02] local.INFO: Processing buffer {"connection_id":193332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:02] local.INFO: Packet analysis {"connection_id":193332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:47:02] local.INFO: Extracted packet for processing {"connection_id":193332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756695424,"raw_latitude":119787016,"longitude_deg":75.6695424,"latitude_deg":11.9787016,"altitude":46,"angle":212,"satellites":39,"speed":39,"hex_longitude":"2d1a4180","hex_latitude":"0723ce08","is_valid_coordinates":true} 
[2026-09-23 14:47: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-09-23 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279657216001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698180604854272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892497036579786752,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790154912000,"timestamp_ms":1790154912000,"timestamp_seconds":1790154912,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8c3100"} 
[2026-09-23 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 14:47:02] 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-09-23 14: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-09-23 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279657216001,"66":13156,"42":206,"83":42752,"24":39,"16":22698180604854272,"45":1892497036579786752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279657216001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698180604854272,"km_value":22698180604854.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892497036579786752,"description":"Unknown IO ID 45"} 
[2026-09-23 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279657216001,"power":13156,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1892497036579786752}} 
[2026-09-23 14:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":193332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:47:03] local.INFO: GPS data processed {"connection_id":193332,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:47:03] local.INFO: Acknowledgment sent {"connection_id":193332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:47:08] local.INFO: TCP Data received {"connection_id":190641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:08] local.INFO: Processing buffer {"connection_id":190641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:08] local.INFO: Packet analysis {"connection_id":190641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:47:08] local.INFO: Extracted packet for processing {"connection_id":190641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 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-09-23 14:47: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-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:47:08] 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-09-23 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-09-23 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-09-23 14:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:47: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-09-23 14:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:47:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":190641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:47:08] local.INFO: GPS data processed {"connection_id":190641,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:47:08] local.INFO: Acknowledgment sent {"connection_id":190641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:47:31] local.INFO: TCP Data received {"connection_id":193333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:31] local.INFO: Processing buffer {"connection_id":193333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:31] local.INFO: IMEI packet received {"connection_id":193333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":193333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:47:34] local.INFO: TCP Data received {"connection_id":193332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:34] local.INFO: Processing buffer {"connection_id":193332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:47:34] local.INFO: Packet analysis {"connection_id":193332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:47:34] local.INFO: Extracted packet for processing {"connection_id":193332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756695424,"raw_latitude":119787016,"longitude_deg":75.6695424,"latitude_deg":11.9787016,"altitude":46,"angle":212,"satellites":39,"speed":39,"hex_longitude":"2d1a4180","hex_latitude":"0723ce08","is_valid_coordinates":true} 
[2026-09-23 14:47:34] 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-09-23 14:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279657472001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698180604854272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891934086626150400,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790154912000,"timestamp_ms":1790154912000,"timestamp_seconds":1790154912,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8c3100"} 
[2026-09-23 14:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 14:47:34] 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-09-23 14: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-09-23 14:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279657472001,"66":13156,"42":206,"83":42752,"24":39,"16":22698180604854272,"45":1891934086626150400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279657472001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:47:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698180604854272,"km_value":22698180604854.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891934086626150400,"description":"Unknown IO ID 45"} 
[2026-09-23 14:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279657472001,"power":13156,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1891934086626150400}} 
[2026-09-23 14:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":193332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:47:34] local.INFO: GPS data processed {"connection_id":193332,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:47:34] local.INFO: Acknowledgment sent {"connection_id":193332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:47:36] local.INFO: TCP Data received {"connection_id":193333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:36] local.INFO: Processing buffer {"connection_id":193333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:47:36] local.INFO: IMEI packet received {"connection_id":193333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":193333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:47:37] local.INFO: TCP Data received {"connection_id":193333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:37] local.INFO: Processing buffer {"connection_id":193333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd89b060012d4160c006cb46f00020013325..."} 
[2026-09-23 14:47:37] local.INFO: Packet analysis {"connection_id":193333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:47:37] local.INFO: Extracted packet for processing {"connection_id":193333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd89"} 
[2026-09-23 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279538432001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790154748000,"timestamp_ms":1790154748000,"timestamp_seconds":1790154748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd89b060"} 
[2026-09-23 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-09-23 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:47: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-09-23 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-09-23 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-09-23 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:47: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-09-23 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279538432001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279538432001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:47:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279538432001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":193333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:47:37] local.INFO: GPS data processed {"connection_id":193333,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:47:37] local.INFO: Acknowledgment sent {"connection_id":193333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:47:49] local.INFO: TCP Data received {"connection_id":190458,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:49] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:49] local.INFO: IMEI packet received {"connection_id":190458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":190458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:47:54] local.INFO: TCP Data received {"connection_id":190458,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:54] local.INFO: Processing buffer {"connection_id":190458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:47:54] local.INFO: IMEI packet received {"connection_id":190458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":190458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:48:02] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:02] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:02] local.INFO: IMEI packet received {"connection_id":190459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:48:03] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:03] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:48:03] local.INFO: IMEI packet received {"connection_id":190459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":190459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:48:04] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:48:04] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8c3100012d1a41800723ce08002e00d427..."} 
[2026-09-23 14:48:04] local.INFO: Packet analysis {"connection_id":190459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:48:04] local.INFO: Extracted packet for processing {"connection_id":190459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8c"} 
[2026-09-23 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756695424,"raw_latitude":119787016,"longitude_deg":75.6695424,"latitude_deg":11.9787016,"altitude":46,"angle":212,"satellites":39,"speed":39,"hex_longitude":"2d1a4180","hex_latitude":"0723ce08","is_valid_coordinates":true} 
[2026-09-23 14:48: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-09-23 14:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279657472001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698180604854272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891934086626150400,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790154912000,"timestamp_ms":1790154912000,"timestamp_seconds":1790154912,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8c3100"} 
[2026-09-23 14:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 14:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279657472001,"66":13156,"42":206,"83":42752,"24":39,"16":22698180604854272,"45":1891934086626150400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279657472001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:48:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698180604854272,"km_value":22698180604854.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891934086626150400,"description":"Unknown IO ID 45"} 
[2026-09-23 14:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279657472001,"power":13156,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1891934086626150400}} 
[2026-09-23 14:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":190459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:48:04] local.INFO: GPS data processed {"connection_id":190459,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:48:04] local.INFO: Acknowledgment sent {"connection_id":190459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:48:07] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:07] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:07] local.INFO: Packet analysis {"connection_id":190459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8d"} 
[2026-09-23 14:48:07] local.INFO: Extracted packet for processing {"connection_id":190459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8d"} 
[2026-09-23 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778888,"longitude_deg":75.6687872,"latitude_deg":11.9778888,"altitude":50,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ae48","is_valid_coordinates":true} 
[2026-09-23 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279657472001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698180604854272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891934086626150400,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155023000,"timestamp_ms":1790155023000,"timestamp_seconds":1790155023,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8de298"} 
[2026-09-23 14:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 14:48:07] 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-09-23 14:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279657472001,"66":2177,"42":206,"83":42752,"24":0,"16":22698180604854272,"45":1891934086626150400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279657472001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698180604854272,"km_value":22698180604854.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891934086626150400,"description":"Unknown IO ID 45"} 
[2026-09-23 14:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279657472001,"power":2177,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1891934086626150400}} 
[2026-09-23 14:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":190459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:48:07] local.INFO: GPS data processed {"connection_id":190459,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:48:07] local.INFO: Acknowledgment sent {"connection_id":190459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:48:08] local.INFO: TCP Data received {"connection_id":193333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:08] local.INFO: Processing buffer {"connection_id":193333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:08] local.INFO: Packet analysis {"connection_id":193333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:48:08] local.INFO: Extracted packet for processing {"connection_id":193333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:48: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-09-23 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:48:08] 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-09-23 14:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:48: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-09-23 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:48:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":193333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:48:08] local.INFO: GPS data processed {"connection_id":193333,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:48:08] local.INFO: Acknowledgment sent {"connection_id":193333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:48:25] local.INFO: TCP Data received {"connection_id":191986,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:48:25] local.INFO: TCP Data received {"connection_id":191986,"ip":"117.224.50.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:48:25] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:48:31] local.INFO: TCP Data received {"connection_id":193334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:31] local.INFO: Processing buffer {"connection_id":193334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:31] local.INFO: IMEI packet received {"connection_id":193334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":193334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:48:36] local.INFO: TCP Data received {"connection_id":193334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:36] local.INFO: Processing buffer {"connection_id":193334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:48:36] local.INFO: IMEI packet received {"connection_id":193334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":193334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:48:37] local.INFO: TCP Data received {"connection_id":193334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:37] local.INFO: Processing buffer {"connection_id":193334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:48:37] local.INFO: Packet analysis {"connection_id":193334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:48:37] local.INFO: Extracted packet for processing {"connection_id":193334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:48: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-09-23 14:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:48: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-09-23 14:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:48:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":193334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:48:37] local.INFO: GPS data processed {"connection_id":193334,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:48:37] local.INFO: Acknowledgment sent {"connection_id":193334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:48:38] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:38] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8de298012d1a24000723ae48003200db28..."} 
[2026-09-23 14:48:38] local.INFO: Packet analysis {"connection_id":190459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8d"} 
[2026-09-23 14:48:38] local.INFO: Extracted packet for processing {"connection_id":190459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8d"} 
[2026-09-23 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778888,"longitude_deg":75.6687872,"latitude_deg":11.9778888,"altitude":50,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ae48","is_valid_coordinates":true} 
[2026-09-23 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279685888001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22698180604854272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883630574811105280,"note":"Value kept but may cause issues"} 
[2026-09-23 14:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790155023000,"timestamp_ms":1790155023000,"timestamp_seconds":1790155023,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8de298"} 
[2026-09-23 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14: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-09-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279685888001,"66":2177,"42":206,"83":42752,"24":0,"16":22698180604854272,"45":1883630574811105280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-23 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279685888001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:48:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 14:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22698180604854272,"km_value":22698180604854.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883630574811105280,"description":"Unknown IO ID 45"} 
[2026-09-23 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279685888001,"power":2177,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1883630574811105280}} 
[2026-09-23 14:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":190459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:48:38] local.INFO: GPS data processed {"connection_id":190459,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:48:38] local.INFO: Acknowledgment sent {"connection_id":190459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:08] local.INFO: TCP Data received {"connection_id":193334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:08] local.INFO: Processing buffer {"connection_id":193334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:08] local.INFO: Packet analysis {"connection_id":193334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:49:08] local.INFO: Extracted packet for processing {"connection_id":193334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:49: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-09-23 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:49:08] 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-09-23 14:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:49: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-09-23 14:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:49:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":193334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:49:08] local.INFO: GPS data processed {"connection_id":193334,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:49:08] local.INFO: Acknowledgment sent {"connection_id":193334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:09] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:09] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:09] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:49:27] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:49:27] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-23 14:49:27] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:49:28] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8f5d80012d198d0007239998003b010425..."} 
[2026-09-23 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8f5d80012d198d0007239998003b010425..."} 
[2026-09-23 14:49:28] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0cd..."} 
[2026-09-23 14:49:28] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:49:29] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8f6d20012d197d8007239560003e00f720..."} 
[2026-09-23 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8f6d20012d197d8007239560003e00f720..."} 
[2026-09-23 14:49:29] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cd8f5d80012d198d0007239998003b010425..."} 
[2026-09-23 14:49:29] local.INFO: Packet analysis {"connection_id":191987,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:29] local.INFO: Extracted packet for processing {"connection_id":191987,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119773592,"longitude_deg":75.6649216,"latitude_deg":11.9773592,"altitude":59,"angle":260,"satellites":37,"speed":39,"hex_longitude":"2d198d00","hex_latitude":"07239998","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279708416001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22700061800529920,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952488329216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790155120000,"timestamp_ms":1790155120000,"timestamp_seconds":1790155120,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8f5d80"} 
[2026-09-23 14:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534243,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3448671864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":163,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2932867124,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256605994,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2378126411861904979,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2749562880,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2558052438133702706,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,231,83,24,241,157,16,165,160,23,45,162,50,40,10,66,42,164,240,128,167,41,185,192,1,109,227,163,205,35,4,113,8,146,36,136,39,239,55,2,80,7,26],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-09-23 14:49:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963457006855520256,"timestamp_seconds":3963457006855520.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 14:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279708416001,"66":14070,"231":206,"83":42752,"24":39,"16":22700061800529920,"45":1851260952488329216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279708416001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22700061800529920,"km_value":22700061800529.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952488329216,"description":"Unknown IO ID 45"} 
[2026-09-23 14:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279708416001,"power":14070,"unknown_231":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1851260952488329216}} 
[2026-09-23 14:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":191987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:49:29] local.INFO: GPS data processed {"connection_id":191987,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:49:29] local.INFO: Acknowledgment sent {"connection_id":191987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:29] local.INFO: Packet analysis {"connection_id":191987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:29] local.INFO: Extracted packet for processing {"connection_id":191987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119772512,"longitude_deg":75.6645248,"latitude_deg":11.9772512,"altitude":62,"angle":247,"satellites":32,"speed":39,"hex_longitude":"2d197d80","hex_latitude":"07239560","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279710720001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22700255074058240,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853326440448,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790155124000,"timestamp_ms":1790155124000,"timestamp_seconds":1790155124,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8f6d20"} 
[2026-09-23 14:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:49: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-09-23 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 14:49: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-09-23 14: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-09-23 14:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279710720001,"66":14048,"231":206,"83":42752,"24":39,"16":22700255074058240,"45":1841127853326440448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-23 14:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279710720001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22700255074058240,"km_value":22700255074058.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853326440448,"description":"Unknown IO ID 45"} 
[2026-09-23 14:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279710720001,"power":14048,"unknown_231":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1841127853326440448}} 
[2026-09-23 14:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":191987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:49:29] local.INFO: GPS data processed {"connection_id":191987,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:49:29] local.INFO: Acknowledgment sent {"connection_id":191987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:30] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8f78d8012d19738007238fd0004000eb21..."} 
[2026-09-23 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8f78d8012d19738007238fd0004000eb21..."} 
[2026-09-23 14:49:30] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8f78d8012d19738007238fd0004000eb21..."} 
[2026-09-23 14:49:30] local.INFO: Packet analysis {"connection_id":191987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:30] local.INFO: Extracted packet for processing {"connection_id":191987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119771088,"longitude_deg":75.6642688,"latitude_deg":11.9771088,"altitude":64,"angle":235,"satellites":33,"speed":39,"hex_longitude":"2d197380","hex_latitude":"07238fd0","is_valid_coordinates":true} 
[2026-09-23 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279711744001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22700396807979008,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991187148800,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790155127000,"timestamp_ms":1790155127000,"timestamp_seconds":1790155127,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8f78d8"} 
[2026-09-23 14:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:49: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-09-23 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:49:30] 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-09-23 14:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279711744001,"66":14048,"231":206,"83":42752,"24":39,"16":22700396807979008,"45":1836764991187148800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-23 14:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279711744001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22700396807979008,"km_value":22700396807979.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991187148800,"description":"Unknown IO ID 45"} 
[2026-09-23 14:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279711744001,"power":14048,"unknown_231":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1836764991187148800}} 
[2026-09-23 14:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":191987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:49:30] local.INFO: GPS data processed {"connection_id":191987,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:49:30] local.INFO: Acknowledgment sent {"connection_id":191987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:31] local.INFO: TCP Data received {"connection_id":190643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:31] local.INFO: Processing buffer {"connection_id":190643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:31] local.INFO: IMEI packet received {"connection_id":190643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":190643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:49:36] local.INFO: TCP Data received {"connection_id":190643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:36] local.INFO: Processing buffer {"connection_id":190643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:49:36] local.INFO: IMEI packet received {"connection_id":190643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":190643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:49:37] local.INFO: TCP Data received {"connection_id":190643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:37] local.INFO: Processing buffer {"connection_id":190643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:49:37] local.INFO: Packet analysis {"connection_id":190643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:49:37] local.INFO: Extracted packet for processing {"connection_id":190643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:49: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-09-23 14: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-09-23 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:49: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-09-23 14:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:49:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":190643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:49:37] local.INFO: GPS data processed {"connection_id":190643,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:49:37] local.INFO: Acknowledgment sent {"connection_id":190643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:49:57] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:57] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:49:57] local.INFO: IMEI packet received {"connection_id":190460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":190460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:50:06] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: IMEI packet received {"connection_id":190460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":190460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:50:06] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:06] local.INFO: IMEI packet received {"connection_id":190460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":190460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:50:07] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8f8490012d196ac007238800004200db22..."} 
[2026-09-23 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8f8490012d196ac007238800004200db22..."} 
[2026-09-23 14:50:07] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8f8490012d196ac007238800004200db22..."} 
[2026-09-23 14:50:07] local.INFO: Packet analysis {"connection_id":190460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:50:07] local.INFO: Extracted packet for processing {"connection_id":190460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119769088,"longitude_deg":75.6640448,"latitude_deg":11.9769088,"altitude":66,"angle":219,"satellites":34,"speed":39,"hex_longitude":"2d196ac0","hex_latitude":"07238800","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279712512001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22700542836867072,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241419677696,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155130000,"timestamp_ms":1790155130000,"timestamp_seconds":1790155130,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8f8490"} 
[2026-09-23 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279712512001,"66":14048,"231":206,"83":42752,"24":39,"16":22700542836867072,"45":1833950241419677696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-23 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279712512001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-23 14:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22700542836867072,"km_value":22700542836867.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241419677696,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279712512001,"power":14048,"unknown_231":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1833950241419677696}} 
[2026-09-23 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":190460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:07] local.INFO: GPS data processed {"connection_id":190460,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:07] local.INFO: Acknowledgment sent {"connection_id":190460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:08] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8f9818012d195fc007237800004500cf24..."} 
[2026-09-23 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8f9818012d195fc007237800004500cf24..."} 
[2026-09-23 14:50:08] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8f9818012d195fc007237800004500cf24..."} 
[2026-09-23 14:50:08] local.INFO: Packet analysis {"connection_id":190460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:50:08] local.INFO: Extracted packet for processing {"connection_id":190460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8f"} 
[2026-09-23 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119764992,"longitude_deg":75.6637632,"latitude_deg":11.9764992,"altitude":69,"angle":207,"satellites":36,"speed":39,"hex_longitude":"2d195fc0","hex_latitude":"07237800","is_valid_coordinates":true} 
[2026-09-23 14:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279713280001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22700779060068352,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335372947456,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155135000,"timestamp_ms":1790155135000,"timestamp_seconds":1790155135,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8f9818"} 
[2026-09-23 14:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279713280001,"66":13993,"186":206,"83":42752,"24":39,"16":22700779060068352,"45":1831487335372947456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279713280001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22700779060068352,"km_value":22700779060068.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335372947456,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279713280001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1831487335372947456}} 
[2026-09-23 14:50:08] local.INFO: TCP Data received {"connection_id":190643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:08] local.INFO: Processing buffer {"connection_id":190643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:08] local.INFO: Packet analysis {"connection_id":190643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:08] local.INFO: Extracted packet for processing {"connection_id":190643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:50: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:50:08] 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-09-23 14: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-09-23 14:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50: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-09-23 14:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":190643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:08] local.INFO: GPS data processed {"connection_id":190643,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:08] local.INFO: Acknowledgment sent {"connection_id":190643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":190460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:08] local.INFO: GPS data processed {"connection_id":190460,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:08] local.INFO: Acknowledgment sent {"connection_id":190460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:36] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:36] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:36] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:50:41] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:41] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:50:41] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:50:41] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd907aa8012d18bb400722fe28006300e628..."} 
[2026-09-23 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd907aa8012d18bb400722fe28006300e628..."} 
[2026-09-23 14:50:41] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd907aa8012d18bb400722fe28006300e628..."} 
[2026-09-23 14:50:41] local.INFO: Packet analysis {"connection_id":190460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:50:41] local.INFO: Extracted packet for processing {"connection_id":190460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756595520,"raw_latitude":119733800,"longitude_deg":75.659552,"latitude_deg":11.97338,"altitude":99,"angle":230,"satellites":40,"speed":36,"hex_longitude":"2d18bb40","hex_latitude":"0722fe28","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279729152001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22703626623385600,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533137315840,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790155193000,"timestamp_ms":1790155193000,"timestamp_seconds":1790155193,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd907aa8"} 
[2026-09-23 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-09-23 14:50: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-09-23 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:50: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-09-23 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-09-23 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-09-23 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279729152001,"66":14048,"137":206,"83":42752,"24":36,"16":22703626623385600,"45":1782862533137315840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279729152001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22703626623385600,"km_value":22703626623385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533137315840,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279729152001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1782862533137315840}} 
[2026-09-23 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":190460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:41] local.INFO: GPS data processed {"connection_id":190460,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:41] local.INFO: Acknowledgment sent {"connection_id":190460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:42] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:42] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:42] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:42] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:42] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:42] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:47] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:47] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:50:47] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:47] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:50: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-09-23 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:50:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:50:47] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:50:47] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:50:56] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:56] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:56] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:50:59] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:59] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:50:59] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:51:00] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:00] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:00] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:51:02] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:02] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:02] local.INFO: IMEI packet received {"connection_id":190461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:51:03] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd907e90012d18b9800722fa98006300d128..."} 
[2026-09-23 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd907e90012d18b9800722fa98006300d128..."} 
[2026-09-23 14:51:03] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd907e90012d18b9800722fa98006300d128..."} 
[2026-09-23 14:51:03] local.INFO: Packet analysis {"connection_id":190461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:51:03] local.INFO: Extracted packet for processing {"connection_id":190461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756595072,"raw_latitude":119732888,"longitude_deg":75.6595072,"latitude_deg":11.9732888,"altitude":99,"angle":209,"satellites":40,"speed":37,"hex_longitude":"2d18b980","hex_latitude":"0722fa98","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279729408001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22703673868025856,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782088476951193600,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790155194000,"timestamp_ms":1790155194000,"timestamp_seconds":1790155194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd907e90"} 
[2026-09-23 14:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:51: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-09-23 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:51: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-09-23 14: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-09-23 14:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279729408001,"66":14004,"137":206,"83":42752,"24":37,"16":22703673868025856,"45":1782088476951193600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279729408001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:51:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22703673868025856,"km_value":22703673868025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782088476951193600,"description":"Unknown IO ID 45"} 
[2026-09-23 14:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279729408001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1782088476951193600}} 
[2026-09-23 14:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":190461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:51:03] local.INFO: GPS data processed {"connection_id":190461,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:51:03] local.INFO: Acknowledgment sent {"connection_id":190461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:51:31] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:31] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:31] local.INFO: IMEI packet received {"connection_id":193335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:51:34] local.INFO: TCP Data received {"connection_id":190461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd908660012d18b7400722f318006400c429..."} 
[2026-09-23 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd908660012d18b7400722f318006400c429..."} 
[2026-09-23 14:51:34] local.INFO: Processing buffer {"connection_id":190461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd908660012d18b7400722f318006400c429..."} 
[2026-09-23 14:51:34] local.INFO: Packet analysis {"connection_id":190461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:51:34] local.INFO: Extracted packet for processing {"connection_id":190461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd90"} 
[2026-09-23 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756594496,"raw_latitude":119730968,"longitude_deg":75.6594496,"latitude_deg":11.9730968,"altitude":100,"angle":196,"satellites":41,"speed":38,"hex_longitude":"2d18b740","hex_latitude":"0722f318","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279729664001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22703772652273664,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781595895741716480,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790155196000,"timestamp_ms":1790155196000,"timestamp_seconds":1790155196,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd908660"} 
[2026-09-23 14:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 14:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279729664001,"66":14080,"137":206,"83":42752,"24":38,"16":22703772652273664,"45":1781595895741716480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-23 14:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279729664001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:51:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-23 14:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-23 14:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22703772652273664,"km_value":22703772652273.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781595895741716480,"description":"Unknown IO ID 45"} 
[2026-09-23 14:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279729664001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1781595895741716480}} 
[2026-09-23 14:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":190461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:51:34] local.INFO: GPS data processed {"connection_id":190461,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:51:34] local.INFO: Acknowledgment sent {"connection_id":190461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:51:36] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:36] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:51:36] local.INFO: IMEI packet received {"connection_id":193335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":193335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:51:37] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:51:37] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:51:37] local.INFO: Packet analysis {"connection_id":193335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:51:37] local.INFO: Extracted packet for processing {"connection_id":193335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:51: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-09-23 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:51: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-09-23 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:51: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-09-23 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:51:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":193335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:51:37] local.INFO: GPS data processed {"connection_id":193335,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:51:37] local.INFO: Acknowledgment sent {"connection_id":193335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:51:56] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:56] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:51:56] local.INFO: IMEI packet received {"connection_id":190645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":190645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:52:01] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: IMEI packet received {"connection_id":190645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:52:01] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:01] local.INFO: IMEI packet received {"connection_id":190645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:52:02] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd915950012d1866c007221600005400d627..."} 
[2026-09-23 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd915950012d1866c007221600005400d627..."} 
[2026-09-23 14:52:02] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd915950012d1866c007221600005400d627..."} 
[2026-09-23 14:52:02] local.INFO: Packet analysis {"connection_id":190645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:02] local.INFO: Extracted packet for processing {"connection_id":190645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119674368,"longitude_deg":75.6573888,"latitude_deg":11.9674368,"altitude":84,"angle":214,"satellites":39,"speed":52,"hex_longitude":"2d1866c0","hex_latitude":"07221600","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279742208001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22706800604217344,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764074078428545024,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790155250000,"timestamp_ms":1790155250000,"timestamp_seconds":1790155250,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd915950"} 
[2026-09-23 14:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 14:52: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-09-23 14: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-09-23 14:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279742208001,"66":14233,"105":206,"83":41984,"24":52,"16":22706800604217344,"45":1764074078428545024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 14:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279742208001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:52:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 14:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22706800604217344,"km_value":22706800604217.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764074078428545024,"description":"Unknown IO ID 45"} 
[2026-09-23 14:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279742208001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1764074078428545024}} 
[2026-09-23 14:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":190645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:52:02] local.INFO: GPS data processed {"connection_id":190645,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:52:02] local.INFO: Acknowledgment sent {"connection_id":190645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:52:03] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd917c78012d1851c00721f730004e00d526..."} 
[2026-09-23 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd917c78012d1851c00721f730004e00d526..."} 
[2026-09-23 14:52:03] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd917c78012d1851c00721f730004e00d526..."} 
[2026-09-23 14:52:03] local.INFO: Packet analysis {"connection_id":190645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:03] local.INFO: Extracted packet for processing {"connection_id":190645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756568512,"raw_latitude":119666480,"longitude_deg":75.6568512,"latitude_deg":11.966648,"altitude":78,"angle":213,"satellites":38,"speed":41,"hex_longitude":"2d1851c0","hex_latitude":"0721f730","is_valid_coordinates":true} 
[2026-09-23 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279744000001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22707260165718016,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841403928576,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790155259000,"timestamp_ms":1790155259000,"timestamp_seconds":1790155259,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd917c78"} 
[2026-09-23 14:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:52: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-09-23 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 14:52:03] 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-09-23 14:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279744000001,"66":14265,"105":206,"83":41984,"24":41,"16":22707260165718016,"45":1758303841403928576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 14:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279744000001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:52:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 14:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22707260165718016,"km_value":22707260165718.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841403928576,"description":"Unknown IO ID 45"} 
[2026-09-23 14:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279744000001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1758303841403928576}} 
[2026-09-23 14:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":190645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:52:03] local.INFO: GPS data processed {"connection_id":190645,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:52:03] local.INFO: Acknowledgment sent {"connection_id":190645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:52:08] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:08] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:08] local.INFO: Packet analysis {"connection_id":193335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:52:08] local.INFO: Extracted packet for processing {"connection_id":193335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:52: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-09-23 14:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:52:08] 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-09-23 14:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:52: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-09-23 14:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:52:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":193335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:52:08] local.INFO: GPS data processed {"connection_id":193335,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:52:08] local.INFO: Acknowledgment sent {"connection_id":193335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:52:31] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:31] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:31] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:52:34] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd919fa0012d183cc00721d708004900d528..."} 
[2026-09-23 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd919fa0012d183cc00721d708004900d528..."} 
[2026-09-23 14:52:34] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd919fa0012d183cc00721d708004900d528..."} 
[2026-09-23 14:52:34] local.INFO: Packet analysis {"connection_id":190645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:34] local.INFO: Extracted packet for processing {"connection_id":190645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd91"} 
[2026-09-23 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119658248,"longitude_deg":75.6563136,"latitude_deg":11.9658248,"altitude":73,"angle":213,"satellites":40,"speed":45,"hex_longitude":"2d183cc0","hex_latitude":"0721d708","is_valid_coordinates":true} 
[2026-09-23 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279746304001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22707736907087872,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752392866890985472,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790155268000,"timestamp_ms":1790155268000,"timestamp_seconds":1790155268,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd919fa0"} 
[2026-09-23 14:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 14:52: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-09-23 14:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279746304001,"66":14189,"105":206,"83":41984,"24":45,"16":22707736907087872,"45":1752392866890985472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 14:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279746304001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:52:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 14:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22707736907087872,"km_value":22707736907087.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752392866890985472,"description":"Unknown IO ID 45"} 
[2026-09-23 14:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279746304001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1752392866890985472}} 
[2026-09-23 14:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":190645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:52:34] local.INFO: GPS data processed {"connection_id":190645,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:52:34] local.INFO: Acknowledgment sent {"connection_id":190645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:52:36] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:36] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:52:36] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:52:37] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:37] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:52:37] local.INFO: Packet analysis {"connection_id":190462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:52:37] local.INFO: Extracted packet for processing {"connection_id":190462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:52: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-09-23 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:52: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-09-23 14:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:52: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-09-23 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:52:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":190462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:52:37] local.INFO: GPS data processed {"connection_id":190462,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:52:37] local.INFO: Acknowledgment sent {"connection_id":190462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:52:56] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:56] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:56] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:52:58] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:58] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:52:58] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:53:01] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:01] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:01] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:53:02] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:02] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:53:02] local.INFO: IMEI packet received {"connection_id":190463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":190463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:53:03] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd926ea8012d188c0007217f30004a006e23..."} 
[2026-09-23 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd926ea8012d188c0007217f30004a006e23..."} 
[2026-09-23 14:53:03] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd926ea8012d188c0007217f30004a006e23..."} 
[2026-09-23 14:53:03] local.INFO: Packet analysis {"connection_id":190463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:03] local.INFO: Extracted packet for processing {"connection_id":190463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756583424,"raw_latitude":119635760,"longitude_deg":75.6583424,"latitude_deg":11.963576,"altitude":74,"angle":110,"satellites":35,"speed":49,"hex_longitude":"2d188c00","hex_latitude":"07217f30","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279761664001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22709884390735872,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997929472,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790155321000,"timestamp_ms":1790155321000,"timestamp_seconds":1790155321,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd926ea8"} 
[2026-09-23 14:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:53: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-09-23 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 14:53: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-09-23 14: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-09-23 14:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279761664001,"66":13124,"106":206,"83":41984,"24":49,"16":22709884390735872,"45":1766114771997929472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 14:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279761664001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 14:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22709884390735872,"km_value":22709884390735.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997929472,"description":"Unknown IO ID 45"} 
[2026-09-23 14:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279761664001,"power":13124,"unknown_106":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1766114771997929472}} 
[2026-09-23 14:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":190463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:53:03] local.INFO: GPS data processed {"connection_id":190463,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:53:03] local.INFO: Acknowledgment sent {"connection_id":190463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:53:04] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd928de8012d18ad40072171680049007c26..."} 
[2026-09-23 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd928de8012d18ad40072171680049007c26..."} 
[2026-09-23 14:53:04] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd928de8012d18ad40072171680049007c26..."} 
[2026-09-23 14:53:04] local.INFO: Packet analysis {"connection_id":190463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:04] local.INFO: Extracted packet for processing {"connection_id":190463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632232,"longitude_deg":75.6591936,"latitude_deg":11.9632232,"altitude":73,"angle":124,"satellites":38,"speed":42,"hex_longitude":"2d18ad40","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279762176001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22710322477400064,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768788784276516864,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790155329000,"timestamp_ms":1790155329000,"timestamp_seconds":1790155329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd928de8"} 
[2026-09-23 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-09-23 14:53: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-09-23 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 14:53: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-09-23 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-09-23 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-09-23 14:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279762176001,"66":13091,"106":206,"83":41984,"24":42,"16":22710322477400064,"45":1768788784276516864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 14:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279762176001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 14:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22710322477400064,"km_value":22710322477400.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768788784276516864,"description":"Unknown IO ID 45"} 
[2026-09-23 14:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279762176001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1768788784276516864}} 
[2026-09-23 14:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":190463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:53:04] local.INFO: GPS data processed {"connection_id":190463,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:53:04] local.INFO: Acknowledgment sent {"connection_id":190463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:53:08] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:08] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd8e4828012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:08] local.INFO: Packet analysis {"connection_id":190462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:53:08] local.INFO: Extracted packet for processing {"connection_id":190462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd8e"} 
[2026-09-23 14:53:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279615488001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155049000,"timestamp_ms":1790155049000,"timestamp_seconds":1790155049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd8e4828"} 
[2026-09-23 14:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:53: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:53:08] 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-09-23 14: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-09-23 14:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:53: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-09-23 14:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279615488001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279615488001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:53:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279615488001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":190462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:53:08] local.INFO: GPS data processed {"connection_id":190462,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:53:08] local.INFO: Acknowledgment sent {"connection_id":190462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:53:31] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:31] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:31] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:53:35] local.INFO: TCP Data received {"connection_id":190463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd931e70012d18eec00720e0b80036009526..."} 
[2026-09-23 14:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd931e70012d18eec00720e0b80036009526..."} 
[2026-09-23 14:53:35] local.INFO: Processing buffer {"connection_id":190463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd931e70012d18eec00720e0b80036009526..."} 
[2026-09-23 14:53:35] local.INFO: Packet analysis {"connection_id":190463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:53:35] local.INFO: Extracted packet for processing {"connection_id":190463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119595192,"longitude_deg":75.6608704,"latitude_deg":11.9595192,"altitude":54,"angle":149,"satellites":38,"speed":45,"hex_longitude":"2d18eec0","hex_latitude":"0720e0b8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279771648001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22712353996931072,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790603094963040256,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790155366000,"timestamp_ms":1790155366000,"timestamp_seconds":1790155366,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd931e70"} 
[2026-09-23 14:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:53: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-09-23 14:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 14:53:35] 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-09-23 14: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-09-23 14:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279771648001,"66":14135,"103":206,"83":41984,"24":45,"16":22712353996931072,"45":1790603094963040256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 14:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279771648001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22712353996931072,"km_value":22712353996931.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790603094963040256,"description":"Unknown IO ID 45"} 
[2026-09-23 14:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279771648001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1790603094963040256}} 
[2026-09-23 14:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":190463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:53:35] local.INFO: GPS data processed {"connection_id":190463,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:53:35] local.INFO: Acknowledgment sent {"connection_id":190463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:53:36] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:36] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:53:36] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:53:37] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:37] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:53:37] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:37] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 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-09-23 14:53: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-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:53: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-09-23 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-09-23 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-09-23 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:53:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:53:37] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:53:37] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:01] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:01] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:01] local.INFO: IMEI packet received {"connection_id":193336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":193336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:54:02] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:02] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:02] local.INFO: IMEI packet received {"connection_id":193336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":193336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:54:07] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:07] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:07] local.INFO: IMEI packet received {"connection_id":193336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":193336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:54:08] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd932a28012d18f7400720d6480035008427..."} 
[2026-09-23 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd932a28012d18f7400720d6480035008427..."} 
[2026-09-23 14:54:08] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd932a28012d18f7400720d6480035008427..."} 
[2026-09-23 14:54:08] local.INFO: Packet analysis {"connection_id":193336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:54:08] local.INFO: Extracted packet for processing {"connection_id":193336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119592520,"longitude_deg":75.661088,"latitude_deg":11.959252,"altitude":53,"angle":132,"satellites":39,"speed":45,"hex_longitude":"2d18f740","hex_latitude":"0720d648","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279773696001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22712521500655616,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438216308736,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155369000,"timestamp_ms":1790155369000,"timestamp_seconds":1790155369,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd932a28"} 
[2026-09-23 14:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 14:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279773696001,"66":14113,"103":206,"83":41984,"24":45,"16":22712521500655616,"45":1796584438216308736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279773696001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22712521500655616,"km_value":22712521500655.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438216308736,"description":"Unknown IO ID 45"} 
[2026-09-23 14:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279773696001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1796584438216308736}} 
[2026-09-23 14:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:54:08] local.INFO: GPS data processed {"connection_id":193336,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:54:08] local.INFO: Acknowledgment sent {"connection_id":193336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:08] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:08] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:08] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:54:08] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:54: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:54:08] 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-09-23 14: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-09-23 14:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:54:08] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:54:08] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:09] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd933db0012d190b000720c9c80031007828..."} 
[2026-09-23 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd933db0012d190b000720c9c80031007828..."} 
[2026-09-23 14:54:09] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd933db0012d190b000720c9c80031007828..."} 
[2026-09-23 14:54:09] local.INFO: Packet analysis {"connection_id":193336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:54:09] local.INFO: Extracted packet for processing {"connection_id":193336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd93"} 
[2026-09-23 14:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756615936,"raw_latitude":119589320,"longitude_deg":75.6615936,"latitude_deg":11.958932,"altitude":49,"angle":120,"satellites":40,"speed":49,"hex_longitude":"2d190b00","hex_latitude":"0720c9c8","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279774464001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22712804968497152,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798976975517665280,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790155374000,"timestamp_ms":1790155374000,"timestamp_seconds":1790155374,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd933db0"} 
[2026-09-23 14:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:54: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-09-23 14: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 14:54:09] 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-09-23 14: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-09-23 14:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279774464001,"66":13939,"103":206,"83":41984,"24":49,"16":22712804968497152,"45":1798976975517665280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 14:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279774464001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:54:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 14:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22712804968497152,"km_value":22712804968497.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798976975517665280,"description":"Unknown IO ID 45"} 
[2026-09-23 14:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279774464001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1798976975517665280}} 
[2026-09-23 14:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":193336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:54:09] local.INFO: GPS data processed {"connection_id":193336,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:54:09] local.INFO: Acknowledgment sent {"connection_id":193336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:20] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:54:20] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 14:54:20] local.INFO: IMEI packet received {"connection_id":191990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 14:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":191990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:54:31] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:31] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:31] local.INFO: IMEI packet received {"connection_id":190464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":190464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:54:36] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:36] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:54:36] local.INFO: IMEI packet received {"connection_id":190464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:54:37] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:37] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:54:37] local.INFO: Packet analysis {"connection_id":190464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:54:37] local.INFO: Extracted packet for processing {"connection_id":190464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:54: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-09-23 14: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-09-23 14:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:54:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":190464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:54:37] local.INFO: GPS data processed {"connection_id":190464,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:54:37] local.INFO: Acknowledgment sent {"connection_id":190464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:41] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9410a0012d19ad8007208830002c00b325..."} 
[2026-09-23 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9410a0012d19ad8007208830002c00b325..."} 
[2026-09-23 14:54:41] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9410a0012d19ad8007208830002c00b325..."} 
[2026-09-23 14:54:41] local.INFO: Packet analysis {"connection_id":193336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd94"} 
[2026-09-23 14:54:41] local.INFO: Extracted packet for processing {"connection_id":193336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd94"} 
[2026-09-23 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119572528,"longitude_deg":75.6657536,"latitude_deg":11.9572528,"altitude":44,"angle":179,"satellites":37,"speed":39,"hex_longitude":"2d19ad80","hex_latitude":"07208830","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279789056001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22715558042533888,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506919424,"note":"Value kept but may cause issues"} 
[2026-09-23 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790155428000,"timestamp_ms":1790155428000,"timestamp_seconds":1790155428,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9410a0"} 
[2026-09-23 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-09-23 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 14:54:41] 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-09-23 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-09-23 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-09-23 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279789056001,"66":14135,"103":206,"83":41984,"24":39,"16":22715558042533888,"45":1850416527506919424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279789056001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22715558042533888,"km_value":22715558042533.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506919424,"description":"Unknown IO ID 45"} 
[2026-09-23 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279789056001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1850416527506919424}} 
[2026-09-23 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":193336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:54:41] local.INFO: GPS data processed {"connection_id":193336,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:54:41] local.INFO: Acknowledgment sent {"connection_id":193336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:54:52] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:52] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:52] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 14:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:54:54] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:54] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:54] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:54:57] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:54:57] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 14:54:57] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:55:08] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:08] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:08] local.INFO: Packet analysis {"connection_id":190464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:08] local.INFO: Extracted packet for processing {"connection_id":190464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:55: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:55:08] 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-09-23 14: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-09-23 14:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55: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-09-23 14:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:55:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":190464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:55:08] local.INFO: GPS data processed {"connection_id":190464,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:55:08] local.INFO: Acknowledgment sent {"connection_id":190464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:55:36] local.INFO: TCP Data received {"connection_id":190647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:36] local.INFO: Processing buffer {"connection_id":190647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:36] local.INFO: IMEI packet received {"connection_id":190647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:55:41] local.INFO: TCP Data received {"connection_id":190647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:41] local.INFO: Processing buffer {"connection_id":190647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:55:41] local.INFO: IMEI packet received {"connection_id":190647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":190647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:55:42] local.INFO: TCP Data received {"connection_id":190647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:42] local.INFO: Processing buffer {"connection_id":190647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:42] local.INFO: Packet analysis {"connection_id":190647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:42] local.INFO: Extracted packet for processing {"connection_id":190647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:55: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-09-23 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14: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-09-23 14:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:55:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":190647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:55:42] local.INFO: GPS data processed {"connection_id":190647,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:55:42] local.INFO: Acknowledgment sent {"connection_id":190647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:55:47] local.INFO: TCP Data received {"connection_id":190647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:47] local.INFO: Processing buffer {"connection_id":190647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:55:47] local.INFO: Packet analysis {"connection_id":190647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:47] local.INFO: Extracted packet for processing {"connection_id":190647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:55:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:55:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":190647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:55:47] local.INFO: GPS data processed {"connection_id":190647,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:55:47] local.INFO: Acknowledgment sent {"connection_id":190647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:56:31] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:31] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:31] local.INFO: IMEI packet received {"connection_id":191992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":191992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:56:36] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:36] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:56:36] local.INFO: IMEI packet received {"connection_id":191992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":191992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:56:37] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:56:37] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:56:37] local.INFO: Packet analysis {"connection_id":191992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:56:37] local.INFO: Extracted packet for processing {"connection_id":191992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 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-09-23 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:56: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-09-23 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-09-23 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-09-23 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14: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-09-23 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:56:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":191992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:56:37] local.INFO: GPS data processed {"connection_id":191992,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:56:37] local.INFO: Acknowledgment sent {"connection_id":191992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:57:08] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:08] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:08] local.INFO: Packet analysis {"connection_id":191992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:57:08] local.INFO: Extracted packet for processing {"connection_id":191992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:57: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-09-23 14:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:57:08] 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-09-23 14:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:57: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-09-23 14:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:57:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":191992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:57:08] local.INFO: GPS data processed {"connection_id":191992,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:57:08] local.INFO: Acknowledgment sent {"connection_id":191992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:57:31] local.INFO: TCP Data received {"connection_id":193338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:31] local.INFO: Processing buffer {"connection_id":193338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:31] local.INFO: IMEI packet received {"connection_id":193338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":193338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:57:36] local.INFO: TCP Data received {"connection_id":193338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:36] local.INFO: Processing buffer {"connection_id":193338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:57:36] local.INFO: IMEI packet received {"connection_id":193338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":193338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:57:37] local.INFO: TCP Data received {"connection_id":193338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:37] local.INFO: Processing buffer {"connection_id":193338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:57:37] local.INFO: Packet analysis {"connection_id":193338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:57:37] local.INFO: Extracted packet for processing {"connection_id":193338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:57: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-09-23 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:57: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-09-23 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:57:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":193338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:57:37] local.INFO: GPS data processed {"connection_id":193338,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:57:37] local.INFO: Acknowledgment sent {"connection_id":193338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:58:08] local.INFO: TCP Data received {"connection_id":193338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:58:08] local.INFO: Processing buffer {"connection_id":193338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd92dff0012d4160c006cb46f00020013326..."} 
[2026-09-23 14:58:08] local.INFO: Packet analysis {"connection_id":193338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:58:08] local.INFO: Extracted packet for processing {"connection_id":193338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd92"} 
[2026-09-23 14:58:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279692544001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155350000,"timestamp_ms":1790155350000,"timestamp_seconds":1790155350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd92dff0"} 
[2026-09-23 14:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:58: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-09-23 14:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 14:58:08] 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-09-23 14:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58: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-09-23 14:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279692544001,"66":25832,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279692544001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:58:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279692544001,"power":25832,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":193338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:58:08] local.INFO: GPS data processed {"connection_id":193338,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:58:08] local.INFO: Acknowledgment sent {"connection_id":193338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:58:36] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:36] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:36] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:58:41] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:41] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:58:41] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:58:42] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:42] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:42] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:58:42] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:58: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-09-23 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 14:58:42] 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-09-23 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:58:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:58:42] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:58:42] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:58:47] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:47] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:58:47] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:58:47] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:58:47] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14: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-09-23 14:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 14:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:58: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-09-23 14: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 14:58: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-09-23 14: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-09-23 14:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 14:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:58:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:58:47] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:58:47] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 14:59:31] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:31] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:31] local.INFO: IMEI packet received {"connection_id":190649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 14:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":190649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 14:59:36] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:36] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 14:59:36] local.INFO: IMEI packet received {"connection_id":190649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 14:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":190649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 14:59:37] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:59:37] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 14:59:37] local.INFO: Packet analysis {"connection_id":190649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:59:37] local.INFO: Extracted packet for processing {"connection_id":190649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 14:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 14:59: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-09-23 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 14:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 14:59: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-09-23 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 14:59:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 14:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":190649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 14:59:37] local.INFO: GPS data processed {"connection_id":190649,"processed":1,"errors":0,"total":1} 
[2026-09-23 14:59:37] local.INFO: Acknowledgment sent {"connection_id":190649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:00:02] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:00:02] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:00:02] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:00:02] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd95d5c0012d196940071fece0003d011026..."} 
[2026-09-23 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd95d5c0012d196940071fece0003d011026..."} 
[2026-09-23 15:00:02] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd95d5c0012d196940071fece0003d011026..."} 
[2026-09-23 15:00:02] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd95"} 
[2026-09-23 15:00:02] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd95"} 
[2026-09-23 15:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279813888001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303683911680,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790155544000,"timestamp_ms":1790155544000,"timestamp_seconds":1790155544,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd95d5c0"} 
[2026-09-23 15:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":199,"data_length":795,"current_offset":136} 
[2026-09-23 15:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279813888001,"66":12809,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1836061303683911680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279813888001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303683911680,"description":"Unknown IO ID 45"} 
[2026-09-23 15:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279813888001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836061303683911680}} 
[2026-09-23 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:00:03] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:00:03] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:00:08] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:08] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:08] local.INFO: Packet analysis {"connection_id":190649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:00:08] local.INFO: Extracted packet for processing {"connection_id":190649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:00:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:00: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-09-23 15:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:00:08] 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-09-23 15:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:00: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-09-23 15:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:00:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":190649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:00:08] local.INFO: GPS data processed {"connection_id":190649,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:00:08] local.INFO: Acknowledgment sent {"connection_id":190649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:00:12] local.INFO: TCP Data received {"connection_id":193339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:00:12] local.INFO: Processing buffer {"connection_id":193339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:00:12] local.INFO: IMEI packet received {"connection_id":193339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":193339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:00:31] local.INFO: TCP Data received {"connection_id":191996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:31] local.INFO: Processing buffer {"connection_id":191996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:31] local.INFO: IMEI packet received {"connection_id":191996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":191996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:00:34] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9627c8012d196940071fece0003d011027..."} 
[2026-09-23 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9627c8012d196940071fece0003d011027..."} 
[2026-09-23 15:00:34] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9627c8012d196940071fece0003d011027..."} 
[2026-09-23 15:00:34] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:00:34] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279819264001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790155565000,"timestamp_ms":1790155565000,"timestamp_seconds":1790155565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9627c8"} 
[2026-09-23 15:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449121864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465702,"corrected_to":0} 
[2026-09-23 15:00:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-7693977745845805696,"corrected_to":0} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4007657528,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3060858880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301444963524742696,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587272546143827,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,182,160,131,45,235,57,40,10,66,127,41,123,192,1,240,200,227,205,31,4,113,18,112,8,239,49,2,80,7,55,21,50,164,107],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13465702,"validated":0},{"io_id":205,"original":-7693977745845805696,"validated":0}]} 
[2026-09-23 15:00:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812466685116416,"timestamp_seconds":4395812466685116.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279819264001,"66":12798,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279819264001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:00:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279819264001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:00:34] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:00:34] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:00:36] local.INFO: TCP Data received {"connection_id":191996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:36] local.INFO: Processing buffer {"connection_id":191996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:00:36] local.INFO: IMEI packet received {"connection_id":191996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":191996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:00:37] local.INFO: TCP Data received {"connection_id":191996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:37] local.INFO: Processing buffer {"connection_id":191996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:00:37] local.INFO: Packet analysis {"connection_id":191996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:00:37] local.INFO: Extracted packet for processing {"connection_id":191996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:00: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-09-23 15:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:00:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":191996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:00:37] local.INFO: GPS data processed {"connection_id":191996,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:00:37] local.INFO: Acknowledgment sent {"connection_id":191996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:01:02] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:02] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:02] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:01:06] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:06] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:06] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:01:07] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9679d0012d196940071fece0003d01102a..."} 
[2026-09-23 15:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9679d0012d196940071fece0003d01102a..."} 
[2026-09-23 15:01:07] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9679d0012d196940071fece0003d01102a..."} 
[2026-09-23 15:01:07] local.INFO: Packet analysis {"connection_id":190650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:01:07] local.INFO: Extracted packet for processing {"connection_id":190650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279824640001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155586000,"timestamp_ms":1790155586000,"timestamp_seconds":1790155586,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9679d0"} 
[2026-09-23 15:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:01: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-09-23 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 15:01: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-09-23 15: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-09-23 15:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279824640001,"66":12765,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279824640001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279824640001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":190650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:01:07] local.INFO: GPS data processed {"connection_id":190650,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:01:07] local.INFO: Acknowledgment sent {"connection_id":190650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:01:07] local.INFO: TCP Data received {"connection_id":191996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:07] local.INFO: Processing buffer {"connection_id":191996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:07] local.INFO: Packet analysis {"connection_id":191996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:01:07] local.INFO: Extracted packet for processing {"connection_id":191996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:01:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:01: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-09-23 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:01:07] 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-09-23 15: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-09-23 15:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:01: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-09-23 15:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":191996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:01:07] local.INFO: GPS data processed {"connection_id":191996,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:01:07] local.INFO: Acknowledgment sent {"connection_id":191996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:01:12] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd96cbd8012d196940071fece0003d011029..."} 
[2026-09-23 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd96cbd8012d196940071fece0003d011029..."} 
[2026-09-23 15:01:12] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd96cbd8012d196940071fece0003d011029..."} 
[2026-09-23 15:01:12] local.INFO: Packet analysis {"connection_id":190650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:01:12] local.INFO: Extracted packet for processing {"connection_id":190650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd96"} 
[2026-09-23 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279830016001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790155607000,"timestamp_ms":1790155607000,"timestamp_seconds":1790155607,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd96cbd8"} 
[2026-09-23 15:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-23 15:01: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-09-23 15: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-09-23 15:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279830016001,"66":12722,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279830016001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:01:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279830016001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":190650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:01:12] local.INFO: GPS data processed {"connection_id":190650,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:01:12] local.INFO: Acknowledgment sent {"connection_id":190650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:01:31] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:31] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:31] local.INFO: IMEI packet received {"connection_id":193340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":193340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:01:36] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:36] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:01:36] local.INFO: IMEI packet received {"connection_id":193340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":193340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:01:37] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:37] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:01:37] local.INFO: Packet analysis {"connection_id":193340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:01:37] local.INFO: Extracted packet for processing {"connection_id":193340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:01: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-09-23 15: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:01:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":193340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:01:37] local.INFO: GPS data processed {"connection_id":193340,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:01:37] local.INFO: Acknowledgment sent {"connection_id":193340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:01:57] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: IMEI packet received {"connection_id":191997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":191997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:01:57] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:01:57] local.INFO: IMEI packet received {"connection_id":191997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":191997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:02:02] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:02] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:02] local.INFO: IMEI packet received {"connection_id":191997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":191997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:02:03] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9a5230012d196940071fece0003d011024..."} 
[2026-09-23 15:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9a5230012d196940071fece0003d011024..."} 
[2026-09-23 15:02:03] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9a5230012d196940071fece0003d011024..."} 
[2026-09-23 15:02:03] local.INFO: Packet analysis {"connection_id":191997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:03] local.INFO: Extracted packet for processing {"connection_id":191997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279889152001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790155838000,"timestamp_ms":1790155838000,"timestamp_seconds":1790155838,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9a5230"} 
[2026-09-23 15:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 15:02:03] 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-09-23 15: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-09-23 15:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279889152001,"66":12558,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279889152001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279889152001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":191997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:02:03] local.INFO: GPS data processed {"connection_id":191997,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:02:03] local.INFO: Acknowledgment sent {"connection_id":191997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:02:07] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9aa438012d196940071fece0003d011025..."} 
[2026-09-23 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9aa438012d196940071fece0003d011025..."} 
[2026-09-23 15:02:07] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9aa438012d196940071fece0003d011025..."} 
[2026-09-23 15:02:07] local.INFO: Packet analysis {"connection_id":191997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:07] local.INFO: Extracted packet for processing {"connection_id":191997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279894528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155859000,"timestamp_ms":1790155859000,"timestamp_seconds":1790155859,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9aa438"} 
[2026-09-23 15:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:02: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-09-23 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449316864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,182,160,45,64,236,61,37,10,66,174,38,92,1,240,58,227,205,31,4,113,184,105,224,40,239,49,2,80,7,120,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 15:02:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812458095181824,"timestamp_seconds":4395812458095182.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279894528001,"66":12558,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279894528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279894528001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":191997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:02:07] local.INFO: GPS data processed {"connection_id":191997,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:02:07] local.INFO: Acknowledgment sent {"connection_id":191997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:02:07] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:07] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:07] local.INFO: Packet analysis {"connection_id":193340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:02:07] local.INFO: Extracted packet for processing {"connection_id":193340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:02: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-09-23 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:02:07] 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-09-23 15:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:02: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-09-23 15:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":193340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:02:07] local.INFO: GPS data processed {"connection_id":193340,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:02:07] local.INFO: Acknowledgment sent {"connection_id":193340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:02:31] local.INFO: TCP Data received {"connection_id":193341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:31] local.INFO: Processing buffer {"connection_id":193341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:31] local.INFO: IMEI packet received {"connection_id":193341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":193341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:02:36] local.INFO: TCP Data received {"connection_id":193341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:36] local.INFO: Processing buffer {"connection_id":193341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:02:36] local.INFO: IMEI packet received {"connection_id":193341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":193341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:02:37] local.INFO: TCP Data received {"connection_id":193341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:37] local.INFO: Processing buffer {"connection_id":193341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:02:37] local.INFO: Packet analysis {"connection_id":193341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:02:37] local.INFO: Extracted packet for processing {"connection_id":193341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:02: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-09-23 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:02:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":193341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:02:37] local.INFO: GPS data processed {"connection_id":193341,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:02:37] local.INFO: Acknowledgment sent {"connection_id":193341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:02:38] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9af640012d196940071fece0003d011024..."} 
[2026-09-23 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9af640012d196940071fece0003d011024..."} 
[2026-09-23 15:02:38] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9af640012d196940071fece0003d011024..."} 
[2026-09-23 15:02:38] local.INFO: Packet analysis {"connection_id":191997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:38] local.INFO: Extracted packet for processing {"connection_id":191997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9a"} 
[2026-09-23 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279899904001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790155880000,"timestamp_ms":1790155880000,"timestamp_seconds":1790155880,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9af640"} 
[2026-09-23 15:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449337864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 15:02:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,182,160,82,45,64,236,61,36,10,66,37,174,1,240,4,227,205,31,113,105,224,39,239,49,2,80,7,120,84,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 15:02:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812462390149120,"timestamp_seconds":4395812462390149.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279899904001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279899904001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:02:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279899904001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":191997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:02:38] local.INFO: GPS data processed {"connection_id":191997,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:02:38] local.INFO: Acknowledgment sent {"connection_id":191997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:02:57] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:57] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:02:57] local.INFO: IMEI packet received {"connection_id":191998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":191998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:03:01] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:01] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:01] local.INFO: IMEI packet received {"connection_id":191998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":191998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:03:02] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9b4848012d196940071fece0003d011025..."} 
[2026-09-23 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9b4848012d196940071fece0003d011025..."} 
[2026-09-23 15:03:02] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9b4848012d196940071fece0003d011025..."} 
[2026-09-23 15:03:02] local.INFO: Packet analysis {"connection_id":191998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:03:02] local.INFO: Extracted packet for processing {"connection_id":191998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279905280001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790155901000,"timestamp_ms":1790155901000,"timestamp_seconds":1790155901,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9b4848"} 
[2026-09-23 15:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:03: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-09-23 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:03: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-09-23 15: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-09-23 15:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279905280001,"66":12558,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279905280001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279905280001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":191998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:03:02] local.INFO: GPS data processed {"connection_id":191998,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:03:02] local.INFO: Acknowledgment sent {"connection_id":191998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:03:10] local.INFO: TCP Data received {"connection_id":193341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:10] local.INFO: Processing buffer {"connection_id":193341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9777b8012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:10] local.INFO: Packet analysis {"connection_id":193341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:03:10] local.INFO: Extracted packet for processing {"connection_id":193341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd97"} 
[2026-09-23 15:03:10] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279769600001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790155651000,"timestamp_ms":1790155651000,"timestamp_seconds":1790155651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9777b8"} 
[2026-09-23 15:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 15:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279769600001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279769600001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:03:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279769600001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":193341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:03:10] local.INFO: GPS data processed {"connection_id":193341,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:03:10] local.INFO: Acknowledgment sent {"connection_id":193341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:03:33] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9b9a50012d196940071fece0003d011026..."} 
[2026-09-23 15:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9b9a50012d196940071fece0003d011026..."} 
[2026-09-23 15:03:33] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9b9a50012d196940071fece0003d011026..."} 
[2026-09-23 15:03:33] local.INFO: Packet analysis {"connection_id":191998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:03:33] local.INFO: Extracted packet for processing {"connection_id":191998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279910656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790155922000,"timestamp_ms":1790155922000,"timestamp_seconds":1790155922,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9b9a50"} 
[2026-09-23 15:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:03: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-09-23 15: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":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449379864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":16385,"corrected_to":0} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,182,160,246,45,64,236,61,36,10,66,164,37,82,1,240,14,227,205,31,4,113,174,105,224,38,239,49,2,80,7,120,85,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":246,"original":16385,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 15:03:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812462390149120,"timestamp_seconds":4395812462390149.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279910656001,"66":12287,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279910656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:03:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279910656001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":191998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:03:33] local.INFO: GPS data processed {"connection_id":191998,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:03:33] local.INFO: Acknowledgment sent {"connection_id":191998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:03:36] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:36] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:36] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:03:41] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:41] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:03:41] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:03:42] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:42] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:42] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:03:42] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15: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-09-23 15:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:03:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:03:42] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:03:42] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:03:46] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:46] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:03:46] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:03:46] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:03:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:03:46] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:03:46] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:03:57] local.INFO: TCP Data received {"connection_id":190652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:57] local.INFO: Processing buffer {"connection_id":190652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:03:57] local.INFO: IMEI packet received {"connection_id":190652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":190652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:04:02] local.INFO: TCP Data received {"connection_id":190652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:02] local.INFO: Processing buffer {"connection_id":190652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:02] local.INFO: IMEI packet received {"connection_id":190652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":190652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:04:03] local.INFO: TCP Data received {"connection_id":190652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9bec58012d196940071fece0003d011025..."} 
[2026-09-23 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9bec58012d196940071fece0003d011025..."} 
[2026-09-23 15:04:03] local.INFO: Processing buffer {"connection_id":190652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9bec58012d196940071fece0003d011025..."} 
[2026-09-23 15:04:03] local.INFO: Packet analysis {"connection_id":190652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:04:03] local.INFO: Extracted packet for processing {"connection_id":190652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9b"} 
[2026-09-23 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279916032001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790155943000,"timestamp_ms":1790155943000,"timestamp_seconds":1790155943,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9bec58"} 
[2026-09-23 15:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 15:04: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-09-23 15: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-09-23 15:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279916032001,"66":12558,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279916032001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279916032001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":190652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:04:03] local.INFO: GPS data processed {"connection_id":190652,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:04:03] local.INFO: Acknowledgment sent {"connection_id":190652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:04:31] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:31] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:31] local.INFO: IMEI packet received {"connection_id":192000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":192000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:04:34] local.INFO: TCP Data received {"connection_id":190652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c3e60012d196940071fece0003d011025..."} 
[2026-09-23 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c3e60012d196940071fece0003d011025..."} 
[2026-09-23 15:04:34] local.INFO: Processing buffer {"connection_id":190652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c3e60012d196940071fece0003d011025..."} 
[2026-09-23 15:04:34] local.INFO: Packet analysis {"connection_id":190652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:04:34] local.INFO: Extracted packet for processing {"connection_id":190652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279921408001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790155964000,"timestamp_ms":1790155964000,"timestamp_seconds":1790155964,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c3e60"} 
[2026-09-23 15:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449421864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":16385,"corrected_to":0} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,182,160,154,45,64,236,61,38,10,66,72,37,246,1,240,216,227,205,31,4,113,82,105,224,36,239,49,2,80,7,120,85,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":246,"original":16385,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 15:04:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812462390149120,"timestamp_seconds":4395812462390149.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279921408001,"66":12537,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279921408001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279921408001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":190652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:04:34] local.INFO: GPS data processed {"connection_id":190652,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:04:34] local.INFO: Acknowledgment sent {"connection_id":190652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:04:36] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:36] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:04:36] local.INFO: IMEI packet received {"connection_id":192000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":192000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:04:37] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:04:37] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:04:37] local.INFO: Packet analysis {"connection_id":192000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:04:37] local.INFO: Extracted packet for processing {"connection_id":192000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:04: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-09-23 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:04: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-09-23 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:04:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":192000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:04:37] local.INFO: GPS data processed {"connection_id":192000,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:04:37] local.INFO: Acknowledgment sent {"connection_id":192000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:04:56] local.INFO: TCP Data received {"connection_id":192001,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:56] local.INFO: Processing buffer {"connection_id":192001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:04:56] local.INFO: IMEI packet received {"connection_id":192001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":192001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:05:02] local.INFO: TCP Data received {"connection_id":192001,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:02] local.INFO: Processing buffer {"connection_id":192001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:02] local.INFO: IMEI packet received {"connection_id":192001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":192001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:05:02] local.INFO: TCP Data received {"connection_id":192001,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c9068012d196940071fece0003d011026..."} 
[2026-09-23 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c9068012d196940071fece0003d011026..."} 
[2026-09-23 15:05:02] local.INFO: Processing buffer {"connection_id":192001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c9068012d196940071fece0003d011026..."} 
[2026-09-23 15:05:02] local.INFO: Packet analysis {"connection_id":192001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:02] local.INFO: Extracted packet for processing {"connection_id":192001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279926784001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790155985000,"timestamp_ms":1790155985000,"timestamp_seconds":1790155985,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c9068"} 
[2026-09-23 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:05: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-09-23 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 15:05:02] 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-09-23 15: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-09-23 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279926784001,"66":12558,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279926784001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279926784001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":192001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:05:03] local.INFO: GPS data processed {"connection_id":192001,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:05:03] local.INFO: Acknowledgment sent {"connection_id":192001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:05:08] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:08] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:08] local.INFO: Packet analysis {"connection_id":192000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:08] local.INFO: Extracted packet for processing {"connection_id":192000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:05: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-09-23 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:05:08] 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-09-23 15:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:05: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-09-23 15:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:05:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":192000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:05:08] local.INFO: GPS data processed {"connection_id":192000,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:05:08] local.INFO: Acknowledgment sent {"connection_id":192000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:05:31] local.INFO: TCP Data received {"connection_id":193343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:31] local.INFO: Processing buffer {"connection_id":193343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:31] local.INFO: IMEI packet received {"connection_id":193343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":193343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:05:34] local.INFO: TCP Data received {"connection_id":192001,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9ce270012d196940071fece0003d011026..."} 
[2026-09-23 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9ce270012d196940071fece0003d011026..."} 
[2026-09-23 15:05:34] local.INFO: Processing buffer {"connection_id":192001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9ce270012d196940071fece0003d011026..."} 
[2026-09-23 15:05:34] local.INFO: Packet analysis {"connection_id":192001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:34] local.INFO: Extracted packet for processing {"connection_id":192001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:05: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-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279932160001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156006000,"timestamp_ms":1790156006000,"timestamp_seconds":1790156006,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9ce270"} 
[2026-09-23 15:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449463864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744329842879712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1073818905,"corrected_to":0} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,182,160,62,45,64,236,61,37,10,66,154,1,240,255,227,205,31,4,113,246,105,224,36,239,48,2,80,7,120,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":246,"original":1073818905,"validated":0}]} 
[2026-09-23 15:05:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812466685116416,"timestamp_seconds":4395812466685116.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279932160001,"66":12145,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279932160001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279932160001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":192001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:05:34] local.INFO: GPS data processed {"connection_id":192001,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:05:34] local.INFO: Acknowledgment sent {"connection_id":192001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:05:35] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:35] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:35] local.INFO: IMEI packet received {"connection_id":190472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":190472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:05:36] local.INFO: TCP Data received {"connection_id":193343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:36] local.INFO: Processing buffer {"connection_id":193343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:05:36] local.INFO: IMEI packet received {"connection_id":193343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":193343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:05:37] local.INFO: TCP Data received {"connection_id":193343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:37] local.INFO: Processing buffer {"connection_id":193343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:05:37] local.INFO: Packet analysis {"connection_id":193343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:37] local.INFO: Extracted packet for processing {"connection_id":193343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:05: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-09-23 15: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-09-23 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:05: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-09-23 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:05:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":193343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:05:37] local.INFO: GPS data processed {"connection_id":193343,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:05:37] local.INFO: Acknowledgment sent {"connection_id":193343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:05:49] local.INFO: TCP Data received {"connection_id":192002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:49] local.INFO: Processing buffer {"connection_id":192002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:05:49] local.INFO: IMEI packet received {"connection_id":192002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":192002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:05:56] local.INFO: TCP Data received {"connection_id":190473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:56] local.INFO: Processing buffer {"connection_id":190473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:05:56] local.INFO: IMEI packet received {"connection_id":190473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":190473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:06:02] local.INFO: TCP Data received {"connection_id":190473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:06:02] local.INFO: Processing buffer {"connection_id":190473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:06:02] local.INFO: IMEI packet received {"connection_id":190473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":190473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:06:02] local.INFO: TCP Data received {"connection_id":190473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9d3478012d196940071fece0003d011025..."} 
[2026-09-23 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9d3478012d196940071fece0003d011025..."} 
[2026-09-23 15:06:02] local.INFO: Processing buffer {"connection_id":190473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9d3478012d196940071fece0003d011025..."} 
[2026-09-23 15:06:02] local.INFO: Packet analysis {"connection_id":190473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:06:02] local.INFO: Extracted packet for processing {"connection_id":190473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279937536001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156027000,"timestamp_ms":1790156027000,"timestamp_seconds":1790156027,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9d3478"} 
[2026-09-23 15:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:06: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-09-23 15: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-23 15:06:02] 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-09-23 15: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-09-23 15:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279937536001,"66":12548,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279937536001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279937536001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":190473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:06:03] local.INFO: GPS data processed {"connection_id":190473,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:06:03] local.INFO: Acknowledgment sent {"connection_id":190473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:06:08] local.INFO: TCP Data received {"connection_id":193343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:08] local.INFO: Processing buffer {"connection_id":193343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:08] local.INFO: Packet analysis {"connection_id":193343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:06:08] local.INFO: Extracted packet for processing {"connection_id":193343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:06: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-09-23 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:06:08] 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-09-23 15:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:06: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-09-23 15:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:06:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":193343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:06:08] local.INFO: GPS data processed {"connection_id":193343,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:06:08] local.INFO: Acknowledgment sent {"connection_id":193343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:06:31] local.INFO: TCP Data received {"connection_id":190654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:31] local.INFO: Processing buffer {"connection_id":190654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:31] local.INFO: IMEI packet received {"connection_id":190654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":190654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:06:34] local.INFO: TCP Data received {"connection_id":190473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9d8680012d196940071fece0003d011027..."} 
[2026-09-23 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9d8680012d196940071fece0003d011027..."} 
[2026-09-23 15:06:34] local.INFO: Processing buffer {"connection_id":190473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9d8680012d196940071fece0003d011027..."} 
[2026-09-23 15:06:34] local.INFO: Packet analysis {"connection_id":190473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:06:34] local.INFO: Extracted packet for processing {"connection_id":190473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279942912001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156048000,"timestamp_ms":1790156048000,"timestamp_seconds":1790156048,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9d8680"} 
[2026-09-23 15:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3449505864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3974103101,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3065970688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,182,160,226,45,64,236,61,38,10,66,144,62,1,240,249,227,205,31,4,113,154,105,224,239,47,2,80,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-23 15:06:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395812462390149120,"timestamp_seconds":4395812462390149.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 15:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279942912001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279942912001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279942912001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:06:34] local.INFO: TCP Data received {"connection_id":190653,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:06:34] local.INFO: Processing buffer {"connection_id":190653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:06:34] local.INFO: IMEI packet received {"connection_id":190653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":190653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":190473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:06:34] local.INFO: GPS data processed {"connection_id":190473,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:06:34] local.INFO: Acknowledgment sent {"connection_id":190473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:06:36] local.INFO: TCP Data received {"connection_id":190654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:36] local.INFO: Processing buffer {"connection_id":190654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:06:36] local.INFO: IMEI packet received {"connection_id":190654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":190654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:06:37] local.INFO: TCP Data received {"connection_id":190654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:37] local.INFO: Processing buffer {"connection_id":190654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:06:37] local.INFO: Packet analysis {"connection_id":190654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:06:37] local.INFO: Extracted packet for processing {"connection_id":190654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:06: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-09-23 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15: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-09-23 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":190654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:06:37] local.INFO: GPS data processed {"connection_id":190654,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:06:37] local.INFO: Acknowledgment sent {"connection_id":190654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:07:02] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:02] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:02] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:07:06] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:06] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:06] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:07:07] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9dd888012d196940071fece0003d011026..."} 
[2026-09-23 15:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9dd888012d196940071fece0003d011026..."} 
[2026-09-23 15:07:07] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9dd888012d196940071fece0003d011026..."} 
[2026-09-23 15:07:07] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:07:07] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9d"} 
[2026-09-23 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279948288001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156069000,"timestamp_ms":1790156069000,"timestamp_seconds":1790156069,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9dd888"} 
[2026-09-23 15:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279948288001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279948288001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279948288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:07:07] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:07:07] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:07:08] local.INFO: TCP Data received {"connection_id":190654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:08] local.INFO: Processing buffer {"connection_id":190654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:08] local.INFO: Packet analysis {"connection_id":190654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:07:08] local.INFO: Extracted packet for processing {"connection_id":190654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:07: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-09-23 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:07:08] 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-09-23 15:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:07: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-09-23 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:07:08] local.INFO: GPS data processed {"connection_id":190654,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:07:08] local.INFO: Acknowledgment sent {"connection_id":190654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:07:12] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9e2a90012d196940071fece0003d011027..."} 
[2026-09-23 15:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9e2a90012d196940071fece0003d011027..."} 
[2026-09-23 15:07:12] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9e2a90012d196940071fece0003d011027..."} 
[2026-09-23 15:07:12] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:07:12] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279953664001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790156090000,"timestamp_ms":1790156090000,"timestamp_seconds":1790156090,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9e2a90"} 
[2026-09-23 15:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:07:12] 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-09-23 15: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-09-23 15:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279953664001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279953664001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:07:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279953664001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:07:12] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:07:12] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:07:31] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:31] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:31] local.INFO: IMEI packet received {"connection_id":190655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:07:36] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:36] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:07:36] local.INFO: IMEI packet received {"connection_id":190655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:07:37] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:37] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:07:37] local.INFO: Packet analysis {"connection_id":190655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:07:37] local.INFO: Extracted packet for processing {"connection_id":190655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:07: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-09-23 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:07:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:07:37] local.INFO: GPS data processed {"connection_id":190655,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:07:37] local.INFO: Acknowledgment sent {"connection_id":190655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:07:54] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:54] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:54] local.INFO: IMEI packet received {"connection_id":193344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":193344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:07:57] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:57] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:07:57] local.INFO: IMEI packet received {"connection_id":193344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":193344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:08:02] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:02] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:02] local.INFO: IMEI packet received {"connection_id":193344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":193344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:08:02] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9e7c98012d196940071fece0003d011025..."} 
[2026-09-23 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9e7c98012d196940071fece0003d011025..."} 
[2026-09-23 15:08:02] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9e7c98012d196940071fece0003d011025..."} 
[2026-09-23 15:08:02] local.INFO: Packet analysis {"connection_id":193344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:08:02] local.INFO: Extracted packet for processing {"connection_id":193344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279959040001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156111000,"timestamp_ms":1790156111000,"timestamp_seconds":1790156111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9e7c98"} 
[2026-09-23 15:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:08: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-09-23 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:08: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-09-23 15: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-09-23 15:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279959040001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279959040001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279959040001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":193344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:08:03] local.INFO: GPS data processed {"connection_id":193344,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:08:03] local.INFO: Acknowledgment sent {"connection_id":193344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:08:07] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:08:07] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9c0f80012d4160c006cb46f00020013325..."} 
[2026-09-23 15:08:07] local.INFO: Packet analysis {"connection_id":190655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:08:07] local.INFO: Extracted packet for processing {"connection_id":190655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9c"} 
[2026-09-23 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279846656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790155952000,"timestamp_ms":1790155952000,"timestamp_seconds":1790155952,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9c0f80"} 
[2026-09-23 15:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:08: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-09-23 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:08: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-09-23 15: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-09-23 15:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:08: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-09-23 15:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279846656001,"66":25897,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279846656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:08:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279846656001,"power":25897,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":190655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:08:07] local.INFO: GPS data processed {"connection_id":190655,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:08:07] local.INFO: Acknowledgment sent {"connection_id":190655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:08:31] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:31] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:31] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:08:33] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9ecea0012d196940071fece0003d011026..."} 
[2026-09-23 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9ecea0012d196940071fece0003d011026..."} 
[2026-09-23 15:08:34] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9ecea0012d196940071fece0003d011026..."} 
[2026-09-23 15:08:34] local.INFO: Packet analysis {"connection_id":193344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:08:34] local.INFO: Extracted packet for processing {"connection_id":193344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9e"} 
[2026-09-23 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279964416001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156132000,"timestamp_ms":1790156132000,"timestamp_seconds":1790156132,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9ecea0"} 
[2026-09-23 15:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:08: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-09-23 15: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-09-23 15:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279964416001,"66":12515,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279964416001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279964416001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":193344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:08:34] local.INFO: GPS data processed {"connection_id":193344,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:08:34] local.INFO: Acknowledgment sent {"connection_id":193344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:08:36] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:36] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:08:36] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:08:37] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:08:37] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:08:37] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:08:37] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:08: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-09-23 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:08: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-09-23 15: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-09-23 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:08: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-09-23 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:08:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:08:37] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:08:37] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:08:57] local.INFO: TCP Data received {"connection_id":192004,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: Processing buffer {"connection_id":192004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: IMEI packet received {"connection_id":192004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":192004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:08:57] local.INFO: TCP Data received {"connection_id":192004,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: Processing buffer {"connection_id":192004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:08:57] local.INFO: IMEI packet received {"connection_id":192004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":192004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:09:02] local.INFO: TCP Data received {"connection_id":192004,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:02] local.INFO: Processing buffer {"connection_id":192004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:02] local.INFO: IMEI packet received {"connection_id":192004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":192004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:09:03] local.INFO: TCP Data received {"connection_id":192004,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9f20a8012d196940071fece0003d011026..."} 
[2026-09-23 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9f20a8012d196940071fece0003d011026..."} 
[2026-09-23 15:09:03] local.INFO: Processing buffer {"connection_id":192004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9f20a8012d196940071fece0003d011026..."} 
[2026-09-23 15:09:03] local.INFO: Packet analysis {"connection_id":192004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:09:03] local.INFO: Extracted packet for processing {"connection_id":192004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279969792001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156153000,"timestamp_ms":1790156153000,"timestamp_seconds":1790156153,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9f20a8"} 
[2026-09-23 15:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 15:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279969792001,"66":12515,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279969792001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:09:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279969792001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":192004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:09:03] local.INFO: GPS data processed {"connection_id":192004,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:09:03] local.INFO: Acknowledgment sent {"connection_id":192004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:09:08] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:08] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:08] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:08] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:09: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-09-23 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:09:08] 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-09-23 15:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09: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-09-23 15:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:09:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:09:08] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:09:08] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:09:34] local.INFO: TCP Data received {"connection_id":192004,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9f72b0012d196940071fece0003d011026..."} 
[2026-09-23 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9f72b0012d196940071fece0003d011026..."} 
[2026-09-23 15:09:34] local.INFO: Processing buffer {"connection_id":192004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9f72b0012d196940071fece0003d011026..."} 
[2026-09-23 15:09:34] local.INFO: Packet analysis {"connection_id":192004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:09:34] local.INFO: Extracted packet for processing {"connection_id":192004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279975168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156174000,"timestamp_ms":1790156174000,"timestamp_seconds":1790156174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9f72b0"} 
[2026-09-23 15:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 15:09:34] 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-09-23 15: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-09-23 15:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279975168001,"66":12526,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279975168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:09:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279975168001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":192004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:09:34] local.INFO: GPS data processed {"connection_id":192004,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:09:34] local.INFO: Acknowledgment sent {"connection_id":192004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:09:36] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:36] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:36] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:09:41] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:41] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:09:41] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:09:42] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:42] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:42] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:42] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:09: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-09-23 15:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:09:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:09:42] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:09:42] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:09:46] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:46] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:09:46] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:46] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:09:46] 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-09-23 15: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-09-23 15:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:09:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:09:46] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:09:46] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:09:57] local.INFO: TCP Data received {"connection_id":193345,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:57] local.INFO: Processing buffer {"connection_id":193345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:09:57] local.INFO: IMEI packet received {"connection_id":193345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":193345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:10:01] local.INFO: TCP Data received {"connection_id":193345,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:01] local.INFO: Processing buffer {"connection_id":193345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:01] local.INFO: IMEI packet received {"connection_id":193345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":193345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:10:02] local.INFO: TCP Data received {"connection_id":193345,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cd9fc4b8012d196940071fece0003d011023..."} 
[2026-09-23 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cd9fc4b8012d196940071fece0003d011023..."} 
[2026-09-23 15:10:02] local.INFO: Processing buffer {"connection_id":193345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cd9fc4b8012d196940071fece0003d011023..."} 
[2026-09-23 15:10:02] local.INFO: Packet analysis {"connection_id":193345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:10:02] local.INFO: Extracted packet for processing {"connection_id":193345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cd9f"} 
[2026-09-23 15:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279980544001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156195000,"timestamp_ms":1790156195000,"timestamp_seconds":1790156195,"priority":1,"record_length":96,"hex_timestamp":"000001a0cd9fc4b8"} 
[2026-09-23 15:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:10: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-09-23 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 15:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279980544001,"66":12537,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279980544001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279980544001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":193345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:10:02] local.INFO: GPS data processed {"connection_id":193345,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:10:02] local.INFO: Acknowledgment sent {"connection_id":193345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:10:31] local.INFO: TCP Data received {"connection_id":192006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:31] local.INFO: Processing buffer {"connection_id":192006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:31] local.INFO: IMEI packet received {"connection_id":192006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":192006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:10:33] local.INFO: TCP Data received {"connection_id":193345,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda016c0012d196940071fece0003d011023..."} 
[2026-09-23 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda016c0012d196940071fece0003d011023..."} 
[2026-09-23 15:10:33] local.INFO: Processing buffer {"connection_id":193345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda016c0012d196940071fece0003d011023..."} 
[2026-09-23 15:10:33] local.INFO: Packet analysis {"connection_id":193345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:10:33] local.INFO: Extracted packet for processing {"connection_id":193345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279985920001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790156216000,"timestamp_ms":1790156216000,"timestamp_seconds":1790156216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda016c0"} 
[2026-09-23 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-09-23 15:10: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-09-23 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 15:10: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-09-23 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-09-23 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-09-23 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279985920001,"66":12526,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279985920001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279985920001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":193345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:10:33] local.INFO: GPS data processed {"connection_id":193345,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:10:33] local.INFO: Acknowledgment sent {"connection_id":193345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:10:36] local.INFO: TCP Data received {"connection_id":192006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:36] local.INFO: Processing buffer {"connection_id":192006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:10:36] local.INFO: IMEI packet received {"connection_id":192006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":192006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:10:37] local.INFO: TCP Data received {"connection_id":192006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:10:37] local.INFO: Processing buffer {"connection_id":192006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:10:37] local.INFO: Packet analysis {"connection_id":192006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:10:37] local.INFO: Extracted packet for processing {"connection_id":192006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:10: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-09-23 15:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:10: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-09-23 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:10:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":192006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:10:37] local.INFO: GPS data processed {"connection_id":192006,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:10:37] local.INFO: Acknowledgment sent {"connection_id":192006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:10:56] local.INFO: TCP Data received {"connection_id":193346,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:56] local.INFO: Processing buffer {"connection_id":193346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:10:56] local.INFO: IMEI packet received {"connection_id":193346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":193346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:11:02] local.INFO: TCP Data received {"connection_id":193346,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:02] local.INFO: Processing buffer {"connection_id":193346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:02] local.INFO: IMEI packet received {"connection_id":193346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":193346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:11:03] local.INFO: TCP Data received {"connection_id":193346,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda068c8012d196940071fece0003d011023..."} 
[2026-09-23 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda068c8012d196940071fece0003d011023..."} 
[2026-09-23 15:11:03] local.INFO: Processing buffer {"connection_id":193346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda068c8012d196940071fece0003d011023..."} 
[2026-09-23 15:11:03] local.INFO: Packet analysis {"connection_id":193346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:03] local.INFO: Extracted packet for processing {"connection_id":193346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279991296001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156237000,"timestamp_ms":1790156237000,"timestamp_seconds":1790156237,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda068c8"} 
[2026-09-23 15:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":238,"data_length":795,"current_offset":136} 
[2026-09-23 15:11:03] 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-09-23 15: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-09-23 15:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279991296001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279991296001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279991296001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":193346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:11:03] local.INFO: GPS data processed {"connection_id":193346,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:11:03] local.INFO: Acknowledgment sent {"connection_id":193346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:11:08] local.INFO: TCP Data received {"connection_id":192006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:08] local.INFO: Processing buffer {"connection_id":192006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:08] local.INFO: Packet analysis {"connection_id":192006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:08] local.INFO: Extracted packet for processing {"connection_id":192006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:11: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-09-23 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:11:08] 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-09-23 15: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-09-23 15:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:11: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-09-23 15:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:11:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":192006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:11:08] local.INFO: GPS data processed {"connection_id":192006,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:11:08] local.INFO: Acknowledgment sent {"connection_id":192006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:11:31] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:31] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:31] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:11:34] local.INFO: TCP Data received {"connection_id":193346,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0bad0012d196940071fece0003d011025..."} 
[2026-09-23 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0bad0012d196940071fece0003d011025..."} 
[2026-09-23 15:11:34] local.INFO: Processing buffer {"connection_id":193346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0bad0012d196940071fece0003d011025..."} 
[2026-09-23 15:11:34] local.INFO: Packet analysis {"connection_id":193346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:34] local.INFO: Extracted packet for processing {"connection_id":193346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279996672001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156258000,"timestamp_ms":1790156258000,"timestamp_seconds":1790156258,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0bad0"} 
[2026-09-23 15:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:11: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-09-23 15:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279996672001,"66":12526,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279996672001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:11:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279996672001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":193346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:11:34] local.INFO: GPS data processed {"connection_id":193346,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:11:34] local.INFO: Acknowledgment sent {"connection_id":193346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:11:36] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:36] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:11:36] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:11:37] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:37] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:11:37] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:37] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:11: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-09-23 15:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:11: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-09-23 15:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:11:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:11:37] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:11:37] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:11:50] local.INFO: TCP Data received {"connection_id":193347,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:11:50] local.INFO: Processing buffer {"connection_id":193347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:11:50] local.INFO: IMEI packet received {"connection_id":193347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":193347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:11:56] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:56] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:11:56] local.INFO: IMEI packet received {"connection_id":190657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:12:02] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:12:02] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:12:02] local.INFO: IMEI packet received {"connection_id":190657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":190657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:12:02] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda10cd8012d196940071fece0003d011021..."} 
[2026-09-23 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda10cd8012d196940071fece0003d011021..."} 
[2026-09-23 15:12:02] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda10cd8012d196940071fece0003d011021..."} 
[2026-09-23 15:12:02] local.INFO: Packet analysis {"connection_id":190657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:12:02] local.INFO: Extracted packet for processing {"connection_id":190657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280002048001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156279000,"timestamp_ms":1790156279000,"timestamp_seconds":1790156279,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda10cd8"} 
[2026-09-23 15:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:12: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-09-23 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 15:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280002048001,"66":12156,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280002048001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280002048001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":190657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:12:03] local.INFO: GPS data processed {"connection_id":190657,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:12:03] local.INFO: Acknowledgment sent {"connection_id":190657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:12:08] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:08] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:08] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:12:08] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:12:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:12: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-09-23 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:12:08] 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-09-23 15: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-09-23 15:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:12: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-09-23 15:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:12:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:12:08] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:12:08] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:12:14] local.INFO: TCP Data received {"connection_id":193348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:12:15] local.INFO: Processing buffer {"connection_id":193348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:12:15] local.INFO: IMEI packet received {"connection_id":193348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":193348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:12:31] local.INFO: TCP Data received {"connection_id":193349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:31] local.INFO: Processing buffer {"connection_id":193349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:31] local.INFO: IMEI packet received {"connection_id":193349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":193349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:12:34] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda15ee0012d196940071fece0003d011022..."} 
[2026-09-23 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda15ee0012d196940071fece0003d011022..."} 
[2026-09-23 15:12:34] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda15ee0012d196940071fece0003d011022..."} 
[2026-09-23 15:12:34] local.INFO: Packet analysis {"connection_id":190657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:12:34] local.INFO: Extracted packet for processing {"connection_id":190657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280007424001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156300000,"timestamp_ms":1790156300000,"timestamp_seconds":1790156300,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda15ee0"} 
[2026-09-23 15:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 15:12: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-09-23 15: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-09-23 15:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280007424001,"66":12493,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280007424001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280007424001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":190657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:12:34] local.INFO: GPS data processed {"connection_id":190657,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:12:34] local.INFO: Acknowledgment sent {"connection_id":190657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:12:36] local.INFO: TCP Data received {"connection_id":193349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:36] local.INFO: Processing buffer {"connection_id":193349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:12:36] local.INFO: IMEI packet received {"connection_id":193349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":193349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:12:37] local.INFO: TCP Data received {"connection_id":193349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:37] local.INFO: Processing buffer {"connection_id":193349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:12:37] local.INFO: Packet analysis {"connection_id":193349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:12:37] local.INFO: Extracted packet for processing {"connection_id":193349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:12: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-09-23 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:12: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-09-23 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:12:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":193349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:12:37] local.INFO: GPS data processed {"connection_id":193349,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:12:37] local.INFO: Acknowledgment sent {"connection_id":193349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:02] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:02] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:02] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:13:06] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:06] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:06] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:13:07] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda1b0e8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda1b0e8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:07] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda1b0e8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:07] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:13:07] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda1"} 
[2026-09-23 15:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280012800001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156321000,"timestamp_ms":1790156321000,"timestamp_seconds":1790156321,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda1b0e8"} 
[2026-09-23 15:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-23 15:13: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-09-23 15: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-09-23 15:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280012800001,"66":12515,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280012800001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280012800001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:13:07] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:13:07] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:08] local.INFO: TCP Data received {"connection_id":193349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:13:08] local.INFO: Processing buffer {"connection_id":193349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda0a748012d4160c006cb46f00020013322..."} 
[2026-09-23 15:13:08] local.INFO: Packet analysis {"connection_id":193349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:13:08] local.INFO: Extracted packet for processing {"connection_id":193349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda0"} 
[2026-09-23 15:13:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":34,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458279923712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156253000,"timestamp_ms":1790156253000,"timestamp_seconds":1790156253,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda0a748"} 
[2026-09-23 15:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:13: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-09-23 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 15:13:08] 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-09-23 15:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:13: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-09-23 15:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458279923712001,"66":25908,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458279923712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:13:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458279923712001,"power":25908,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":193349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:13:08] local.INFO: GPS data processed {"connection_id":193349,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:13:08] local.INFO: Acknowledgment sent {"connection_id":193349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:10] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda202f0012d196940071fece0003d011025..."} 
[2026-09-23 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda202f0012d196940071fece0003d011025..."} 
[2026-09-23 15:13:10] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda202f0012d196940071fece0003d011025..."} 
[2026-09-23 15:13:10] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:13:10] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280018176001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790156342000,"timestamp_ms":1790156342000,"timestamp_seconds":1790156342,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda202f0"} 
[2026-09-23 15:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 15:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280018176001,"66":12515,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280018176001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280018176001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:13:10] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:13:10] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:31] local.INFO: TCP Data received {"connection_id":193350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:31] local.INFO: Processing buffer {"connection_id":193350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:31] local.INFO: IMEI packet received {"connection_id":193350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":193350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:13:36] local.INFO: TCP Data received {"connection_id":193350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:36] local.INFO: Processing buffer {"connection_id":193350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:13:36] local.INFO: IMEI packet received {"connection_id":193350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":193350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:13:37] local.INFO: TCP Data received {"connection_id":193350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:13:37] local.INFO: Processing buffer {"connection_id":193350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:13:37] local.INFO: Packet analysis {"connection_id":193350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:13:37] local.INFO: Extracted packet for processing {"connection_id":193350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:13: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-09-23 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:13: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-09-23 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:13: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-09-23 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:13:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":193350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:13:37] local.INFO: GPS data processed {"connection_id":193350,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:13:37] local.INFO: Acknowledgment sent {"connection_id":193350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:41] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda254f8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda254f8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:41] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda254f8012d196940071fece0003d011023..."} 
[2026-09-23 15:13:41] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:13:41] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280023552001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790156363000,"timestamp_ms":1790156363000,"timestamp_seconds":1790156363,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda254f8"} 
[2026-09-23 15:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 15:13:41] 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-09-23 15:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280023552001,"66":12515,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280023552001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280023552001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:13:42] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:13:42] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:13:56] local.INFO: TCP Data received {"connection_id":193351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:56] local.INFO: Processing buffer {"connection_id":193351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:13:56] local.INFO: IMEI packet received {"connection_id":193351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":193351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:14:02] local.INFO: TCP Data received {"connection_id":193351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:02] local.INFO: Processing buffer {"connection_id":193351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:02] local.INFO: IMEI packet received {"connection_id":193351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":193351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:14:03] local.INFO: TCP Data received {"connection_id":193351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda2a700012d196940071fece0003d011025..."} 
[2026-09-23 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda2a700012d196940071fece0003d011025..."} 
[2026-09-23 15:14:03] local.INFO: Processing buffer {"connection_id":193351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda2a700012d196940071fece0003d011025..."} 
[2026-09-23 15:14:03] local.INFO: Packet analysis {"connection_id":193351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:14:03] local.INFO: Extracted packet for processing {"connection_id":193351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280028928001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156384000,"timestamp_ms":1790156384000,"timestamp_seconds":1790156384,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda2a700"} 
[2026-09-23 15:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:14: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-09-23 15: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 15:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280028928001,"66":12526,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280028928001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:14:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280028928001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":193351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:14:03] local.INFO: GPS data processed {"connection_id":193351,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:14:03] local.INFO: Acknowledgment sent {"connection_id":193351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:14:07] local.INFO: TCP Data received {"connection_id":193350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:07] local.INFO: Processing buffer {"connection_id":193350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:07] local.INFO: Packet analysis {"connection_id":193350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:14:07] local.INFO: Extracted packet for processing {"connection_id":193350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:14: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-09-23 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:14:07] 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-09-23 15:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:14:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":193350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:14:07] local.INFO: GPS data processed {"connection_id":193350,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:14:07] local.INFO: Acknowledgment sent {"connection_id":193350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:14:31] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:31] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:31] local.INFO: IMEI packet received {"connection_id":190659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":190659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:14:34] local.INFO: TCP Data received {"connection_id":193351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda2f908012d196940071fece0003d011027..."} 
[2026-09-23 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda2f908012d196940071fece0003d011027..."} 
[2026-09-23 15:14:34] local.INFO: Processing buffer {"connection_id":193351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda2f908012d196940071fece0003d011027..."} 
[2026-09-23 15:14:34] local.INFO: Packet analysis {"connection_id":193351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:14:34] local.INFO: Extracted packet for processing {"connection_id":193351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda2"} 
[2026-09-23 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280034304001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156405000,"timestamp_ms":1790156405000,"timestamp_seconds":1790156405,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda2f908"} 
[2026-09-23 15:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 15:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280034304001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280034304001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:14:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280034304001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":193351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:14:34] local.INFO: GPS data processed {"connection_id":193351,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:14:34] local.INFO: Acknowledgment sent {"connection_id":193351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:14:36] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:36] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:14:36] local.INFO: IMEI packet received {"connection_id":190659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":190659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:14:37] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:37] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:14:37] local.INFO: Packet analysis {"connection_id":190659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:14:37] local.INFO: Extracted packet for processing {"connection_id":190659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:14: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-09-23 15:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:14: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-09-23 15:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:14:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":190659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:14:37] local.INFO: GPS data processed {"connection_id":190659,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:14:37] local.INFO: Acknowledgment sent {"connection_id":190659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:14:54] local.INFO: TCP Data received {"connection_id":190479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:54] local.INFO: Processing buffer {"connection_id":190479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:54] local.INFO: IMEI packet received {"connection_id":190479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":190479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:14:57] local.INFO: TCP Data received {"connection_id":190479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:57] local.INFO: Processing buffer {"connection_id":190479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:14:57] local.INFO: IMEI packet received {"connection_id":190479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":190479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:15:02] local.INFO: TCP Data received {"connection_id":190479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:02] local.INFO: Processing buffer {"connection_id":190479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:02] local.INFO: IMEI packet received {"connection_id":190479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:15:03] local.INFO: TCP Data received {"connection_id":190479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda34b10012d196940071fece0003d011025..."} 
[2026-09-23 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda34b10012d196940071fece0003d011025..."} 
[2026-09-23 15:15:03] local.INFO: Processing buffer {"connection_id":190479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda34b10012d196940071fece0003d011025..."} 
[2026-09-23 15:15:03] local.INFO: Packet analysis {"connection_id":190479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda3"} 
[2026-09-23 15:15:03] local.INFO: Extracted packet for processing {"connection_id":190479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda3"} 
[2026-09-23 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280039680001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156426000,"timestamp_ms":1790156426000,"timestamp_seconds":1790156426,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda34b10"} 
[2026-09-23 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:15:03] 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-09-23 15: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-09-23 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280039680001,"66":12461,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280039680001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280039680001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":190479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:15:03] local.INFO: GPS data processed {"connection_id":190479,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:15:03] local.INFO: Acknowledgment sent {"connection_id":190479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:15:07] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:07] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:07] local.INFO: Packet analysis {"connection_id":190659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:07] local.INFO: Extracted packet for processing {"connection_id":190659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 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-09-23 15:15: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-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:15:07] 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-09-23 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-09-23 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-09-23 15:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15: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-09-23 15:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:15:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":190659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:15:07] local.INFO: GPS data processed {"connection_id":190659,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:15:07] local.INFO: Acknowledgment sent {"connection_id":190659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:15:34] local.INFO: TCP Data received {"connection_id":190479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda39d18012d196940071fece0003d011024..."} 
[2026-09-23 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda39d18012d196940071fece0003d011024..."} 
[2026-09-23 15:15:34] local.INFO: Processing buffer {"connection_id":190479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda39d18012d196940071fece0003d011024..."} 
[2026-09-23 15:15:34] local.INFO: Packet analysis {"connection_id":190479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda3"} 
[2026-09-23 15:15:34] local.INFO: Extracted packet for processing {"connection_id":190479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda3"} 
[2026-09-23 15:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280045056001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156447000,"timestamp_ms":1790156447000,"timestamp_seconds":1790156447,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda39d18"} 
[2026-09-23 15:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:15:34] 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-09-23 15: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-09-23 15:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280045056001,"66":12504,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280045056001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:15:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280045056001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":190479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:15:34] local.INFO: GPS data processed {"connection_id":190479,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:15:34] local.INFO: Acknowledgment sent {"connection_id":190479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:15:36] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:36] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:36] local.INFO: IMEI packet received {"connection_id":193352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":193352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:15:41] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:41] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:15:41] local.INFO: IMEI packet received {"connection_id":193352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":193352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:15:42] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:42] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:42] local.INFO: Packet analysis {"connection_id":193352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:42] local.INFO: Extracted packet for processing {"connection_id":193352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15: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-09-23 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:15:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":193352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:15:42] local.INFO: GPS data processed {"connection_id":193352,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:15:42] local.INFO: Acknowledgment sent {"connection_id":193352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:15:46] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:46] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:15:46] local.INFO: Packet analysis {"connection_id":193352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:46] local.INFO: Extracted packet for processing {"connection_id":193352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:15:46] 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-09-23 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:15:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":193352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:15:46] local.INFO: GPS data processed {"connection_id":193352,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:15:46] local.INFO: Acknowledgment sent {"connection_id":193352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:15:57] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: IMEI packet received {"connection_id":190660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":190660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:15:57] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:15:57] local.INFO: IMEI packet received {"connection_id":190660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":190660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:16:02] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:02] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:02] local.INFO: IMEI packet received {"connection_id":190660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":190660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:16:03] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda72370012d196940071fece0003d011024..."} 
[2026-09-23 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda72370012d196940071fece0003d011024..."} 
[2026-09-23 15:16:03] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda72370012d196940071fece0003d011024..."} 
[2026-09-23 15:16:03] local.INFO: Packet analysis {"connection_id":190660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:16:03] local.INFO: Extracted packet for processing {"connection_id":190660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280104192001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156678000,"timestamp_ms":1790156678000,"timestamp_seconds":1790156678,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda72370"} 
[2026-09-23 15:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15: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-09-23 15: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-09-23 15:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280104192001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280104192001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:16:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280104192001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":190660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:16:03] local.INFO: GPS data processed {"connection_id":190660,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:16:03] local.INFO: Acknowledgment sent {"connection_id":190660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:16:31] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:31] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:31] local.INFO: IMEI packet received {"connection_id":190480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":190480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:16:34] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda77578012d196940071fece0003d011024..."} 
[2026-09-23 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda77578012d196940071fece0003d011024..."} 
[2026-09-23 15:16:34] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda77578012d196940071fece0003d011024..."} 
[2026-09-23 15:16:34] local.INFO: Packet analysis {"connection_id":190660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:16:34] local.INFO: Extracted packet for processing {"connection_id":190660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280109568001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156699000,"timestamp_ms":1790156699000,"timestamp_seconds":1790156699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda77578"} 
[2026-09-23 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:16:34] 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-09-23 15: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-09-23 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280109568001,"66":12232,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280109568001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:16:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280109568001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":190660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:16:34] local.INFO: GPS data processed {"connection_id":190660,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:16:34] local.INFO: Acknowledgment sent {"connection_id":190660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:16:36] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:36] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:16:36] local.INFO: IMEI packet received {"connection_id":190480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":190480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:16:37] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:16:37] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:16:37] local.INFO: Packet analysis {"connection_id":190480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:16:37] local.INFO: Extracted packet for processing {"connection_id":190480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:16: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-09-23 15:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:16: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-09-23 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:16:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":190480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:16:37] local.INFO: GPS data processed {"connection_id":190480,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:16:37] local.INFO: Acknowledgment sent {"connection_id":190480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:16:56] local.INFO: TCP Data received {"connection_id":193353,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:56] local.INFO: Processing buffer {"connection_id":193353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:16:56] local.INFO: IMEI packet received {"connection_id":193353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:17:01] local.INFO: TCP Data received {"connection_id":193353,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:01] local.INFO: Processing buffer {"connection_id":193353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:01] local.INFO: IMEI packet received {"connection_id":193353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":193353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:17:02] local.INFO: TCP Data received {"connection_id":193353,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda7c780012d196940071fece0003d011024..."} 
[2026-09-23 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda7c780012d196940071fece0003d011024..."} 
[2026-09-23 15:17:02] local.INFO: Processing buffer {"connection_id":193353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda7c780012d196940071fece0003d011024..."} 
[2026-09-23 15:17:02] local.INFO: Packet analysis {"connection_id":193353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:17:02] local.INFO: Extracted packet for processing {"connection_id":193353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda7"} 
[2026-09-23 15:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280114944001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156720000,"timestamp_ms":1790156720000,"timestamp_seconds":1790156720,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda7c780"} 
[2026-09-23 15:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:17: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-09-23 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 15:17:02] 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-09-23 15: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-09-23 15:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280114944001,"66":12341,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280114944001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:17:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280114944001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":193353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:17:02] local.INFO: GPS data processed {"connection_id":193353,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:17:02] local.INFO: Acknowledgment sent {"connection_id":193353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:17:07] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:07] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:07] local.INFO: Packet analysis {"connection_id":190480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:17:07] local.INFO: Extracted packet for processing {"connection_id":190480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:17: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-09-23 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:17:07] 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-09-23 15: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-09-23 15:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:17: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-09-23 15:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":190480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:17:07] local.INFO: GPS data processed {"connection_id":190480,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:17:07] local.INFO: Acknowledgment sent {"connection_id":190480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:17:31] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:31] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:31] local.INFO: IMEI packet received {"connection_id":193354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":193354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:17:33] local.INFO: TCP Data received {"connection_id":193353,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda81988012d196940071fece0003d011025..."} 
[2026-09-23 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda81988012d196940071fece0003d011025..."} 
[2026-09-23 15:17:33] local.INFO: Processing buffer {"connection_id":193353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda81988012d196940071fece0003d011025..."} 
[2026-09-23 15:17:33] local.INFO: Packet analysis {"connection_id":193353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:17:33] local.INFO: Extracted packet for processing {"connection_id":193353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280120320001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790156741000,"timestamp_ms":1790156741000,"timestamp_seconds":1790156741,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda81988"} 
[2026-09-23 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:17: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-09-23 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 15:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280120320001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280120320001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:17:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280120320001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":193353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:17:33] local.INFO: GPS data processed {"connection_id":193353,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:17:33] local.INFO: Acknowledgment sent {"connection_id":193353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:17:36] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:36] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:17:36] local.INFO: IMEI packet received {"connection_id":193354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":193354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:17:37] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:37] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:17:37] local.INFO: Packet analysis {"connection_id":193354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:17:37] local.INFO: Extracted packet for processing {"connection_id":193354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:17: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-09-23 15:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:17: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-09-23 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:17:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":193354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:17:37] local.INFO: GPS data processed {"connection_id":193354,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:17:37] local.INFO: Acknowledgment sent {"connection_id":193354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:17:56] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:56] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:17:56] local.INFO: IMEI packet received {"connection_id":190661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":190661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:18:02] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:18:02] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:18:02] local.INFO: IMEI packet received {"connection_id":190661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":190661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:18:02] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda86b90012d196940071fece0003d011023..."} 
[2026-09-23 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda86b90012d196940071fece0003d011023..."} 
[2026-09-23 15:18:02] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda86b90012d196940071fece0003d011023..."} 
[2026-09-23 15:18:02] local.INFO: Packet analysis {"connection_id":190661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:18:02] local.INFO: Extracted packet for processing {"connection_id":190661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280125696001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156762000,"timestamp_ms":1790156762000,"timestamp_seconds":1790156762,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda86b90"} 
[2026-09-23 15:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:18: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-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:18: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-09-23 15: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-09-23 15:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280125696001,"66":12504,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280125696001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280125696001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":190661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:18:03] local.INFO: GPS data processed {"connection_id":190661,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:18:03] local.INFO: Acknowledgment sent {"connection_id":190661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:18:08] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:18:08] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda53f10012d4160c006cb46f0002001331e..."} 
[2026-09-23 15:18:08] local.INFO: Packet analysis {"connection_id":193354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:18:08] local.INFO: Extracted packet for processing {"connection_id":193354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda5"} 
[2026-09-23 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":30,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280000768001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156554000,"timestamp_ms":1790156554000,"timestamp_seconds":1790156554,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda53f10"} 
[2026-09-23 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-09-23 15:18: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-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 15:18:08] 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-09-23 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-09-23 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-09-23 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:18: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-09-23 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280000768001,"66":25778,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280000768001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:18:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280000768001,"power":25778,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":193354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:18:08] local.INFO: GPS data processed {"connection_id":193354,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:18:08] local.INFO: Acknowledgment sent {"connection_id":193354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:18:32] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:32] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:32] local.INFO: IMEI packet received {"connection_id":190662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":190662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:18:34] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda8bd98012d196940071fece0003d011022..."} 
[2026-09-23 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda8bd98012d196940071fece0003d011022..."} 
[2026-09-23 15:18:34] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda8bd98012d196940071fece0003d011022..."} 
[2026-09-23 15:18:34] local.INFO: Packet analysis {"connection_id":190661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:18:34] local.INFO: Extracted packet for processing {"connection_id":190661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda8"} 
[2026-09-23 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280131072001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156783000,"timestamp_ms":1790156783000,"timestamp_seconds":1790156783,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda8bd98"} 
[2026-09-23 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-09-23 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:18: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-09-23 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-09-23 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-09-23 15:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280131072001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280131072001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:18:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280131072001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":190661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:18:34] local.INFO: GPS data processed {"connection_id":190661,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:18:34] local.INFO: Acknowledgment sent {"connection_id":190661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:18:36] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:36] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:18:36] local.INFO: IMEI packet received {"connection_id":190662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":190662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:18:37] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:18:37] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:18:37] local.INFO: Packet analysis {"connection_id":190662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:18:37] local.INFO: Extracted packet for processing {"connection_id":190662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:18: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-09-23 15: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-09-23 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:18:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":190662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:18:37] local.INFO: GPS data processed {"connection_id":190662,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:18:37] local.INFO: Acknowledgment sent {"connection_id":190662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:02] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:02] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:02] local.INFO: IMEI packet received {"connection_id":193355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":193355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:19:06] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:06] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:06] local.INFO: IMEI packet received {"connection_id":193355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":193355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:19:07] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda90fa0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda90fa0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:07] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda90fa0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:07] local.INFO: Packet analysis {"connection_id":193355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:07] local.INFO: Extracted packet for processing {"connection_id":193355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280136448001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156804000,"timestamp_ms":1790156804000,"timestamp_seconds":1790156804,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda90fa0"} 
[2026-09-23 15:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:19: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-09-23 15: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-09-23 15:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280136448001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280136448001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280136448001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":193355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:19:07] local.INFO: GPS data processed {"connection_id":193355,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:19:07] local.INFO: Acknowledgment sent {"connection_id":193355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:08] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:08] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:08] local.INFO: Packet analysis {"connection_id":190662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:08] local.INFO: Extracted packet for processing {"connection_id":190662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:19: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-09-23 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:19: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-09-23 15:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:19: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-09-23 15:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:19:08] local.INFO: GPS data processed {"connection_id":190662,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:19:08] local.INFO: Acknowledgment sent {"connection_id":190662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:08] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda961a8012d196940071fece0003d011024..."} 
[2026-09-23 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda961a8012d196940071fece0003d011024..."} 
[2026-09-23 15:19:08] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda961a8012d196940071fece0003d011024..."} 
[2026-09-23 15:19:08] local.INFO: Packet analysis {"connection_id":193355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:08] local.INFO: Extracted packet for processing {"connection_id":193355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280141824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156825000,"timestamp_ms":1790156825000,"timestamp_seconds":1790156825,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda961a8"} 
[2026-09-23 15:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280141824001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280141824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280141824001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":193355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:19:08] local.INFO: GPS data processed {"connection_id":193355,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:19:08] local.INFO: Acknowledgment sent {"connection_id":193355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:31] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:31] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:31] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:19:36] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:36] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:19:36] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:19:37] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:37] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:19:37] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:37] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:19: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-09-23 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:19: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-09-23 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:19:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:19:37] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:19:37] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:39] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9b3b0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9b3b0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:39] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9b3b0012d196940071fece0003d011023..."} 
[2026-09-23 15:19:39] local.INFO: Packet analysis {"connection_id":193355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:39] local.INFO: Extracted packet for processing {"connection_id":193355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280147200001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790156846000,"timestamp_ms":1790156846000,"timestamp_seconds":1790156846,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9b3b0"} 
[2026-09-23 15:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:19: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-09-23 15:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280147200001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280147200001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:19:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280147200001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":193355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:19:39] local.INFO: GPS data processed {"connection_id":193355,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:19:39] local.INFO: Acknowledgment sent {"connection_id":193355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:19:57] local.INFO: TCP Data received {"connection_id":190663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:57] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:19:57] local.INFO: IMEI packet received {"connection_id":190663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":190663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:20:02] local.INFO: TCP Data received {"connection_id":190663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:02] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:02] local.INFO: IMEI packet received {"connection_id":190663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":190663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:20:02] local.INFO: TCP Data received {"connection_id":190663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaa05b8012d196940071fece0003d011025..."} 
[2026-09-23 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaa05b8012d196940071fece0003d011025..."} 
[2026-09-23 15:20:02] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaa05b8012d196940071fece0003d011025..."} 
[2026-09-23 15:20:02] local.INFO: Packet analysis {"connection_id":190663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:20:02] local.INFO: Extracted packet for processing {"connection_id":190663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280152576001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156867000,"timestamp_ms":1790156867000,"timestamp_seconds":1790156867,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaa05b8"} 
[2026-09-23 15:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:20: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-09-23 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:20: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-09-23 15: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-09-23 15:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280152576001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280152576001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:20:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280152576001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":190663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:20:03] local.INFO: GPS data processed {"connection_id":190663,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:20:03] local.INFO: Acknowledgment sent {"connection_id":190663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:20:08] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:08] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:08] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:08] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:20: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-09-23 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:20: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-09-23 15:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20: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-09-23 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:20:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:20:08] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:20:08] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:20:34] local.INFO: TCP Data received {"connection_id":190663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaa57c0012d196940071fece0003d011023..."} 
[2026-09-23 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaa57c0012d196940071fece0003d011023..."} 
[2026-09-23 15:20:34] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaa57c0012d196940071fece0003d011023..."} 
[2026-09-23 15:20:34] local.INFO: Packet analysis {"connection_id":190663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:20:34] local.INFO: Extracted packet for processing {"connection_id":190663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280157952001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156888000,"timestamp_ms":1790156888000,"timestamp_seconds":1790156888,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaa57c0"} 
[2026-09-23 15:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:20:34] 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-09-23 15: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-09-23 15:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280157952001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280157952001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:20:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280157952001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":190663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:20:34] local.INFO: GPS data processed {"connection_id":190663,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:20:34] local.INFO: Acknowledgment sent {"connection_id":190663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:20:36] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:36] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:36] local.INFO: IMEI packet received {"connection_id":190664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":190664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:20:41] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:41] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:20:41] local.INFO: IMEI packet received {"connection_id":190664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":190664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:20:42] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:42] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:42] local.INFO: Packet analysis {"connection_id":190664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:42] local.INFO: Extracted packet for processing {"connection_id":190664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:20: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-09-23 15:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20: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-09-23 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":190664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:20:42] local.INFO: GPS data processed {"connection_id":190664,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:20:42] local.INFO: Acknowledgment sent {"connection_id":190664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:20:46] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:46] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:20:46] local.INFO: Packet analysis {"connection_id":190664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:46] local.INFO: Extracted packet for processing {"connection_id":190664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:20:46] 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-09-23 15: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-09-23 15:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:20:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":190664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:20:46] local.INFO: GPS data processed {"connection_id":190664,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:20:46] local.INFO: Acknowledgment sent {"connection_id":190664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:20:57] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:57] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:20:57] local.INFO: IMEI packet received {"connection_id":192009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":192009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:21:02] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:02] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:02] local.INFO: IMEI packet received {"connection_id":192009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":192009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:21:03] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaaa9c8012d196940071fece0003d011023..."} 
[2026-09-23 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaaa9c8012d196940071fece0003d011023..."} 
[2026-09-23 15:21:03] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaaa9c8012d196940071fece0003d011023..."} 
[2026-09-23 15:21:03] local.INFO: Packet analysis {"connection_id":192009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:21:03] local.INFO: Extracted packet for processing {"connection_id":192009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280163328001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156909000,"timestamp_ms":1790156909000,"timestamp_seconds":1790156909,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaaa9c8"} 
[2026-09-23 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-09-23 15:21: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-09-23 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":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:21:03] 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-09-23 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-09-23 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-09-23 15:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280163328001,"66":12406,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280163328001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:21:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280163328001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":192009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:21:03] local.INFO: GPS data processed {"connection_id":192009,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:21:03] local.INFO: Acknowledgment sent {"connection_id":192009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:21:32] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:32] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:32] local.INFO: IMEI packet received {"connection_id":190665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":190665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:21:34] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaafbd0012d196940071fece0003d011025..."} 
[2026-09-23 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaafbd0012d196940071fece0003d011025..."} 
[2026-09-23 15:21:34] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaafbd0012d196940071fece0003d011025..."} 
[2026-09-23 15:21:34] local.INFO: Packet analysis {"connection_id":192009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:21:34] local.INFO: Extracted packet for processing {"connection_id":192009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaa"} 
[2026-09-23 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280168704001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790156930000,"timestamp_ms":1790156930000,"timestamp_seconds":1790156930,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaafbd0"} 
[2026-09-23 15:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:21:34] 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-09-23 15: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-09-23 15:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280168704001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280168704001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:21:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280168704001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":192009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:21:34] local.INFO: GPS data processed {"connection_id":192009,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:21:34] local.INFO: Acknowledgment sent {"connection_id":192009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:21:36] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:36] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:21:36] local.INFO: IMEI packet received {"connection_id":190665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":190665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:21:37] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:37] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:37] local.INFO: Packet analysis {"connection_id":190665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:21:37] local.INFO: Extracted packet for processing {"connection_id":190665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:21: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-09-23 15:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":190665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:21:37] local.INFO: GPS data processed {"connection_id":190665,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:21:37] local.INFO: Acknowledgment sent {"connection_id":190665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:21:41] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:41] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:21:41] local.INFO: Packet analysis {"connection_id":190665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:21:41] local.INFO: Extracted packet for processing {"connection_id":190665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:21: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-09-23 15:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:21: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-09-23 15:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:21:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":190665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:21:41] local.INFO: GPS data processed {"connection_id":190665,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:21:41] local.INFO: Acknowledgment sent {"connection_id":190665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:21:54] local.INFO: TCP Data received {"connection_id":190666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:54] local.INFO: Processing buffer {"connection_id":190666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:54] local.INFO: IMEI packet received {"connection_id":190666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":190666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:21:57] local.INFO: TCP Data received {"connection_id":190666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:57] local.INFO: Processing buffer {"connection_id":190666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:21:57] local.INFO: IMEI packet received {"connection_id":190666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":190666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:22:01] local.INFO: TCP Data received {"connection_id":190666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:01] local.INFO: Processing buffer {"connection_id":190666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:01] local.INFO: IMEI packet received {"connection_id":190666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":190666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:22:02] local.INFO: TCP Data received {"connection_id":190666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdab4dd8012d196940071fece0003d011025..."} 
[2026-09-23 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdab4dd8012d196940071fece0003d011025..."} 
[2026-09-23 15:22:02] local.INFO: Processing buffer {"connection_id":190666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdab4dd8012d196940071fece0003d011025..."} 
[2026-09-23 15:22:02] local.INFO: Packet analysis {"connection_id":190666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:22:02] local.INFO: Extracted packet for processing {"connection_id":190666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280174080001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790156951000,"timestamp_ms":1790156951000,"timestamp_seconds":1790156951,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdab4dd8"} 
[2026-09-23 15:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:22: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-09-23 15: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":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:22: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-09-23 15: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-09-23 15:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280174080001,"66":12406,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280174080001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:22:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280174080001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":190666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:22:02] local.INFO: GPS data processed {"connection_id":190666,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:22:02] local.INFO: Acknowledgment sent {"connection_id":190666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:22:12] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:12] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:12] local.INFO: Packet analysis {"connection_id":190665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:22:12] local.INFO: Extracted packet for processing {"connection_id":190665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:22: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-09-23 15:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:22:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":190665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:22:12] local.INFO: GPS data processed {"connection_id":190665,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:22:12] local.INFO: Acknowledgment sent {"connection_id":190665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:22:31] local.INFO: TCP Data received {"connection_id":190667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:31] local.INFO: Processing buffer {"connection_id":190667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:31] local.INFO: IMEI packet received {"connection_id":190667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":190667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:22:33] local.INFO: TCP Data received {"connection_id":190666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdab9fe0012d196940071fece0003d011025..."} 
[2026-09-23 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdab9fe0012d196940071fece0003d011025..."} 
[2026-09-23 15:22:33] local.INFO: Processing buffer {"connection_id":190666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdab9fe0012d196940071fece0003d011025..."} 
[2026-09-23 15:22:33] local.INFO: Packet analysis {"connection_id":190666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:22:33] local.INFO: Extracted packet for processing {"connection_id":190666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280179456001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790156972000,"timestamp_ms":1790156972000,"timestamp_seconds":1790156972,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdab9fe0"} 
[2026-09-23 15:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:22: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-09-23 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:22:33] 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-09-23 15: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-09-23 15:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280179456001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280179456001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:22:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280179456001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":190666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:22:33] local.INFO: GPS data processed {"connection_id":190666,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:22:33] local.INFO: Acknowledgment sent {"connection_id":190666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:22:36] local.INFO: TCP Data received {"connection_id":190667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:36] local.INFO: Processing buffer {"connection_id":190667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:22:36] local.INFO: IMEI packet received {"connection_id":190667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:22:37] local.INFO: TCP Data received {"connection_id":190667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:37] local.INFO: Processing buffer {"connection_id":190667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:22:37] local.INFO: Packet analysis {"connection_id":190667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:22:37] local.INFO: Extracted packet for processing {"connection_id":190667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:22: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-09-23 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:22:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":190667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:22:37] local.INFO: GPS data processed {"connection_id":190667,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:22:37] local.INFO: Acknowledgment sent {"connection_id":190667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:22:56] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:56] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:56] local.INFO: IMEI packet received {"connection_id":190668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":190668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:22:57] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:57] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:22:57] local.INFO: IMEI packet received {"connection_id":190668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":190668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:23:02] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:02] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:02] local.INFO: IMEI packet received {"connection_id":190668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":190668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:23:03] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdabf1e8012d196940071fece0003d011025..."} 
[2026-09-23 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdabf1e8012d196940071fece0003d011025..."} 
[2026-09-23 15:23:03] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdabf1e8012d196940071fece0003d011025..."} 
[2026-09-23 15:23:03] local.INFO: Packet analysis {"connection_id":190668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:23:03] local.INFO: Extracted packet for processing {"connection_id":190668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdab"} 
[2026-09-23 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280184832001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790156993000,"timestamp_ms":1790156993000,"timestamp_seconds":1790156993,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdabf1e8"} 
[2026-09-23 15:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:23: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-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:23: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-09-23 15: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-09-23 15:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280184832001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280184832001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:23:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280184832001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":190668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:23:03] local.INFO: GPS data processed {"connection_id":190668,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:23:03] local.INFO: Acknowledgment sent {"connection_id":190668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:23:07] local.INFO: TCP Data received {"connection_id":190667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:23:07] local.INFO: Processing buffer {"connection_id":190667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cda9d6d8012d4160c006cb46f00020013320..."} 
[2026-09-23 15:23:07] local.INFO: Packet analysis {"connection_id":190667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:23:07] local.INFO: Extracted packet for processing {"connection_id":190667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cda9"} 
[2026-09-23 15:23:07] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":32,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280077824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790156855000,"timestamp_ms":1790156855000,"timestamp_seconds":1790156855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cda9d6d8"} 
[2026-09-23 15:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:23: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-09-23 15:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 15:23: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-09-23 15: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-09-23 15:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:23: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-09-23 15:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280077824001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280077824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:23:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280077824001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":190667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:23:07] local.INFO: GPS data processed {"connection_id":190667,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:23:07] local.INFO: Acknowledgment sent {"connection_id":190667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:23:32] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:32] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:32] local.INFO: IMEI packet received {"connection_id":190481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":190481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:23:34] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdac43f0012d196940071fece0003d011027..."} 
[2026-09-23 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdac43f0012d196940071fece0003d011027..."} 
[2026-09-23 15:23:34] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdac43f0012d196940071fece0003d011027..."} 
[2026-09-23 15:23:34] local.INFO: Packet analysis {"connection_id":190668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:23:34] local.INFO: Extracted packet for processing {"connection_id":190668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280190208001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157014000,"timestamp_ms":1790157014000,"timestamp_seconds":1790157014,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdac43f0"} 
[2026-09-23 15:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:23:34] 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-09-23 15: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-09-23 15:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280190208001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280190208001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:23:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280190208001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":190668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:23:34] local.INFO: GPS data processed {"connection_id":190668,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:23:34] local.INFO: Acknowledgment sent {"connection_id":190668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:23:36] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:36] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:23:36] local.INFO: IMEI packet received {"connection_id":190481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":190481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:23:37] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:23:37] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:23:37] local.INFO: Packet analysis {"connection_id":190481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:23:37] local.INFO: Extracted packet for processing {"connection_id":190481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:23: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-09-23 15: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-09-23 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:23:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":190481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:23:37] local.INFO: GPS data processed {"connection_id":190481,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:23:37] local.INFO: Acknowledgment sent {"connection_id":190481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:23:56] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:56] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:23:56] local.INFO: IMEI packet received {"connection_id":190482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":190482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:24:01] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: IMEI packet received {"connection_id":190482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":190482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:24:01] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:24:01] local.INFO: IMEI packet received {"connection_id":190482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":190482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:24:02] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdac95f8012d196940071fece0003d011025..."} 
[2026-09-23 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdac95f8012d196940071fece0003d011025..."} 
[2026-09-23 15:24:02] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdac95f8012d196940071fece0003d011025..."} 
[2026-09-23 15:24:02] local.INFO: Packet analysis {"connection_id":190482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:24:02] local.INFO: Extracted packet for processing {"connection_id":190482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280195584001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790157035000,"timestamp_ms":1790157035000,"timestamp_seconds":1790157035,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdac95f8"} 
[2026-09-23 15:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:24: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-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:24: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-09-23 15: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-09-23 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280195584001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280195584001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280195584001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":190482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:24:02] local.INFO: GPS data processed {"connection_id":190482,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:24:02] local.INFO: Acknowledgment sent {"connection_id":190482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:24:07] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdace800012d196940071fece0003d011025..."} 
[2026-09-23 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdace800012d196940071fece0003d011025..."} 
[2026-09-23 15:24:07] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdace800012d196940071fece0003d011025..."} 
[2026-09-23 15:24:07] local.INFO: Packet analysis {"connection_id":190482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:24:07] local.INFO: Extracted packet for processing {"connection_id":190482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdac"} 
[2026-09-23 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280200960001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157056000,"timestamp_ms":1790157056000,"timestamp_seconds":1790157056,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdace800"} 
[2026-09-23 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-09-23 15:24: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-09-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:24: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-09-23 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-09-23 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-09-23 15:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280200960001,"66":12406,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280200960001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:24:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280200960001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":190482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:24:07] local.INFO: GPS data processed {"connection_id":190482,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:24:07] local.INFO: Acknowledgment sent {"connection_id":190482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:24:08] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:08] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:08] local.INFO: Packet analysis {"connection_id":190481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:24:08] local.INFO: Extracted packet for processing {"connection_id":190481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 15:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:24: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-09-23 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:24:08] 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-09-23 15: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-09-23 15:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:24: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-09-23 15:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:24:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:24:08] local.INFO: GPS data processed {"connection_id":190481,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:24:08] local.INFO: Acknowledgment sent {"connection_id":190481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:24:31] local.INFO: TCP Data received {"connection_id":193356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:31] local.INFO: Processing buffer {"connection_id":193356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:31] local.INFO: IMEI packet received {"connection_id":193356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":193356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:24:36] local.INFO: TCP Data received {"connection_id":193356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:36] local.INFO: Processing buffer {"connection_id":193356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:24:36] local.INFO: IMEI packet received {"connection_id":193356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":193356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:24:38] local.INFO: TCP Data received {"connection_id":193356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:38] local.INFO: Processing buffer {"connection_id":193356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:24:38] local.INFO: Packet analysis {"connection_id":193356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:24:38] local.INFO: Extracted packet for processing {"connection_id":193356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:24: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-09-23 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:24: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-09-23 15: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-09-23 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":193356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:24:38] local.INFO: GPS data processed {"connection_id":193356,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:24:38] local.INFO: Acknowledgment sent {"connection_id":193356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:24:38] local.INFO: TCP Data received {"connection_id":190482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdad3a08012d196940071fece0003d011026..."} 
[2026-09-23 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdad3a08012d196940071fece0003d011026..."} 
[2026-09-23 15:24:38] local.INFO: Processing buffer {"connection_id":190482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdad3a08012d196940071fece0003d011026..."} 
[2026-09-23 15:24:38] local.INFO: Packet analysis {"connection_id":190482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:24:38] local.INFO: Extracted packet for processing {"connection_id":190482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280206336001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790157077000,"timestamp_ms":1790157077000,"timestamp_seconds":1790157077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdad3a08"} 
[2026-09-23 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:24: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-09-23 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:24: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-09-23 15: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-09-23 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280206336001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280206336001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280206336001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":190482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:24:38] local.INFO: GPS data processed {"connection_id":190482,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:24:38] local.INFO: Acknowledgment sent {"connection_id":190482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:02] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:02] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:02] local.INFO: IMEI packet received {"connection_id":192010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":192010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:25:03] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:03] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:03] local.INFO: IMEI packet received {"connection_id":192010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":192010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:25:04] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdad8c10012d196940071fece0003d011025..."} 
[2026-09-23 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdad8c10012d196940071fece0003d011025..."} 
[2026-09-23 15:25:04] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdad8c10012d196940071fece0003d011025..."} 
[2026-09-23 15:25:04] local.INFO: Packet analysis {"connection_id":192010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:25:04] local.INFO: Extracted packet for processing {"connection_id":192010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280211712001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790157098000,"timestamp_ms":1790157098000,"timestamp_seconds":1790157098,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdad8c10"} 
[2026-09-23 15:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:25: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-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:25:04] 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-09-23 15: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-09-23 15:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280211712001,"66":12439,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280211712001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280211712001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":192010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:25:04] local.INFO: GPS data processed {"connection_id":192010,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:25:04] local.INFO: Acknowledgment sent {"connection_id":192010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:07] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdadde18012d196940071fece0003d011026..."} 
[2026-09-23 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdadde18012d196940071fece0003d011026..."} 
[2026-09-23 15:25:07] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdadde18012d196940071fece0003d011026..."} 
[2026-09-23 15:25:07] local.INFO: Packet analysis {"connection_id":192010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:25:07] local.INFO: Extracted packet for processing {"connection_id":192010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdad"} 
[2026-09-23 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280217088001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157119000,"timestamp_ms":1790157119000,"timestamp_seconds":1790157119,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdadde18"} 
[2026-09-23 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:25: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-09-23 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-23 15:25:07] 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-09-23 15: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-09-23 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280217088001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280217088001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280217088001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":192010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:25:07] local.INFO: GPS data processed {"connection_id":192010,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:25:07] local.INFO: Acknowledgment sent {"connection_id":192010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:08] local.INFO: TCP Data received {"connection_id":193356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:08] local.INFO: Processing buffer {"connection_id":193356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:08] local.INFO: Packet analysis {"connection_id":193356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:08] local.INFO: Extracted packet for processing {"connection_id":193356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 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-09-23 15: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-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:25:08] 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-09-23 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-09-23 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-09-23 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15: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-09-23 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:25:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":193356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:25:08] local.INFO: GPS data processed {"connection_id":193356,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:25:08] local.INFO: Acknowledgment sent {"connection_id":193356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:31] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:31] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:31] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:25:36] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:36] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:25:36] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:25:37] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:37] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:25:37] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:37] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 15:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:25: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-09-23 15:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:25:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:25:37] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:25:37] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:38] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae3020012d196940071fece0003d011026..."} 
[2026-09-23 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae3020012d196940071fece0003d011026..."} 
[2026-09-23 15:25:38] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae3020012d196940071fece0003d011026..."} 
[2026-09-23 15:25:38] local.INFO: Packet analysis {"connection_id":192010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:38] local.INFO: Extracted packet for processing {"connection_id":192010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280222464001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790157140000,"timestamp_ms":1790157140000,"timestamp_seconds":1790157140,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae3020"} 
[2026-09-23 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:25: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-09-23 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:25:38] 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-09-23 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280222464001,"66":12341,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280222464001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280222464001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":192010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:25:38] local.INFO: GPS data processed {"connection_id":192010,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:25:38] local.INFO: Acknowledgment sent {"connection_id":192010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:25:57] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:57] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:25:57] local.INFO: IMEI packet received {"connection_id":193357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":193357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:26:02] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:02] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:02] local.INFO: IMEI packet received {"connection_id":193357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":193357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:26:02] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae8228012d196940071fece0003d011026..."} 
[2026-09-23 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae8228012d196940071fece0003d011026..."} 
[2026-09-23 15:26:03] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae8228012d196940071fece0003d011026..."} 
[2026-09-23 15:26:03] local.INFO: Packet analysis {"connection_id":193357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:03] local.INFO: Extracted packet for processing {"connection_id":193357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280227840001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790157161000,"timestamp_ms":1790157161000,"timestamp_seconds":1790157161,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae8228"} 
[2026-09-23 15:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:26: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-09-23 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 15:26: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-09-23 15: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-09-23 15:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280227840001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280227840001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:26:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280227840001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":193357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:26:03] local.INFO: GPS data processed {"connection_id":193357,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:26:03] local.INFO: Acknowledgment sent {"connection_id":193357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:26:08] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:08] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdae6ea0012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:08] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:08] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280154880001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157156000,"timestamp_ms":1790157156000,"timestamp_seconds":1790157156,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdae6ea0"} 
[2026-09-23 15:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:26: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-09-23 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:26:08] 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-09-23 15:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:26: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-09-23 15:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280154880001,"66":25875,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280154880001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:26:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280154880001,"power":25875,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:26:08] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:26:08] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:26:34] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaed430012d196940071fece0003d011024..."} 
[2026-09-23 15:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaed430012d196940071fece0003d011024..."} 
[2026-09-23 15:26:34] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaed430012d196940071fece0003d011024..."} 
[2026-09-23 15:26:34] local.INFO: Packet analysis {"connection_id":193357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:34] local.INFO: Extracted packet for processing {"connection_id":193357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdae"} 
[2026-09-23 15:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280233216001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157182000,"timestamp_ms":1790157182000,"timestamp_seconds":1790157182,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaed430"} 
[2026-09-23 15:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:26:34] 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-09-23 15: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-09-23 15:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280233216001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280233216001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:26:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280233216001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":193357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:26:34] local.INFO: GPS data processed {"connection_id":193357,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:26:34] local.INFO: Acknowledgment sent {"connection_id":193357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:26:36] local.INFO: TCP Data received {"connection_id":190484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:36] local.INFO: Processing buffer {"connection_id":190484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:36] local.INFO: IMEI packet received {"connection_id":190484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":190484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:26:41] local.INFO: TCP Data received {"connection_id":190484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:41] local.INFO: Processing buffer {"connection_id":190484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:26:41] local.INFO: IMEI packet received {"connection_id":190484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":190484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:26:42] local.INFO: TCP Data received {"connection_id":190484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb14530012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb14530012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:42] local.INFO: Processing buffer {"connection_id":190484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb14530012d4160c006cb46f00020013324..."} 
[2026-09-23 15:26:42] local.INFO: Packet analysis {"connection_id":190484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:26:42] local.INFO: Extracted packet for processing {"connection_id":190484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":759259328,"raw_latitude":113985264,"longitude_deg":75.9259328,"latitude_deg":11.3985264,"altitude":32,"angle":307,"satellites":36,"speed":0,"hex_longitude":"2d4160c0","hex_latitude":"06cb46f0","is_valid_coordinates":true} 
[2026-09-23 15:26: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-09-23 15:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280231936001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790157342000,"timestamp_ms":1790157342000,"timestamp_seconds":1790157342,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb14530"} 
[2026-09-23 15:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:26: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-09-23 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 15:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:26: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-09-23 15:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280231936001,"66":25843,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280231936001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:26:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280231936001,"power":25843,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":190484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:26:42] local.INFO: GPS data processed {"connection_id":190484,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:26:42] local.INFO: Acknowledgment sent {"connection_id":190484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:26:57] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:57] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:26:57] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:27:02] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:02] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:02] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:27:02] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaf2638012d196940071fece0003d011025..."} 
[2026-09-23 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaf2638012d196940071fece0003d011025..."} 
[2026-09-23 15:27:02] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaf2638012d196940071fece0003d011025..."} 
[2026-09-23 15:27:02] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:02] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280238592001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790157203000,"timestamp_ms":1790157203000,"timestamp_seconds":1790157203,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaf2638"} 
[2026-09-23 15:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:27: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-09-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:27: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-09-23 15: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-09-23 15:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280238592001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280238592001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280238592001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:03] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:03] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:12] local.INFO: TCP Data received {"connection_id":190484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb14d00012d41610006cb47180020004e24..."} 
[2026-09-23 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb14d00012d41610006cb47180020004e24..."} 
[2026-09-23 15:27:12] local.INFO: Processing buffer {"connection_id":190484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb14d00012d41610006cb47180020004e24..."} 
[2026-09-23 15:27:12] local.INFO: Packet analysis {"connection_id":190484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:27:12] local.INFO: Extracted packet for processing {"connection_id":190484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":759259392,"raw_latitude":113985304,"longitude_deg":75.9259392,"latitude_deg":11.3985304,"altitude":32,"angle":78,"satellites":36,"speed":0,"hex_longitude":"2d416100","hex_latitude":"06cb4718","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280279552001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710976345642299392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790157344000,"timestamp_ms":1790157344000,"timestamp_seconds":1790157344,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb14d00"} 
[2026-09-23 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-09-23 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-09-23 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 15:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280279552001,"66":25549,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4710976345642299392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280279552001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:27:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710976345642299392,"description":"Unknown IO ID 45"} 
[2026-09-23 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280279552001,"power":25549,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4710976345642299392}} 
[2026-09-23 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":190484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:12] local.INFO: GPS data processed {"connection_id":190484,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:12] local.INFO: Acknowledgment sent {"connection_id":190484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:14] local.INFO: TCP Data received {"connection_id":193358,"ip":"117.224.204.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:14] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:14] local.INFO: IMEI packet received {"connection_id":193358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":193358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:27:19] local.INFO: TCP Data received {"connection_id":193358,"ip":"117.224.204.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:19] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:27:19] local.INFO: IMEI packet received {"connection_id":193358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":193358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:27:20] local.INFO: TCP Data received {"connection_id":193358,"ip":"117.224.204.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaf2250012c53678009cb2be00234009b2c..."} 
[2026-09-23 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaf2250012c53678009cb2be00234009b2c..."} 
[2026-09-23 15:27:20] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaf2250012c53678009cb2be00234009b2c..."} 
[2026-09-23 15:27:20] local.INFO: Packet analysis {"connection_id":193358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:20] local.INFO: Extracted packet for processing {"connection_id":193358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":743663488,"raw_latitude":164309984,"longitude_deg":74.3663488,"latitude_deg":16.4309984,"altitude":564,"angle":155,"satellites":44,"speed":46,"hex_longitude":"2c536780","hex_latitude":"09cb2be0","is_valid_coordinates":true} 
[2026-09-23 15:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,142,117,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790157202000,"timestamp_ms":1790157202000,"timestamp_seconds":1790157202,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaf2250"} 
[2026-09-23 15:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 15:27:20] 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-09-23 15:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.204.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"142":206,"117":13312,"24":46,"16":3605341577150464},"client_ip":"117.224.204.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,117,24,16]} 
[2026-09-23 15:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-23 15:27:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":13312,"description":"Unknown IO ID 117"} 
[2026-09-23 15:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_142":206,"unknown_117":13312,"ignition":46,"odometer":null}} 
[2026-09-23 15:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":193358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:20] local.INFO: GPS data processed {"connection_id":193358,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:20] local.INFO: Acknowledgment sent {"connection_id":193358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:31] local.INFO: TCP Data received {"connection_id":192012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:31] local.INFO: Processing buffer {"connection_id":192012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:31] local.INFO: IMEI packet received {"connection_id":192012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":192012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:27:34] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdaf7840012d196940071fece0003d011025..."} 
[2026-09-23 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdaf7840012d196940071fece0003d011025..."} 
[2026-09-23 15:27:34] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdaf7840012d196940071fece0003d011025..."} 
[2026-09-23 15:27:34] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:34] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280243968001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157224000,"timestamp_ms":1790157224000,"timestamp_seconds":1790157224,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdaf7840"} 
[2026-09-23 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:27:34] 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-09-23 15: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-09-23 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280243968001,"66":12439,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280243968001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280243968001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:34] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:34] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:36] local.INFO: TCP Data received {"connection_id":192012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:36] local.INFO: Processing buffer {"connection_id":192012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:27:36] local.INFO: IMEI packet received {"connection_id":192012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":192012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:27:37] local.INFO: TCP Data received {"connection_id":192012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb19f08012d41610006cb47180020004e22..."} 
[2026-09-23 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb19f08012d41610006cb47180020004e22..."} 
[2026-09-23 15:27:37] local.INFO: Processing buffer {"connection_id":192012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb19f08012d41610006cb47180020004e22..."} 
[2026-09-23 15:27:37] local.INFO: Packet analysis {"connection_id":192012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:27:37] local.INFO: Extracted packet for processing {"connection_id":192012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":759259392,"raw_latitude":113985304,"longitude_deg":75.9259392,"latitude_deg":11.3985304,"altitude":32,"angle":78,"satellites":34,"speed":0,"hex_longitude":"2d416100","hex_latitude":"06cb4718","is_valid_coordinates":true} 
[2026-09-23 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280280064001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711046714386487296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157365000,"timestamp_ms":1790157365000,"timestamp_seconds":1790157365,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb19f08"} 
[2026-09-23 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:27: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-09-23 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-23 15:27: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-09-23 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:27: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-09-23 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280280064001,"66":27745,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4711046714386487296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280280064001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711046714386487296,"description":"Unknown IO ID 45"} 
[2026-09-23 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280280064001,"power":27745,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711046714386487296}} 
[2026-09-23 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":192012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:37] local.INFO: GPS data processed {"connection_id":192012,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:37] local.INFO: Acknowledgment sent {"connection_id":192012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:51] local.INFO: TCP Data received {"connection_id":193358,"ip":"117.224.204.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb200b0012c54520009c7ec40024400c22c..."} 
[2026-09-23 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb200b0012c54520009c7ec40024400c22c..."} 
[2026-09-23 15:27:51] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb200b0012c54520009c7ec40024400c22c..."} 
[2026-09-23 15:27:51] local.INFO: Packet analysis {"connection_id":193358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:27:51] local.INFO: Extracted packet for processing {"connection_id":193358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":743723520,"raw_latitude":164097088,"longitude_deg":74.372352,"latitude_deg":16.4097088,"altitude":580,"angle":194,"satellites":44,"speed":50,"hex_longitude":"2c545200","hex_latitude":"09c7ec40","is_valid_coordinates":true} 
[2026-09-23 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:27:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,139,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790157390000,"timestamp_ms":1790157390000,"timestamp_seconds":1790157390,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb200b0"} 
[2026-09-23 15:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 15:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.204.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"139":206,"9":7936,"24":50,"16":3605341577150464},"client_ip":"117.224.204.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16]} 
[2026-09-23 15:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 15:27:51] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-23 15:27:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-23 15:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:27:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_139":206,"unknown_9":7936,"ignition":50,"odometer":null}} 
[2026-09-23 15:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":193358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:27:51] local.INFO: GPS data processed {"connection_id":193358,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:27:51] local.INFO: Acknowledgment sent {"connection_id":193358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:27:57] local.INFO: TCP Data received {"connection_id":190669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:57] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:27:57] local.INFO: IMEI packet received {"connection_id":190669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":190669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:28:02] local.INFO: TCP Data received {"connection_id":190669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:02] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:02] local.INFO: IMEI packet received {"connection_id":190669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":190669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:28:03] local.INFO: TCP Data received {"connection_id":190669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdafca48012d196940071fece0003d011026..."} 
[2026-09-23 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdafca48012d196940071fece0003d011026..."} 
[2026-09-23 15:28:03] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdafca48012d196940071fece0003d011026..."} 
[2026-09-23 15:28:03] local.INFO: Packet analysis {"connection_id":190669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:28:03] local.INFO: Extracted packet for processing {"connection_id":190669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdaf"} 
[2026-09-23 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280249344001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790157245000,"timestamp_ms":1790157245000,"timestamp_seconds":1790157245,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdafca48"} 
[2026-09-23 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-09-23 15:28: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-09-23 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-23 15:28: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-09-23 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-09-23 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-09-23 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280249344001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280249344001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:28:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280249344001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":190669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:28:03] local.INFO: GPS data processed {"connection_id":190669,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:28:03] local.INFO: Acknowledgment sent {"connection_id":190669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:28:07] local.INFO: TCP Data received {"connection_id":192012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb1f110012d41610006cb47180020004e23..."} 
[2026-09-23 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb1f110012d41610006cb47180020004e23..."} 
[2026-09-23 15:28:07] local.INFO: Processing buffer {"connection_id":192012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb1f110012d41610006cb47180020004e23..."} 
[2026-09-23 15:28:07] local.INFO: Packet analysis {"connection_id":192012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:28:07] local.INFO: Extracted packet for processing {"connection_id":192012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":759259392,"raw_latitude":113985304,"longitude_deg":75.9259392,"latitude_deg":11.3985304,"altitude":32,"angle":78,"satellites":35,"speed":0,"hex_longitude":"2d416100","hex_latitude":"06cb4718","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280285440001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711046714386487296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157386000,"timestamp_ms":1790157386000,"timestamp_seconds":1790157386,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb1f110"} 
[2026-09-23 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:28: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-09-23 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:28: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-09-23 15: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-09-23 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:28: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-09-23 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280285440001,"66":27876,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4711046714386487296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280285440001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:28:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711046714386487296,"description":"Unknown IO ID 45"} 
[2026-09-23 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280285440001,"power":27876,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711046714386487296}} 
[2026-09-23 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":192012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:28:07] local.INFO: GPS data processed {"connection_id":192012,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:28:07] local.INFO: Acknowledgment sent {"connection_id":192012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:28:09] local.INFO: TCP Data received {"connection_id":190485,"ip":"117.224.204.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:09] local.INFO: Processing buffer {"connection_id":190485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:09] local.INFO: IMEI packet received {"connection_id":190485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":190485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:28:11] local.INFO: TCP Data received {"connection_id":190485,"ip":"117.224.204.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:11] local.INFO: Processing buffer {"connection_id":190485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:11] local.INFO: IMEI packet received {"connection_id":190485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":190485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:28:14] local.INFO: TCP Data received {"connection_id":190485,"ip":"117.224.204.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:14] local.INFO: Processing buffer {"connection_id":190485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:28:14] local.INFO: IMEI packet received {"connection_id":190485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":190485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:28:15] local.INFO: TCP Data received {"connection_id":190485,"ip":"117.224.204.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb252b8012c543cc009c7a180024c00bf2b..."} 
[2026-09-23 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb252b8012c543cc009c7a180024c00bf2b..."} 
[2026-09-23 15:28:15] local.INFO: Processing buffer {"connection_id":190485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb252b8012c543cc009c7a180024c00bf2b..."} 
[2026-09-23 15:28:15] local.INFO: Packet analysis {"connection_id":190485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:28:15] local.INFO: Extracted packet for processing {"connection_id":190485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":743718080,"raw_latitude":164077952,"longitude_deg":74.371808,"latitude_deg":16.4077952,"altitude":588,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2c543cc0","hex_latitude":"09c7a180","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280291840001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6075918889285074946,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790157411000,"timestamp_ms":1790157411000,"timestamp_seconds":1790157411,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb252b8"} 
[2026-09-23 15:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.204.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280291840001,"66":28398,"139":206,"9":7936,"24":0,"16":3605341577150464,"44":6075918889285074946},"client_ip":"117.224.204.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-23 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280291840001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:28:15] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-23 15:28:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-23 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6075918889285074946,"description":"Unknown IO ID 44"} 
[2026-09-23 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280291840001,"power":28398,"unknown_139":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":6075918889285074946}} 
[2026-09-23 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":190485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:28:15] local.INFO: GPS data processed {"connection_id":190485,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:28:15] local.INFO: Acknowledgment sent {"connection_id":190485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:28:31] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:31] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:31] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:28:34] local.INFO: TCP Data received {"connection_id":190669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb01c50012d196940071fece0003d011025..."} 
[2026-09-23 15:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb01c50012d196940071fece0003d011025..."} 
[2026-09-23 15:28:34] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb01c50012d196940071fece0003d011025..."} 
[2026-09-23 15:28:34] local.INFO: Packet analysis {"connection_id":190669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:28:34] local.INFO: Extracted packet for processing {"connection_id":190669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:28: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-09-23 15:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280254720001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157266000,"timestamp_ms":1790157266000,"timestamp_seconds":1790157266,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb01c50"} 
[2026-09-23 15:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:28: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":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:28:34] 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-09-23 15:28: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-09-23 15:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280254720001,"66":12439,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280254720001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:28:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280254720001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":190669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:28:34] local.INFO: GPS data processed {"connection_id":190669,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:28:34] local.INFO: Acknowledgment sent {"connection_id":190669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:28:36] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:36] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:28:36] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:28:37] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb24318012d41610006cb47180020004e22..."} 
[2026-09-23 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb24318012d41610006cb47180020004e22..."} 
[2026-09-23 15:28:37] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb24318012d41610006cb47180020004e22..."} 
[2026-09-23 15:28:37] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:28:37] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":759259392,"raw_latitude":113985304,"longitude_deg":75.9259392,"latitude_deg":11.3985304,"altitude":32,"angle":78,"satellites":34,"speed":0,"hex_longitude":"2d416100","hex_latitude":"06cb4718","is_valid_coordinates":true} 
[2026-09-23 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280290816001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711046714386487296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157407000,"timestamp_ms":1790157407000,"timestamp_seconds":1790157407,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb24318"} 
[2026-09-23 15:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:28: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-09-23 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 15:28: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-09-23 15:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:28: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-09-23 15:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280290816001,"66":27865,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4711046714386487296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280290816001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:28:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711046714386487296,"description":"Unknown IO ID 45"} 
[2026-09-23 15:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280290816001,"power":27865,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711046714386487296}} 
[2026-09-23 15:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:28:37] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:28:37] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:28:57] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:57] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:28:57] local.INFO: IMEI packet received {"connection_id":190487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":190487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:29:02] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:02] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:02] local.INFO: IMEI packet received {"connection_id":190487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":190487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:29:03] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb06e58012d196940071fece0003d011026..."} 
[2026-09-23 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb06e58012d196940071fece0003d011026..."} 
[2026-09-23 15:29:03] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb06e58012d196940071fece0003d011026..."} 
[2026-09-23 15:29:03] local.INFO: Packet analysis {"connection_id":190487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:29:03] local.INFO: Extracted packet for processing {"connection_id":190487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280260096001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790157287000,"timestamp_ms":1790157287000,"timestamp_seconds":1790157287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb06e58"} 
[2026-09-23 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:29: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-09-23 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-23 15:29: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-09-23 15: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-09-23 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280260096001,"66":12461,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280260096001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:29:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280260096001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":190487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:29:03] local.INFO: GPS data processed {"connection_id":190487,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:29:03] local.INFO: Acknowledgment sent {"connection_id":190487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:29:08] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb29520012d41610006cb47180020004e23..."} 
[2026-09-23 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb29520012d41610006cb47180020004e23..."} 
[2026-09-23 15:29:08] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb29520012d41610006cb47180020004e23..."} 
[2026-09-23 15:29:08] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:29:08] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb2"} 
[2026-09-23 15:29:08] local.INFO: GPS Element Parsed {"raw_longitude":759259392,"raw_latitude":113985304,"longitude_deg":75.9259392,"latitude_deg":11.3985304,"altitude":32,"angle":78,"satellites":35,"speed":0,"hex_longitude":"2d416100","hex_latitude":"06cb4718","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280296192001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406536663364272128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711046714386487296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157428000,"timestamp_ms":1790157428000,"timestamp_seconds":1790157428,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb29520"} 
[2026-09-23 15:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:29: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-09-23 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 15:29: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-09-23 15: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-09-23 15:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280296192001,"66":28028,"113":206,"81":21504,"24":0,"16":406536663364272128,"45":4711046714386487296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280296192001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:29:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406536663364272128,"km_value":406536663364272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711046714386487296,"description":"Unknown IO ID 45"} 
[2026-09-23 15:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280296192001,"power":28028,"unknown_113":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4711046714386487296}} 
[2026-09-23 15:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:29:08] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:29:08] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:29:30] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:30] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:30] local.INFO: IMEI packet received {"connection_id":193359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:29:31] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:31] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:31] local.INFO: IMEI packet received {"connection_id":193359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":193359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:29:34] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb0c060012d196940071fece0003d011025..."} 
[2026-09-23 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb0c060012d196940071fece0003d011025..."} 
[2026-09-23 15:29:34] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb0c060012d196940071fece0003d011025..."} 
[2026-09-23 15:29:34] local.INFO: Packet analysis {"connection_id":190487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:29:34] local.INFO: Extracted packet for processing {"connection_id":190487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb0"} 
[2026-09-23 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:29: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-09-23 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280265472001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157308000,"timestamp_ms":1790157308000,"timestamp_seconds":1790157308,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb0c060"} 
[2026-09-23 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:29: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":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:29:34] 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-09-23 15:29: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-09-23 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280265472001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280265472001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:29:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280265472001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":190487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:29:34] local.INFO: GPS data processed {"connection_id":190487,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:29:34] local.INFO: Acknowledgment sent {"connection_id":190487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:29:36] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:36] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:29:36] local.INFO: IMEI packet received {"connection_id":193359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":193359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:29:37] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb417d8012d412e8006cb3530002300f324..."} 
[2026-09-23 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb417d8012d412e8006cb3530002300f324..."} 
[2026-09-23 15:29:37] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb417d8012d412e8006cb3530002300f324..."} 
[2026-09-23 15:29:37] local.INFO: Packet analysis {"connection_id":193359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:29:37] local.INFO: Extracted packet for processing {"connection_id":193359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":759246464,"raw_latitude":113980720,"longitude_deg":75.9246464,"latitude_deg":11.398072,"altitude":35,"angle":243,"satellites":36,"speed":11,"hex_longitude":"2d412e80","hex_latitude":"06cb3530","is_valid_coordinates":true} 
[2026-09-23 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280322560001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406537367738908672,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4704009839968735232,"note":"Value kept but may cause issues"} 
[2026-09-23 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157527000,"timestamp_ms":1790157527000,"timestamp_seconds":1790157527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb417d8"} 
[2026-09-23 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:29: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-09-23 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-23 15:29: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-09-23 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:29: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-09-23 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280322560001,"66":28006,"113":206,"81":21504,"24":11,"16":406537367738908672,"45":4704009839968735232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280322560001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:29:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406537367738908672,"km_value":406537367738908.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4704009839968735232,"description":"Unknown IO ID 45"} 
[2026-09-23 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280322560001,"power":28006,"unknown_113":206,"unknown_81":21504,"ignition":11,"odometer":null,"unknown_45":4704009839968735232}} 
[2026-09-23 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":193359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:29:37] local.INFO: GPS data processed {"connection_id":193359,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:29:37] local.INFO: Acknowledgment sent {"connection_id":193359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:29:56] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:56] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:56] local.INFO: IMEI packet received {"connection_id":190670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":190670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:29:57] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:57] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:29:57] local.INFO: IMEI packet received {"connection_id":190670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":190670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:30:02] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:30:02] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:30:02] local.INFO: IMEI packet received {"connection_id":190670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:30:02] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb11268012d196940071fece0003d011026..."} 
[2026-09-23 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb11268012d196940071fece0003d011026..."} 
[2026-09-23 15:30:02] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb11268012d196940071fece0003d011026..."} 
[2026-09-23 15:30:02] local.INFO: Packet analysis {"connection_id":190670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:30:02] local.INFO: Extracted packet for processing {"connection_id":190670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280270848001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790157329000,"timestamp_ms":1790157329000,"timestamp_seconds":1790157329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb11268"} 
[2026-09-23 15:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:30: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-09-23 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:30: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-09-23 15: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-09-23 15:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280270848001,"66":12385,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280270848001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:30:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280270848001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":190670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:30:03] local.INFO: GPS data processed {"connection_id":190670,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:30:03] local.INFO: Acknowledgment sent {"connection_id":190670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:30:07] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb41bc0012d412d8006cb34d00023010024..."} 
[2026-09-23 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb41bc0012d412d8006cb34d00023010024..."} 
[2026-09-23 15:30:07] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb41bc0012d412d8006cb34d00023010024..."} 
[2026-09-23 15:30:07] local.INFO: Packet analysis {"connection_id":193359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:30:07] local.INFO: Extracted packet for processing {"connection_id":193359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":759246208,"raw_latitude":113980624,"longitude_deg":75.9246208,"latitude_deg":11.3980624,"altitude":35,"angle":256,"satellites":36,"speed":10,"hex_longitude":"2d412d80","hex_latitude":"06cb34d0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280326912001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406537380623810560,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4696832228061425664,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157528000,"timestamp_ms":1790157528000,"timestamp_seconds":1790157528,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb41bc0"} 
[2026-09-23 15:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:30:07] 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-09-23 15: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 15:30:07] 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-09-23 15: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-09-23 15:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:30: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-09-23 15:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280326912001,"66":27930,"113":206,"81":21504,"24":10,"16":406537380623810560,"45":4696832228061425664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280326912001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:30:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406537380623810560,"km_value":406537380623810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4696832228061425664,"description":"Unknown IO ID 45"} 
[2026-09-23 15:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280326912001,"power":27930,"unknown_113":206,"unknown_81":21504,"ignition":10,"odometer":null,"unknown_45":4696832228061425664}} 
[2026-09-23 15:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":193359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:30:07] local.INFO: GPS data processed {"connection_id":193359,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:30:07] local.INFO: Acknowledgment sent {"connection_id":193359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:30:31] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:31] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:31] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:30:34] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb16470012d196940071fece0003d011026..."} 
[2026-09-23 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb16470012d196940071fece0003d011026..."} 
[2026-09-23 15:30:34] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb16470012d196940071fece0003d011026..."} 
[2026-09-23 15:30:34] local.INFO: Packet analysis {"connection_id":190670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:30:34] local.INFO: Extracted packet for processing {"connection_id":190670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb1"} 
[2026-09-23 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280276224001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157350000,"timestamp_ms":1790157350000,"timestamp_seconds":1790157350,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb16470"} 
[2026-09-23 15:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280276224001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280276224001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:30:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280276224001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":190670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:30:34] local.INFO: GPS data processed {"connection_id":190670,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:30:34] local.INFO: Acknowledgment sent {"connection_id":190670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:30:35] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:35] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:30:35] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:30:36] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb42390012d412b4006cb34a00023010f24..."} 
[2026-09-23 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb42390012d412b4006cb34a00023010f24..."} 
[2026-09-23 15:30:36] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb42390012d412b4006cb34a00023010f24..."} 
[2026-09-23 15:30:36] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:30:36] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":759245632,"raw_latitude":113980576,"longitude_deg":75.9245632,"latitude_deg":11.3980576,"altitude":35,"angle":271,"satellites":36,"speed":9,"hex_longitude":"2d412b40","hex_latitude":"06cb34a0","is_valid_coordinates":true} 
[2026-09-23 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280327168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406537410688581632,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4696550753084690432,"note":"Value kept but may cause issues"} 
[2026-09-23 15:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790157530000,"timestamp_ms":1790157530000,"timestamp_seconds":1790157530,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb42390"} 
[2026-09-23 15:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:30: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-09-23 15:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:30: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-09-23 15:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280327168001,"66":27919,"113":206,"81":21504,"24":9,"16":406537410688581632,"45":4696550753084690432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280327168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:30:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406537410688581632,"km_value":406537410688581.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4696550753084690432,"description":"Unknown IO ID 45"} 
[2026-09-23 15:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280327168001,"power":27919,"unknown_113":206,"unknown_81":21504,"ignition":9,"odometer":null,"unknown_45":4696550753084690432}} 
[2026-09-23 15:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:30:36] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:30:36] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:01] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: IMEI packet received {"connection_id":192013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":192013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:31:01] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:01] local.INFO: IMEI packet received {"connection_id":192013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":192013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:31:06] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:06] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:06] local.INFO: IMEI packet received {"connection_id":192013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":192013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:31:07] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb42b60012d41294006cb34f00023011f24..."} 
[2026-09-23 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb42b60012d41294006cb34f00023011f24..."} 
[2026-09-23 15:31:07] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb42b60012d41294006cb34f00023011f24..."} 
[2026-09-23 15:31:07] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:07] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":759245120,"raw_latitude":113980656,"longitude_deg":75.924512,"latitude_deg":11.3980656,"altitude":35,"angle":287,"satellites":36,"speed":9,"hex_longitude":"2d412940","hex_latitude":"06cb34f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280327680001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406537432163418112,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4695917434387079168,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157532000,"timestamp_ms":1790157532000,"timestamp_seconds":1790157532,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb42b60"} 
[2026-09-23 15:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31:07] 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-09-23 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 15:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:31: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-09-23 15:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280327680001,"66":27995,"113":206,"81":21504,"24":9,"16":406537432163418112,"45":4695917434387079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280327680001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406537432163418112,"km_value":406537432163418.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4695917434387079168,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280327680001,"power":27995,"unknown_113":206,"unknown_81":21504,"ignition":9,"odometer":null,"unknown_45":4695917434387079168}} 
[2026-09-23 15:31:07] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb4eac8012d196940071fece0003d011025..."} 
[2026-09-23 15:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:07] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:07] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb4eac8012d196940071fece0003d011025..."} 
[2026-09-23 15:31:07] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb4eac8012d196940071fece0003d011025..."} 
[2026-09-23 15:31:07] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:07] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280335360001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790157581000,"timestamp_ms":1790157581000,"timestamp_seconds":1790157581,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb4eac8"} 
[2026-09-23 15:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31: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-09-23 15: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280335360001,"66":12428,"103":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 15:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280335360001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280335360001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:07] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:07] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:08] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":1348,"data_hex":"000000000000030f8e0a000001a0cdb53cd0012d196940071fece0003d011023..."} 
[2026-09-23 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0cdb53cd0012d196940071fece0003d011023..."} 
[2026-09-23 15:31:08] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0cdb53cd0012d196940071fece0003d011023..."} 
[2026-09-23 15:31:08] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:08] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280340736001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157602000,"timestamp_ms":1790157602000,"timestamp_seconds":1790157602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb53cd0"} 
[2026-09-23 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:31:08] 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-09-23 15:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280340736001,"66":13928,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280340736001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280340736001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:08] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:08] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:08] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":192013,"needed":795,"available":553} 
[2026-09-23 15:31:08] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":242,"data_hex":"000000000001a0cdb350a0012d196940071fece0003d01102500000000000a00..."} 
[2026-09-23 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":242,"packet_hex":"000000000001a0cdb350a0012d196940071fece0003d01102500000000000a00..."} 
[2026-09-23 15:31:08] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb58ed8012d196940071fece0003d011025..."} 
[2026-09-23 15:31:08] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:08] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532768,"longitude_deg":75.6640064,"latitude_deg":11.9532768,"altitude":61,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-23 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280346112001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22718929591861248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847383552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157623000,"timestamp_ms":1790157623000,"timestamp_seconds":1790157623,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb58ed8"} 
[2026-09-23 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-23 15:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280346112001,"66":13993,"102":206,"83":41984,"24":0,"16":22718929591861248,"45":1831065122847383552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280346112001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22718929591861248,"km_value":22718929591861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847383552,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280346112001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847383552}} 
[2026-09-23 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:08] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:08] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:31] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:31] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:31] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:31:34] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:34] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:34] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:31:36] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:36] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:31:36] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:31:37] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb47d68012d410bc006cb3ce00029011b25..."} 
[2026-09-23 15:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb47d68012d410bc006cb3ce00029011b25..."} 
[2026-09-23 15:31:37] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb47d68012d410bc006cb3ce00029011b25..."} 
[2026-09-23 15:31:37] local.INFO: Packet analysis {"connection_id":192014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:37] local.INFO: Extracted packet for processing {"connection_id":192014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:31:37] local.INFO: GPS Element Parsed {"raw_longitude":759237568,"raw_latitude":113982688,"longitude_deg":75.9237568,"latitude_deg":11.3982688,"altitude":41,"angle":283,"satellites":37,"speed":17,"hex_longitude":"2d410bc0","hex_latitude":"06cb3ce0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280328192001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406537805825572864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4695354484433678336,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157553000,"timestamp_ms":1790157553000,"timestamp_seconds":1790157553,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb47d68"} 
[2026-09-23 15:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31: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-09-23 15:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 15:31: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-09-23 15: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-09-23 15:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:31: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-09-23 15:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280328192001,"66":27908,"113":206,"81":21504,"24":17,"16":406537805825572864,"45":4695354484433678336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280328192001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406537805825572864,"km_value":406537805825572.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4695354484433678336,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280328192001,"power":27908,"unknown_113":206,"unknown_81":21504,"ignition":17,"odometer":null,"unknown_45":4695354484433678336}} 
[2026-09-23 15:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":192014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:37] local.INFO: GPS data processed {"connection_id":192014,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:37] local.INFO: Acknowledgment sent {"connection_id":192014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:39] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb5e0e0012d196b40071fec90003e004f28..."} 
[2026-09-23 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb5e0e0012d196b40071fec90003e004f28..."} 
[2026-09-23 15:31:39] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb5e0e0012d196b40071fec90003e004f28..."} 
[2026-09-23 15:31:39] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:39] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532688,"longitude_deg":75.6640576,"latitude_deg":11.9532688,"altitude":62,"angle":79,"satellites":40,"speed":4,"hex_longitude":"2d196b40","hex_latitude":"071fec90","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280356352001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22719019786174464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824073728,"note":"Value kept but may cause issues"} 
[2026-09-23 15:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790157644000,"timestamp_ms":1790157644000,"timestamp_seconds":1790157644,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb5e0e0"} 
[2026-09-23 15:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 15:31: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-09-23 15: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-09-23 15:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280356352001,"66":13939,"102":206,"83":41984,"24":4,"16":22719019786174464,"45":1831346597824073728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280356352001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:31:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22719019786174464,"km_value":22719019786174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824073728,"description":"Unknown IO ID 45"} 
[2026-09-23 15:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280356352001,"power":13939,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1831346597824073728}} 
[2026-09-23 15:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:31:39] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:31:39] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:31:57] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: IMEI packet received {"connection_id":193360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":193360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:31:57] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:31:57] local.INFO: IMEI packet received {"connection_id":193360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":193360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:01] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:01] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:01] local.INFO: IMEI packet received {"connection_id":193360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":193360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:02] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb5e4c8012d196b80071fecb8003e003e28..."} 
[2026-09-23 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb5e4c8012d196b80071fecb8003e003e28..."} 
[2026-09-23 15:32:02] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb5e4c8012d196b80071fecb8003e003e28..."} 
[2026-09-23 15:32:02] local.INFO: Packet analysis {"connection_id":193360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:02] local.INFO: Extracted packet for processing {"connection_id":193360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532728,"longitude_deg":75.664064,"latitude_deg":11.9532728,"altitude":62,"angle":62,"satellites":40,"speed":2,"hex_longitude":"2d196b80","hex_latitude":"071fecb8","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280356864001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22719024081141760,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800784384,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790157645000,"timestamp_ms":1790157645000,"timestamp_seconds":1790157645,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb5e4c8"} 
[2026-09-23 15:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32: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-09-23 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:02] 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-09-23 15: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-09-23 15:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280356864001,"66":13939,"102":206,"83":41984,"24":2,"16":22719024081141760,"45":1831628072800784384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280356864001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22719024081141760,"km_value":22719024081141.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800784384,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280356864001,"power":13939,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1831628072800784384}} 
[2026-09-23 15:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":193360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:02] local.INFO: GPS data processed {"connection_id":193360,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:02] local.INFO: Acknowledgment sent {"connection_id":193360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:03] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb61790012d196a80071fec88003e010c28..."} 
[2026-09-23 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb61790012d196a80071fec88003e010c28..."} 
[2026-09-23 15:32:03] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb61790012d196a80071fec88003e010c28..."} 
[2026-09-23 15:32:03] local.INFO: Packet analysis {"connection_id":193360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32:03] local.INFO: Extracted packet for processing {"connection_id":193360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532680,"longitude_deg":75.6640384,"latitude_deg":11.953268,"altitude":62,"angle":268,"satellites":40,"speed":4,"hex_longitude":"2d196a80","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280357120001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22719036966043648,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544972288,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790157658000,"timestamp_ms":1790157658000,"timestamp_seconds":1790157658,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb61790"} 
[2026-09-23 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-09-23 15:32: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-09-23 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:03] 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-09-23 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-09-23 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-09-23 15:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280357120001,"66":14070,"102":206,"83":41984,"24":4,"16":22719036966043648,"45":1831698441544972288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280357120001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22719036966043648,"km_value":22719036966043.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544972288,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280357120001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1831698441544972288}} 
[2026-09-23 15:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":193360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:03] local.INFO: GPS data processed {"connection_id":193360,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:03] local.INFO: Acknowledgment sent {"connection_id":193360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:08] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb4cf70012d40f60006cb43800031012324..."} 
[2026-09-23 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb4cf70012d40f60006cb43800031012324..."} 
[2026-09-23 15:32:08] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb4cf70012d40f60006cb43800031012324..."} 
[2026-09-23 15:32:08] local.INFO: Packet analysis {"connection_id":192014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:32:08] local.INFO: Extracted packet for processing {"connection_id":192014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":759232000,"raw_latitude":113984384,"longitude_deg":75.9232,"latitude_deg":11.3984384,"altitude":49,"angle":291,"satellites":36,"speed":8,"hex_longitude":"2d40f600","hex_latitude":"06cb4380","is_valid_coordinates":true} 
[2026-09-23 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280333568001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406538080703479808,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4687050972621234176,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157574000,"timestamp_ms":1790157574000,"timestamp_seconds":1790157574,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb4cf70"} 
[2026-09-23 15:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:32: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-09-23 15:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32: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-09-23 15:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280333568001,"66":27908,"113":206,"81":21504,"24":8,"16":406538080703479808,"45":4687050972621234176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280333568001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406538080703479808,"km_value":406538080703479.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4687050972621234176,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280333568001,"power":27908,"unknown_113":206,"unknown_81":21504,"ignition":8,"odometer":null,"unknown_45":4687050972621234176}} 
[2026-09-23 15:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":192014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:08] local.INFO: GPS data processed {"connection_id":192014,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:08] local.INFO: Acknowledgment sent {"connection_id":192014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:20] local.INFO: TCP Data received {"connection_id":190671,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: IMEI packet received {"connection_id":190671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":190671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:32:20] local.INFO: TCP Data received {"connection_id":190671,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:32:20] local.INFO: IMEI packet received {"connection_id":190671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":190671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:21] local.INFO: TCP Data received {"connection_id":190671,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb5b200012c5522c009c576d0025600712a..."} 
[2026-09-23 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb5b200012c5522c009c576d0025600712a..."} 
[2026-09-23 15:32:21] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb5b200012c5522c009c576d0025600712a..."} 
[2026-09-23 15:32:21] local.INFO: Packet analysis {"connection_id":190671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:21] local.INFO: Extracted packet for processing {"connection_id":190671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:21] local.INFO: GPS Element Parsed {"raw_longitude":743776960,"raw_latitude":163935952,"longitude_deg":74.377696,"latitude_deg":16.3935952,"altitude":598,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2c5522c0","hex_latitude":"09c576d0","is_valid_coordinates":true} 
[2026-09-23 15:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280348416001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6134676790632173570,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790157632000,"timestamp_ms":1790157632000,"timestamp_seconds":1790157632,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb5b200"} 
[2026-09-23 15:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32: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-09-23 15:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:21] 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-09-23 15:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280348416001,"66":28300,"112":206,"9":7680,"24":0,"16":3605341577150464,"44":6134676790632173570},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-09-23 15:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280348416001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:21] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-23 15:32:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6134676790632173570,"description":"Unknown IO ID 44"} 
[2026-09-23 15:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280348416001,"power":28300,"unknown_112":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6134676790632173570}} 
[2026-09-23 15:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":190671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:21] local.INFO: GPS data processed {"connection_id":190671,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:21] local.INFO: Acknowledgment sent {"connection_id":190671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:25] local.INFO: TCP Data received {"connection_id":190671,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb698780100000000000000000000000000..."} 
[2026-09-23 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb698780100000000000000000000000000..."} 
[2026-09-23 15:32:25] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb698780100000000000000000000000000..."} 
[2026-09-23 15:32:25] local.INFO: Packet analysis {"connection_id":190671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32:25] local.INFO: Extracted packet for processing {"connection_id":190671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32: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-09-23 15: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-09-23 15:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280353792001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6134676790632173570,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790157691000,"timestamp_ms":1790157691000,"timestamp_seconds":1790157691,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb69878"} 
[2026-09-23 15:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":190671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":190671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":190671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":190671,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:32:25] local.INFO: GPS data processed {"connection_id":190671,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:32:25] local.INFO: Acknowledgment sent {"connection_id":190671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:34] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb66998012d196740071fec90003d010d22..."} 
[2026-09-23 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb66998012d196740071fec90003d010d22..."} 
[2026-09-23 15:32:34] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb66998012d196740071fec90003d010d22..."} 
[2026-09-23 15:32:34] local.INFO: Packet analysis {"connection_id":193360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32:34] local.INFO: Extracted packet for processing {"connection_id":193360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532688,"longitude_deg":75.6639552,"latitude_deg":11.9532688,"altitude":61,"angle":269,"satellites":34,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fec90","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280360448001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22719075620749312,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568249344,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790157679000,"timestamp_ms":1790157679000,"timestamp_seconds":1790157679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb66998"} 
[2026-09-23 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:34] 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-09-23 15: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-09-23 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280360448001,"66":13993,"102":206,"83":41984,"24":0,"16":22719075620749312,"45":1831416966568249344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280360448001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 15:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22719075620749312,"km_value":22719075620749.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568249344,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280360448001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831416966568249344}} 
[2026-09-23 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":193360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:34] local.INFO: GPS data processed {"connection_id":193360,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:34] local.INFO: Acknowledgment sent {"connection_id":193360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:36] local.INFO: TCP Data received {"connection_id":190672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:32:36] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:32:36] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:32:42] local.INFO: TCP Data received {"connection_id":190672,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 15:32:42] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 15:32:42] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:46] local.INFO: TCP Data received {"connection_id":190672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:32:46] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-23 15:32:46] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:47] local.INFO: TCP Data received {"connection_id":190672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb4d740012d40f48006cb44380031012e24..."} 
[2026-09-23 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb4d740012d40f48006cb44380031012e24..."} 
[2026-09-23 15:32:47] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0cd..."} 
[2026-09-23 15:32:47] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:52] local.INFO: TCP Data received {"connection_id":190672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb52948012d40e0c006cb53300036013023..."} 
[2026-09-23 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb52948012d40e0c006cb53300036013023..."} 
[2026-09-23 15:32:52] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cdb4d740012d40f48006cb44380031012e24..."} 
[2026-09-23 15:32:52] local.INFO: Packet analysis {"connection_id":190672,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:32:52] local.INFO: Extracted packet for processing {"connection_id":190672,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb4"} 
[2026-09-23 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":759231616,"raw_latitude":113984568,"longitude_deg":75.9231616,"latitude_deg":11.3984568,"altitude":49,"angle":302,"satellites":36,"speed":7,"hex_longitude":"2d40f480","hex_latitude":"06cb4438","is_valid_coordinates":true} 
[2026-09-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280338944001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406538102178316288,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4680928891878211584,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790157576000,"timestamp_ms":1790157576000,"timestamp_seconds":1790157576,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb4d740"} 
[2026-09-23 15:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32: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-09-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":190672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":190672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":190672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280338944001,"66":27974,"113":206,"81":21504,"24":7,"16":406538102178316288,"45":4680928891878211584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,81,24,16,45]} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280338944001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406538102178316288,"km_value":406538102178316.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4680928891878211584,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280338944001,"power":27974,"unknown_113":206,"unknown_81":21504,"ignition":7,"odometer":null,"unknown_45":4680928891878211584}} 
[2026-09-23 15:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":190672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:52] local.INFO: GPS data processed {"connection_id":190672,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:52] local.INFO: Acknowledgment sent {"connection_id":190672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:52] local.INFO: Packet analysis {"connection_id":190672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:52] local.INFO: Extracted packet for processing {"connection_id":190672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb5"} 
[2026-09-23 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":759226560,"raw_latitude":113988400,"longitude_deg":75.922656,"latitude_deg":11.39884,"altitude":54,"angle":304,"satellites":35,"speed":9,"hex_longitude":"2d40e0c0","hex_latitude":"06cb5330","is_valid_coordinates":true} 
[2026-09-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280339456001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406538407120994304,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4680506679413192704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790157597000,"timestamp_ms":1790157597000,"timestamp_seconds":1790157597,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb52948"} 
[2026-09-23 15:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:32: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-09-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:32:52] 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-09-23 15:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":190672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":190672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":190672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280339456001,"66":27767,"148":206,"81":21504,"24":9,"16":406538407120994304,"45":4680506679413192704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,81,24,16,45]} 
[2026-09-23 15:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280339456001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406538407120994304,"km_value":406538407120994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4680506679413192704,"description":"Unknown IO ID 45"} 
[2026-09-23 15:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280339456001,"power":27767,"unknown_148":206,"unknown_81":21504,"ignition":9,"odometer":null,"unknown_45":4680506679413192704}} 
[2026-09-23 15:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":190672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:32:52] local.INFO: GPS data processed {"connection_id":190672,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:32:52] local.INFO: Acknowledgment sent {"connection_id":190672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:32:53] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:53] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:53] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:32:54] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:54] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:54] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:55] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:55] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:55] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:32:56] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:56] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:32:56] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:33:09] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:09] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:09] local.INFO: IMEI packet received {"connection_id":193361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":193361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:33:10] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:10] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:10] local.INFO: IMEI packet received {"connection_id":193361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":193361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:33:14] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:14] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:33:14] local.INFO: IMEI packet received {"connection_id":193361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":193361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:33:16] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb69c60012c55ac4009c53520025e00732a..."} 
[2026-09-23 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb69c60012c55ac4009c53520025e00732a..."} 
[2026-09-23 15:33:16] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb69c60012c55ac4009c53520025e00732a..."} 
[2026-09-23 15:33:16] local.INFO: Packet analysis {"connection_id":193361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:33:16] local.INFO: Extracted packet for processing {"connection_id":193361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb6"} 
[2026-09-23 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":743812160,"raw_latitude":163919136,"longitude_deg":74.381216,"latitude_deg":16.3919136,"altitude":606,"angle":115,"satellites":42,"speed":31,"hex_longitude":"2c55ac40","hex_latitude":"09c53520","is_valid_coordinates":true} 
[2026-09-23 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,112,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790157692000,"timestamp_ms":1790157692000,"timestamp_seconds":1790157692,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb69c60"} 
[2026-09-23 15:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"112":206,"9":7680,"24":31,"16":3605341577150464},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16]} 
[2026-09-23 15:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:33:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_112":206,"unknown_9":7680,"ignition":31,"odometer":null}} 
[2026-09-23 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":193361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:33:16] local.INFO: GPS data processed {"connection_id":193361,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:33:16] local.INFO: Acknowledgment sent {"connection_id":193361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:33:20] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb757e00100000000000000000000000000..."} 
[2026-09-23 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb757e00100000000000000000000000000..."} 
[2026-09-23 15:33:20] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb757e00100000000000000000000000000..."} 
[2026-09-23 15:33:20] local.INFO: Packet analysis {"connection_id":193361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33:20] local.INFO: Extracted packet for processing {"connection_id":193361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33: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-09-23 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280369152001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6173379599925583874,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790157740000,"timestamp_ms":1790157740000,"timestamp_seconds":1790157740,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb757e0"} 
[2026-09-23 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 15:33:20] 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-09-23 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":193361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:33:20] local.INFO: GPS data processed {"connection_id":193361,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:33:20] local.INFO: Acknowledgment sent {"connection_id":193361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:33:31] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:31] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:31] local.INFO: IMEI packet received {"connection_id":190673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:33:36] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:36] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:33:36] local.INFO: IMEI packet received {"connection_id":190673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:33:37] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb75fb0012d400d0006cba3d8002c010d20..."} 
[2026-09-23 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb75fb0012d400d0006cba3d8002c010d20..."} 
[2026-09-23 15:33:37] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb75fb0012d400d0006cba3d8002c010d20..."} 
[2026-09-23 15:33:37] local.INFO: Packet analysis {"connection_id":190673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33:37] local.INFO: Extracted packet for processing {"connection_id":190673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":759172352,"raw_latitude":114009048,"longitude_deg":75.9172352,"latitude_deg":11.4009048,"altitude":44,"angle":269,"satellites":32,"speed":20,"hex_longitude":"2d400d00","hex_latitude":"06cba3d8","is_valid_coordinates":true} 
[2026-09-23 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280381440001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406541254684311552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4616541490961938432,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:37] 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-09-23 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157742000,"timestamp_ms":1790157742000,"timestamp_seconds":1790157742,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb75fb0"} 
[2026-09-23 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:33: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-09-23 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-23 15:33: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-09-23 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:33: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-09-23 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280381440001,"66":27919,"133":206,"81":21504,"24":20,"16":406541254684311552,"45":4616541490961938432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-23 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280381440001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:33:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-23 15:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406541254684311552,"km_value":406541254684311.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4616541490961938432,"description":"Unknown IO ID 45"} 
[2026-09-23 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280381440001,"power":27919,"unknown_133":206,"unknown_81":21504,"ignition":20,"odometer":null,"unknown_45":4616541490961938432}} 
[2026-09-23 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":190673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:33:37] local.INFO: GPS data processed {"connection_id":190673,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:33:37] local.INFO: Acknowledgment sent {"connection_id":190673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:33:51] local.INFO: TCP Data received {"connection_id":193361,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb74c28012c560b8009c50550025d007427..."} 
[2026-09-23 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb74c28012c560b8009c50550025d007427..."} 
[2026-09-23 15:33:51] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb74c28012c560b8009c50550025d007427..."} 
[2026-09-23 15:33:51] local.INFO: Packet analysis {"connection_id":193361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33:51] local.INFO: Extracted packet for processing {"connection_id":193361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":743836544,"raw_latitude":163906896,"longitude_deg":74.3836544,"latitude_deg":16.3906896,"altitude":605,"angle":116,"satellites":39,"speed":9,"hex_longitude":"2c560b80","hex_latitude":"09c50550","is_valid_coordinates":true} 
[2026-09-23 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:33:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790157737000,"timestamp_ms":1790157737000,"timestamp_seconds":1790157737,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb74c28"} 
[2026-09-23 15:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 15:33:51] 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-09-23 15:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"111":206,"9":7680,"24":9,"16":3605341577150464},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-23 15:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 15:33:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:33:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:33:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_111":206,"unknown_9":7680,"ignition":9,"odometer":null}} 
[2026-09-23 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":193361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:33:51] local.INFO: GPS data processed {"connection_id":193361,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:33:51] local.INFO: Acknowledgment sent {"connection_id":193361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:33:58] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:58] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:58] local.INFO: IMEI packet received {"connection_id":192016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":192016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:33:59] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:59] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:33:59] local.INFO: IMEI packet received {"connection_id":192016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":192016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:03] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:34:03] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:34:03] local.INFO: IMEI packet received {"connection_id":192016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":192016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:04] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 15:34:04] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-23 15:34:04] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 15:34:04] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-23 15:34: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-09-23 15: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-09-23 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:04] 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-09-23 15:34:04] 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-09-23 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 15:34:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 15:34:04] local.ERROR: GPS data processing failed {"connection_id":192016,"error":"No valid data to process"} 
[2026-09-23 15:34:04] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 15:34:08] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb78e90012d3ff80006cba1e0002c010221..."} 
[2026-09-23 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb78e90012d3ff80006cba1e0002c010221..."} 
[2026-09-23 15:34:08] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb78e90012d3ff80006cba1e0002c010221..."} 
[2026-09-23 15:34:08] local.INFO: Packet analysis {"connection_id":190673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:08] local.INFO: Extracted packet for processing {"connection_id":190673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":759166976,"raw_latitude":114008544,"longitude_deg":75.9166976,"latitude_deg":11.4008544,"altitude":44,"angle":258,"satellites":33,"speed":11,"hex_longitude":"2d3ff800","hex_latitude":"06cba1e0","is_valid_coordinates":true} 
[2026-09-23 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280381952001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406541512382349312,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4615345222310942720,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157754000,"timestamp_ms":1790157754000,"timestamp_seconds":1790157754,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb78e90"} 
[2026-09-23 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:34: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-09-23 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:34: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-09-23 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280381952001,"66":27919,"148":206,"81":21504,"24":11,"16":406541512382349312,"45":4615345222310942720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,81,24,16,45]} 
[2026-09-23 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280381952001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:34:08] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-23 15:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406541512382349312,"km_value":406541512382349.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4615345222310942720,"description":"Unknown IO ID 45"} 
[2026-09-23 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280381952001,"power":27919,"unknown_148":206,"unknown_81":21504,"ignition":11,"odometer":null,"unknown_45":4615345222310942720}} 
[2026-09-23 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:34:08] local.INFO: GPS data processed {"connection_id":190673,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:34:08] local.INFO: Acknowledgment sent {"connection_id":190673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:34:09] local.INFO: TCP Data received {"connection_id":193362,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:09] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:09] local.INFO: IMEI packet received {"connection_id":193362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":193362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:34:12] local.INFO: TCP Data received {"connection_id":193362,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:12] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:12] local.INFO: IMEI packet received {"connection_id":193362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":193362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:14] local.INFO: TCP Data received {"connection_id":193362,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:14] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:34:14] local.INFO: IMEI packet received {"connection_id":193362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":193362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:16] local.INFO: TCP Data received {"connection_id":193362,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb79a48012c560b8009c50550025d007427..."} 
[2026-09-23 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb79a48012c560b8009c50550025d007427..."} 
[2026-09-23 15:34:16] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb79a48012c560b8009c50550025d007427..."} 
[2026-09-23 15:34:16] local.INFO: Packet analysis {"connection_id":193362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:16] local.INFO: Extracted packet for processing {"connection_id":193362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":743836544,"raw_latitude":163906896,"longitude_deg":74.3836544,"latitude_deg":16.3906896,"altitude":605,"angle":116,"satellites":39,"speed":0,"hex_longitude":"2c560b80","hex_latitude":"09c50550","is_valid_coordinates":true} 
[2026-09-23 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280380672001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6200190091454140418,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790157757000,"timestamp_ms":1790157757000,"timestamp_seconds":1790157757,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb79a48"} 
[2026-09-23 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-23 15:34:16] 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-09-23 15:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280380672001,"66":28300,"111":206,"9":7680,"24":0,"16":3605341577150464,"44":6200190091454140418},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280380672001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6200190091454140418,"description":"Unknown IO ID 44"} 
[2026-09-23 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280380672001,"power":28300,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6200190091454140418}} 
[2026-09-23 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":193362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:34:16] local.INFO: GPS data processed {"connection_id":193362,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:34:16] local.INFO: Acknowledgment sent {"connection_id":193362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:34:30] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:30] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:30] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:34:31] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:31] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:31] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:33] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:33] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:34:33] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:34:48] local.INFO: TCP Data received {"connection_id":193362,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb7ec50012c56388009c4ee100260007729..."} 
[2026-09-23 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb7ec50012c56388009c4ee100260007729..."} 
[2026-09-23 15:34:48] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb7ec50012c56388009c4ee100260007729..."} 
[2026-09-23 15:34:48] local.INFO: Packet analysis {"connection_id":193362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:48] local.INFO: Extracted packet for processing {"connection_id":193362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb7"} 
[2026-09-23 15:34:48] local.INFO: GPS Element Parsed {"raw_longitude":743848064,"raw_latitude":163900944,"longitude_deg":74.3848064,"latitude_deg":16.3900944,"altitude":608,"angle":119,"satellites":41,"speed":0,"hex_longitude":"2c563880","hex_latitude":"09c4ee10","is_valid_coordinates":true} 
[2026-09-23 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280385792001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6200190091454140418,"note":"Value kept but may cause issues"} 
[2026-09-23 15:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790157778000,"timestamp_ms":1790157778000,"timestamp_seconds":1790157778,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb7ec50"} 
[2026-09-23 15:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 15:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280385792001,"66":28430,"111":206,"9":7680,"24":0,"16":3605341577150464,"44":6200190091454140418},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280385792001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":6200190091454140418,"description":"Unknown IO ID 44"} 
[2026-09-23 15:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280385792001,"power":28430,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6200190091454140418}} 
[2026-09-23 15:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":193362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:34:48] local.INFO: GPS data processed {"connection_id":193362,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:34:48] local.INFO: Acknowledgment sent {"connection_id":193362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:35:04] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 15:35:04] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-23 15:35:04] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:35:04] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:35: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-09-23 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-09-23 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:04] 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-09-23 15:35:04] 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-09-23 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 15:35:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 15:35:04] local.ERROR: GPS data processing failed {"connection_id":192016,"error":"No valid data to process"} 
[2026-09-23 15:35:04] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 15:35:09] local.INFO: TCP Data received {"connection_id":190490,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:09] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:09] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:35:15] local.INFO: TCP Data received {"connection_id":190490,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:15] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:35:15] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:35:18] local.INFO: TCP Data received {"connection_id":190490,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb83a70012c56388009c4ee100260007729..."} 
[2026-09-23 15:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb83a70012c56388009c4ee100260007729..."} 
[2026-09-23 15:35:18] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb83a70012c56388009c4ee100260007729..."} 
[2026-09-23 15:35:18] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:35:18] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":743848064,"raw_latitude":163900944,"longitude_deg":74.3848064,"latitude_deg":16.3900944,"altitude":608,"angle":119,"satellites":41,"speed":0,"hex_longitude":"2c563880","hex_latitude":"09c4ee10","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280391168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6212856465404596226,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790157798000,"timestamp_ms":1790157798000,"timestamp_seconds":1790157798,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb83a70"} 
[2026-09-23 15:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 15:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280391168001,"66":28137,"111":206,"9":7680,"24":0,"16":3605341577150464,"44":6212856465404596226},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280391168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:35:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:35:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":6212856465404596226,"description":"Unknown IO ID 44"} 
[2026-09-23 15:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280391168001,"power":28137,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6212856465404596226}} 
[2026-09-23 15:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:35:18] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:35:18] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:35:50] local.INFO: TCP Data received {"connection_id":190490,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb884a8012c56674009c4cc300258008529..."} 
[2026-09-23 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb884a8012c56674009c4cc300258008529..."} 
[2026-09-23 15:35:50] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb884a8012c56674009c4cc300258008529..."} 
[2026-09-23 15:35:50] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:35:50] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":743860032,"raw_latitude":163892272,"longitude_deg":74.3860032,"latitude_deg":16.3892272,"altitude":600,"angle":133,"satellites":41,"speed":25,"hex_longitude":"2c566740","hex_latitude":"09c4cc30","is_valid_coordinates":true} 
[2026-09-23 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280396288001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6212856465404596226,"note":"Value kept but may cause issues"} 
[2026-09-23 15:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790157817000,"timestamp_ms":1790157817000,"timestamp_seconds":1790157817,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb884a8"} 
[2026-09-23 15:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:35: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-09-23 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-23 15:35:50] 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-09-23 15:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280396288001,"66":28256,"111":206,"9":7680,"24":25,"16":3605341577150464,"44":6212856465404596226},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280396288001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:35:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:35:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":6212856465404596226,"description":"Unknown IO ID 44"} 
[2026-09-23 15:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280396288001,"power":28256,"unknown_111":206,"unknown_9":7680,"ignition":25,"odometer":null,"unknown_44":6212856465404596226}} 
[2026-09-23 15:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:35:50] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:35:50] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:36:08] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 15:36:08] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-23 15:36:08] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:36:08] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,147,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:36:08] 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-09-23 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 15:36:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 15:36:08] local.ERROR: GPS data processing failed {"connection_id":192016,"error":"No valid data to process"} 
[2026-09-23 15:36:08] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 15:36:09] local.INFO: TCP Data received {"connection_id":192019,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:09] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:09] local.INFO: IMEI packet received {"connection_id":192019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":192019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:36:14] local.INFO: TCP Data received {"connection_id":192019,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:14] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:36:14] local.INFO: IMEI packet received {"connection_id":192019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":192019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:36:16] local.INFO: TCP Data received {"connection_id":192019,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb8d6b0012c56674009c4cc300258008529..."} 
[2026-09-23 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb8d6b0012c56674009c4cc300258008529..."} 
[2026-09-23 15:36:16] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb8d6b0012c56674009c4cc300258008529..."} 
[2026-09-23 15:36:16] local.INFO: Packet analysis {"connection_id":192019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:36:16] local.INFO: Extracted packet for processing {"connection_id":192019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb8"} 
[2026-09-23 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":743860032,"raw_latitude":163892272,"longitude_deg":74.3860032,"latitude_deg":16.3892272,"altitude":600,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2c566740","hex_latitude":"09c4cc30","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280401152001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6226015420563599362,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790157838000,"timestamp_ms":1790157838000,"timestamp_seconds":1790157838,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb8d6b0"} 
[2026-09-23 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 15:36:16] 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-09-23 15: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-09-23 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280401152001,"66":28376,"111":206,"9":7680,"24":0,"16":3605341577150464,"44":6226015420563599362},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280401152001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:36:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:36:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:36:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6226015420563599362,"description":"Unknown IO ID 44"} 
[2026-09-23 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280401152001,"power":28376,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6226015420563599362}} 
[2026-09-23 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":192019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:36:16] local.INFO: GPS data processed {"connection_id":192019,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:36:16] local.INFO: Acknowledgment sent {"connection_id":192019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:36:33] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 15:36:33] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-23 15:36:33] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:36:33] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-23 15:36: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-09-23 15: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-09-23 15:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:36:33] 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-09-23 15:36:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 15:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-23 15:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 15:36:33] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 15:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 15:36:33] local.ERROR: GPS data processing failed {"connection_id":192016,"error":"No valid data to process"} 
[2026-09-23 15:36:33] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 15:36:47] local.INFO: TCP Data received {"connection_id":192019,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb91148012c56834009c4abd00258009128..."} 
[2026-09-23 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb91148012c56834009c4abd00258009128..."} 
[2026-09-23 15:36:47] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb91148012c56834009c4abd00258009128..."} 
[2026-09-23 15:36:47] local.INFO: Packet analysis {"connection_id":192019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:36:47] local.INFO: Extracted packet for processing {"connection_id":192019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":743867200,"raw_latitude":163883984,"longitude_deg":74.38672,"latitude_deg":16.3883984,"altitude":600,"angle":145,"satellites":40,"speed":14,"hex_longitude":"2c568340","hex_latitude":"09c4abd0","is_valid_coordinates":true} 
[2026-09-23 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280406528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6226015420563599362,"note":"Value kept but may cause issues"} 
[2026-09-23 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790157853000,"timestamp_ms":1790157853000,"timestamp_seconds":1790157853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb91148"} 
[2026-09-23 15:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 15:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280406528001,"66":28267,"111":206,"9":7680,"24":14,"16":3605341577150464,"44":6226015420563599362},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280406528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:36:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:36:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":6226015420563599362,"description":"Unknown IO ID 44"} 
[2026-09-23 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280406528001,"power":28267,"unknown_111":206,"unknown_9":7680,"ignition":14,"odometer":null,"unknown_44":6226015420563599362}} 
[2026-09-23 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":192019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:36:47] local.INFO: GPS data processed {"connection_id":192019,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:36:47] local.INFO: Acknowledgment sent {"connection_id":192019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:37:06] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdba1ae80100000000000000000000000000..."} 
[2026-09-23 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdba1ae80100000000000000000000000000..."} 
[2026-09-23 15:37:06] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdba1ae80100000000000000000000000000..."} 
[2026-09-23 15:37:06] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:37:06] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:37:06] 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-09-23 15: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-09-23 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:37:06] 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-09-23 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790157921000,"timestamp_ms":1790157921000,"timestamp_seconds":1790157921,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdba1ae8"} 
[2026-09-23 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:37:06] local.INFO: GPS data processed {"connection_id":192016,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:37:06] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:37:09] local.INFO: TCP Data received {"connection_id":190491,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:09] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:09] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:37:15] local.INFO: TCP Data received {"connection_id":190491,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:15] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:37:15] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:37:18] local.INFO: TCP Data received {"connection_id":190491,"ip":"117.224.152.54","data_length":93,"data_hex":"00000000000000518e01000001a0cdb99de80100000000000000000000000000..."} 
[2026-09-23 15:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":93,"packet_hex":"00000000000000518e01000001a0cdb99de80100000000000000000000000000..."} 
[2026-09-23 15:37:18] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0cdb99de80100000000000000000000000000..."} 
[2026-09-23 15:37:18] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0cdb9"} 
[2026-09-23 15:37:18] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0cdb9"} 
[2026-09-23 15:37: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-09-23 15:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-23 15:37:18] 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-09-23 15:37:18] 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-09-23 15:37:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:37:18] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-23 15:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-23 15:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-23 15:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-23 15:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-23 15:37:18] local.WARNING: DEBUG: No valid data to process  
[2026-09-23 15:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-23 15:37:18] local.ERROR: GPS data processing failed {"connection_id":190491,"error":"No valid data to process"} 
[2026-09-23 15:37:18] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-23 15:37:37] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdba6cf00100000000000000000000000000..."} 
[2026-09-23 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdba6cf00100000000000000000000000000..."} 
[2026-09-23 15:37:37] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdba6cf00100000000000000000000000000..."} 
[2026-09-23 15:37:37] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:37:37] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:37:37] 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-09-23 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790157942000,"timestamp_ms":1790157942000,"timestamp_seconds":1790157942,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdba6cf0"} 
[2026-09-23 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 15:37: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-09-23 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:37:37] local.INFO: GPS data processed {"connection_id":192016,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:37:37] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:37:59] local.INFO: TCP Data received {"connection_id":190491,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb97ea8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb97ea8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:37:59] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb97ea8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:37:59] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:37:59] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":743873216,"raw_latitude":163874000,"longitude_deg":74.3873216,"latitude_deg":16.3874,"altitude":601,"angle":156,"satellites":42,"speed":9,"hex_longitude":"2c569ac0","hex_latitude":"09c484d0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:37:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790157881000,"timestamp_ms":1790157881000,"timestamp_seconds":1790157881,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb97ea8"} 
[2026-09-23 15:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:37:59] 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-09-23 15: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-09-23 15:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"111":206,"9":7680,"24":9,"16":3605341577150464},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-23 15:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 15:37:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:37:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:37:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_111":206,"unknown_9":7680,"ignition":9,"odometer":null}} 
[2026-09-23 15:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:37:59] local.INFO: GPS data processed {"connection_id":190491,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:37:59] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:02] local.INFO: TCP Data received {"connection_id":193363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:02] local.INFO: Processing buffer {"connection_id":193363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:02] local.INFO: IMEI packet received {"connection_id":193363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":193363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:38:02] local.INFO: TCP Data received {"connection_id":193363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbb72a8012d1821c00721a4800049013e27..."} 
[2026-09-23 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbb72a8012d1821c00721a4800049013e27..."} 
[2026-09-23 15:38:03] local.INFO: Processing buffer {"connection_id":193363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbb72a8012d1821c00721a4800049013e27..."} 
[2026-09-23 15:38:03] local.INFO: Packet analysis {"connection_id":193363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38:03] local.INFO: Extracted packet for processing {"connection_id":193363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645312,"longitude_deg":75.6556224,"latitude_deg":11.9645312,"altitude":73,"angle":318,"satellites":39,"speed":15,"hex_longitude":"2d1821c0","hex_latitude":"0721a480","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280448512001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729516686245888,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742752348932476928,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790158009000,"timestamp_ms":1790158009000,"timestamp_seconds":1790158009,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbb72a8"} 
[2026-09-23 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-09-23 15: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-09-23 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10414582744023040,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633559167744,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3451579864,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2147950977,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2184708171,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3458841484602966016,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3208118272,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-3458433454864070879,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,192,160,71,45,128,146,77,39,10,66,36,131,78,41,191,28,1,240,109,227,205,33,4,113,253,40,239,54,106,2,80,7,74,37,155],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-23 15:38:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476713764946575360,"timestamp_seconds":5476713764946575.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280448512001,"66":13722,"105":206,"83":41984,"24":15,"16":22729516686245888,"45":1742752348932476928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280448512001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:38:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 15:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729516686245888,"km_value":22729516686245.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742752348932476928,"description":"Unknown IO ID 45"} 
[2026-09-23 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280448512001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1742752348932476928}} 
[2026-09-23 15:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":193363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:38:03] local.INFO: GPS data processed {"connection_id":193363,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:38:03] local.INFO: Acknowledgment sent {"connection_id":193363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:08] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbabef80100000000000000000000000000..."} 
[2026-09-23 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbabef80100000000000000000000000000..."} 
[2026-09-23 15:38:08] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbabef80100000000000000000000000000..."} 
[2026-09-23 15:38:08] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:38:08] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdba"} 
[2026-09-23 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:08] 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-09-23 15:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790157963000,"timestamp_ms":1790157963000,"timestamp_seconds":1790157963,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbabef8"} 
[2026-09-23 15:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:38:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 15:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:38:08] local.INFO: GPS data processed {"connection_id":192016,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:38:08] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:24] local.INFO: TCP Data received {"connection_id":190678,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:24] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:24] local.INFO: IMEI packet received {"connection_id":190678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":190678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:38:30] local.INFO: TCP Data received {"connection_id":190678,"ip":"117.224.152.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:30] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:38:30] local.INFO: IMEI packet received {"connection_id":190678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":190678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:38:34] local.INFO: TCP Data received {"connection_id":193363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbb7e60012d181f800721a610004a011f27..."} 
[2026-09-23 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbb7e60012d181f800721a610004a011f27..."} 
[2026-09-23 15:38:34] local.INFO: Processing buffer {"connection_id":193363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbb7e60012d181f800721a610004a011f27..."} 
[2026-09-23 15:38:34] local.INFO: Packet analysis {"connection_id":193363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38:34] local.INFO: Extracted packet for processing {"connection_id":193363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645712,"longitude_deg":75.6555648,"latitude_deg":11.9645712,"altitude":74,"angle":287,"satellites":39,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721a610","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280450304001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729551045984256,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003454976,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158012000,"timestamp_ms":1790158012000,"timestamp_seconds":1790158012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbb7e60"} 
[2026-09-23 15:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:38: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-09-23 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 15:38:34] 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-09-23 15: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-09-23 15:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280450304001,"66":14004,"105":206,"83":41984,"24":7,"16":22729551045984256,"45":1738882068003454976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280450304001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:38:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 15:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729551045984256,"km_value":22729551045984.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003454976,"description":"Unknown IO ID 45"} 
[2026-09-23 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280450304001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738882068003454976}} 
[2026-09-23 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":193363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:38:34] local.INFO: GPS data processed {"connection_id":193363,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:38:34] local.INFO: Acknowledgment sent {"connection_id":193363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:38] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:38] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:38] local.INFO: IMEI packet received {"connection_id":190679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":190679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:38:41] local.INFO: TCP Data received {"connection_id":190678,"ip":"117.224.152.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdb9ccc8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdb9ccc8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:38:41] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdb9ccc8012c569ac009c484d00259009c2a..."} 
[2026-09-23 15:38:41] local.INFO: Packet analysis {"connection_id":190678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:38:41] local.INFO: Extracted packet for processing {"connection_id":190678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdb9"} 
[2026-09-23 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":743873216,"raw_latitude":163874000,"longitude_deg":74.3873216,"latitude_deg":16.3874,"altitude":601,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2c569ac0","hex_latitude":"09c484d0","is_valid_coordinates":true} 
[2026-09-23 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280417536001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6240511381859520514,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790157901000,"timestamp_ms":1790157901000,"timestamp_seconds":1790157901,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdb9ccc8"} 
[2026-09-23 15:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 15:38:41] 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-09-23 15:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 15:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.152.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 15:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 15:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280417536001,"66":28354,"111":206,"9":7680,"24":0,"16":3605341577150464,"44":6240511381859520514},"client_ip":"117.224.152.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-23 15:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 15:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 15:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280417536001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:38:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-23 15:38:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 15:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":6240511381859520514,"description":"Unknown IO ID 44"} 
[2026-09-23 15:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280417536001,"power":28354,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6240511381859520514}} 
[2026-09-23 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":190678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:38:41] local.INFO: GPS data processed {"connection_id":190678,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:38:41] local.INFO: Acknowledgment sent {"connection_id":190678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:43] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:43] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:38:43] local.INFO: IMEI packet received {"connection_id":190679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":190679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:38:44] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbb11000100000000000000000000000000..."} 
[2026-09-23 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbb11000100000000000000000000000000..."} 
[2026-09-23 15:38:44] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbb11000100000000000000000000000000..."} 
[2026-09-23 15:38:44] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38:44] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:38: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-09-23 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:38:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,147,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790157984000,"timestamp_ms":1790157984000,"timestamp_seconds":1790157984,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbb1100"} 
[2026-09-23 15:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 15:38:44] 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-09-23 15:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:38:44] local.INFO: GPS data processed {"connection_id":190679,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:38:44] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:38:56] local.INFO: TCP Data received {"connection_id":193365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:56] local.INFO: Processing buffer {"connection_id":193365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:38:56] local.INFO: IMEI packet received {"connection_id":193365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":193365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:39:02] local.INFO: TCP Data received {"connection_id":193365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:39:02] local.INFO: Processing buffer {"connection_id":193365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:39:02] local.INFO: IMEI packet received {"connection_id":193365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":193365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:39:02] local.INFO: TCP Data received {"connection_id":193365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbb8248012d181e800721a6100049010628..."} 
[2026-09-23 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbb8248012d181e800721a6100049010628..."} 
[2026-09-23 15:39:02] local.INFO: Processing buffer {"connection_id":193365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbb8248012d181e800721a6100049010628..."} 
[2026-09-23 15:39:02] local.INFO: Packet analysis {"connection_id":193365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:02] local.INFO: Extracted packet for processing {"connection_id":193365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645712,"longitude_deg":75.6555392,"latitude_deg":11.9645712,"altitude":73,"angle":262,"satellites":40,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721a610","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280451072001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729559635918848,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305958400,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158013000,"timestamp_ms":1790158013000,"timestamp_seconds":1790158013,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbb8248"} 
[2026-09-23 15:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39: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-09-23 15:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 15:39:02] 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-09-23 15: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-09-23 15:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280451072001,"66":14070,"105":206,"83":41984,"24":8,"16":22729559635918848,"45":1738248749305958400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 15:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280451072001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729559635918848,"km_value":22729559635918.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305958400,"description":"Unknown IO ID 45"} 
[2026-09-23 15:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280451072001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738248749305958400}} 
[2026-09-23 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":193365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:39:03] local.INFO: GPS data processed {"connection_id":193365,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:39:03] local.INFO: Acknowledgment sent {"connection_id":193365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:39:16] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbb63080100000000000000000000000000..."} 
[2026-09-23 15:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbb63080100000000000000000000000000..."} 
[2026-09-23 15:39:16] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbb63080100000000000000000000000000..."} 
[2026-09-23 15:39:16] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:16] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39: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-09-23 15:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:16] 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-09-23 15:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790158005000,"timestamp_ms":1790158005000,"timestamp_seconds":1790158005,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbb6308"} 
[2026-09-23 15:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 15:39: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-09-23 15:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:39:16] local.INFO: GPS data processed {"connection_id":190679,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:39:16] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:39:34] local.INFO: TCP Data received {"connection_id":193365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbba188012d181c800721a4c0004900de27..."} 
[2026-09-23 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbba188012d181c800721a4c0004900de27..."} 
[2026-09-23 15:39:34] local.INFO: Processing buffer {"connection_id":193365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbba188012d181c800721a4c0004900de27..."} 
[2026-09-23 15:39:34] local.INFO: Packet analysis {"connection_id":193365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:34] local.INFO: Extracted packet for processing {"connection_id":193365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645376,"longitude_deg":75.655488,"latitude_deg":11.9645376,"altitude":73,"angle":222,"satellites":39,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a4c0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280451328001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729593995657216,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329247744,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158021000,"timestamp_ms":1790158021000,"timestamp_seconds":1790158021,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbba188"} 
[2026-09-23 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 15:39:34] 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-09-23 15: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-09-23 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280451328001,"66":13515,"107":206,"83":41984,"24":9,"16":22729593995657216,"45":1737967274329247744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280451328001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:39:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729593995657216,"km_value":22729593995657.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329247744,"description":"Unknown IO ID 45"} 
[2026-09-23 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280451328001,"power":13515,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329247744}} 
[2026-09-23 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":193365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:39:34] local.INFO: GPS data processed {"connection_id":193365,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:39:34] local.INFO: Acknowledgment sent {"connection_id":193365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:39:34] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:34] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:34] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:39:36] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:36] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:39:36] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:39:37] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbcbac8012d3dc8c006cb5be00030010426..."} 
[2026-09-23 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbcbac8012d3dc8c006cb5be00030010426..."} 
[2026-09-23 15:39:37] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbcbac8012d3dc8c006cb5be00030010426..."} 
[2026-09-23 15:39:37] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:39:37] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":759023808,"raw_latitude":113990624,"longitude_deg":75.9023808,"latitude_deg":11.3990624,"altitude":48,"angle":260,"satellites":38,"speed":24,"hex_longitude":"2d3dc8c0","hex_latitude":"06cb5be0","is_valid_coordinates":true} 
[2026-09-23 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280470272001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406548964150607872,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4456030385488250880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:37] 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-09-23 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158093000,"timestamp_ms":1790158093000,"timestamp_seconds":1790158093,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbcbac8"} 
[2026-09-23 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39: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-09-23 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 15:39: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-09-23 15:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:39: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-09-23 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280470272001,"66":27789,"78":206,"81":21504,"24":24,"16":406548964150607872,"45":4456030385488250880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280470272001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:39:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406548964150607872,"km_value":406548964150607.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4456030385488250880,"description":"Unknown IO ID 45"} 
[2026-09-23 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280470272001,"power":27789,"unknown_78":206,"unknown_81":21504,"ignition":24,"odometer":null,"unknown_45":4456030385488250880}} 
[2026-09-23 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:39:37] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:39:37] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:39:41] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbcfd30012d3db18006cb57a0002900f924..."} 
[2026-09-23 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbcfd30012d3db18006cb57a0002900f924..."} 
[2026-09-23 15:39:41] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbcfd30012d3db18006cb57a0002900f924..."} 
[2026-09-23 15:39:41] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:39:41] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:39:41] local.INFO: GPS Element Parsed {"raw_longitude":759017856,"raw_latitude":113989536,"longitude_deg":75.9017856,"latitude_deg":11.3989536,"altitude":41,"angle":249,"satellites":36,"speed":19,"hex_longitude":"2d3db180","hex_latitude":"06cb57a0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280471808001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406549251913416704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4452019367069868032,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39: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-09-23 15:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790158110000,"timestamp_ms":1790158110000,"timestamp_seconds":1790158110,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbcfd30"} 
[2026-09-23 15:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39: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-09-23 15:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 15:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:39: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-09-23 15:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280471808001,"66":27930,"78":206,"81":21504,"24":19,"16":406549251913416704,"45":4452019367069868032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280471808001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406549251913416704,"km_value":406549251913416.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4452019367069868032,"description":"Unknown IO ID 45"} 
[2026-09-23 15:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280471808001,"power":27930,"unknown_78":206,"unknown_81":21504,"ignition":19,"odometer":null,"unknown_45":4452019367069868032}} 
[2026-09-23 15:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:39:41] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:39:41] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:39:47] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbb5100100000000000000000000000000..."} 
[2026-09-23 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbb5100100000000000000000000000000..."} 
[2026-09-23 15:39:47] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbb5100100000000000000000000000000..."} 
[2026-09-23 15:39:47] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39:47] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:39: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-09-23 15:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:39:47] 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-09-23 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790158026000,"timestamp_ms":1790158026000,"timestamp_seconds":1790158026,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbb510"} 
[2026-09-23 15:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:39: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-09-23 15:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:39:47] local.INFO: GPS data processed {"connection_id":190679,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:39:47] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:02] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:02] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:02] local.INFO: IMEI packet received {"connection_id":193366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":193366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:40:07] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:07] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:07] local.INFO: IMEI packet received {"connection_id":193366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":193366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:40:07] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbb128012d18190007219fd8004900d026..."} 
[2026-09-23 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbb128012d18190007219fd8004900d026..."} 
[2026-09-23 15:40:07] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbb128012d18190007219fd8004900d026..."} 
[2026-09-23 15:40:07] local.INFO: Packet analysis {"connection_id":193366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:40:07] local.INFO: Extracted packet for processing {"connection_id":193366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644120,"longitude_deg":75.6553984,"latitude_deg":11.964412,"altitude":73,"angle":208,"satellites":38,"speed":20,"hex_longitude":"2d181900","hex_latitude":"07219fd8","is_valid_coordinates":true} 
[2026-09-23 15:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280453376001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729667010101248,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375740416,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790158025000,"timestamp_ms":1790158025000,"timestamp_seconds":1790158025,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbb128"} 
[2026-09-23 15:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 15:40: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-09-23 15:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280453376001,"66":13417,"107":206,"83":41984,"24":20,"16":22729667010101248,"45":1737404324375740416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280453376001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:40:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729667010101248,"km_value":22729667010101.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375740416,"description":"Unknown IO ID 45"} 
[2026-09-23 15:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280453376001,"power":13417,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1737404324375740416}} 
[2026-09-23 15:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":193366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:40:08] local.INFO: GPS data processed {"connection_id":193366,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:40:08] local.INFO: Acknowledgment sent {"connection_id":193366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:12] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:40:12] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:40:12] local.INFO: Packet analysis {"connection_id":193366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:40:12] local.INFO: Extracted packet for processing {"connection_id":193366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642688,"longitude_deg":75.655328,"latitude_deg":11.9642688,"altitude":73,"angle":208,"satellites":38,"speed":21,"hex_longitude":"2d181640","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-09-23 15:40: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-09-23 15:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280454400001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956931584,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790158028000,"timestamp_ms":1790158028000,"timestamp_seconds":1790158028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbbce0"} 
[2026-09-23 15:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-23 15:40:12] 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-09-23 15: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-09-23 15:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280454400001,"66":13287,"107":206,"83":41984,"24":21,"16":22729744319512576,"45":1736419161956931584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280454400001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956931584,"description":"Unknown IO ID 45"} 
[2026-09-23 15:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280454400001,"power":13287,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1736419161956931584}} 
[2026-09-23 15:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":193366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:40:12] local.INFO: GPS data processed {"connection_id":193366,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:40:12] local.INFO: Acknowledgment sent {"connection_id":193366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:13] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbd4f38012d3d944006cb4c70002400f626..."} 
[2026-09-23 15:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbd4f38012d3d944006cb4c70002400f626..."} 
[2026-09-23 15:40:13] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbd4f38012d3d944006cb4c70002400f626..."} 
[2026-09-23 15:40:13] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:40:13] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:40:13] local.INFO: GPS Element Parsed {"raw_longitude":759010368,"raw_latitude":113986672,"longitude_deg":75.9010368,"latitude_deg":11.3986672,"altitude":36,"angle":246,"satellites":38,"speed":23,"hex_longitude":"2d3d9440","hex_latitude":"06cb4c70","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280476160001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406549634165506048,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4445475073861066752,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:13] 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-09-23 15:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790158131000,"timestamp_ms":1790158131000,"timestamp_seconds":1790158131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbd4f38"} 
[2026-09-23 15:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:40: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-09-23 15:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280476160001,"66":27974,"78":206,"81":21504,"24":23,"16":406549634165506048,"45":4445475073861066752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280476160001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:40:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406549634165506048,"km_value":406549634165506.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4445475073861066752,"description":"Unknown IO ID 45"} 
[2026-09-23 15:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280476160001,"power":27974,"unknown_78":206,"unknown_81":21504,"ignition":23,"odometer":null,"unknown_45":4445475073861066752}} 
[2026-09-23 15:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:40:13] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:40:13] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:18] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbc07180100000000000000000000000000..."} 
[2026-09-23 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbc07180100000000000000000000000000..."} 
[2026-09-23 15:40:18] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbc07180100000000000000000000000000..."} 
[2026-09-23 15:40:18] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:40:18] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:40: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-09-23 15: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-09-23 15:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:18] 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-09-23 15:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790158047000,"timestamp_ms":1790158047000,"timestamp_seconds":1790158047,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbc0718"} 
[2026-09-23 15:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:40:18] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:40: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-09-23 15: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-09-23 15:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:40:18] local.INFO: GPS data processed {"connection_id":190679,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:40:18] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:31] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:40:31] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:31] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:40:36] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:36] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:40:36] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:40:37] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbd62c0012d3d890006cb4888001f010524..."} 
[2026-09-23 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbd62c0012d3d890006cb4888001f010524..."} 
[2026-09-23 15:40:37] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbd62c0012d3d890006cb4888001f010524..."} 
[2026-09-23 15:40:37] local.INFO: Packet analysis {"connection_id":190493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:40:37] local.INFO: Extracted packet for processing {"connection_id":190493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":759007488,"raw_latitude":113985672,"longitude_deg":75.9007488,"latitude_deg":11.3985672,"altitude":31,"angle":261,"satellites":36,"speed":23,"hex_longitude":"2d3d8900","hex_latitude":"06cb4888","is_valid_coordinates":true} 
[2026-09-23 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280481536001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406549780194394112,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437241930791546880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40:37] 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-09-23 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158136000,"timestamp_ms":1790158136000,"timestamp_seconds":1790158136,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbd62c0"} 
[2026-09-23 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:40: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-09-23 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:40: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-09-23 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280481536001,"66":27974,"78":206,"81":21504,"24":23,"16":406549780194394112,"45":4437241930791546880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280481536001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:40:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406549780194394112,"km_value":406549780194394.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437241930791546880,"description":"Unknown IO ID 45"} 
[2026-09-23 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280481536001,"power":27974,"unknown_78":206,"unknown_81":21504,"ignition":23,"odometer":null,"unknown_45":4437241930791546880}} 
[2026-09-23 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":190493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:40:37] local.INFO: GPS data processed {"connection_id":190493,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:40:37] local.INFO: Acknowledgment sent {"connection_id":190493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:49] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbc59200100000000000000000000000000..."} 
[2026-09-23 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbc59200100000000000000000000000000..."} 
[2026-09-23 15:40:49] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbc59200100000000000000000000000000..."} 
[2026-09-23 15:40:49] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:40:49] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbc"} 
[2026-09-23 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450382122287104,"note":"Value kept but may cause issues"} 
[2026-09-23 15:40: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-09-23 15:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790158068000,"timestamp_ms":1790158068000,"timestamp_seconds":1790158068,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbc5920"} 
[2026-09-23 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-09-23 15:40:49] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":60,"data_length":795,"current_offset":136} 
[2026-09-23 15:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 15:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 15:40:49] local.INFO: GPS data processed {"connection_id":190679,"processed":0,"errors":0,"total":1} 
[2026-09-23 15:40:49] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:40:57] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:57] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:40:57] local.INFO: IMEI packet received {"connection_id":192021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":192021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:41:02] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:02] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:02] local.INFO: IMEI packet received {"connection_id":192021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":192021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:41:02] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:02] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:02] local.INFO: Packet analysis {"connection_id":192021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:41:02] local.INFO: Extracted packet for processing {"connection_id":192021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642688,"longitude_deg":75.655328,"latitude_deg":11.9642688,"altitude":73,"angle":208,"satellites":38,"speed":21,"hex_longitude":"2d181640","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-09-23 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158028000,"timestamp_ms":1790158028000,"timestamp_seconds":1790158028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbbce0"} 
[2026-09-23 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:41:02] 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-09-23 15: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-09-23 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":13287,"107":206,"83":41984,"24":21,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":13287,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:03] local.INFO: GPS data processed {"connection_id":192021,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:03] local.INFO: Acknowledgment sent {"connection_id":192021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:41:08] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbd85e8012d3d75c006cb46e8001b011026..."} 
[2026-09-23 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbd85e8012d3d75c006cb46e8001b011026..."} 
[2026-09-23 15:41:08] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbd85e8012d3d75c006cb46e8001b011026..."} 
[2026-09-23 15:41:08] local.INFO: Packet analysis {"connection_id":190493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:41:08] local.INFO: Extracted packet for processing {"connection_id":190493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":759002560,"raw_latitude":113985256,"longitude_deg":75.900256,"latitude_deg":11.3985256,"altitude":27,"angle":272,"satellites":38,"speed":17,"hex_longitude":"2d3d75c0","hex_latitude":"06cb46e8","is_valid_coordinates":true} 
[2026-09-23 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280482816001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406550016417595392,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4434075337303296000,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:08] 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-09-23 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158145000,"timestamp_ms":1790158145000,"timestamp_seconds":1790158145,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbd85e8"} 
[2026-09-23 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:41: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-09-23 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280482816001,"66":27974,"78":206,"81":21504,"24":17,"16":406550016417595392,"45":4434075337303296000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280482816001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406550016417595392,"km_value":406550016417595.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4434075337303296000,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280482816001,"power":27974,"unknown_78":206,"unknown_81":21504,"ignition":17,"odometer":null,"unknown_45":4434075337303296000}} 
[2026-09-23 15:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":190493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:08] local.INFO: GPS data processed {"connection_id":190493,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:08] local.INFO: Acknowledgment sent {"connection_id":190493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:41:22] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbf81b8012d0b834007034428000c002d0e..."} 
[2026-09-23 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbf81b8012d0b834007034428000c002d0e..."} 
[2026-09-23 15:41:22] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbf81b8012d0b834007034428000c002d0e..."} 
[2026-09-23 15:41:22] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:41:22] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755729216,"raw_latitude":117654568,"longitude_deg":75.5729216,"latitude_deg":11.7654568,"altitude":12,"angle":45,"satellites":14,"speed":12,"hex_longitude":"2d0b8340","hex_latitude":"07034428","is_valid_coordinates":true} 
[2026-09-23 15:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280518144001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450669885095936,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829295680253284352,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41: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-09-23 15:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790158275000,"timestamp_ms":1790158275000,"timestamp_seconds":1790158275,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbf81b8"} 
[2026-09-23 15:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:41: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-09-23 15:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 15:41: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-09-23 15:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280518144001,"66":14559,"17":206,"94":11008,"24":12,"16":33450669885095936,"45":829295680253284352},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 15:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280518144001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33450669885095936,"km_value":33450669885095.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":829295680253284352,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280518144001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":829295680253284352}} 
[2026-09-23 15:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:22] local.INFO: GPS data processed {"connection_id":190679,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:22] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:41:31] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:31] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:31] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:41:34] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:34] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:41:34] local.INFO: Packet analysis {"connection_id":192021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:41:34] local.INFO: Extracted packet for processing {"connection_id":192021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642688,"longitude_deg":75.655328,"latitude_deg":11.9642688,"altitude":73,"angle":208,"satellites":38,"speed":21,"hex_longitude":"2d181640","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-09-23 15:41: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-09-23 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158028000,"timestamp_ms":1790158028000,"timestamp_seconds":1790158028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbbce0"} 
[2026-09-23 15:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:41:34] 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-09-23 15: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-09-23 15:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":13287,"107":206,"83":41984,"24":21,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":13287,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":192021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:34] local.INFO: GPS data processed {"connection_id":192021,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:34] local.INFO: Acknowledgment sent {"connection_id":192021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:41:36] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:36] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:41:36] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:41:37] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbd89d0012d3d73c006cb4738001b012026..."} 
[2026-09-23 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbd89d0012d3d73c006cb4738001b012026..."} 
[2026-09-23 15:41:37] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbd89d0012d3d73c006cb4738001b012026..."} 
[2026-09-23 15:41:37] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:41:37] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbd"} 
[2026-09-23 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":759002048,"raw_latitude":113985336,"longitude_deg":75.9002048,"latitude_deg":11.3985336,"altitude":27,"angle":288,"satellites":38,"speed":17,"hex_longitude":"2d3d73c0","hex_latitude":"06cb4738","is_valid_coordinates":true} 
[2026-09-23 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280485120001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406550037892431872,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4428656944001509376,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:37] 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-09-23 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158146000,"timestamp_ms":1790158146000,"timestamp_seconds":1790158146,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbd89d0"} 
[2026-09-23 15:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:41: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-09-23 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280485120001,"66":27800,"78":206,"81":21504,"24":17,"16":406550037892431872,"45":4428656944001509376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280485120001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406550037892431872,"km_value":406550037892431.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4428656944001509376,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280485120001,"power":27800,"unknown_78":206,"unknown_81":21504,"ignition":17,"odometer":null,"unknown_45":4428656944001509376}} 
[2026-09-23 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:37] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:37] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:41:56] local.INFO: TCP Data received {"connection_id":193367,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:56] local.INFO: Processing buffer {"connection_id":193367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:41:56] local.INFO: IMEI packet received {"connection_id":193367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":193367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:41:59] local.INFO: TCP Data received {"connection_id":190679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbf85a0012d0b83c007034548000d00210e..."} 
[2026-09-23 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbf85a0012d0b83c007034548000d00210e..."} 
[2026-09-23 15:41:59] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbf85a0012d0b83c007034548000d00210e..."} 
[2026-09-23 15:41:59] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:41:59] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755729344,"raw_latitude":117654856,"longitude_deg":75.5729344,"latitude_deg":11.7654856,"altitude":13,"angle":33,"satellites":14,"speed":13,"hex_longitude":"2d0b83c0","hex_latitude":"07034548","is_valid_coordinates":true} 
[2026-09-23 15:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280518400001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33450687064965120,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829577155230050304,"note":"Value kept but may cause issues"} 
[2026-09-23 15:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790158276000,"timestamp_ms":1790158276000,"timestamp_seconds":1790158276,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbf85a0"} 
[2026-09-23 15:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:41:59] 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-09-23 15:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 15:41: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-09-23 15:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280518400001,"66":14559,"17":206,"94":11008,"24":13,"16":33450687064965120,"45":829577155230050304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-23 15:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280518400001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:41:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33450687064965120,"km_value":33450687064965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":829577155230050304,"description":"Unknown IO ID 45"} 
[2026-09-23 15:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280518400001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":829577155230050304}} 
[2026-09-23 15:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:41:59] local.INFO: GPS data processed {"connection_id":190679,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:41:59] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:02] local.INFO: TCP Data received {"connection_id":193367,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:02] local.INFO: Processing buffer {"connection_id":193367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:02] local.INFO: IMEI packet received {"connection_id":193367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":193367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:42:02] local.INFO: TCP Data received {"connection_id":193367,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:02] local.INFO: Processing buffer {"connection_id":193367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:02] local.INFO: Packet analysis {"connection_id":193367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:42:02] local.INFO: Extracted packet for processing {"connection_id":193367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642688,"longitude_deg":75.655328,"latitude_deg":11.9642688,"altitude":73,"angle":208,"satellites":38,"speed":21,"hex_longitude":"2d181640","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-09-23 15:42: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-09-23 15:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158028000,"timestamp_ms":1790158028000,"timestamp_seconds":1790158028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbbce0"} 
[2026-09-23 15:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:42:02] 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-09-23 15: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-09-23 15:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":13287,"107":206,"83":41984,"24":21,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":13287,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":193367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:02] local.INFO: GPS data processed {"connection_id":193367,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:02] local.INFO: Acknowledgment sent {"connection_id":193367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:08] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbf5aa8012d3cc20006cb3eb00024014025..."} 
[2026-09-23 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbf5aa8012d3cc20006cb3eb00024014025..."} 
[2026-09-23 15:42:08] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbf5aa8012d3cc20006cb3eb00024014025..."} 
[2026-09-23 15:42:08] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:08] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758956544,"raw_latitude":113983152,"longitude_deg":75.8956544,"latitude_deg":11.3983152,"altitude":36,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d3cc200","hex_latitude":"06cb3eb0","is_valid_coordinates":true} 
[2026-09-23 15:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280515328001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552258390523904,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378132185681395712,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:08] 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-09-23 15:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158265000,"timestamp_ms":1790158265000,"timestamp_seconds":1790158265,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbf5aa8"} 
[2026-09-23 15:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42: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-09-23 15:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 15:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42: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-09-23 15:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280515328001,"66":27843,"78":206,"81":21504,"24":0,"16":406552258390523904,"45":4378132185681395712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280515328001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552258390523904,"km_value":406552258390523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378132185681395712,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280515328001,"power":27843,"unknown_78":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4378132185681395712}} 
[2026-09-23 15:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:08] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:08] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:33] local.INFO: TCP Data received {"connection_id":193367,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:33] local.INFO: Processing buffer {"connection_id":193367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbbbce0012d18164007219a40004900d026..."} 
[2026-09-23 15:42:33] local.INFO: Packet analysis {"connection_id":193367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:42:33] local.INFO: Extracted packet for processing {"connection_id":193367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbb"} 
[2026-09-23 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642688,"longitude_deg":75.655328,"latitude_deg":11.9642688,"altitude":73,"angle":208,"satellites":38,"speed":21,"hex_longitude":"2d181640","hex_latitude":"07219a40","is_valid_coordinates":true} 
[2026-09-23 15:42: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-09-23 15:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790158028000,"timestamp_ms":1790158028000,"timestamp_seconds":1790158028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbbbce0"} 
[2026-09-23 15:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:42:33] 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-09-23 15: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-09-23 15:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":13287,"107":206,"83":41984,"24":21,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":13287,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":193367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:34] local.INFO: GPS data processed {"connection_id":193367,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:34] local.INFO: Acknowledgment sent {"connection_id":193367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:36] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:36] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:36] local.INFO: IMEI packet received {"connection_id":193368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:42:38] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:38] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:38] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:42:41] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:41] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:42:41] local.INFO: IMEI packet received {"connection_id":193368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":193368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:42:42] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbf5e90012d3cc20006cb3ec80024015b25..."} 
[2026-09-23 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbf5e90012d3cc20006cb3ec80024015b25..."} 
[2026-09-23 15:42:42] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbf5e90012d3cc20006cb3ec80024015b25..."} 
[2026-09-23 15:42:42] local.INFO: Packet analysis {"connection_id":193368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:42] local.INFO: Extracted packet for processing {"connection_id":193368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758956544,"raw_latitude":113983176,"longitude_deg":75.8956544,"latitude_deg":11.3983176,"altitude":36,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d3cc200","hex_latitude":"06cb3ec8","is_valid_coordinates":true} 
[2026-09-23 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280515840001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552258390523904,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378061816937230336,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42: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-09-23 15:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790158266000,"timestamp_ms":1790158266000,"timestamp_seconds":1790158266,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbf5e90"} 
[2026-09-23 15:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 15:42: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-09-23 15:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280515840001,"66":27908,"78":206,"81":21504,"24":0,"16":406552258390523904,"45":4378061816937230336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280515840001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552258390523904,"km_value":406552258390523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378061816937230336,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280515840001,"power":27908,"unknown_78":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4378061816937230336}} 
[2026-09-23 15:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":193368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:42] local.INFO: GPS data processed {"connection_id":193368,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:42] local.INFO: Acknowledgment sent {"connection_id":193368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:42] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:42] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:42:42] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:42:43] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d0bf94007035b68001800650e..."} 
[2026-09-23 15:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d0bf94007035b68001800650e..."} 
[2026-09-23 15:42:43] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d0bf94007035b68001800650e..."} 
[2026-09-23 15:42:43] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:42:43] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755759424,"raw_latitude":117660520,"longitude_deg":75.5759424,"latitude_deg":11.766052,"altitude":24,"angle":101,"satellites":14,"speed":18,"hex_longitude":"2d0bf940","hex_latitude":"07035b68","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280532736001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33452237548158976,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858357971600189440,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:43] 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-09-23 15:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:42:43] 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-09-23 15: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-09-23 15:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280532736001,"66":14559,"37":206,"94":11008,"24":18,"16":33452237548158976,"45":858357971600189440},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280532736001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:42:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33452237548158976,"km_value":33452237548158.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":858357971600189440,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280532736001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":858357971600189440}} 
[2026-09-23 15:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:43] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:43] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:44] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbfb098012d3cc20006cb3ed80024015b25..."} 
[2026-09-23 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbfb098012d3cc20006cb3ed80024015b25..."} 
[2026-09-23 15:42:44] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbfb098012d3cc20006cb3ed80024015b25..."} 
[2026-09-23 15:42:44] local.INFO: Packet analysis {"connection_id":193368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:44] local.INFO: Extracted packet for processing {"connection_id":193368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758956544,"raw_latitude":113983192,"longitude_deg":75.8956544,"latitude_deg":11.3983192,"altitude":36,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d3cc200","hex_latitude":"06cb3ed8","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280516096001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552258390523904,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378061816937236480,"note":"Value kept but may cause issues"} 
[2026-09-23 15:42:44] 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-09-23 15:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790158287000,"timestamp_ms":1790158287000,"timestamp_seconds":1790158287,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbfb098"} 
[2026-09-23 15:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:42: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-09-23 15: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-09-23 15:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280516096001,"66":27908,"78":206,"81":21504,"24":0,"16":406552258390523904,"45":4378061816937236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280516096001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:42:44] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552258390523904,"km_value":406552258390523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378061816937236480,"description":"Unknown IO ID 45"} 
[2026-09-23 15:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280516096001,"power":27908,"unknown_78":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4378061816937236480}} 
[2026-09-23 15:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":193368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:42:44] local.INFO: GPS data processed {"connection_id":193368,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:42:44] local.INFO: Acknowledgment sent {"connection_id":193368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:42:56] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:56] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:42:56] local.INFO: IMEI packet received {"connection_id":190680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":190680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:43:02] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:02] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:02] local.INFO: IMEI packet received {"connection_id":190680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:02] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:02] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:02] local.INFO: Packet analysis {"connection_id":190680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:43:02] local.INFO: Extracted packet for processing {"connection_id":190680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:43:02] 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-09-23 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":190680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:02] local.INFO: GPS data processed {"connection_id":190680,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:02] local.INFO: Acknowledgment sent {"connection_id":190680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:14] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc13b20012d0c160007033fc0001500350f..."} 
[2026-09-23 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc13b20012d0c160007033fc0001500350f..."} 
[2026-09-23 15:43:14] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc13b20012d0c160007033fc0001500350f..."} 
[2026-09-23 15:43:14] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:43:14] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":755766784,"raw_latitude":117653440,"longitude_deg":75.5766784,"latitude_deg":11.765344,"altitude":21,"angle":53,"satellites":15,"speed":10,"hex_longitude":"2d0c1600","hex_latitude":"07033fc0","is_valid_coordinates":true} 
[2026-09-23 15:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280547072001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33452860318416896,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870602133085292544,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:14] 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-09-23 15:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790158388000,"timestamp_ms":1790158388000,"timestamp_seconds":1790158388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc13b20"} 
[2026-09-23 15:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:43: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-09-23 15:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 15:43: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-09-23 15:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280547072001,"66":14515,"37":206,"94":11008,"24":10,"16":33452860318416896,"45":870602133085292544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280547072001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:43:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33452860318416896,"km_value":33452860318416.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":870602133085292544,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280547072001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":870602133085292544}} 
[2026-09-23 15:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:14] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:14] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:15] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbfd7a8012d3cbec006cb40380026012325..."} 
[2026-09-23 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbfd7a8012d3cbec006cb40380026012325..."} 
[2026-09-23 15:43:15] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbfd7a8012d3cbec006cb40380026012325..."} 
[2026-09-23 15:43:15] local.INFO: Packet analysis {"connection_id":193368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:43:15] local.INFO: Extracted packet for processing {"connection_id":193368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758955712,"raw_latitude":113983544,"longitude_deg":75.8955712,"latitude_deg":11.3983544,"altitude":38,"angle":291,"satellites":37,"speed":3,"hex_longitude":"2d3cbec0","hex_latitude":"06cb4038","is_valid_coordinates":true} 
[2026-09-23 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280521472001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552305635164160,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378061816937240576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:15] 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-09-23 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790158297000,"timestamp_ms":1790158297000,"timestamp_seconds":1790158297,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbfd7a8"} 
[2026-09-23 15:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:43: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-09-23 15:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:43: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-09-23 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280521472001,"66":27876,"78":206,"81":21504,"24":3,"16":406552305635164160,"45":4378061816937240576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280521472001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552305635164160,"km_value":406552305635164.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378061816937240576,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280521472001,"power":27876,"unknown_78":206,"unknown_81":21504,"ignition":3,"odometer":null,"unknown_45":4378061816937240576}} 
[2026-09-23 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":193368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:15] local.INFO: GPS data processed {"connection_id":193368,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:15] local.INFO: Acknowledgment sent {"connection_id":193368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:29] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:29] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:29] local.INFO: IMEI packet received {"connection_id":193369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":193369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:43:31] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:31] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:31] local.INFO: IMEI packet received {"connection_id":193369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:33] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:33] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:43:33] local.INFO: Packet analysis {"connection_id":190680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:43:33] local.INFO: Extracted packet for processing {"connection_id":190680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:43:33] 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-09-23 15: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-09-23 15:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":190680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:34] local.INFO: GPS data processed {"connection_id":190680,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:34] local.INFO: Acknowledgment sent {"connection_id":190680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:36] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:36] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:43:36] local.INFO: IMEI packet received {"connection_id":193369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":193369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:36] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbfe360012d3cbbc006cb40f80026011625..."} 
[2026-09-23 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbfe360012d3cbbc006cb40f80026011625..."} 
[2026-09-23 15:43:36] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbfe360012d3cbbc006cb40f80026011625..."} 
[2026-09-23 15:43:36] local.INFO: Packet analysis {"connection_id":193369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:43:36] local.INFO: Extracted packet for processing {"connection_id":193369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758954944,"raw_latitude":113983736,"longitude_deg":75.8954944,"latitude_deg":11.3983736,"altitude":38,"angle":278,"satellites":37,"speed":13,"hex_longitude":"2d3cbbc0","hex_latitude":"06cb40f8","is_valid_coordinates":true} 
[2026-09-23 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280524032001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552339994902528,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4377147023263021056,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43: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-09-23 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790158300000,"timestamp_ms":1790158300000,"timestamp_seconds":1790158300,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbfe360"} 
[2026-09-23 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 15:43: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-09-23 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:43: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-09-23 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280524032001,"66":27800,"78":206,"81":21504,"24":13,"16":406552339994902528,"45":4377147023263021056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280524032001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552339994902528,"km_value":406552339994902.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4377147023263021056,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280524032001,"power":27800,"unknown_78":206,"unknown_81":21504,"ignition":13,"odometer":null,"unknown_45":4377147023263021056}} 
[2026-09-23 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":193369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:36] local.INFO: GPS data processed {"connection_id":193369,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:36] local.INFO: Acknowledgment sent {"connection_id":193369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:38] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:38] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:38] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:43:39] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:39] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:39] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:40] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:40] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:40] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:43] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:43] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:43:43] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:43:44] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc13f08012d0c16c0070340a0001600250f..."} 
[2026-09-23 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc13f08012d0c16c0070340a0001600250f..."} 
[2026-09-23 15:43:44] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc13f08012d0c16c0070340a0001600250f..."} 
[2026-09-23 15:43:44] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:43:44] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755766976,"raw_latitude":117653664,"longitude_deg":75.5766976,"latitude_deg":11.7653664,"altitude":22,"angle":37,"satellites":15,"speed":12,"hex_longitude":"2d0c16c0","hex_latitude":"070340a0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280547328001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33452877498286080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870883608062050304,"note":"Value kept but may cause issues"} 
[2026-09-23 15:43:44] 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-09-23 15:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790158389000,"timestamp_ms":1790158389000,"timestamp_seconds":1790158389,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc13f08"} 
[2026-09-23 15:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:43:44] 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-09-23 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 15:43:44] 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-09-23 15: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-09-23 15:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280547328001,"66":14439,"37":206,"94":11008,"24":12,"16":33452877498286080,"45":870883608062050304},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280547328001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:43:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:43:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33452877498286080,"km_value":33452877498286.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":870883608062050304,"description":"Unknown IO ID 45"} 
[2026-09-23 15:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280547328001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":870883608062050304}} 
[2026-09-23 15:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:43:44] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:43:44] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:43:56] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:56] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:43:56] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:44:02] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:02] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:02] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:44:02] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:02] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:02] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:02] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:44:02] 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-09-23 15: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-09-23 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:03] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:03] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:08] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdbffeb8012d3cb10006cb41800027010826..."} 
[2026-09-23 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdbffeb8012d3cb10006cb41800027010826..."} 
[2026-09-23 15:44:08] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdbffeb8012d3cb10006cb41800027010826..."} 
[2026-09-23 15:44:08] local.INFO: Packet analysis {"connection_id":193369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:44:08] local.INFO: Extracted packet for processing {"connection_id":193369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdbf"} 
[2026-09-23 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758952192,"raw_latitude":113983872,"longitude_deg":75.8952192,"latitude_deg":11.3983872,"altitude":39,"angle":264,"satellites":38,"speed":16,"hex_longitude":"2d3cb100","hex_latitude":"06cb4180","is_valid_coordinates":true} 
[2026-09-23 15:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280524800001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552473138888704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4376302598332938240,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:08] 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-09-23 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158307000,"timestamp_ms":1790158307000,"timestamp_seconds":1790158307,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdbffeb8"} 
[2026-09-23 15:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44: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-09-23 15:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 15:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:44: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-09-23 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280524800001,"66":27930,"78":206,"81":21504,"24":16,"16":406552473138888704,"45":4376302598332938240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280524800001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552473138888704,"km_value":406552473138888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4376302598332938240,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280524800001,"power":27930,"unknown_78":206,"unknown_81":21504,"ignition":16,"odometer":null,"unknown_45":4376302598332938240}} 
[2026-09-23 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:08] local.INFO: GPS data processed {"connection_id":193369,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:08] local.INFO: Acknowledgment sent {"connection_id":193369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:15] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc146d8012d0c1800070343400016001a0f..."} 
[2026-09-23 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc146d8012d0c1800070343400016001a0f..."} 
[2026-09-23 15:44:15] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc146d8012d0c1800070343400016001a0f..."} 
[2026-09-23 15:44:15] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:44:15] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:44:15] local.INFO: GPS Element Parsed {"raw_longitude":755767296,"raw_latitude":117654336,"longitude_deg":75.5767296,"latitude_deg":11.7654336,"altitude":22,"angle":26,"satellites":15,"speed":15,"hex_longitude":"2d0c1800","hex_latitude":"07034340","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33452911858024448,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714294640640,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44: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-09-23 15:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790158391000,"timestamp_ms":1790158391000,"timestamp_seconds":1790158391,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc146d8"} 
[2026-09-23 15:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 15:44: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-09-23 15: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-09-23 15:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280547584001,"66":14439,"37":206,"94":11008,"24":15,"16":33452911858024448,"45":871094714294640640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:44:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33452911858024448,"km_value":33452911858024.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714294640640,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280547584001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":871094714294640640}} 
[2026-09-23 15:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:15] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:15] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:31] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:31] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:31] local.INFO: IMEI packet received {"connection_id":190681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":190681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:44:34] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:34] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:44:34] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:34] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:44:34] 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-09-23 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:34] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:34] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:36] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:36] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:44:36] local.INFO: IMEI packet received {"connection_id":190681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":190681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:44:38] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc00a70012d3cac4006cb41a00027011626..."} 
[2026-09-23 15:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc00a70012d3cac4006cb41a00027011626..."} 
[2026-09-23 15:44:38] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc00a70012d3cac4006cb41a00027011626..."} 
[2026-09-23 15:44:38] local.INFO: Packet analysis {"connection_id":190681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:38] local.INFO: Extracted packet for processing {"connection_id":190681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758950976,"raw_latitude":113983904,"longitude_deg":75.8950976,"latitude_deg":11.3983904,"altitude":39,"angle":278,"satellites":38,"speed":13,"hex_longitude":"2d3cac40","hex_latitude":"06cb41a0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280526592001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406552528973463552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373276742333333504,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790158310000,"timestamp_ms":1790158310000,"timestamp_seconds":1790158310,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc00a70"} 
[2026-09-23 15:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:44: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-09-23 15: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-09-23 15:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:44: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-09-23 15:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280526592001,"66":27974,"78":206,"81":21504,"24":13,"16":406552528973463552,"45":4373276742333333504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280526592001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406552528973463552,"km_value":406552528973463.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373276742333333504,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280526592001,"power":27974,"unknown_78":206,"unknown_81":21504,"ignition":13,"odometer":null,"unknown_45":4373276742333333504}} 
[2026-09-23 15:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":190681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:38] local.INFO: GPS data processed {"connection_id":190681,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:38] local.INFO: Acknowledgment sent {"connection_id":190681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:38] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:38] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:38] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:44:39] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:39] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:39] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:44:43] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:44:43] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:44:43] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:44:44] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc267e8012d0c39c007036028001b004210..."} 
[2026-09-23 15:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc267e8012d0c39c007036028001b004210..."} 
[2026-09-23 15:44:44] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc267e8012d0c39c007036028001b004210..."} 
[2026-09-23 15:44:44] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:44:44] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:44:44] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117661736,"longitude_deg":75.5775936,"latitude_deg":11.7661736,"altitude":27,"angle":66,"satellites":16,"speed":8,"hex_longitude":"2d0c39c0","hex_latitude":"07036028","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280566528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33453551808151552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126016442368,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:44] 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-09-23 15:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790158465000,"timestamp_ms":1790158465000,"timestamp_seconds":1790158465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc267e8"} 
[2026-09-23 15:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 15:44: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-09-23 15: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-09-23 15:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280566528001,"66":14537,"37":206,"94":11008,"24":8,"16":33453551808151552,"45":880524126016442368},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280566528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:44:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33453551808151552,"km_value":33453551808151.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126016442368,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280566528001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880524126016442368}} 
[2026-09-23 15:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:44] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:44] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:48] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc29ab0012d0c4d40070367a0001c004e10..."} 
[2026-09-23 15:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc29ab0012d0c4d40070367a0001c004e10..."} 
[2026-09-23 15:44:48] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc29ab0012d0c4d40070367a0001c004e10..."} 
[2026-09-23 15:44:48] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:44:48] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:44:48] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":117663648,"longitude_deg":75.5780928,"latitude_deg":11.7663648,"altitude":28,"angle":78,"satellites":16,"speed":25,"hex_longitude":"2d0c4d40","hex_latitude":"070367a0","is_valid_coordinates":true} 
[2026-09-23 15:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280567040001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33453809506189312,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481580032,"note":"Value kept but may cause issues"} 
[2026-09-23 15:44: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-09-23 15:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790158478000,"timestamp_ms":1790158478000,"timestamp_seconds":1790158478,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc29ab0"} 
[2026-09-23 15:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:44:48] 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-09-23 15:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280567040001,"66":14450,"37":206,"94":11008,"24":25,"16":33453809506189312,"45":880946338481580032},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280567040001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:44:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:44:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33453809506189312,"km_value":33453809506189.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481580032,"description":"Unknown IO ID 45"} 
[2026-09-23 15:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280567040001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":880946338481580032}} 
[2026-09-23 15:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:44:49] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:44:49] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:44:56] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:56] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:44:56] local.INFO: IMEI packet received {"connection_id":193370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":193370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:45:02] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:45:02] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:45:02] local.INFO: IMEI packet received {"connection_id":193370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":193370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:02] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:02] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:02] local.INFO: Packet analysis {"connection_id":193370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:45:02] local.INFO: Extracted packet for processing {"connection_id":193370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:45:02] 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-09-23 15:45: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-09-23 15:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":193370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:02] local.INFO: GPS data processed {"connection_id":193370,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:02] local.INFO: Acknowledgment sent {"connection_id":193370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:45:09] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc1db48012d3c184006cb54700033010c25..."} 
[2026-09-23 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc1db48012d3c184006cb54700033010c25..."} 
[2026-09-23 15:45:09] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc1db48012d3c184006cb54700033010c25..."} 
[2026-09-23 15:45:09] local.INFO: Packet analysis {"connection_id":190681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:45:09] local.INFO: Extracted packet for processing {"connection_id":190681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc1"} 
[2026-09-23 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758913088,"raw_latitude":113988720,"longitude_deg":75.8913088,"latitude_deg":11.398872,"altitude":51,"angle":268,"satellites":37,"speed":15,"hex_longitude":"2d3c1840","hex_latitude":"06cb5470","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280553216001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406554380104368128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4340555276292081664,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:09] 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-09-23 15:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790158429000,"timestamp_ms":1790158429000,"timestamp_seconds":1790158429,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc1db48"} 
[2026-09-23 15:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45: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-09-23 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 15:45: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-09-23 15: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-09-23 15:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:45: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-09-23 15:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280553216001,"66":28104,"78":206,"81":21504,"24":15,"16":406554380104368128,"45":4340555276292081664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-23 15:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280553216001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-23 15:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406554380104368128,"km_value":406554380104368.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4340555276292081664,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280553216001,"power":28104,"unknown_78":206,"unknown_81":21504,"ignition":15,"odometer":null,"unknown_45":4340555276292081664}} 
[2026-09-23 15:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":190681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:09] local.INFO: GPS data processed {"connection_id":190681,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:09] local.INFO: Acknowledgment sent {"connection_id":190681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:45:14] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:14] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:14] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:45:15] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:15] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:15] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:19] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:19] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:45:19] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 15:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:19] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc2a668012d0c5380070369a8001c004110..."} 
[2026-09-23 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc2a668012d0c5380070369a8001c004110..."} 
[2026-09-23 15:45:19] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc2a668012d0c5380070369a8001c004110..."} 
[2026-09-23 15:45:19] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:19] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:19] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117664168,"longitude_deg":75.5782528,"latitude_deg":11.7664168,"altitude":28,"angle":65,"satellites":16,"speed":18,"hex_longitude":"2d0c5380","hex_latitude":"070369a8","is_valid_coordinates":true} 
[2026-09-23 15:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280570368001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33453891110567936,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100527927296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:19] 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-09-23 15:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790158481000,"timestamp_ms":1790158481000,"timestamp_seconds":1790158481,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc2a668"} 
[2026-09-23 15:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45: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-09-23 15:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 15:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280570368001,"66":14407,"37":206,"94":11008,"24":18,"16":33453891110567936,"45":886435100527927296},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280570368001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:45:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33453891110567936,"km_value":33453891110567.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100527927296,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280570368001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":886435100527927296}} 
[2026-09-23 15:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:20] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:20] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:45:29] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:29] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:29] local.INFO: IMEI packet received {"connection_id":192024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:45:31] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:31] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:31] local.INFO: IMEI packet received {"connection_id":192024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":192024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:33] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:33] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:45:33] local.INFO: Packet analysis {"connection_id":193370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:45:33] local.INFO: Extracted packet for processing {"connection_id":193370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:45:33] 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-09-23 15: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-09-23 15:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":193370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:34] local.INFO: GPS data processed {"connection_id":193370,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:34] local.INFO: Acknowledgment sent {"connection_id":193370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:45:36] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:36] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:45:36] local.INFO: IMEI packet received {"connection_id":192024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":192024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:38] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: IMEI packet received {"connection_id":192025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":192025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:45:38] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc21db0012d3c018006cb53a0003b011725..."} 
[2026-09-23 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc21db0012d3c018006cb53a0003b011725..."} 
[2026-09-23 15:45:38] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc21db0012d3c018006cb53a0003b011725..."} 
[2026-09-23 15:45:38] local.INFO: Packet analysis {"connection_id":192024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:38] local.INFO: Extracted packet for processing {"connection_id":192024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758907264,"raw_latitude":113988512,"longitude_deg":75.8907264,"latitude_deg":11.3988512,"altitude":59,"angle":279,"satellites":37,"speed":12,"hex_longitude":"2d3c0180","hex_latitude":"06cb53a0","is_valid_coordinates":true} 
[2026-09-23 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280557824001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406554659277242368,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4330281439642021888,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:38] 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-09-23 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790158446000,"timestamp_ms":1790158446000,"timestamp_seconds":1790158446,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc21db0"} 
[2026-09-23 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 15:45:38] 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-09-23 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:45: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-09-23 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280557824001,"66":27745,"79":206,"81":21504,"24":12,"16":406554659277242368,"45":4330281439642021888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280557824001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406554659277242368,"km_value":406554659277242.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4330281439642021888,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280557824001,"power":27745,"unknown_79":206,"unknown_81":21504,"ignition":12,"odometer":null,"unknown_45":4330281439642021888}} 
[2026-09-23 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":192024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:38] local.INFO: GPS data processed {"connection_id":192024,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:38] local.INFO: Acknowledgment sent {"connection_id":192024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:45:38] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:38] local.INFO: IMEI packet received {"connection_id":192025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":192025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:39] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:39] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:39] local.INFO: IMEI packet received {"connection_id":192025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":192025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:43] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:43] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:45:43] local.INFO: IMEI packet received {"connection_id":192025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":192025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:45:44] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc2c5a8012d0c610007036ee0001e003410..."} 
[2026-09-23 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc2c5a8012d0c610007036ee0001e003410..."} 
[2026-09-23 15:45:44] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc2c5a8012d0c610007036ee0001e003410..."} 
[2026-09-23 15:45:44] local.INFO: Packet analysis {"connection_id":192025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:44] local.INFO: Extracted packet for processing {"connection_id":192025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117665504,"longitude_deg":75.5785984,"latitude_deg":11.7665504,"altitude":30,"angle":52,"satellites":16,"speed":11,"hex_longitude":"2d0c6100","hex_latitude":"07036ee0","is_valid_coordinates":true} 
[2026-09-23 15:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280571136001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33454067204227072,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319132502016,"note":"Value kept but may cause issues"} 
[2026-09-23 15:45:44] 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-09-23 15:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790158489000,"timestamp_ms":1790158489000,"timestamp_seconds":1790158489,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc2c5a8"} 
[2026-09-23 15:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 15:45:44] 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-09-23 15:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280571136001,"66":14613,"37":206,"94":11008,"24":11,"16":33454067204227072,"45":888194319132502016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280571136001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:45:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:45:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33454067204227072,"km_value":33454067204227.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319132502016,"description":"Unknown IO ID 45"} 
[2026-09-23 15:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280571136001,"power":14613,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":888194319132502016}} 
[2026-09-23 15:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":192025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:45:44] local.INFO: GPS data processed {"connection_id":192025,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:45:44] local.INFO: Acknowledgment sent {"connection_id":192025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:02] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:02] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:02] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:46:07] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:07] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:07] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:46:08] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:08] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:08] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:46:08] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:46:08] 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-09-23 15: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-09-23 15:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:08] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:08] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:10] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc244c0012d3bf5c006cb55400040012227..."} 
[2026-09-23 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc244c0012d3bf5c006cb55400040012227..."} 
[2026-09-23 15:46:10] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc244c0012d3bf5c006cb55400040012227..."} 
[2026-09-23 15:46:10] local.INFO: Packet analysis {"connection_id":192024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:10] local.INFO: Extracted packet for processing {"connection_id":192024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758904256,"raw_latitude":113988928,"longitude_deg":75.8904256,"latitude_deg":11.3988928,"altitude":64,"angle":290,"satellites":39,"speed":14,"hex_longitude":"2d3bf5c0","hex_latitude":"06cb5540","is_valid_coordinates":true} 
[2026-09-23 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280562176001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406554805306130432,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323877883921801216,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790158456000,"timestamp_ms":1790158456000,"timestamp_seconds":1790158456,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc244c0"} 
[2026-09-23 15:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46: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-09-23 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:46: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-09-23 15:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280562176001,"66":27713,"79":206,"81":21504,"24":14,"16":406554805306130432,"45":4323877883921801216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280562176001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406554805306130432,"km_value":406554805306130.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323877883921801216,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280562176001,"power":27713,"unknown_79":206,"unknown_81":21504,"ignition":14,"odometer":null,"unknown_45":4323877883921801216}} 
[2026-09-23 15:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":192024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:10] local.INFO: GPS data processed {"connection_id":192024,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:10] local.INFO: Acknowledgment sent {"connection_id":192024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:12] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:12] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:46:12] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:46:12] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:46:12] 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-09-23 15: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-09-23 15:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:12] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:12] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:15] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc2c990012d0c618007036f78001e001e10..."} 
[2026-09-23 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc2c990012d0c618007036f78001e001e10..."} 
[2026-09-23 15:46:15] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc2c990012d0c618007036f78001e001e10..."} 
[2026-09-23 15:46:15] local.INFO: Packet analysis {"connection_id":192025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:15] local.INFO: Extracted packet for processing {"connection_id":192025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:15] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117665656,"longitude_deg":75.5786112,"latitude_deg":11.7665656,"altitude":30,"angle":30,"satellites":16,"speed":7,"hex_longitude":"2d0c6180","hex_latitude":"07036f78","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280573184001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33454075794161664,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891994231318437888,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46: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-09-23 15:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790158490000,"timestamp_ms":1790158490000,"timestamp_seconds":1790158490,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc2c990"} 
[2026-09-23 15:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46: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-09-23 15: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-23 15:46:15] 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-09-23 15: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-09-23 15:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280573184001,"66":14613,"37":206,"94":11008,"24":7,"16":33454075794161664,"45":891994231318437888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 15:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280573184001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 15:46:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33454075794161664,"km_value":33454075794161.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":891994231318437888,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280573184001,"power":14613,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":891994231318437888}} 
[2026-09-23 15:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":192025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:15] local.INFO: GPS data processed {"connection_id":192025,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:15] local.INFO: Acknowledgment sent {"connection_id":192025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:31] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:31] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:31] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:46:36] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:36] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:46:36] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:46:37] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc28340012d3be80006cb58700042010c26..."} 
[2026-09-23 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc28340012d3be80006cb58700042010c26..."} 
[2026-09-23 15:46:37] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc28340012d3be80006cb58700042010c26..."} 
[2026-09-23 15:46:37] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:37] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758900736,"raw_latitude":113989744,"longitude_deg":75.8900736,"latitude_deg":11.3989744,"altitude":66,"angle":268,"satellites":38,"speed":6,"hex_longitude":"2d3be800","hex_latitude":"06cb5870","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280564736001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406554977104822272,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320570552945557504,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158472000,"timestamp_ms":1790158472000,"timestamp_seconds":1790158472,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc28340"} 
[2026-09-23 15:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46: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-09-23 15:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 15:46: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-09-23 15: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-09-23 15:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:46: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-09-23 15:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280564736001,"66":27745,"79":206,"81":21504,"24":6,"16":406554977104822272,"45":4320570552945557504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280564736001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406554977104822272,"km_value":406554977104822.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320570552945557504,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280564736001,"power":27745,"unknown_79":206,"unknown_81":21504,"ignition":6,"odometer":null,"unknown_45":4320570552945557504}} 
[2026-09-23 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:37] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:37] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:43] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:43] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:43] local.INFO: IMEI packet received {"connection_id":193371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":193371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:46:44] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:44] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:44] local.INFO: IMEI packet received {"connection_id":193371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":193371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:46:47] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:47] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:46:47] local.INFO: IMEI packet received {"connection_id":193371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":193371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:46:48] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc44c48012d0c6d000703d0200025014710..."} 
[2026-09-23 15:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc44c48012d0c6d000703d0200025014710..."} 
[2026-09-23 15:46:48] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc44c48012d0c6d000703d0200025014710..."} 
[2026-09-23 15:46:48] local.INFO: Packet analysis {"connection_id":193371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:46:48] local.INFO: Extracted packet for processing {"connection_id":193371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:46:48] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117690400,"longitude_deg":75.5789056,"latitude_deg":11.76904,"altitude":37,"angle":327,"satellites":16,"speed":2,"hex_longitude":"2d0c6d00","hex_latitude":"0703d020","is_valid_coordinates":true} 
[2026-09-23 15:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280595200001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455299859841024,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193556699136,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46: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-09-23 15:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790158589000,"timestamp_ms":1790158589000,"timestamp_seconds":1790158589,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc44c48"} 
[2026-09-23 15:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46: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-09-23 15:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 15:46:48] 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-09-23 15:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280595200001,"66":14537,"16":33455299859841024,"94":11008,"24":2,"45":895231193556699136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280595200001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455299859841024,"km_value":33455299859841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193556699136,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280595200001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":895231193556699136}} 
[2026-09-23 15:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":193371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:48] local.INFO: GPS data processed {"connection_id":193371,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:48] local.INFO: Acknowledgment sent {"connection_id":193371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:49] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc45418012d0c6d000703d0900025000410..."} 
[2026-09-23 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc45418012d0c6d000703d0900025000410..."} 
[2026-09-23 15:46:49] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc45418012d0c6d000703d0900025000410..."} 
[2026-09-23 15:46:49] local.INFO: Packet analysis {"connection_id":193371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:46:49] local.INFO: Extracted packet for processing {"connection_id":193371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117690512,"longitude_deg":75.5789056,"latitude_deg":11.7690512,"altitude":37,"angle":4,"satellites":16,"speed":1,"hex_longitude":"2d0c6d00","hex_latitude":"0703d090","is_valid_coordinates":true} 
[2026-09-23 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280598784001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455308449775616,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931045339136,"note":"Value kept but may cause issues"} 
[2026-09-23 15:46:49] 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-09-23 15:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790158591000,"timestamp_ms":1790158591000,"timestamp_seconds":1790158591,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc45418"} 
[2026-09-23 15:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:46:49] 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-09-23 15:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280598784001,"66":14537,"16":33455308449775616,"94":11008,"24":1,"45":895371931045339136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280598784001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455308449775616,"km_value":33455308449775.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:46:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931045339136,"description":"Unknown IO ID 45"} 
[2026-09-23 15:46:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280598784001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":895371931045339136}} 
[2026-09-23 15:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":193371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:46:49] local.INFO: GPS data processed {"connection_id":193371,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:46:49] local.INFO: Acknowledgment sent {"connection_id":193371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:46:57] local.INFO: TCP Data received {"connection_id":193372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:57] local.INFO: Processing buffer {"connection_id":193372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:46:57] local.INFO: IMEI packet received {"connection_id":193372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":193372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:47:02] local.INFO: TCP Data received {"connection_id":193372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:02] local.INFO: Processing buffer {"connection_id":193372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:02] local.INFO: IMEI packet received {"connection_id":193372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":193372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:47:02] local.INFO: TCP Data received {"connection_id":193372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:02] local.INFO: Processing buffer {"connection_id":193372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:02] local.INFO: Packet analysis {"connection_id":193372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:47:02] local.INFO: Extracted packet for processing {"connection_id":193372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:47:02] 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-09-23 15:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":193372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:03] local.INFO: GPS data processed {"connection_id":193372,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:03] local.INFO: Acknowledgment sent {"connection_id":193372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:08] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc2cd78012d3bc50006cb55f80037010626..."} 
[2026-09-23 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc2cd78012d3bc50006cb55f80037010626..."} 
[2026-09-23 15:47:08] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc2cd78012d3bc50006cb55f80037010626..."} 
[2026-09-23 15:47:08] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:47:08] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc2"} 
[2026-09-23 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758891776,"raw_latitude":113989112,"longitude_deg":75.8891776,"latitude_deg":11.3989112,"altitude":55,"angle":262,"satellites":38,"speed":16,"hex_longitude":"2d3bc500","hex_latitude":"06cb55f8","is_valid_coordinates":true} 
[2026-09-23 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280568832001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406555406601551872,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316700272015994880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:08] 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-09-23 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158491000,"timestamp_ms":1790158491000,"timestamp_seconds":1790158491,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc2cd78"} 
[2026-09-23 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47: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-09-23 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 15:47:08] 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-09-23 15:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47: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-09-23 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280568832001,"66":28006,"79":206,"81":21504,"24":16,"16":406555406601551872,"45":4316700272015994880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280568832001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406555406601551872,"km_value":406555406601551.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4316700272015994880,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280568832001,"power":28006,"unknown_79":206,"unknown_81":21504,"ignition":16,"odometer":null,"unknown_45":4316700272015994880}} 
[2026-09-23 15:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:08] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:08] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:20] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc45800012d0c6d000703d0b00025002c10..."} 
[2026-09-23 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc45800012d0c6d000703d0b00025002c10..."} 
[2026-09-23 15:47:20] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc45800012d0c6d000703d0b00025002c10..."} 
[2026-09-23 15:47:20] local.INFO: Packet analysis {"connection_id":193371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:47:20] local.INFO: Extracted packet for processing {"connection_id":193371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc4"} 
[2026-09-23 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117690544,"longitude_deg":75.5789056,"latitude_deg":11.7690544,"altitude":37,"angle":44,"satellites":16,"speed":0,"hex_longitude":"2d0c6d00","hex_latitude":"0703d0b0","is_valid_coordinates":true} 
[2026-09-23 15:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280599296001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455308449775616,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931045367808,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47: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-09-23 15:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790158592000,"timestamp_ms":1790158592000,"timestamp_seconds":1790158592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc45800"} 
[2026-09-23 15:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 15:47: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-09-23 15:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280599296001,"66":14537,"16":33455308449775616,"94":11008,"24":0,"45":895371931045367808},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280599296001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455308449775616,"km_value":33455308449775.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931045367808,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280599296001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":895371931045367808}} 
[2026-09-23 15:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":193371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:20] local.INFO: GPS data processed {"connection_id":193371,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:20] local.INFO: Acknowledgment sent {"connection_id":193371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:34] local.INFO: TCP Data received {"connection_id":193372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:34] local.INFO: Processing buffer {"connection_id":193372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc077d0012d180e8007219460004c00d42b..."} 
[2026-09-23 15:47:34] local.INFO: Packet analysis {"connection_id":193372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:47:34] local.INFO: Extracted packet for processing {"connection_id":193372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc0"} 
[2026-09-23 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280455168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770610688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158338000,"timestamp_ms":1790158338000,"timestamp_seconds":1790158338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc077d0"} 
[2026-09-23 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-23 15:47:34] 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-09-23 15:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280455168001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1735645105770610688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280455168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770610688,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280455168001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770610688}} 
[2026-09-23 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":193372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:34] local.INFO: GPS data processed {"connection_id":193372,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:34] local.INFO: Acknowledgment sent {"connection_id":193372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:35] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:35] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:35] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:47:36] local.INFO: TCP Data received {"connection_id":193374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:36] local.INFO: Processing buffer {"connection_id":193374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:36] local.INFO: IMEI packet received {"connection_id":193374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":193374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:47:37] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:37] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:37] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:47:38] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:38] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:38] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:47:40] local.INFO: TCP Data received {"connection_id":193374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:40] local.INFO: Processing buffer {"connection_id":193374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:47:40] local.INFO: IMEI packet received {"connection_id":193374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":193374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:47:41] local.INFO: TCP Data received {"connection_id":193374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc30bf8012d3b9fc006cb4f70002e010525..."} 
[2026-09-23 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc30bf8012d3b9fc006cb4f70002e010525..."} 
[2026-09-23 15:47:41] local.INFO: Processing buffer {"connection_id":193374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc30bf8012d3b9fc006cb4f70002e010525..."} 
[2026-09-23 15:47:41] local.INFO: Packet analysis {"connection_id":193374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc3"} 
[2026-09-23 15:47:41] local.INFO: Extracted packet for processing {"connection_id":193374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc3"} 
[2026-09-23 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758882240,"raw_latitude":113987440,"longitude_deg":75.888224,"latitude_deg":11.398744,"altitude":46,"angle":261,"satellites":37,"speed":28,"hex_longitude":"2d3b9fc0","hex_latitude":"06cb4f70","is_valid_coordinates":true} 
[2026-09-23 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280573696001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406555866163052544,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4306848647830960128,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] 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-09-23 15:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790158507000,"timestamp_ms":1790158507000,"timestamp_seconds":1790158507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc30bf8"} 
[2026-09-23 15:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47: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-09-23 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 15:47: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-09-23 15:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47: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-09-23 15:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280573696001,"66":27930,"79":206,"81":21504,"24":28,"16":406555866163052544,"45":4306848647830960128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280573696001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406555866163052544,"km_value":406555866163052.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4306848647830960128,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280573696001,"power":27930,"unknown_79":206,"unknown_81":21504,"ignition":28,"odometer":null,"unknown_45":4306848647830960128}} 
[2026-09-23 15:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":193374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:41] local.INFO: GPS data processed {"connection_id":193374,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:41] local.INFO: Acknowledgment sent {"connection_id":193374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:41] local.INFO: TCP Data received {"connection_id":193374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc342a8012d3b880006cb4aa8003400f625..."} 
[2026-09-23 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc342a8012d3b880006cb4aa8003400f625..."} 
[2026-09-23 15:47:41] local.INFO: Processing buffer {"connection_id":193374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc342a8012d3b880006cb4aa8003400f625..."} 
[2026-09-23 15:47:41] local.INFO: Packet analysis {"connection_id":193374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc3"} 
[2026-09-23 15:47:41] local.INFO: Extracted packet for processing {"connection_id":193374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc3"} 
[2026-09-23 15:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758876160,"raw_latitude":113986216,"longitude_deg":75.887616,"latitude_deg":11.3986216,"altitude":52,"angle":246,"satellites":37,"speed":12,"hex_longitude":"2d3b8800","hex_latitude":"06cb4aa8","is_valid_coordinates":true} 
[2026-09-23 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280577792001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406556158220828672,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4296363704948060160,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:41] 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-09-23 15:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790158521000,"timestamp_ms":1790158521000,"timestamp_seconds":1790158521,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc342a8"} 
[2026-09-23 15:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47: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-09-23 15:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:47: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-09-23 15:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:47: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-09-23 15:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280577792001,"66":27930,"79":206,"81":21504,"24":12,"16":406556158220828672,"45":4296363704948060160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 15:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280577792001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406556158220828672,"km_value":406556158220828.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4296363704948060160,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280577792001,"power":27930,"unknown_79":206,"unknown_81":21504,"ignition":12,"odometer":null,"unknown_45":4296363704948060160}} 
[2026-09-23 15:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":193374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:41] local.INFO: GPS data processed {"connection_id":193374,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:41] local.INFO: Acknowledgment sent {"connection_id":193374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:43] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:43] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:47:43] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:47:44] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc53e78012d0c54c00703e1800025000b10..."} 
[2026-09-23 15:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc53e78012d0c54c00703e1800025000b10..."} 
[2026-09-23 15:47:44] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc53e78012d0c54c00703e1800025000b10..."} 
[2026-09-23 15:47:44] local.INFO: Packet analysis {"connection_id":190683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:47:44] local.INFO: Extracted packet for processing {"connection_id":190683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755782848,"raw_latitude":117694848,"longitude_deg":75.5782848,"latitude_deg":11.7694848,"altitude":37,"angle":11,"satellites":16,"speed":2,"hex_longitude":"2d0c54c0","hex_latitude":"0703e180","is_valid_coordinates":true} 
[2026-09-23 15:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280614400001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455793781080064,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794117048320,"note":"Value kept but may cause issues"} 
[2026-09-23 15:47:44] 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-09-23 15:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790158651000,"timestamp_ms":1790158651000,"timestamp_seconds":1790158651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc53e78"} 
[2026-09-23 15:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 15:47:44] 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-09-23 15:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280614400001,"66":14515,"16":33455793781080064,"94":11008,"24":2,"45":888475794117048320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280614400001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455793781080064,"km_value":33455793781080.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794117048320,"description":"Unknown IO ID 45"} 
[2026-09-23 15:47:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280614400001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":888475794117048320}} 
[2026-09-23 15:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":190683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:47:44] local.INFO: GPS data processed {"connection_id":190683,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:47:44] local.INFO: Acknowledgment sent {"connection_id":190683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:47:57] local.INFO: TCP Data received {"connection_id":190684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:57] local.INFO: Processing buffer {"connection_id":190684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:47:57] local.INFO: IMEI packet received {"connection_id":190684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":190684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:48:02] local.INFO: TCP Data received {"connection_id":190684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:02] local.INFO: Processing buffer {"connection_id":190684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:02] local.INFO: IMEI packet received {"connection_id":190684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:48:03] local.INFO: TCP Data received {"connection_id":190684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:03] local.INFO: Processing buffer {"connection_id":190684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:03] local.INFO: Packet analysis {"connection_id":190684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:03] local.INFO: Extracted packet for processing {"connection_id":190684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:48: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-09-23 15: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-09-23 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":190684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:03] local.INFO: GPS data processed {"connection_id":190684,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:03] local.INFO: Acknowledgment sent {"connection_id":190684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:13] local.INFO: TCP Data received {"connection_id":193374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51768012d3acc4006ca9140003800c026..."} 
[2026-09-23 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51768012d3acc4006ca9140003800c026..."} 
[2026-09-23 15:48:13] local.INFO: Processing buffer {"connection_id":193374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51768012d3acc4006ca9140003800c026..."} 
[2026-09-23 15:48:13] local.INFO: Packet analysis {"connection_id":193374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:13] local.INFO: Extracted packet for processing {"connection_id":193374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758828096,"raw_latitude":113938752,"longitude_deg":75.8828096,"latitude_deg":11.3938752,"altitude":56,"angle":192,"satellites":38,"speed":10,"hex_longitude":"2d3acc40","hex_latitude":"06ca9140","is_valid_coordinates":true} 
[2026-09-23 15:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280610304001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406559542655057920,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4238450228478181376,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790158641000,"timestamp_ms":1790158641000,"timestamp_seconds":1790158641,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51768"} 
[2026-09-23 15:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 15:48: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-09-23 15:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:48: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-09-23 15:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280610304001,"66":27919,"172":206,"81":21504,"24":10,"16":406559542655057920,"45":4238450228478181376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,81,24,16,45]} 
[2026-09-23 15:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280610304001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:13] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-23 15:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406559542655057920,"km_value":406559542655057.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4238450228478181376,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280610304001,"power":27919,"unknown_172":206,"unknown_81":21504,"ignition":10,"odometer":null,"unknown_45":4238450228478181376}} 
[2026-09-23 15:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":193374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:13] local.INFO: GPS data processed {"connection_id":193374,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:13] local.INFO: Acknowledgment sent {"connection_id":193374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:15] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc54648012d0c55000703e2280025001710..."} 
[2026-09-23 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc54648012d0c55000703e2280025001710..."} 
[2026-09-23 15:48:15] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc54648012d0c55000703e2280025001710..."} 
[2026-09-23 15:48:15] local.INFO: Packet analysis {"connection_id":190683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:15] local.INFO: Extracted packet for processing {"connection_id":190683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:15] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695016,"longitude_deg":75.5782912,"latitude_deg":11.7695016,"altitude":37,"angle":23,"satellites":16,"speed":2,"hex_longitude":"2d0c5500","hex_latitude":"0703e228","is_valid_coordinates":true} 
[2026-09-23 15:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280614656001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455802371014656,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162861244416,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:15] 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-09-23 15:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790158653000,"timestamp_ms":1790158653000,"timestamp_seconds":1790158653,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc54648"} 
[2026-09-23 15:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48: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-09-23 15:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 15:48:15] 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-09-23 15:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280614656001,"66":14559,"16":33455802371014656,"94":11008,"24":2,"45":888546162861244416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280614656001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455802371014656,"km_value":33455802371014.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162861244416,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280614656001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":888546162861244416}} 
[2026-09-23 15:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":190683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:15] local.INFO: GPS data processed {"connection_id":190683,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:15] local.INFO: Acknowledgment sent {"connection_id":190683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:31] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:31] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:31] local.INFO: IMEI packet received {"connection_id":193375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":193375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:48:32] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:32] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:32] local.INFO: IMEI packet received {"connection_id":193375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":193375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:48:33] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:33] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:48:33] local.INFO: IMEI packet received {"connection_id":193375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":193375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:48:34] local.INFO: TCP Data received {"connection_id":190684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:34] local.INFO: Processing buffer {"connection_id":190684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:48:34] local.INFO: Packet analysis {"connection_id":190684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:34] local.INFO: Extracted packet for processing {"connection_id":190684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:48: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-09-23 15: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-09-23 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":190684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:34] local.INFO: GPS data processed {"connection_id":190684,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:34] local.INFO: Acknowledgment sent {"connection_id":190684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:34] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc52320012d3acb4006ca8d98003700d026..."} 
[2026-09-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc52320012d3acb4006ca8d98003700d026..."} 
[2026-09-23 15:48:34] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc52320012d3acb4006ca8d98003700d026..."} 
[2026-09-23 15:48:34] local.INFO: Packet analysis {"connection_id":193375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:34] local.INFO: Extracted packet for processing {"connection_id":193375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758827840,"raw_latitude":113937816,"longitude_deg":75.882784,"latitude_deg":11.3937816,"altitude":55,"angle":208,"satellites":38,"speed":16,"hex_longitude":"2d3acb40","hex_latitude":"06ca8d98","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612096001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406559589899698176,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4236831747361292288,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158644000,"timestamp_ms":1790158644000,"timestamp_seconds":1790158644,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc52320"} 
[2026-09-23 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48: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-09-23 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 15:48: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-09-23 15: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-09-23 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:48: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-09-23 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612096001,"66":27995,"172":206,"81":21504,"24":16,"16":406559589899698176,"45":4236831747361292288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,81,24,16,45]} 
[2026-09-23 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612096001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406559589899698176,"km_value":406559589899698.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4236831747361292288,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612096001,"power":27995,"unknown_172":206,"unknown_81":21504,"ignition":16,"odometer":null,"unknown_45":4236831747361292288}} 
[2026-09-23 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":193375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:34] local.INFO: GPS data processed {"connection_id":193375,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:34] local.INFO: Acknowledgment sent {"connection_id":193375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:38] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:38] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:38] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:48:39] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:39] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:39] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:48:41] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:41] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:48:41] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:48:43] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc54a30012d0c55000703e2900025002310..."} 
[2026-09-23 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc54a30012d0c55000703e2900025002310..."} 
[2026-09-23 15:48:43] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc54a30012d0c55000703e2900025002310..."} 
[2026-09-23 15:48:43] local.INFO: Packet analysis {"connection_id":192026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:43] local.INFO: Extracted packet for processing {"connection_id":192026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695120,"longitude_deg":75.5782912,"latitude_deg":11.769512,"altitude":37,"angle":35,"satellites":16,"speed":5,"hex_longitude":"2d0c5500","hex_latitude":"0703e290","is_valid_coordinates":true} 
[2026-09-23 15:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280615168001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33455806665981952,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605465088,"note":"Value kept but may cause issues"} 
[2026-09-23 15:48:43] 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-09-23 15:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790158654000,"timestamp_ms":1790158654000,"timestamp_seconds":1790158654,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc54a30"} 
[2026-09-23 15:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:48: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-09-23 15:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 15:48:43] 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-09-23 15:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280615168001,"66":14559,"16":33455806665981952,"94":11008,"24":5,"45":888616531605465088},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-23 15:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280615168001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33455806665981952,"km_value":33455806665981.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:48:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 15:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605465088,"description":"Unknown IO ID 45"} 
[2026-09-23 15:48:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280615168001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":888616531605465088}} 
[2026-09-23 15:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":192026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:48:43] local.INFO: GPS data processed {"connection_id":192026,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:48:43] local.INFO: Acknowledgment sent {"connection_id":192026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:48:57] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:57] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:48:57] local.INFO: IMEI packet received {"connection_id":193376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":193376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:49:02] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:02] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:02] local.INFO: IMEI packet received {"connection_id":193376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":193376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:49:03] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:03] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:03] local.INFO: Packet analysis {"connection_id":193376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:03] local.INFO: Extracted packet for processing {"connection_id":193376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:49: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-09-23 15: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-09-23 15:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":193376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:03] local.INFO: GPS data processed {"connection_id":193376,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:03] local.INFO: Acknowledgment sent {"connection_id":193376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:06] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc54a30012d3abcc006ca76f0002f00dd23..."} 
[2026-09-23 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc54a30012d3abcc006ca76f0002f00dd23..."} 
[2026-09-23 15:49:06] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc54a30012d3abcc006ca76f0002f00dd23..."} 
[2026-09-23 15:49:06] local.INFO: Packet analysis {"connection_id":193375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:06] local.INFO: Extracted packet for processing {"connection_id":193375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758824128,"raw_latitude":113932016,"longitude_deg":75.8824128,"latitude_deg":11.3932016,"altitude":47,"angle":221,"satellites":35,"speed":35,"hex_longitude":"2d3abcc0","hex_latitude":"06ca76f0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612864001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406559920612179968,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4236550272384342016,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790158654000,"timestamp_ms":1790158654000,"timestamp_seconds":1790158654,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc54a30"} 
[2026-09-23 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49: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-09-23 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:49: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-09-23 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612864001,"66":27789,"81":21504,"24":35,"16":406559920612179968,"45":4236550272384342016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-23 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612864001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406559920612179968,"km_value":406559920612179.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4236550272384342016,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280612864001,"power":27789,"unknown_81":21504,"ignition":35,"odometer":null,"unknown_45":4236550272384342016}} 
[2026-09-23 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":193375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:06] local.INFO: GPS data processed {"connection_id":193375,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:06] local.INFO: Acknowledgment sent {"connection_id":193375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:15] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc68a80012d0c9a800704b2800024014e10..."} 
[2026-09-23 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc68a80012d0c9a800704b2800024014e10..."} 
[2026-09-23 15:49:15] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc68a80012d0c9a800704b2800024014e10..."} 
[2026-09-23 15:49:15] local.INFO: Packet analysis {"connection_id":192026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:15] local.INFO: Extracted packet for processing {"connection_id":192026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":755800704,"raw_latitude":117748352,"longitude_deg":75.5800704,"latitude_deg":11.7748352,"altitude":36,"angle":334,"satellites":16,"speed":34,"hex_longitude":"2d0c9a80","hex_latitude":"0704b280","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280634624001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33459006416617472,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912612273382332416,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:15] 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-09-23 15:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790158736000,"timestamp_ms":1790158736000,"timestamp_seconds":1790158736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc68a80"} 
[2026-09-23 15:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-23 15:49:15] 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-09-23 15: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-09-23 15:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280634624001,"66":13722,"95":206,"94":10240,"24":34,"16":33459006416617472,"45":912612273382332416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 15:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280634624001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 15:49:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33459006416617472,"km_value":33459006416617.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":912612273382332416,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280634624001,"power":13722,"unknown_95":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":912612273382332416}} 
[2026-09-23 15:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":192026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:15] local.INFO: GPS data processed {"connection_id":192026,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:15] local.INFO: Acknowledgment sent {"connection_id":192026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:34] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:34] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:49:34] local.INFO: Packet analysis {"connection_id":193376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:34] local.INFO: Extracted packet for processing {"connection_id":193376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:49: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-09-23 15: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-09-23 15:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":193376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:34] local.INFO: GPS data processed {"connection_id":193376,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:34] local.INFO: Acknowledgment sent {"connection_id":193376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:36] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:36] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:36] local.INFO: IMEI packet received {"connection_id":190500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":190500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:49:37] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:37] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:37] local.INFO: IMEI packet received {"connection_id":190500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":190500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:49:38] local.INFO: TCP Data received {"connection_id":192027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:38] local.INFO: Processing buffer {"connection_id":192027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:38] local.INFO: IMEI packet received {"connection_id":192027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":192027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:49:41] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:41] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:49:41] local.INFO: IMEI packet received {"connection_id":190500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":190500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:49:42] local.INFO: TCP Data received {"connection_id":192027,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:42] local.INFO: Processing buffer {"connection_id":192027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:49:42] local.INFO: IMEI packet received {"connection_id":192027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":192027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:49:43] local.INFO: TCP Data received {"connection_id":192027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc6b960012d0c8e000704d1d80026014311..."} 
[2026-09-23 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc6b960012d0c8e000704d1d80026014311..."} 
[2026-09-23 15:49:43] local.INFO: Processing buffer {"connection_id":192027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc6b960012d0c8e000704d1d80026014311..."} 
[2026-09-23 15:49:43] local.INFO: Packet analysis {"connection_id":192027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:43] local.INFO: Extracted packet for processing {"connection_id":192027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117756376,"longitude_deg":75.5797504,"latitude_deg":11.7756376,"altitude":38,"angle":323,"satellites":17,"speed":9,"hex_longitude":"2d0c8e00","hex_latitude":"0704d1d8","is_valid_coordinates":true} 
[2026-09-23 15:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280636416001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33459427323412480,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908179042500509696,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] 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-09-23 15:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790158748000,"timestamp_ms":1790158748000,"timestamp_seconds":1790158748,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc6b960"} 
[2026-09-23 15:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 15:49:43] 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-09-23 15:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280636416001,"66":14070,"95":206,"94":10240,"24":9,"16":33459427323412480,"45":908179042500509696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280636416001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33459427323412480,"km_value":33459427323412.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":908179042500509696,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280636416001,"power":14070,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":908179042500509696}} 
[2026-09-23 15:49:43] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc624f0012d3a2f0006ca1f30002300f221..."} 
[2026-09-23 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc624f0012d3a2f0006ca1f30002300f221..."} 
[2026-09-23 15:49:43] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc624f0012d3a2f0006ca1f30002300f221..."} 
[2026-09-23 15:49:43] local.INFO: Packet analysis {"connection_id":190500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:43] local.INFO: Extracted packet for processing {"connection_id":190500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758787840,"raw_latitude":113909552,"longitude_deg":75.878784,"latitude_deg":11.3909552,"altitude":35,"angle":242,"satellites":33,"speed":26,"hex_longitude":"2d3a2f00","hex_latitude":"06ca1f30","is_valid_coordinates":true} 
[2026-09-23 15:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280626944001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406562025146155008,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4201295531545247744,"note":"Value kept but may cause issues"} 
[2026-09-23 15:49:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790158710000,"timestamp_ms":1790158710000,"timestamp_seconds":1790158710,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc624f0"} 
[2026-09-23 15:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 15:49: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-09-23 15:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280626944001,"66":27767,"81":21504,"24":26,"16":406562025146155008,"45":4201295531545247744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-23 15:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280626944001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406562025146155008,"km_value":406562025146155.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4201295531545247744,"description":"Unknown IO ID 45"} 
[2026-09-23 15:49:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280626944001,"power":27767,"unknown_81":21504,"ignition":26,"odometer":null,"unknown_45":4201295531545247744}} 
[2026-09-23 15:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":190500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:43] local.INFO: GPS data processed {"connection_id":190500,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:43] local.INFO: Acknowledgment sent {"connection_id":190500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":192027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:49:43] local.INFO: GPS data processed {"connection_id":192027,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:49:43] local.INFO: Acknowledgment sent {"connection_id":192027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:49:56] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:56] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:49:56] local.INFO: IMEI packet received {"connection_id":192028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":192028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:50:01] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:01] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:01] local.INFO: IMEI packet received {"connection_id":192028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":192028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:02] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:02] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:02] local.INFO: Packet analysis {"connection_id":192028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:50:02] local.INFO: Extracted packet for processing {"connection_id":192028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:50:02] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:50: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-09-23 15: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-09-23 15:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":192028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:50:02] local.INFO: GPS data processed {"connection_id":192028,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:50:02] local.INFO: Acknowledgment sent {"connection_id":192028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:50:14] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc64430012d3a238006ca1850002500e422..."} 
[2026-09-23 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc64430012d3a238006ca1850002500e422..."} 
[2026-09-23 15:50:14] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc64430012d3a238006ca1850002500e422..."} 
[2026-09-23 15:50:14] local.INFO: Packet analysis {"connection_id":190500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:50:14] local.INFO: Extracted packet for processing {"connection_id":190500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc6"} 
[2026-09-23 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758784896,"raw_latitude":113907792,"longitude_deg":75.8784896,"latitude_deg":11.3907792,"altitude":37,"angle":228,"satellites":34,"speed":16,"hex_longitude":"2d3a2380","hex_latitude":"06ca1850","is_valid_coordinates":true} 
[2026-09-23 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280629760001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406562192649879552,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4192569807266066432,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 15:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790158718000,"timestamp_ms":1790158718000,"timestamp_seconds":1790158718,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc64430"} 
[2026-09-23 15:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:50: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-09-23 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 15: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-09-23 15:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280629760001,"66":27908,"81":21504,"24":16,"16":406562192649879552,"45":4192569807266066432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280629760001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406562192649879552,"km_value":406562192649879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4192569807266066432,"description":"Unknown IO ID 45"} 
[2026-09-23 15:50:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458280629760001,"power":27908,"unknown_81":21504,"ignition":16,"odometer":null,"unknown_45":4192569807266066432}} 
[2026-09-23 15:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":190500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:50:14] local.INFO: GPS data processed {"connection_id":190500,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:50:14] local.INFO: Acknowledgment sent {"connection_id":190500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:50:14] local.INFO: TCP Data received {"connection_id":192027,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc79420012d0bc9800704be18002200ef11..."} 
[2026-09-23 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc79420012d0bc9800704be18002200ef11..."} 
[2026-09-23 15:50:14] local.INFO: Processing buffer {"connection_id":192027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc79420012d0bc9800704be18002200ef11..."} 
[2026-09-23 15:50:14] local.INFO: Packet analysis {"connection_id":192027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:50:14] local.INFO: Extracted packet for processing {"connection_id":192027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755747200,"raw_latitude":117751320,"longitude_deg":75.57472,"latitude_deg":11.775132,"altitude":34,"angle":239,"satellites":17,"speed":28,"hex_longitude":"2d0bc980","hex_latitude":"0704be18","is_valid_coordinates":true} 
[2026-09-23 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280653312001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33461862569869312,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850828515996645376,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50: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-09-23 15:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790158804000,"timestamp_ms":1790158804000,"timestamp_seconds":1790158804,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc79420"} 
[2026-09-23 15:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-23 15:50:14] 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-09-23 15:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192027,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280653312001,"66":14580,"96":206,"94":10240,"24":28,"16":33461862569869312,"45":850828515996645376},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 15:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280653312001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33461862569869312,"km_value":33461862569869.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":850828515996645376,"description":"Unknown IO ID 45"} 
[2026-09-23 15:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280653312001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":850828515996645376}} 
[2026-09-23 15:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":192027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:50:14] local.INFO: GPS data processed {"connection_id":192027,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:50:14] local.INFO: Acknowledgment sent {"connection_id":192027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:50:29] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:29] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:29] local.INFO: IMEI packet received {"connection_id":190685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":190685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:50:31] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:31] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:31] local.INFO: IMEI packet received {"connection_id":190685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":190685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:33] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:33] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:50:33] local.INFO: Packet analysis {"connection_id":192028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:50:33] local.INFO: Extracted packet for processing {"connection_id":192028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:50:33] 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-09-23 15:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:50:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":192028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:50:34] local.INFO: GPS data processed {"connection_id":192028,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:50:34] local.INFO: Acknowledgment sent {"connection_id":192028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:50:34] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:34] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:50:34] local.INFO: IMEI packet received {"connection_id":190685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":190685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:35] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc75988012d39d30006c96f78003200d223..."} 
[2026-09-23 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc75988012d39d30006c96f78003200d223..."} 
[2026-09-23 15:50:35] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc75988012d39d30006c96f78003200d223..."} 
[2026-09-23 15:50:35] local.INFO: Packet analysis {"connection_id":190685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:50:35] local.INFO: Extracted packet for processing {"connection_id":190685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758764288,"raw_latitude":113864568,"longitude_deg":75.8764288,"latitude_deg":11.3864568,"altitude":50,"angle":210,"satellites":35,"speed":26,"hex_longitude":"2d39d300","hex_latitude":"06c96f78","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280648704001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406564537702023168,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4168081484281577472,"note":"Value kept but may cause issues"} 
[2026-09-23 15:50:35] 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-09-23 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790158789000,"timestamp_ms":1790158789000,"timestamp_seconds":1790158789,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc75988"} 
[2026-09-23 15:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:50: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-09-23 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 15:50: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-09-23 15: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-09-23 15:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:50: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-09-23 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280648704001,"66":27995,"82":206,"81":21504,"24":26,"16":406564537702023168,"45":4168081484281577472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280648704001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406564537702023168,"km_value":406564537702023.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4168081484281577472,"description":"Unknown IO ID 45"} 
[2026-09-23 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280648704001,"power":27995,"unknown_82":206,"unknown_81":21504,"ignition":26,"odometer":null,"unknown_45":4168081484281577472}} 
[2026-09-23 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":190685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:50:35] local.INFO: GPS data processed {"connection_id":190685,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:50:35] local.INFO: Acknowledgment sent {"connection_id":190685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:50:36] local.INFO: TCP Data received {"connection_id":190686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:36] local.INFO: Processing buffer {"connection_id":190686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:36] local.INFO: IMEI packet received {"connection_id":190686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":190686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:50:38] local.INFO: TCP Data received {"connection_id":190686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: Processing buffer {"connection_id":190686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: IMEI packet received {"connection_id":190686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":190686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:38] local.INFO: TCP Data received {"connection_id":190686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: Processing buffer {"connection_id":190686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:38] local.INFO: IMEI packet received {"connection_id":190686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":190686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:39] local.INFO: TCP Data received {"connection_id":190686,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:39] local.INFO: Processing buffer {"connection_id":190686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:50:39] local.INFO: IMEI packet received {"connection_id":190686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":190686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:50:56] local.INFO: TCP Data received {"connection_id":193377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:56] local.INFO: Processing buffer {"connection_id":193377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:50:56] local.INFO: IMEI packet received {"connection_id":193377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":193377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:51:02] local.INFO: TCP Data received {"connection_id":193377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:51:02] local.INFO: Processing buffer {"connection_id":193377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:51:02] local.INFO: IMEI packet received {"connection_id":193377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":193377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:51:02] local.INFO: TCP Data received {"connection_id":193377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:02] local.INFO: Processing buffer {"connection_id":193377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:02] local.INFO: Packet analysis {"connection_id":193377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:51:02] local.INFO: Extracted packet for processing {"connection_id":193377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:51:02] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:51: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-09-23 15: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-09-23 15:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:51:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":193377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:51:02] local.INFO: GPS data processed {"connection_id":193377,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:51:02] local.INFO: Acknowledgment sent {"connection_id":193377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:51:05] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc76158012d39cf0006c96b50003200e622..."} 
[2026-09-23 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc76158012d39cf0006c96b50003200e622..."} 
[2026-09-23 15:51:05] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc76158012d39cf0006c96b50003200e622..."} 
[2026-09-23 15:51:05] local.INFO: Packet analysis {"connection_id":190685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:51:05] local.INFO: Extracted packet for processing {"connection_id":190685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758763264,"raw_latitude":113863504,"longitude_deg":75.8763264,"latitude_deg":11.3863504,"altitude":50,"angle":230,"satellites":34,"speed":32,"hex_longitude":"2d39cf00","hex_latitude":"06c96b50","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280649984001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406564606421499904,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4166674109397170176,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790158791000,"timestamp_ms":1790158791000,"timestamp_seconds":1790158791,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc76158"} 
[2026-09-23 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 15:51: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-09-23 15: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-09-23 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:51: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-09-23 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280649984001,"66":27365,"82":206,"81":21504,"24":32,"16":406564606421499904,"45":4166674109397170176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280649984001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406564606421499904,"km_value":406564606421499.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4166674109397170176,"description":"Unknown IO ID 45"} 
[2026-09-23 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280649984001,"power":27365,"unknown_82":206,"unknown_81":21504,"ignition":32,"odometer":null,"unknown_45":4166674109397170176}} 
[2026-09-23 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":190685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:51:06] local.INFO: GPS data processed {"connection_id":190685,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:51:06] local.INFO: Acknowledgment sent {"connection_id":190685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:51:31] local.INFO: TCP Data received {"connection_id":193378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:31] local.INFO: Processing buffer {"connection_id":193378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:31] local.INFO: IMEI packet received {"connection_id":193378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:51:34] local.INFO: TCP Data received {"connection_id":193377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:34] local.INFO: Processing buffer {"connection_id":193377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:51:34] local.INFO: Packet analysis {"connection_id":193377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:51:34] local.INFO: Extracted packet for processing {"connection_id":193377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:51: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:51: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-09-23 15: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-09-23 15:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:51:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":193377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:51:34] local.INFO: GPS data processed {"connection_id":193377,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:51:34] local.INFO: Acknowledgment sent {"connection_id":193377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:51:36] local.INFO: TCP Data received {"connection_id":193378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:36] local.INFO: Processing buffer {"connection_id":193378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:51:36] local.INFO: IMEI packet received {"connection_id":193378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":193378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:51:37] local.INFO: TCP Data received {"connection_id":193378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc7f5c8012d39a00006c914a8002300fd25..."} 
[2026-09-23 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc7f5c8012d39a00006c914a8002300fd25..."} 
[2026-09-23 15:51:37] local.INFO: Processing buffer {"connection_id":193378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc7f5c8012d39a00006c914a8002300fd25..."} 
[2026-09-23 15:51:37] local.INFO: Packet analysis {"connection_id":193378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:51:37] local.INFO: Extracted packet for processing {"connection_id":193378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758751232,"raw_latitude":113841320,"longitude_deg":75.8751232,"latitude_deg":11.384132,"altitude":35,"angle":253,"satellites":37,"speed":7,"hex_longitude":"2d39a000","hex_latitude":"06c914a8","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280659456001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406565882026786816,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4152881835532457984,"note":"Value kept but may cause issues"} 
[2026-09-23 15:51:37] 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-09-23 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158829000,"timestamp_ms":1790158829000,"timestamp_seconds":1790158829,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc7f5c8"} 
[2026-09-23 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15: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":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:51: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-09-23 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280659456001,"66":27908,"82":206,"81":21504,"24":7,"16":406565882026786816,"45":4152881835532457984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280659456001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:51:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406565882026786816,"km_value":406565882026786.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4152881835532457984,"description":"Unknown IO ID 45"} 
[2026-09-23 15:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280659456001,"power":27908,"unknown_82":206,"unknown_81":21504,"ignition":7,"odometer":null,"unknown_45":4152881835532457984}} 
[2026-09-23 15:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":193378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:51:37] local.INFO: GPS data processed {"connection_id":193378,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:51:37] local.INFO: Acknowledgment sent {"connection_id":193378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:51:45] local.INFO: TCP Data received {"connection_id":193379,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:51:45] local.INFO: Processing buffer {"connection_id":193379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:51:45] local.INFO: IMEI packet received {"connection_id":193379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":193379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:52:02] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:02] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:02] local.INFO: IMEI packet received {"connection_id":190688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":190688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:52:07] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:07] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:07] local.INFO: IMEI packet received {"connection_id":190688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":190688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:52:08] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:08] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:08] local.INFO: Packet analysis {"connection_id":190688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:52:08] local.INFO: Extracted packet for processing {"connection_id":190688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:52: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-09-23 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":190688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:52:08] local.INFO: GPS data processed {"connection_id":190688,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:52:08] local.INFO: Acknowledgment sent {"connection_id":190688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:52:08] local.INFO: TCP Data received {"connection_id":193378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc7fd98012d399e4006c914400022010b25..."} 
[2026-09-23 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc7fd98012d399e4006c914400022010b25..."} 
[2026-09-23 15:52:08] local.INFO: Processing buffer {"connection_id":193378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc7fd98012d399e4006c914400022010b25..."} 
[2026-09-23 15:52:08] local.INFO: Packet analysis {"connection_id":193378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:52:08] local.INFO: Extracted packet for processing {"connection_id":193378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc7"} 
[2026-09-23 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758750784,"raw_latitude":113841216,"longitude_deg":75.8750784,"latitude_deg":11.3841216,"altitude":34,"angle":267,"satellites":37,"speed":10,"hex_longitude":"2d399e40","hex_latitude":"06c91440","is_valid_coordinates":true} 
[2026-09-23 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280660224001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406565903501623296,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4152318885578975232,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:08] 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-09-23 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790158831000,"timestamp_ms":1790158831000,"timestamp_seconds":1790158831,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc7fd98"} 
[2026-09-23 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:52: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-09-23 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:52: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-09-23 15:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:52: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-09-23 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280660224001,"66":27832,"82":206,"81":21504,"24":10,"16":406565903501623296,"45":4152318885578975232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280660224001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406565903501623296,"km_value":406565903501623.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4152318885578975232,"description":"Unknown IO ID 45"} 
[2026-09-23 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280660224001,"power":27832,"unknown_82":206,"unknown_81":21504,"ignition":10,"odometer":null,"unknown_45":4152318885578975232}} 
[2026-09-23 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":193378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:52:08] local.INFO: GPS data processed {"connection_id":193378,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:52:08] local.INFO: Acknowledgment sent {"connection_id":193378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:52:11] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:52:11] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:52:11] local.INFO: IMEI packet received {"connection_id":192030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":192030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:52:12] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:12] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc51f38012d180e8007219460005500d42b..."} 
[2026-09-23 15:52:12] local.INFO: Packet analysis {"connection_id":190688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:52:12] local.INFO: Extracted packet for processing {"connection_id":190688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc5"} 
[2026-09-23 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":85,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280534528001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790158643000,"timestamp_ms":1790158643000,"timestamp_seconds":1790158643,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc51f38"} 
[2026-09-23 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:52:12] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:52: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-09-23 15: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-09-23 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280534528001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280534528001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:52:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280534528001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":190688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:52:12] local.INFO: GPS data processed {"connection_id":190688,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:52:12] local.INFO: Acknowledgment sent {"connection_id":190688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:52:31] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:31] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:31] local.INFO: IMEI packet received {"connection_id":192031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":192031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:52:36] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:36] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:52:36] local.INFO: IMEI packet received {"connection_id":192031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":192031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:52:37] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc82890012d39938006c91390002100fa25..."} 
[2026-09-23 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc82890012d39938006c91390002100fa25..."} 
[2026-09-23 15:52:37] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc82890012d39938006c91390002100fa25..."} 
[2026-09-23 15:52:37] local.INFO: Packet analysis {"connection_id":192031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:52:37] local.INFO: Extracted packet for processing {"connection_id":192031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758748032,"raw_latitude":113841040,"longitude_deg":75.8748032,"latitude_deg":11.384104,"altitude":33,"angle":250,"satellites":37,"speed":7,"hex_longitude":"2d399380","hex_latitude":"06c91390","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280660736001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566036645609472,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151826304369704960,"note":"Value kept but may cause issues"} 
[2026-09-23 15:52:37] 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-09-23 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158842000,"timestamp_ms":1790158842000,"timestamp_seconds":1790158842,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc82890"} 
[2026-09-23 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15: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":184,"data_length":795,"current_offset":136} 
[2026-09-23 15:52: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-09-23 15: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-09-23 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:52: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-09-23 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280660736001,"66":27974,"82":206,"81":21504,"24":7,"16":406566036645609472,"45":4151826304369704960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280660736001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:52:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566036645609472,"km_value":406566036645609.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151826304369704960,"description":"Unknown IO ID 45"} 
[2026-09-23 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280660736001,"power":27974,"unknown_82":206,"unknown_81":21504,"ignition":7,"odometer":null,"unknown_45":4151826304369704960}} 
[2026-09-23 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":192031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:52:37] local.INFO: GPS data processed {"connection_id":192031,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:52:37] local.INFO: Acknowledgment sent {"connection_id":192031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:52:57] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:57] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:52:57] local.INFO: IMEI packet received {"connection_id":190502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":190502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:53:02] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:02] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:02] local.INFO: IMEI packet received {"connection_id":190502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":190502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:53:03] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:03] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:03] local.INFO: Packet analysis {"connection_id":190502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:53:03] local.INFO: Extracted packet for processing {"connection_id":190502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:53: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:53: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-09-23 15: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-09-23 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:53:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":190502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:53:03] local.INFO: GPS data processed {"connection_id":190502,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:53:03] local.INFO: Acknowledgment sent {"connection_id":190502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:53:11] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc83060012d39920006c91300002000ed23..."} 
[2026-09-23 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc83060012d39920006c91300002000ed23..."} 
[2026-09-23 15:53:11] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc83060012d39920006c91300002000ed23..."} 
[2026-09-23 15:53:11] local.INFO: Packet analysis {"connection_id":192031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:11] local.INFO: Extracted packet for processing {"connection_id":192031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758747648,"raw_latitude":113840896,"longitude_deg":75.8747648,"latitude_deg":11.3840896,"altitude":32,"angle":237,"satellites":35,"speed":5,"hex_longitude":"2d399200","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280663552001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566053825478656,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4148800448370020352,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790158844000,"timestamp_ms":1790158844000,"timestamp_seconds":1790158844,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc83060"} 
[2026-09-23 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 15:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53: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-09-23 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280663552001,"66":27908,"82":206,"81":21504,"24":5,"16":406566053825478656,"45":4148800448370020352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280663552001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:53:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566053825478656,"km_value":406566053825478.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4148800448370020352,"description":"Unknown IO ID 45"} 
[2026-09-23 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280663552001,"power":27908,"unknown_82":206,"unknown_81":21504,"ignition":5,"odometer":null,"unknown_45":4148800448370020352}} 
[2026-09-23 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":192031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:53:11] local.INFO: GPS data processed {"connection_id":192031,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:53:11] local.INFO: Acknowledgment sent {"connection_id":192031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:53:34] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:34] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:53:34] local.INFO: Packet analysis {"connection_id":190502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:53:34] local.INFO: Extracted packet for processing {"connection_id":190502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:53: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:53: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-09-23 15: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-09-23 15:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":190502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:53:34] local.INFO: GPS data processed {"connection_id":190502,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:53:34] local.INFO: Acknowledgment sent {"connection_id":190502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:53:36] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:36] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:36] local.INFO: IMEI packet received {"connection_id":192032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":192032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:53:41] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:41] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:53:41] local.INFO: IMEI packet received {"connection_id":192032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":192032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:53:42] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc83c18012d39908006c91248002000fe23..."} 
[2026-09-23 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc83c18012d39908006c91248002000fe23..."} 
[2026-09-23 15:53:42] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc83c18012d39908006c91248002000fe23..."} 
[2026-09-23 15:53:42] local.INFO: Packet analysis {"connection_id":192032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:42] local.INFO: Extracted packet for processing {"connection_id":192032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758747264,"raw_latitude":113840712,"longitude_deg":75.8747264,"latitude_deg":11.3840712,"altitude":32,"angle":254,"satellites":35,"speed":5,"hex_longitude":"2d399080","hex_latitude":"06c91248","is_valid_coordinates":true} 
[2026-09-23 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280664064001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566075300315136,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4148378235904917504,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:42] 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-09-23 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790158847000,"timestamp_ms":1790158847000,"timestamp_seconds":1790158847,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc83c18"} 
[2026-09-23 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:53: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-09-23 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53: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-09-23 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280664064001,"66":27930,"82":206,"81":21504,"24":5,"16":406566075300315136,"45":4148378235904917504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280664064001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:53:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566075300315136,"km_value":406566075300315.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4148378235904917504,"description":"Unknown IO ID 45"} 
[2026-09-23 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280664064001,"power":27930,"unknown_82":206,"unknown_81":21504,"ignition":5,"odometer":null,"unknown_45":4148378235904917504}} 
[2026-09-23 15:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":192032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:53:42] local.INFO: GPS data processed {"connection_id":192032,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:53:42] local.INFO: Acknowledgment sent {"connection_id":192032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:53:47] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc88a38012d398c8006c91120001f00fe23..."} 
[2026-09-23 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc88a38012d398c8006c91120001f00fe23..."} 
[2026-09-23 15:53:47] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc88a38012d398c8006c91120001f00fe23..."} 
[2026-09-23 15:53:47] local.INFO: Packet analysis {"connection_id":192032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:47] local.INFO: Extracted packet for processing {"connection_id":192032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840416,"longitude_deg":75.874624,"latitude_deg":11.3840416,"altitude":31,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c91120","is_valid_coordinates":true} 
[2026-09-23 15:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280664832001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566126839922688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4147956023439804416,"note":"Value kept but may cause issues"} 
[2026-09-23 15:53:47] 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-09-23 15:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790158867000,"timestamp_ms":1790158867000,"timestamp_seconds":1790158867,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc88a38"} 
[2026-09-23 15:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:53: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-09-23 15:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280664832001,"66":27930,"82":206,"81":21504,"24":0,"16":406566126839922688,"45":4147956023439804416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280664832001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:53:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566126839922688,"km_value":406566126839922.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4147956023439804416,"description":"Unknown IO ID 45"} 
[2026-09-23 15:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280664832001,"power":27930,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4147956023439804416}} 
[2026-09-23 15:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":192032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:53:47] local.INFO: GPS data processed {"connection_id":192032,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:53:47] local.INFO: Acknowledgment sent {"connection_id":192032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:53:56] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:56] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:53:56] local.INFO: IMEI packet received {"connection_id":192033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":192033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:54:02] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:02] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:02] local.INFO: IMEI packet received {"connection_id":192033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":192033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:54:02] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:02] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:02] local.INFO: Packet analysis {"connection_id":192033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:54:02] local.INFO: Extracted packet for processing {"connection_id":192033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:54:02] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:54: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-09-23 15: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-09-23 15:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:54:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":192033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:54:02] local.INFO: GPS data processed {"connection_id":192033,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:54:02] local.INFO: Acknowledgment sent {"connection_id":192033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:54:31] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:31] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:31] local.INFO: IMEI packet received {"connection_id":193380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":193380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:54:34] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:34] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:54:34] local.INFO: Packet analysis {"connection_id":192033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:54:34] local.INFO: Extracted packet for processing {"connection_id":192033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:54: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:54: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-09-23 15: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-09-23 15:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:54:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":192033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:54:34] local.INFO: GPS data processed {"connection_id":192033,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:54:34] local.INFO: Acknowledgment sent {"connection_id":192033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:54:36] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:36] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:54:36] local.INFO: IMEI packet received {"connection_id":193380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":193380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:54:37] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc88e20012d398c8006c91120001f00fe24..."} 
[2026-09-23 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc88e20012d398c8006c91120001f00fe24..."} 
[2026-09-23 15:54:37] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc88e20012d398c8006c91120001f00fe24..."} 
[2026-09-23 15:54:37] local.INFO: Packet analysis {"connection_id":193380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:54:37] local.INFO: Extracted packet for processing {"connection_id":193380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc8"} 
[2026-09-23 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840416,"longitude_deg":75.874624,"latitude_deg":11.3840416,"altitude":31,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c91120","is_valid_coordinates":true} 
[2026-09-23 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280669952001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566126839922688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532886016,"note":"Value kept but may cause issues"} 
[2026-09-23 15:54:37] 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-09-23 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790158868000,"timestamp_ms":1790158868000,"timestamp_seconds":1790158868,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc88e20"} 
[2026-09-23 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:54: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-09-23 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 15:54: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-09-23 15:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:54: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-09-23 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280669952001,"66":27647,"82":206,"81":21504,"24":0,"16":406566126839922688,"45":4146830123532886016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280669952001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:54:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566126839922688,"km_value":406566126839922.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532886016,"description":"Unknown IO ID 45"} 
[2026-09-23 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280669952001,"power":27647,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532886016}} 
[2026-09-23 15:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":193380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:54:37] local.INFO: GPS data processed {"connection_id":193380,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:54:37] local.INFO: Acknowledgment sent {"connection_id":193380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:54:56] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:56] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:54:56] local.INFO: IMEI packet received {"connection_id":190691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":190691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:55:02] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:02] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:02] local.INFO: IMEI packet received {"connection_id":190691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":190691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:55:02] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:02] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:02] local.INFO: Packet analysis {"connection_id":190691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:55:02] local.INFO: Extracted packet for processing {"connection_id":190691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:55:02] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:55: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-09-23 15: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-09-23 15:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":190691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:55:02] local.INFO: GPS data processed {"connection_id":190691,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:55:02] local.INFO: Acknowledgment sent {"connection_id":190691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:55:08] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcadfe0012d39894006c90fb0002100fe28..."} 
[2026-09-23 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcadfe0012d39894006c90fb0002100fe28..."} 
[2026-09-23 15:55:08] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcadfe0012d39894006c90fb0002100fe28..."} 
[2026-09-23 15:55:08] local.INFO: Packet analysis {"connection_id":193380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdca"} 
[2026-09-23 15:55:08] local.INFO: Extracted packet for processing {"connection_id":193380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdca"} 
[2026-09-23 15:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758745408,"raw_latitude":113840048,"longitude_deg":75.8745408,"latitude_deg":11.3840048,"altitude":33,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d398940","hex_latitude":"06c90fb0","is_valid_coordinates":true} 
[2026-09-23 15:55: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-09-23 15:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280670208001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566126839922688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532886016,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:08] 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-09-23 15:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159020000,"timestamp_ms":1790159020000,"timestamp_seconds":1790159020,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcadfe0"} 
[2026-09-23 15:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 15:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 15:55:08] 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-09-23 15:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:55: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-09-23 15:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280670208001,"66":26702,"82":206,"81":21504,"24":0,"16":406566126839922688,"45":4146830123532886016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280670208001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:55:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566126839922688,"km_value":406566126839922.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532886016,"description":"Unknown IO ID 45"} 
[2026-09-23 15:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280670208001,"power":26702,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532886016}} 
[2026-09-23 15:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":193380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:55:08] local.INFO: GPS data processed {"connection_id":193380,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:55:08] local.INFO: Acknowledgment sent {"connection_id":193380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:55:30] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:30] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:30] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:55:31] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:55:31] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:31] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:55:34] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:34] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:55:34] local.INFO: Packet analysis {"connection_id":190691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:55:34] local.INFO: Extracted packet for processing {"connection_id":190691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:55: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-09-23 15:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:55: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-09-23 15:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:55:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":190691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:55:34] local.INFO: GPS data processed {"connection_id":190691,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:55:34] local.INFO: Acknowledgment sent {"connection_id":190691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:55:36] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:36] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:55:36] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:55:37] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcb3da0012d3988c006c90f60002100fe24..."} 
[2026-09-23 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcb3da0012d3988c006c90f60002100fe24..."} 
[2026-09-23 15:55:37] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcb3da0012d3988c006c90f60002100fe24..."} 
[2026-09-23 15:55:37] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:55:37] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113839968,"longitude_deg":75.874528,"latitude_deg":11.3839968,"altitude":33,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c90f60","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280709120001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566126839922688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329858482176,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:37] 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-09-23 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159044000,"timestamp_ms":1790159044000,"timestamp_seconds":1790159044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcb3da0"} 
[2026-09-23 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:55: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-09-23 15: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-23 15:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15: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-09-23 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280709120001,"66":27767,"82":206,"81":21504,"24":0,"16":406566126839922688,"45":4145915329858482176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280709120001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:55:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566126839922688,"km_value":406566126839922.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329858482176,"description":"Unknown IO ID 45"} 
[2026-09-23 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280709120001,"power":27767,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145915329858482176}} 
[2026-09-23 15:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:55:37] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:55:37] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:55:45] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:55:45] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:55:45] local.INFO: IMEI packet received {"connection_id":190692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":190692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:55:45] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcc81d8012d0ab600070589900032010515..."} 
[2026-09-23 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcc81d8012d0ab600070589900032010515..."} 
[2026-09-23 15:55:45] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcc81d8012d0ab600070589900032010515..."} 
[2026-09-23 15:55:45] local.INFO: Packet analysis {"connection_id":190692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:55:45] local.INFO: Extracted packet for processing {"connection_id":190692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":755676672,"raw_latitude":117803408,"longitude_deg":75.5676672,"latitude_deg":11.7803408,"altitude":50,"angle":261,"satellites":21,"speed":3,"hex_longitude":"2d0ab600","hex_latitude":"07058990","is_valid_coordinates":true} 
[2026-09-23 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280735232001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33468008668069888,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772296997507545088,"note":"Value kept but may cause issues"} 
[2026-09-23 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790159127000,"timestamp_ms":1790159127000,"timestamp_seconds":1790159127,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcc81d8"} 
[2026-09-23 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 15:55:45] 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-09-23 15:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280735232001,"66":14407,"165":206,"94":10240,"24":3,"16":33468008668069888,"45":772296997507545088},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280735232001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:55:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:55:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33468008668069888,"km_value":33468008668069.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":772296997507545088,"description":"Unknown IO ID 45"} 
[2026-09-23 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280735232001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":772296997507545088}} 
[2026-09-23 15:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":190692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:55:46] local.INFO: GPS data processed {"connection_id":190692,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:55:46] local.INFO: Acknowledgment sent {"connection_id":190692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:55:56] local.INFO: TCP Data received {"connection_id":193382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:56] local.INFO: Processing buffer {"connection_id":193382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:55:56] local.INFO: IMEI packet received {"connection_id":193382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":193382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:56:02] local.INFO: TCP Data received {"connection_id":193382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:56:02] local.INFO: Processing buffer {"connection_id":193382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:56:02] local.INFO: IMEI packet received {"connection_id":193382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":193382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:56:02] local.INFO: TCP Data received {"connection_id":193382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:02] local.INFO: Processing buffer {"connection_id":193382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:02] local.INFO: Packet analysis {"connection_id":193382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:56:02] local.INFO: Extracted packet for processing {"connection_id":193382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:56:02] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:56: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-09-23 15: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-09-23 15:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":193382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:02] local.INFO: GPS data processed {"connection_id":193382,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:02] local.INFO: Acknowledgment sent {"connection_id":193382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:56:10] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcb8fa8012d3988c006c90f60002100fe25..."} 
[2026-09-23 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcb8fa8012d3988c006c90f60002100fe25..."} 
[2026-09-23 15:56:10] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcb8fa8012d3988c006c90f60002100fe25..."} 
[2026-09-23 15:56:10] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:56:10] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113839968,"longitude_deg":75.874528,"latitude_deg":11.3839968,"altitude":33,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c90f60","is_valid_coordinates":true} 
[2026-09-23 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280715264001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566126839922688,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145774592370106368,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:10] 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-09-23 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790159065000,"timestamp_ms":1790159065000,"timestamp_seconds":1790159065,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcb8fa8"} 
[2026-09-23 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:56: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-09-23 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 15: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-09-23 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:56: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-09-23 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280715264001,"66":27908,"82":206,"81":21504,"24":0,"16":406566126839922688,"45":4145774592370106368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280715264001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:10] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566126839922688,"km_value":406566126839922.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145774592370106368,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280715264001,"power":27908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145774592370106368}} 
[2026-09-23 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:10] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:10] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:56:16] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcc9178012d0ab20007058860003200f915..."} 
[2026-09-23 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcc9178012d0ab20007058860003200f915..."} 
[2026-09-23 15:56:16] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcc9178012d0ab20007058860003200f915..."} 
[2026-09-23 15:56:16] local.INFO: Packet analysis {"connection_id":190692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:56:16] local.INFO: Extracted packet for processing {"connection_id":190692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755675648,"raw_latitude":117803104,"longitude_deg":75.5675648,"latitude_deg":11.7803104,"altitude":50,"angle":249,"satellites":21,"speed":13,"hex_longitude":"2d0ab200","hex_latitude":"07058860","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280736512001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33468055912710144,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771804416298291200,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56: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-09-23 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790159131000,"timestamp_ms":1790159131000,"timestamp_seconds":1790159131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcc9178"} 
[2026-09-23 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-09-23 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-09-23 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":71,"data_length":795,"current_offset":136} 
[2026-09-23 15:56:16] 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-09-23 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-09-23 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-09-23 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280736512001,"66":14450,"165":206,"94":10240,"24":13,"16":33468055912710144,"45":771804416298291200},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280736512001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33468055912710144,"km_value":33468055912710.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":771804416298291200,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280736512001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":771804416298291200}} 
[2026-09-23 15:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":190692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:17] local.INFO: GPS data processed {"connection_id":190692,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:17] local.INFO: Acknowledgment sent {"connection_id":190692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:56:31] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:31] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:31] local.INFO: IMEI packet received {"connection_id":190507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":190507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:56:33] local.INFO: TCP Data received {"connection_id":193382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:33] local.INFO: Processing buffer {"connection_id":193382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:56:33] local.INFO: Packet analysis {"connection_id":193382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:56:33] local.INFO: Extracted packet for processing {"connection_id":193382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:56:33] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:56: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-09-23 15: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-09-23 15:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":193382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:34] local.INFO: GPS data processed {"connection_id":193382,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:34] local.INFO: Acknowledgment sent {"connection_id":193382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:56:36] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:36] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:56:36] local.INFO: IMEI packet received {"connection_id":190507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":190507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:56:37] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcbe1b0012d39858006c90f78002400fe27..."} 
[2026-09-23 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcbe1b0012d39858006c90f78002400fe27..."} 
[2026-09-23 15:56:37] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcbe1b0012d39858006c90f78002400fe27..."} 
[2026-09-23 15:56:37] local.INFO: Packet analysis {"connection_id":190507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:56:37] local.INFO: Extracted packet for processing {"connection_id":190507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758744448,"raw_latitude":113839992,"longitude_deg":75.8744448,"latitude_deg":11.3839992,"altitude":36,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d398580","hex_latitude":"06c90f78","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280720640001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566165494628352,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145774592370106368,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:37] 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-09-23 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159086000,"timestamp_ms":1790159086000,"timestamp_seconds":1790159086,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcbe1b0"} 
[2026-09-23 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-09-23 15: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-09-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 15: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-09-23 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-09-23 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-09-23 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15: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-09-23 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280720640001,"66":27713,"82":206,"81":21504,"24":0,"16":406566165494628352,"45":4145774592370106368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280720640001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566165494628352,"km_value":406566165494628.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145774592370106368,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280720640001,"power":27713,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145774592370106368}} 
[2026-09-23 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":190507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:37] local.INFO: GPS data processed {"connection_id":190507,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:37] local.INFO: Acknowledgment sent {"connection_id":190507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:56:38] local.INFO: TCP Data received {"connection_id":192034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:38] local.INFO: Processing buffer {"connection_id":192034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:38] local.INFO: IMEI packet received {"connection_id":192034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":192034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:56:43] local.INFO: TCP Data received {"connection_id":192034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:43] local.INFO: Processing buffer {"connection_id":192034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:56:43] local.INFO: IMEI packet received {"connection_id":192034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":192034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:56:43] local.INFO: TCP Data received {"connection_id":192034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcd3970012d0a83c00705ac480026015015..."} 
[2026-09-23 15:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcd3970012d0a83c00705ac480026015015..."} 
[2026-09-23 15:56:43] local.INFO: Processing buffer {"connection_id":192034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcd3970012d0a83c00705ac480026015015..."} 
[2026-09-23 15:56:43] local.INFO: Packet analysis {"connection_id":192034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:56:43] local.INFO: Extracted packet for processing {"connection_id":192034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":755663808,"raw_latitude":117812296,"longitude_deg":75.5663808,"latitude_deg":11.7812296,"altitude":38,"angle":336,"satellites":21,"speed":14,"hex_longitude":"2d0a83c0","hex_latitude":"0705ac48","is_valid_coordinates":true} 
[2026-09-23 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280748288001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33468884841398272,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757871404953315328,"note":"Value kept but may cause issues"} 
[2026-09-23 15:56:43] 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-09-23 15:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790159174000,"timestamp_ms":1790159174000,"timestamp_seconds":1790159174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcd3970"} 
[2026-09-23 15:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 15:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280748288001,"66":14428,"165":206,"94":10240,"24":14,"16":33468884841398272,"45":757871404953315328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280748288001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:56:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:56:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33468884841398272,"km_value":33468884841398.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":757871404953315328,"description":"Unknown IO ID 45"} 
[2026-09-23 15:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280748288001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":757871404953315328}} 
[2026-09-23 15:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":192034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:56:44] local.INFO: GPS data processed {"connection_id":192034,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:56:44] local.INFO: Acknowledgment sent {"connection_id":192034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:02] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:02] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:02] local.INFO: IMEI packet received {"connection_id":190693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:57:07] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:07] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:07] local.INFO: IMEI packet received {"connection_id":190693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":190693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:57:07] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:07] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:07] local.INFO: Packet analysis {"connection_id":190693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:57:07] local.INFO: Extracted packet for processing {"connection_id":190693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:57: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:57:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":190693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:57:07] local.INFO: GPS data processed {"connection_id":190693,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:57:07] local.INFO: Acknowledgment sent {"connection_id":190693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:08] local.INFO: TCP Data received {"connection_id":190507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcbf920012d39864006c910100024003b26..."} 
[2026-09-23 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcbf920012d39864006c910100024003b26..."} 
[2026-09-23 15:57:08] local.INFO: Processing buffer {"connection_id":190507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcbf920012d39864006c910100024003b26..."} 
[2026-09-23 15:57:08] local.INFO: Packet analysis {"connection_id":190507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:57:08] local.INFO: Extracted packet for processing {"connection_id":190507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758744640,"raw_latitude":113840144,"longitude_deg":75.874464,"latitude_deg":11.3840144,"altitude":36,"angle":59,"satellites":38,"speed":1,"hex_longitude":"2d398640","hex_latitude":"06c91010","is_valid_coordinates":true} 
[2026-09-23 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-09-23 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280726016001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566178379530240,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4144859798695802880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:08] 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-09-23 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159092000,"timestamp_ms":1790159092000,"timestamp_seconds":1790159092,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcbf920"} 
[2026-09-23 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-09-23 15:57: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-09-23 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 15:57: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-09-23 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-09-23 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-09-23 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:57: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-09-23 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280726016001,"66":27843,"82":206,"81":21504,"24":1,"16":406566178379530240,"45":4144859798695802880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280726016001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:57:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566178379530240,"km_value":406566178379530.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4144859798695802880,"description":"Unknown IO ID 45"} 
[2026-09-23 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280726016001,"power":27843,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4144859798695802880}} 
[2026-09-23 15:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:57:08] local.INFO: GPS data processed {"connection_id":190507,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:57:08] local.INFO: Acknowledgment sent {"connection_id":190507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:12] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:12] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdc9c6a0012d180e8007219460003d00d42b..."} 
[2026-09-23 15:57:12] local.INFO: Packet analysis {"connection_id":190693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:57:12] local.INFO: Extracted packet for processing {"connection_id":190693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdc9"} 
[2026-09-23 15:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280612608001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790158948000,"timestamp_ms":1790158948000,"timestamp_seconds":1790158948,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdc9c6a0"} 
[2026-09-23 15:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:57:12] 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-09-23 15:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:57: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-09-23 15:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280612608001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280612608001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:57:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280612608001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":190693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:57:12] local.INFO: GPS data processed {"connection_id":190693,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:57:12] local.INFO: Acknowledgment sent {"connection_id":190693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:14] local.INFO: TCP Data received {"connection_id":192034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcd6850012d0a7a000705c3100029015f15..."} 
[2026-09-23 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcd6850012d0a7a000705c3100029015f15..."} 
[2026-09-23 15:57:14] local.INFO: Processing buffer {"connection_id":192034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcd6850012d0a7a000705c3100029015f15..."} 
[2026-09-23 15:57:14] local.INFO: Packet analysis {"connection_id":192034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:57:14] local.INFO: Extracted packet for processing {"connection_id":192034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755661312,"raw_latitude":117818128,"longitude_deg":75.5661312,"latitude_deg":11.7818128,"altitude":41,"angle":351,"satellites":21,"speed":20,"hex_longitude":"2d0a7a00","hex_latitude":"0705c310","is_valid_coordinates":true} 
[2026-09-23 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280748544001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33469194079043584,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720856064,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57: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-09-23 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790159186000,"timestamp_ms":1790159186000,"timestamp_seconds":1790159186,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcd6850"} 
[2026-09-23 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 15:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280748544001,"66":14428,"165":206,"94":10240,"24":20,"16":33469194079043584,"45":757660298720856064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280748544001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:57:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:57:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33469194079043584,"km_value":33469194079043.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720856064,"description":"Unknown IO ID 45"} 
[2026-09-23 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280748544001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":757660298720856064}} 
[2026-09-23 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":192034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:57:14] local.INFO: GPS data processed {"connection_id":192034,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:57:14] local.INFO: Acknowledgment sent {"connection_id":192034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:38] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:38] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:38] local.INFO: IMEI packet received {"connection_id":190694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":190694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:57:43] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:43] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:57:43] local.INFO: IMEI packet received {"connection_id":190694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":190694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:57:44] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcd7408012d0a79000705c6980029015315..."} 
[2026-09-23 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcd7408012d0a79000705c6980029015315..."} 
[2026-09-23 15:57:44] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcd7408012d0a79000705c6980029015315..."} 
[2026-09-23 15:57:44] local.INFO: Packet analysis {"connection_id":190694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:57:44] local.INFO: Extracted packet for processing {"connection_id":190694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":755661056,"raw_latitude":117819032,"longitude_deg":75.5661056,"latitude_deg":11.7819032,"altitude":41,"angle":339,"satellites":21,"speed":6,"hex_longitude":"2d0a7900","hex_latitude":"0705c698","is_valid_coordinates":true} 
[2026-09-23 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280751616001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33469237028716544,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754915917699420160,"note":"Value kept but may cause issues"} 
[2026-09-23 15:57:44] 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-09-23 15:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790159189000,"timestamp_ms":1790159189000,"timestamp_seconds":1790159189,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcd7408"} 
[2026-09-23 15:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 15:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280751616001,"66":14744,"165":206,"94":10240,"24":6,"16":33469237028716544,"45":754915917699420160},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280751616001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:57:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:57:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33469237028716544,"km_value":33469237028716.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":754915917699420160,"description":"Unknown IO ID 45"} 
[2026-09-23 15:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280751616001,"power":14744,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":754915917699420160}} 
[2026-09-23 15:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":190694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:57:44] local.INFO: GPS data processed {"connection_id":190694,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:57:44] local.INFO: Acknowledgment sent {"connection_id":190694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:57:56] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:56] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:57:56] local.INFO: IMEI packet received {"connection_id":192035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":192035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:58:02] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:02] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:02] local.INFO: IMEI packet received {"connection_id":192035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":192035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:58:02] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:02] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:02] local.INFO: Packet analysis {"connection_id":192035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:02] local.INFO: Extracted packet for processing {"connection_id":192035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 15:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:58: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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:58: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-09-23 15: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-09-23 15:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":192035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:03] local.INFO: GPS data processed {"connection_id":192035,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:03] local.INFO: Acknowledgment sent {"connection_id":192035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:06] local.INFO: TCP Data received {"connection_id":190695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:06] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:06] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:58:11] local.INFO: TCP Data received {"connection_id":190695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:11] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:11] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:58:11] local.INFO: TCP Data received {"connection_id":190695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcbfd08012d39864006c910200024004726..."} 
[2026-09-23 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcbfd08012d39864006c910200024004726..."} 
[2026-09-23 15:58:11] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcbfd08012d39864006c910200024004726..."} 
[2026-09-23 15:58:11] local.INFO: Packet analysis {"connection_id":190695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:58:11] local.INFO: Extracted packet for processing {"connection_id":190695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcb"} 
[2026-09-23 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758744640,"raw_latitude":113840160,"longitude_deg":75.874464,"latitude_deg":11.384016,"altitude":36,"angle":71,"satellites":38,"speed":1,"hex_longitude":"2d398640","hex_latitude":"06c91020","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280727552001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566178379530240,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145070904928374784,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790159093000,"timestamp_ms":1790159093000,"timestamp_seconds":1790159093,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcbfd08"} 
[2026-09-23 15:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 15:58: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-09-23 15: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-09-23 15:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:58: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-09-23 15:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280727552001,"66":27843,"82":206,"81":21504,"24":1,"16":406566178379530240,"45":4145070904928374784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280727552001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566178379530240,"km_value":406566178379530.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145070904928374784,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280727552001,"power":27843,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4145070904928374784}} 
[2026-09-23 15:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":190695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:11] local.INFO: GPS data processed {"connection_id":190695,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:11] local.INFO: Acknowledgment sent {"connection_id":190695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:15] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcef6c0012d0a75c0070606380022010015..."} 
[2026-09-23 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcef6c0012d0a75c0070606380022010015..."} 
[2026-09-23 15:58:15] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcef6c0012d0a75c0070606380022010015..."} 
[2026-09-23 15:58:15] local.INFO: Packet analysis {"connection_id":190694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:15] local.INFO: Extracted packet for processing {"connection_id":190694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117835320,"longitude_deg":75.5660224,"latitude_deg":11.783532,"altitude":34,"angle":256,"satellites":21,"speed":1,"hex_longitude":"2d0a75c0","hex_latitude":"07060638","is_valid_coordinates":true} 
[2026-09-23 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280777216001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33470087432241152,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386541166592,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:15] 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-09-23 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790159288000,"timestamp_ms":1790159288000,"timestamp_seconds":1790159288,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcef6c0"} 
[2026-09-23 15:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:58: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-09-23 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 15:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280777216001,"66":14439,"165":206,"94":10240,"24":1,"16":33470087432241152,"45":753860386541166592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280777216001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:58:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33470087432241152,"km_value":33470087432241.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386541166592,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280777216001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753860386541166592}} 
[2026-09-23 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":190694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:15] local.INFO: GPS data processed {"connection_id":190694,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:15] local.INFO: Acknowledgment sent {"connection_id":190694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:20] local.INFO: TCP Data received {"connection_id":193383,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:58:20] local.INFO: Processing buffer {"connection_id":193383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 15:58:20] local.INFO: IMEI packet received {"connection_id":193383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":193383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:58:31] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:31] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:31] local.INFO: IMEI packet received {"connection_id":193384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":193384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:58:34] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:34] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:58:34] local.INFO: Packet analysis {"connection_id":192035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:34] local.INFO: Extracted packet for processing {"connection_id":192035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:58:34] 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-09-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:58: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-09-23 15: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-09-23 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":192035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:34] local.INFO: GPS data processed {"connection_id":192035,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:34] local.INFO: Acknowledgment sent {"connection_id":192035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:36] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:36] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:58:36] local.INFO: IMEI packet received {"connection_id":193384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":193384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:58:37] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcc4f10012d39870006c910480024004426..."} 
[2026-09-23 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcc4f10012d39870006c910480024004426..."} 
[2026-09-23 15:58:37] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcc4f10012d39870006c910480024004426..."} 
[2026-09-23 15:58:37] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:58:37] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758744832,"raw_latitude":113840200,"longitude_deg":75.8744832,"latitude_deg":11.38402,"altitude":36,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2d398700","hex_latitude":"06c91048","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280727808001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566186969464832,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145070904928378880,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:37] 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-09-23 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159114000,"timestamp_ms":1790159114000,"timestamp_seconds":1790159114,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcc4f10"} 
[2026-09-23 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 15:58: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-09-23 15: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-09-23 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:58: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-09-23 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280727808001,"66":27865,"82":206,"81":21504,"24":0,"16":406566186969464832,"45":4145070904928378880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280727808001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566186969464832,"km_value":406566186969464.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145070904928378880,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280727808001,"power":27865,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145070904928378880}} 
[2026-09-23 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:37] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:37] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:38] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:38] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:38] local.INFO: IMEI packet received {"connection_id":193385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":193385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:58:43] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:43] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:58:43] local.INFO: IMEI packet received {"connection_id":193385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":193385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:58:44] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcf5868012d0a768007060410002100f415..."} 
[2026-09-23 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcf5868012d0a768007060410002100f415..."} 
[2026-09-23 15:58:44] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcf5868012d0a768007060410002100f415..."} 
[2026-09-23 15:58:44] local.INFO: Packet analysis {"connection_id":193385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:58:44] local.INFO: Extracted packet for processing {"connection_id":193385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117834768,"longitude_deg":75.5660416,"latitude_deg":11.7834768,"altitude":33,"angle":244,"satellites":21,"speed":2,"hex_longitude":"2d0a7680","hex_latitude":"07060410","is_valid_coordinates":true} 
[2026-09-23 15:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280783872001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33470134676881408,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754001124029374464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:58:44] 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-09-23 15:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790159313000,"timestamp_ms":1790159313000,"timestamp_seconds":1790159313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcf5868"} 
[2026-09-23 15:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:58: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-09-23 15:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 15:58: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-09-23 15:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280783872001,"66":14461,"165":206,"94":10240,"24":2,"16":33470134676881408,"45":754001124029374464},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280783872001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:58:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:58:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33470134676881408,"km_value":33470134676881.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":754001124029374464,"description":"Unknown IO ID 45"} 
[2026-09-23 15:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280783872001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":754001124029374464}} 
[2026-09-23 15:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":193385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:58:45] local.INFO: GPS data processed {"connection_id":193385,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:58:45] local.INFO: Acknowledgment sent {"connection_id":193385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:58:56] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:56] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:58:56] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:59:02] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:02] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:02] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:59:02] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:02] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:02] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:59:02] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 15:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59: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-09-23 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:59: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-09-23 15: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-09-23 15:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:02] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:02] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:08] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcc56e0012d3988c006c910a80023005727..."} 
[2026-09-23 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcc56e0012d3988c006c910a80023005727..."} 
[2026-09-23 15:59:08] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcc56e0012d3988c006c910a80023005727..."} 
[2026-09-23 15:59:08] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:08] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840296,"longitude_deg":75.874528,"latitude_deg":11.3840296,"altitude":35,"angle":87,"satellites":39,"speed":1,"hex_longitude":"2d3988c0","hex_latitude":"06c910a8","is_valid_coordinates":true} 
[2026-09-23 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280733184001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566208444301312,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145282011160922112,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:08] 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-09-23 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159116000,"timestamp_ms":1790159116000,"timestamp_seconds":1790159116,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcc56e0"} 
[2026-09-23 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59: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-09-23 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 15:59: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-09-23 15:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59: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-09-23 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280733184001,"66":27821,"82":206,"81":21504,"24":1,"16":406566208444301312,"45":4145282011160922112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280733184001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566208444301312,"km_value":406566208444301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145282011160922112,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280733184001,"power":27821,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4145282011160922112}} 
[2026-09-23 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:08] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:08] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:15] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcf5c50012d0a7680070603e8002100e615..."} 
[2026-09-23 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcf5c50012d0a7680070603e8002100e615..."} 
[2026-09-23 15:59:15] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcf5c50012d0a7680070603e8002100e615..."} 
[2026-09-23 15:59:15] local.INFO: Packet analysis {"connection_id":193385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:15] local.INFO: Extracted packet for processing {"connection_id":193385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:15] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117834728,"longitude_deg":75.5660416,"latitude_deg":11.7834728,"altitude":33,"angle":230,"satellites":21,"speed":2,"hex_longitude":"2d0a7680","hex_latitude":"070603e8","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280784128001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33470138971848704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755285192704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:15] 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-09-23 15:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790159314000,"timestamp_ms":1790159314000,"timestamp_seconds":1790159314,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcf5c50"} 
[2026-09-23 15:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15: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-09-23 15:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 15:59:15] 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-09-23 15: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-09-23 15:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280784128001,"66":14461,"165":206,"94":10240,"24":2,"16":33470138971848704,"45":753930755285192704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280784128001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:59:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33470138971848704,"km_value":33470138971848.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755285192704,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280784128001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753930755285192704}} 
[2026-09-23 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":193385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:16] local.INFO: GPS data processed {"connection_id":193385,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:16] local.INFO: Acknowledgment sent {"connection_id":193385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:33] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:33] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 15:59:33] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:59:33] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 15:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 15:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 15:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59: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-09-23 15:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 15:59: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-09-23 15:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 15:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 15:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 15:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 15:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 15:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 15:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 15:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 15:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:34] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:34] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:36] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:36] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:36] local.INFO: IMEI packet received {"connection_id":190508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":190508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:59:40] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:40] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:40] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 15:59:41] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:41] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 15:59:41] local.INFO: IMEI packet received {"connection_id":190508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":190508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:59:42] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcc5ac8012d39890006c910b00023004827..."} 
[2026-09-23 15:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcc5ac8012d39890006c910b00023004827..."} 
[2026-09-23 15:59:42] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcc5ac8012d39890006c910b00023004827..."} 
[2026-09-23 15:59:42] local.INFO: Packet analysis {"connection_id":190508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:42] local.INFO: Extracted packet for processing {"connection_id":190508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758745344,"raw_latitude":113840304,"longitude_deg":75.8745344,"latitude_deg":11.3840304,"altitude":35,"angle":72,"satellites":39,"speed":1,"hex_longitude":"2d398900","hex_latitude":"06c910b0","is_valid_coordinates":true} 
[2026-09-23 15:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 15:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280733696001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566212739268608,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145774592370190336,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:42] 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-09-23 15:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790159117000,"timestamp_ms":1790159117000,"timestamp_seconds":1790159117,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcc5ac8"} 
[2026-09-23 15:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 15:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59: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-09-23 15:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280733696001,"66":27821,"82":206,"81":21504,"24":1,"16":406566212739268608,"45":4145774592370190336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280733696001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566212739268608,"km_value":406566212739268.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145774592370190336,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280733696001,"power":27821,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4145774592370190336}} 
[2026-09-23 15:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":190508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:42] local.INFO: GPS data processed {"connection_id":190508,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:42] local.INFO: Acknowledgment sent {"connection_id":190508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:44] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:44] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:44] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:59:46] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdccacd0012d39894006c910d00023004827..."} 
[2026-09-23 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdccacd0012d39894006c910d00023004827..."} 
[2026-09-23 15:59:46] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdccacd0012d39894006c910d00023004827..."} 
[2026-09-23 15:59:46] local.INFO: Packet analysis {"connection_id":190508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:46] local.INFO: Extracted packet for processing {"connection_id":190508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758745408,"raw_latitude":113840336,"longitude_deg":75.8745408,"latitude_deg":11.3840336,"altitude":35,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d398940","hex_latitude":"06c910d0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280733952001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566217034235904,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114370048,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:46] 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-09-23 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790159138000,"timestamp_ms":1790159138000,"timestamp_seconds":1790159138,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdccacd0"} 
[2026-09-23 15:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59: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-09-23 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 15:59:46] 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-09-23 15: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-09-23 15:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 15:59: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-09-23 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280733952001,"66":27821,"82":206,"81":21504,"24":0,"16":406566217034235904,"45":4145844961114370048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280733952001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 15:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566217034235904,"km_value":406566217034235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114370048,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280733952001,"power":27821,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114370048}} 
[2026-09-23 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":190508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:46] local.INFO: GPS data processed {"connection_id":190508,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:46] local.INFO: Acknowledgment sent {"connection_id":190508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:48] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:48] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 15:59:48] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 15:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 15:59:49] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcf6038012d0a7680070603d0002100da15..."} 
[2026-09-23 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcf6038012d0a7680070603d0002100da15..."} 
[2026-09-23 15:59:49] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcf6038012d0a7680070603d0002100da15..."} 
[2026-09-23 15:59:49] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:49] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117834704,"longitude_deg":75.5660416,"latitude_deg":11.7834704,"altitude":33,"angle":218,"satellites":21,"speed":1,"hex_longitude":"2d0a7680","hex_latitude":"070603d0","is_valid_coordinates":true} 
[2026-09-23 15: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-09-23 15:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280784384001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33470138971848704,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755285182464,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:49] 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-09-23 15:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790159315000,"timestamp_ms":1790159315000,"timestamp_seconds":1790159315,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcf6038"} 
[2026-09-23 15:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59: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-09-23 15: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":125,"data_length":795,"current_offset":136} 
[2026-09-23 15:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 15: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-09-23 15:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280784384001,"66":14646,"165":206,"94":10240,"24":1,"16":33470138971848704,"45":753930755285182464},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 15:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280784384001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33470138971848704,"km_value":33470138971848.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755285182464,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280784384001,"power":14646,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753930755285182464}} 
[2026-09-23 15:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:49] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:49] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:53] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcfa2a0012d0a76c007060310002100b915..."} 
[2026-09-23 15:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcfa2a0012d0a76c007060310002100b915..."} 
[2026-09-23 15:59:53] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcfa2a0012d0a76c007060310002100b915..."} 
[2026-09-23 15:59:53] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:53] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcf"} 
[2026-09-23 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117834512,"longitude_deg":75.566048,"latitude_deg":11.7834512,"altitude":33,"angle":185,"satellites":21,"speed":1,"hex_longitude":"2d0a76c0","hex_latitude":"07060310","is_valid_coordinates":true} 
[2026-09-23 15:59: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-09-23 15:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280784640001,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33470151856750592,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755285176320,"note":"Value kept but may cause issues"} 
[2026-09-23 15:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 15:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790159332000,"timestamp_ms":1790159332000,"timestamp_seconds":1790159332,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcfa2a0"} 
[2026-09-23 15:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 15:59: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-23 15:59:53] 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-09-23 15:59: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-09-23 15:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 15:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 15:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 15:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 15:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 15:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 15:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 15:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280784640001,"66":14580,"153":206,"94":10240,"24":1,"16":33470151856750592,"45":753930755285176320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 15:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 15:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 15:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280784640001,"description":"Unknown IO ID 0"} 
[2026-09-23 15:59:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 15:59:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 15:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33470151856750592,"km_value":33470151856750.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 15:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755285176320,"description":"Unknown IO ID 45"} 
[2026-09-23 15:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280784640001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753930755285176320}} 
[2026-09-23 15:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 15:59:54] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-23 15:59:54] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 15:59:56] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:56] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 15:59:56] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 15:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:00:02] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:02] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:02] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:00:02] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:02] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:02] local.INFO: Packet analysis {"connection_id":192037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:00:02] local.INFO: Extracted packet for processing {"connection_id":192037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:00: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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:00: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-09-23 16: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-09-23 16:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:00:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":192037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:00:02] local.INFO: GPS data processed {"connection_id":192037,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:00:02] local.INFO: Acknowledgment sent {"connection_id":192037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:00:31] local.INFO: TCP Data received {"connection_id":190510,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:31] local.INFO: Processing buffer {"connection_id":190510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:31] local.INFO: IMEI packet received {"connection_id":190510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":190510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:00:33] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:33] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:00:33] local.INFO: Packet analysis {"connection_id":192037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:00:33] local.INFO: Extracted packet for processing {"connection_id":192037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:00: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-09-23 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:00:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":192037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:00:34] local.INFO: GPS data processed {"connection_id":192037,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:00:34] local.INFO: Acknowledgment sent {"connection_id":192037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:00:36] local.INFO: TCP Data received {"connection_id":190510,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:36] local.INFO: Processing buffer {"connection_id":190510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:00:36] local.INFO: IMEI packet received {"connection_id":190510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":190510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:00:38] local.INFO: TCP Data received {"connection_id":190510,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdccfed8012d39894006c910d00023004827..."} 
[2026-09-23 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdccfed8012d39894006c910d00023004827..."} 
[2026-09-23 16:00:38] local.INFO: Processing buffer {"connection_id":190510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdccfed8012d39894006c910d00023004827..."} 
[2026-09-23 16:00:38] local.INFO: Packet analysis {"connection_id":190510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 16:00:38] local.INFO: Extracted packet for processing {"connection_id":190510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcc"} 
[2026-09-23 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758745408,"raw_latitude":113840336,"longitude_deg":75.8745408,"latitude_deg":11.3840336,"altitude":35,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d398940","hex_latitude":"06c910d0","is_valid_coordinates":true} 
[2026-09-23 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280739328001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566217034235904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329858555904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00: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-09-23 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790159159000,"timestamp_ms":1790159159000,"timestamp_seconds":1790159159,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdccfed8"} 
[2026-09-23 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 16:00: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-09-23 16:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:00: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-09-23 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280739328001,"66":27604,"82":206,"81":21504,"24":0,"16":406566217034235904,"45":4145915329858555904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280739328001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:00:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566217034235904,"km_value":406566217034235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329858555904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280739328001,"power":27604,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145915329858555904}} 
[2026-09-23 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":190510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:00:38] local.INFO: GPS data processed {"connection_id":190510,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:00:38] local.INFO: Acknowledgment sent {"connection_id":190510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:00:40] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:40] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:40] local.INFO: IMEI packet received {"connection_id":190696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":190696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:00:41] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:41] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:00:41] local.INFO: IMEI packet received {"connection_id":190696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":190696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:00:42] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd0e6d8012d0a6dc007058b60001c00db15..."} 
[2026-09-23 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd0e6d8012d0a6dc007058b60001c00db15..."} 
[2026-09-23 16:00:42] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd0e6d8012d0a6dc007058b60001c00db15..."} 
[2026-09-23 16:00:42] local.INFO: Packet analysis {"connection_id":190696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd0"} 
[2026-09-23 16:00:42] local.INFO: Extracted packet for processing {"connection_id":190696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd0"} 
[2026-09-23 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":755658176,"raw_latitude":117803872,"longitude_deg":75.5658176,"latitude_deg":11.7803872,"altitude":28,"angle":219,"satellites":21,"speed":14,"hex_longitude":"2d0a6dc0","hex_latitude":"07058b60","is_valid_coordinates":true} 
[2026-09-23 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280805888001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33471766764453888,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488050688,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:42] 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-09-23 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790159415000,"timestamp_ms":1790159415000,"timestamp_seconds":1790159415,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd0e6d8"} 
[2026-09-23 16:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 16:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280805888001,"66":14667,"153":206,"94":10240,"24":14,"16":33471766764453888,"45":757449192488050688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280805888001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:00:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 16:00:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33471766764453888,"km_value":33471766764453.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488050688,"description":"Unknown IO ID 45"} 
[2026-09-23 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280805888001,"power":14667,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":757449192488050688}} 
[2026-09-23 16:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":190696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:00:43] local.INFO: GPS data processed {"connection_id":190696,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:00:43] local.INFO: Acknowledgment sent {"connection_id":190696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:00:43] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd111d0012d0a678007058568001d00f415..."} 
[2026-09-23 16:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd111d0012d0a678007058568001d00f415..."} 
[2026-09-23 16:00:43] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd111d0012d0a678007058568001d00f415..."} 
[2026-09-23 16:00:43] local.INFO: Packet analysis {"connection_id":190696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:00:43] local.INFO: Extracted packet for processing {"connection_id":190696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:00:43] local.INFO: GPS Element Parsed {"raw_longitude":755656576,"raw_latitude":117802344,"longitude_deg":75.5656576,"latitude_deg":11.7802344,"altitude":29,"angle":244,"satellites":21,"speed":6,"hex_longitude":"2d0a6780","hex_latitude":"07058568","is_valid_coordinates":true} 
[2026-09-23 16:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280810240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33471878433603584,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":751467849231065088,"note":"Value kept but may cause issues"} 
[2026-09-23 16:00:43] 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-09-23 16:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790159426000,"timestamp_ms":1790159426000,"timestamp_seconds":1790159426,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd111d0"} 
[2026-09-23 16:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:00: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-09-23 16:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 16:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280810240001,"66":14363,"153":206,"94":10240,"24":6,"16":33471878433603584,"45":751467849231065088},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 16:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280810240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:00:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 16:00:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33471878433603584,"km_value":33471878433603.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":751467849231065088,"description":"Unknown IO ID 45"} 
[2026-09-23 16:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280810240001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":751467849231065088}} 
[2026-09-23 16:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":190696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:00:43] local.INFO: GPS data processed {"connection_id":190696,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:00:43] local.INFO: Acknowledgment sent {"connection_id":190696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:00:56] local.INFO: TCP Data received {"connection_id":193386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:56] local.INFO: Processing buffer {"connection_id":193386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:00:56] local.INFO: IMEI packet received {"connection_id":193386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":193386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:01:02] local.INFO: TCP Data received {"connection_id":193386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:01:02] local.INFO: Processing buffer {"connection_id":193386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:01:02] local.INFO: IMEI packet received {"connection_id":193386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":193386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:01:02] local.INFO: TCP Data received {"connection_id":193386,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:02] local.INFO: Processing buffer {"connection_id":193386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:02] local.INFO: Packet analysis {"connection_id":193386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:01:02] local.INFO: Extracted packet for processing {"connection_id":193386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:01: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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:01: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-09-23 16: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-09-23 16:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":193386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:02] local.INFO: GPS data processed {"connection_id":193386,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:02] local.INFO: Acknowledgment sent {"connection_id":193386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:01:10] local.INFO: TCP Data received {"connection_id":190510,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcd50e0012d39894006c910d00023004826..."} 
[2026-09-23 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcd50e0012d39894006c910d00023004826..."} 
[2026-09-23 16:01:10] local.INFO: Processing buffer {"connection_id":190510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcd50e0012d39894006c910d00023004826..."} 
[2026-09-23 16:01:10] local.INFO: Packet analysis {"connection_id":190510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:01:10] local.INFO: Extracted packet for processing {"connection_id":190510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758745408,"raw_latitude":113840336,"longitude_deg":75.8745408,"latitude_deg":11.3840336,"altitude":35,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d398940","hex_latitude":"06c910d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280744704001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566217034235904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329858555904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:10] 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-09-23 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790159180000,"timestamp_ms":1790159180000,"timestamp_seconds":1790159180,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcd50e0"} 
[2026-09-23 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-09-23 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-23 16:01:10] 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-09-23 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-09-23 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-09-23 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:01: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-09-23 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280744704001,"66":27745,"82":206,"81":21504,"24":0,"16":406566217034235904,"45":4145915329858555904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280744704001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:10] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566217034235904,"km_value":406566217034235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329858555904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280744704001,"power":27745,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145915329858555904}} 
[2026-09-23 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":190510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:10] local.INFO: GPS data processed {"connection_id":190510,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:10] local.INFO: Acknowledgment sent {"connection_id":190510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:01:14] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd140b0012d0a548007057b90001d010f15..."} 
[2026-09-23 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd140b0012d0a548007057b90001d010f15..."} 
[2026-09-23 16:01:14] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd140b0012d0a548007057b90001d010f15..."} 
[2026-09-23 16:01:14] local.INFO: Packet analysis {"connection_id":190696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:01:14] local.INFO: Extracted packet for processing {"connection_id":190696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":755651712,"raw_latitude":117799824,"longitude_deg":75.5651712,"latitude_deg":11.7799824,"altitude":29,"angle":271,"satellites":21,"speed":13,"hex_longitude":"2d0a5480","hex_latitude":"07057b90","is_valid_coordinates":true} 
[2026-09-23 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280813056001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33472140426608640,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749708630626232320,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:14] 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-09-23 16:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790159438000,"timestamp_ms":1790159438000,"timestamp_seconds":1790159438,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd140b0"} 
[2026-09-23 16:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:01: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-09-23 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-23 16:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280813056001,"66":14537,"153":206,"94":10240,"24":13,"16":33472140426608640,"45":749708630626232320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 16:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280813056001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 16:01:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33472140426608640,"km_value":33472140426608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":749708630626232320,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280813056001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":749708630626232320}} 
[2026-09-23 16:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":190696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:14] local.INFO: GPS data processed {"connection_id":190696,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:14] local.INFO: Acknowledgment sent {"connection_id":190696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:01:31] local.INFO: TCP Data received {"connection_id":190697,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:31] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:31] local.INFO: IMEI packet received {"connection_id":190697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":190697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:01:33] local.INFO: TCP Data received {"connection_id":193386,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:33] local.INFO: Processing buffer {"connection_id":193386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:01:33] local.INFO: Packet analysis {"connection_id":193386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:01:33] local.INFO: Extracted packet for processing {"connection_id":193386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:01: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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:01: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-09-23 16: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-09-23 16:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":193386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:33] local.INFO: GPS data processed {"connection_id":193386,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:34] local.INFO: Acknowledgment sent {"connection_id":193386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:01:36] local.INFO: TCP Data received {"connection_id":190697,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:36] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:01:36] local.INFO: IMEI packet received {"connection_id":190697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:01:37] local.INFO: TCP Data received {"connection_id":190697,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcda2e8012d39894006c910d00023004826..."} 
[2026-09-23 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcda2e8012d39894006c910d00023004826..."} 
[2026-09-23 16:01:37] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcda2e8012d39894006c910d00023004826..."} 
[2026-09-23 16:01:37] local.INFO: Packet analysis {"connection_id":190697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:01:37] local.INFO: Extracted packet for processing {"connection_id":190697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758745408,"raw_latitude":113840336,"longitude_deg":75.8745408,"latitude_deg":11.3840336,"altitude":35,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d398940","hex_latitude":"06c910d0","is_valid_coordinates":true} 
[2026-09-23 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280750080001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566217034235904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329858555904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:37] 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-09-23 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159201000,"timestamp_ms":1790159201000,"timestamp_seconds":1790159201,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcda2e8"} 
[2026-09-23 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:01: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-09-23 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:01: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-09-23 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:01: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-09-23 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280750080001,"66":27745,"82":206,"81":21504,"24":0,"16":406566217034235904,"45":4145915329858555904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280750080001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566217034235904,"km_value":406566217034235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329858555904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280750080001,"power":27745,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145915329858555904}} 
[2026-09-23 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:37] local.INFO: GPS data processed {"connection_id":190697,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:37] local.INFO: Acknowledgment sent {"connection_id":190697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:01:38] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:38] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:38] local.INFO: IMEI packet received {"connection_id":192038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":192038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:01:43] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:43] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:01:43] local.INFO: IMEI packet received {"connection_id":192038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":192038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:01:44] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd14498012d0a534007057ba8001c011e15..."} 
[2026-09-23 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd14498012d0a534007057ba8001c011e15..."} 
[2026-09-23 16:01:44] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd14498012d0a534007057ba8001c011e15..."} 
[2026-09-23 16:01:44] local.INFO: Packet analysis {"connection_id":192038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:01:44] local.INFO: Extracted packet for processing {"connection_id":192038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd1"} 
[2026-09-23 16:01:44] local.INFO: GPS Element Parsed {"raw_longitude":755651392,"raw_latitude":117799848,"longitude_deg":75.5651392,"latitude_deg":11.7799848,"altitude":28,"angle":286,"satellites":21,"speed":12,"hex_longitude":"2d0a5340","hex_latitude":"07057ba8","is_valid_coordinates":true} 
[2026-09-23 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280816128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33472157606477824,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744360606068084736,"note":"Value kept but may cause issues"} 
[2026-09-23 16:01: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-09-23 16:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790159439000,"timestamp_ms":1790159439000,"timestamp_seconds":1790159439,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd14498"} 
[2026-09-23 16:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:01: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-09-23 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 16:01:44] 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-09-23 16:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280816128001,"66":14537,"153":206,"94":10240,"24":12,"16":33472157606477824,"45":744360606068084736},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-23 16:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280816128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:01:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 16:01:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33472157606477824,"km_value":33472157606477.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":744360606068084736,"description":"Unknown IO ID 45"} 
[2026-09-23 16:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280816128001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":744360606068084736}} 
[2026-09-23 16:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":192038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:01:44] local.INFO: GPS data processed {"connection_id":192038,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:01:44] local.INFO: Acknowledgment sent {"connection_id":192038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:02] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:02] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:02] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:02:07] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:07] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:07] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:02:07] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:07] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:07] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:07] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:02:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:02:07] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:02:07] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:08] local.INFO: TCP Data received {"connection_id":190697,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdcdcde0012d39898006c910f0002300e025..."} 
[2026-09-23 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdcdcde0012d39898006c910f0002300e025..."} 
[2026-09-23 16:02:08] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdcdcde0012d39898006c910f0002300e025..."} 
[2026-09-23 16:02:08] local.INFO: Packet analysis {"connection_id":190697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:02:08] local.INFO: Extracted packet for processing {"connection_id":190697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdcd"} 
[2026-09-23 16:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758745472,"raw_latitude":113840368,"longitude_deg":75.8745472,"latitude_deg":11.3840368,"altitude":35,"angle":224,"satellites":37,"speed":1,"hex_longitude":"2d398980","hex_latitude":"06c910f0","is_valid_coordinates":true} 
[2026-09-23 16:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280755456001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329858555904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:08] 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-09-23 16:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159212000,"timestamp_ms":1790159212000,"timestamp_seconds":1790159212,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdcdcde0"} 
[2026-09-23 16:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:02: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-09-23 16:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:02:08] 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-09-23 16:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:02: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-09-23 16:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280755456001,"66":27919,"82":206,"81":21504,"24":1,"16":406566221329203200,"45":4145915329858555904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280755456001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:02:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329858555904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280755456001,"power":27919,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4145915329858555904}} 
[2026-09-23 16:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:02:08] local.INFO: GPS data processed {"connection_id":190697,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:02:08] local.INFO: Acknowledgment sent {"connection_id":190697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:12] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:12] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce71f0012d180e8007219460003d00d42d..."} 
[2026-09-23 16:02:12] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:12] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280690688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790159254000,"timestamp_ms":1790159254000,"timestamp_seconds":1790159254,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce71f0"} 
[2026-09-23 16:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:02: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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:02: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-09-23 16: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-09-23 16:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280690688001,"66":2177,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280690688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:02:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280690688001,"power":2177,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:02:12] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:02:12] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:15] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd24e38012d0a374007058500001d005f15..."} 
[2026-09-23 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd24e38012d0a374007058500001d005f15..."} 
[2026-09-23 16:02:15] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd24e38012d0a374007058500001d005f15..."} 
[2026-09-23 16:02:15] local.INFO: Packet analysis {"connection_id":192038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:02:15] local.INFO: Extracted packet for processing {"connection_id":192038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":755644224,"raw_latitude":117802240,"longitude_deg":75.5644224,"latitude_deg":11.780224,"altitude":29,"angle":95,"satellites":21,"speed":2,"hex_longitude":"2d0a3740","hex_latitude":"07058500","is_valid_coordinates":true} 
[2026-09-23 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280833280001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33472647232749568,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736057094255742976,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:15] 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-09-23 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790159507000,"timestamp_ms":1790159507000,"timestamp_seconds":1790159507,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd24e38"} 
[2026-09-23 16:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:02: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-09-23 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 16:02:15] 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-09-23 16:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280833280001,"66":14537,"177":206,"94":10240,"24":2,"16":33472647232749568,"45":736057094255742976},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-23 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280833280001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:02:15] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-23 16:02:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33472647232749568,"km_value":33472647232749.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":736057094255742976,"description":"Unknown IO ID 45"} 
[2026-09-23 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280833280001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":736057094255742976}} 
[2026-09-23 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":192038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:02:15] local.INFO: GPS data processed {"connection_id":192038,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:02:15] local.INFO: Acknowledgment sent {"connection_id":192038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:31] local.INFO: TCP Data received {"connection_id":190512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:31] local.INFO: Processing buffer {"connection_id":190512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:31] local.INFO: IMEI packet received {"connection_id":190512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":190512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:02:36] local.INFO: TCP Data received {"connection_id":190512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:36] local.INFO: Processing buffer {"connection_id":190512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:02:36] local.INFO: IMEI packet received {"connection_id":190512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":190512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:02:37] local.INFO: TCP Data received {"connection_id":190512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce1048012d39898006c91108002300e028..."} 
[2026-09-23 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce1048012d39898006c91108002300e028..."} 
[2026-09-23 16:02:37] local.INFO: Processing buffer {"connection_id":190512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce1048012d39898006c91108002300e028..."} 
[2026-09-23 16:02:37] local.INFO: Packet analysis {"connection_id":190512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:37] local.INFO: Extracted packet for processing {"connection_id":190512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758745472,"raw_latitude":113840392,"longitude_deg":75.8745472,"latitude_deg":11.3840392,"altitude":35,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d398980","hex_latitude":"06c91108","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280758272001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602741760,"note":"Value kept but may cause issues"} 
[2026-09-23 16:02:37] 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-09-23 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159229000,"timestamp_ms":1790159229000,"timestamp_seconds":1790159229,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce1048"} 
[2026-09-23 16:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 16:02: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-09-23 16: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-09-23 16:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:02: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-09-23 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280758272001,"66":27908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602741760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280758272001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:02:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602741760,"description":"Unknown IO ID 45"} 
[2026-09-23 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280758272001,"power":27908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602741760}} 
[2026-09-23 16:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":190512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:02:37] local.INFO: GPS data processed {"connection_id":190512,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:02:37] local.INFO: Acknowledgment sent {"connection_id":190512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:02:38] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:02:38] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:38] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:02:39] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:39] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:39] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:02:40] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:40] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:02:40] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:02:57] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:57] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:02:57] local.INFO: IMEI packet received {"connection_id":190698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":190698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:03:02] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:02] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:02] local.INFO: IMEI packet received {"connection_id":190698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":190698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:03:02] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:02] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:02] local.INFO: Packet analysis {"connection_id":190698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:03:02] local.INFO: Extracted packet for processing {"connection_id":190698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:03:02] 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-09-23 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":190698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:03:02] local.INFO: GPS data processed {"connection_id":190698,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:03:02] local.INFO: Acknowledgment sent {"connection_id":190698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:03:08] local.INFO: TCP Data received {"connection_id":190512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdce1fe8012d39898006c91108002300e027..."} 
[2026-09-23 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdce1fe8012d39898006c91108002300e027..."} 
[2026-09-23 16:03:08] local.INFO: Processing buffer {"connection_id":190512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdce1fe8012d39898006c91108002300e027..."} 
[2026-09-23 16:03:08] local.INFO: Packet analysis {"connection_id":190512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:03:08] local.INFO: Extracted packet for processing {"connection_id":190512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdce"} 
[2026-09-23 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758745472,"raw_latitude":113840392,"longitude_deg":75.8745472,"latitude_deg":11.3840392,"altitude":35,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d398980","hex_latitude":"06c91108","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280762624001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:08] 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-09-23 16:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159233000,"timestamp_ms":1790159233000,"timestamp_seconds":1790159233,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdce1fe8"} 
[2026-09-23 16:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:03: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-09-23 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 16:03: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-09-23 16: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-09-23 16:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:03: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-09-23 16:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280762624001,"66":27365,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280762624001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:03:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280762624001,"power":27365,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":190512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:03:08] local.INFO: GPS data processed {"connection_id":190512,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:03:08] local.INFO: Acknowledgment sent {"connection_id":190512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:03:31] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:31] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:31] local.INFO: IMEI packet received {"connection_id":193388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":193388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:03:34] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:34] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:03:34] local.INFO: Packet analysis {"connection_id":190698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:03:34] local.INFO: Extracted packet for processing {"connection_id":190698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:03:34] 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-09-23 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:03:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":190698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:03:34] local.INFO: GPS data processed {"connection_id":190698,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:03:34] local.INFO: Acknowledgment sent {"connection_id":190698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:03:36] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:36] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:03:36] local.INFO: IMEI packet received {"connection_id":193388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":193388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:03:37] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:03:37] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:03:37] local.INFO: Packet analysis {"connection_id":193388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:03:37] local.INFO: Extracted packet for processing {"connection_id":193388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:03:37] 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-09-23 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:03: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-09-23 16: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-09-23 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:03: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-09-23 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:03:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":193388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:03:37] local.INFO: GPS data processed {"connection_id":193388,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:03:37] local.INFO: Acknowledgment sent {"connection_id":193388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:03:56] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:56] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:03:56] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:04:02] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:02] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:02] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:04:02] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:02] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:02] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:04:02] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:04:02] 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-09-23 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:04:02] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:04:02] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:04:08] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:08] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:08] local.INFO: Packet analysis {"connection_id":193388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:08] local.INFO: Extracted packet for processing {"connection_id":193388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:08] 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-09-23 16:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:04: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-09-23 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04: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-09-23 16:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:04:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":193388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:04:08] local.INFO: GPS data processed {"connection_id":193388,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:04:08] local.INFO: Acknowledgment sent {"connection_id":193388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:04:34] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:34] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:04:34] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:04:34] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:04:34] 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-09-23 16:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:04:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:04:34] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:04:34] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:04:36] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:36] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:36] local.INFO: IMEI packet received {"connection_id":190700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":190700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:04:41] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:41] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:04:41] local.INFO: IMEI packet received {"connection_id":190700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":190700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:04:42] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:42] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:42] local.INFO: Packet analysis {"connection_id":190700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:42] local.INFO: Extracted packet for processing {"connection_id":190700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:42] 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-09-23 16:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:04: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-09-23 16:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04: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-09-23 16:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:04:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":190700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:04:42] local.INFO: GPS data processed {"connection_id":190700,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:04:42] local.INFO: Acknowledgment sent {"connection_id":190700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:04:46] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:46] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:04:46] local.INFO: Packet analysis {"connection_id":190700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:46] local.INFO: Extracted packet for processing {"connection_id":190700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:04:46] 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-09-23 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:04: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-09-23 16:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:04: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-09-23 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":190700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:04:46] local.INFO: GPS data processed {"connection_id":190700,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:04:46] local.INFO: Acknowledgment sent {"connection_id":190700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:04:56] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:56] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:04:56] local.INFO: IMEI packet received {"connection_id":190702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":190702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:05:02] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:02] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:02] local.INFO: IMEI packet received {"connection_id":190702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:05:02] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:02] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:02] local.INFO: Packet analysis {"connection_id":190702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:05:02] local.INFO: Extracted packet for processing {"connection_id":190702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:05:02] 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-09-23 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":190702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:05:02] local.INFO: GPS data processed {"connection_id":190702,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:05:02] local.INFO: Acknowledgment sent {"connection_id":190702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:05:31] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:31] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:31] local.INFO: IMEI packet received {"connection_id":190514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":190514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:05:34] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:34] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:05:34] local.INFO: Packet analysis {"connection_id":190702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:05:34] local.INFO: Extracted packet for processing {"connection_id":190702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:05: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-09-23 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:05:34] 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-09-23 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":190702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:05:34] local.INFO: GPS data processed {"connection_id":190702,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:05:34] local.INFO: Acknowledgment sent {"connection_id":190702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:05:36] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:36] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:05:36] local.INFO: IMEI packet received {"connection_id":190514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":190514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:05:37] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:05:37] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:05:37] local.INFO: Packet analysis {"connection_id":190514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:05:37] local.INFO: Extracted packet for processing {"connection_id":190514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:05:37] 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-09-23 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:05: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-09-23 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:05:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":190514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:05:37] local.INFO: GPS data processed {"connection_id":190514,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:05:37] local.INFO: Acknowledgment sent {"connection_id":190514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:05:47] local.INFO: TCP Data received {"connection_id":192041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:05:47] local.INFO: Processing buffer {"connection_id":192041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:05:47] local.INFO: IMEI packet received {"connection_id":192041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":192041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:05:56] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:56] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:05:56] local.INFO: IMEI packet received {"connection_id":190703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":190703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:06:02] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:02] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:02] local.INFO: IMEI packet received {"connection_id":190703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":190703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:06:02] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:02] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:02] local.INFO: Packet analysis {"connection_id":190703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:06:02] local.INFO: Extracted packet for processing {"connection_id":190703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:06:02] 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-09-23 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":190703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:06:02] local.INFO: GPS data processed {"connection_id":190703,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:06:02] local.INFO: Acknowledgment sent {"connection_id":190703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:06:08] local.INFO: TCP Data received {"connection_id":190514,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:08] local.INFO: Processing buffer {"connection_id":190514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:08] local.INFO: Packet analysis {"connection_id":190514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:06:08] local.INFO: Extracted packet for processing {"connection_id":190514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:08] 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-09-23 16:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 16:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:06: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-09-23 16:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:06: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-09-23 16:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:06:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":190514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:06:08] local.INFO: GPS data processed {"connection_id":190514,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:06:08] local.INFO: Acknowledgment sent {"connection_id":190514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:06:09] local.INFO: TCP Data received {"connection_id":193390,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:06:09] local.INFO: Processing buffer {"connection_id":193390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:06:09] local.INFO: IMEI packet received {"connection_id":193390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":193390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:06:31] local.INFO: TCP Data received {"connection_id":193391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:31] local.INFO: Processing buffer {"connection_id":193391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:31] local.INFO: IMEI packet received {"connection_id":193391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":193391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:06:34] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:34] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:06:34] local.INFO: Packet analysis {"connection_id":190703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:06:34] local.INFO: Extracted packet for processing {"connection_id":190703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:06:34] 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-09-23 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:06:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":190703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:06:34] local.INFO: GPS data processed {"connection_id":190703,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:06:34] local.INFO: Acknowledgment sent {"connection_id":190703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:06:36] local.INFO: TCP Data received {"connection_id":193391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:36] local.INFO: Processing buffer {"connection_id":193391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:06:36] local.INFO: IMEI packet received {"connection_id":193391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:06:37] local.INFO: TCP Data received {"connection_id":193391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:37] local.INFO: Processing buffer {"connection_id":193391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd2b7b0012d3988c006c910e0002800e026..."} 
[2026-09-23 16:06:37] local.INFO: Packet analysis {"connection_id":193391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:06:37] local.INFO: Extracted packet for processing {"connection_id":193391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd2"} 
[2026-09-23 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280763648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145985698602747904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:06:37] 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-09-23 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159534000,"timestamp_ms":1790159534000,"timestamp_seconds":1790159534,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd2b7b0"} 
[2026-09-23 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-09-23 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:06: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-09-23 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-09-23 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-09-23 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:06: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-09-23 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280763648001,"66":26528,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145985698602747904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280763648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145985698602747904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280763648001,"power":26528,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145985698602747904}} 
[2026-09-23 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":193391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:06:37] local.INFO: GPS data processed {"connection_id":193391,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:06:37] local.INFO: Acknowledgment sent {"connection_id":193391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:06:56] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:56] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:06:56] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:07:02] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:07:02] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:07:02] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:07:02] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:02] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:02] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:07:02] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:07:02] 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-09-23 16: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:03] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:03] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:07:08] local.INFO: TCP Data received {"connection_id":193391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd63e08012d3988c006c910e0002800e026..."} 
[2026-09-23 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd63e08012d3988c006c910e0002800e026..."} 
[2026-09-23 16:07:08] local.INFO: Processing buffer {"connection_id":193391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd63e08012d3988c006c910e0002800e026..."} 
[2026-09-23 16:07:08] local.INFO: Packet analysis {"connection_id":193391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:08] local.INFO: Extracted packet for processing {"connection_id":193391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758745280,"raw_latitude":113840352,"longitude_deg":75.874528,"latitude_deg":11.3840352,"altitude":40,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d3988c0","hex_latitude":"06c910e0","is_valid_coordinates":true} 
[2026-09-23 16:07: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-09-23 16:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280840704001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145774592370204672,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:08] 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-09-23 16:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159765000,"timestamp_ms":1790159765000,"timestamp_seconds":1790159765,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd63e08"} 
[2026-09-23 16:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:07: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-09-23 16: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07: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-09-23 16:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280840704001,"66":26376,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145774592370204672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280840704001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145774592370204672,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280840704001,"power":26376,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145774592370204672}} 
[2026-09-23 16:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":193391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:08] local.INFO: GPS data processed {"connection_id":193391,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:08] local.INFO: Acknowledgment sent {"connection_id":193391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:07:33] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:33] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd31958012d180e8007219460003d00d42d..."} 
[2026-09-23 16:07:33] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:07:33] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd3"} 
[2026-09-23 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280769024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159559000,"timestamp_ms":1790159559000,"timestamp_seconds":1790159559,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd31958"} 
[2026-09-23 16:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:07:33] 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-09-23 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280769024001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280769024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280769024001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:34] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:34] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:07:36] local.INFO: TCP Data received {"connection_id":193392,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:36] local.INFO: Processing buffer {"connection_id":193392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:36] local.INFO: IMEI packet received {"connection_id":193392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":193392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:07:41] local.INFO: TCP Data received {"connection_id":193392,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:41] local.INFO: Processing buffer {"connection_id":193392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:07:41] local.INFO: IMEI packet received {"connection_id":193392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":193392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:07:41] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:41] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:41] local.INFO: IMEI packet received {"connection_id":193393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":193393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:07:42] local.INFO: TCP Data received {"connection_id":193392,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd64da8012d398c8006c912d00028005122..."} 
[2026-09-23 16:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd64da8012d398c8006c912d00028005122..."} 
[2026-09-23 16:07:42] local.INFO: Processing buffer {"connection_id":193392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd64da8012d398c8006c912d00028005122..."} 
[2026-09-23 16:07:42] local.INFO: Packet analysis {"connection_id":193392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:42] local.INFO: Extracted packet for processing {"connection_id":193392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280899840001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145774592370204672,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:42] 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-09-23 16:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790159769000,"timestamp_ms":1790159769000,"timestamp_seconds":1790159769,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd64da8"} 
[2026-09-23 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-09-23 16:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:42] 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-09-23 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-09-23 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-09-23 16:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280899840001,"66":23506,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4145774592370204672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280899840001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145774592370204672,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280899840001,"power":23506,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145774592370204672}} 
[2026-09-23 16:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":193392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:42] local.INFO: GPS data processed {"connection_id":193392,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:42] local.INFO: Acknowledgment sent {"connection_id":193392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:07:43] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:43] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:07:43] local.INFO: IMEI packet received {"connection_id":193393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":193393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:07:44] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd78628012d0b6d400704c648001d005d16..."} 
[2026-09-23 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd78628012d0b6d400704c648001d005d16..."} 
[2026-09-23 16:07:44] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd78628012d0b6d400704c648001d005d16..."} 
[2026-09-23 16:07:44] local.INFO: Packet analysis {"connection_id":193393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:07:44] local.INFO: Extracted packet for processing {"connection_id":193393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":755723584,"raw_latitude":117753416,"longitude_deg":75.5723584,"latitude_deg":11.7753416,"altitude":29,"angle":93,"satellites":22,"speed":21,"hex_longitude":"2d0b6d40","hex_latitude":"0704c648","is_valid_coordinates":true} 
[2026-09-23 16:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280921088001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33479806943232000,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822540280837586944,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:44] 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-09-23 16:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790159849000,"timestamp_ms":1790159849000,"timestamp_seconds":1790159849,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd78628"} 
[2026-09-23 16:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280921088001,"66":13906,"96":206,"94":10240,"24":21,"16":33479806943232000,"45":822540280837586944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 16:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280921088001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 16:07:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33479806943232000,"km_value":33479806943232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":822540280837586944,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280921088001,"power":13906,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":822540280837586944}} 
[2026-09-23 16:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":193393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:44] local.INFO: GPS data processed {"connection_id":193393,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:44] local.INFO: Acknowledgment sent {"connection_id":193393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:07:46] local.INFO: TCP Data received {"connection_id":193392,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd69fb0012d398c8006c912d00028005127..."} 
[2026-09-23 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd69fb0012d398c8006c912d00028005127..."} 
[2026-09-23 16:07:46] local.INFO: Processing buffer {"connection_id":193392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd69fb0012d398c8006c912d00028005127..."} 
[2026-09-23 16:07:46] local.INFO: Packet analysis {"connection_id":193392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:46] local.INFO: Extracted packet for processing {"connection_id":193392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":39,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280900864001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:07:46] 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-09-23 16:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790159790000,"timestamp_ms":1790159790000,"timestamp_seconds":1790159790,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd69fb0"} 
[2026-09-23 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-09-23 16:07: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-09-23 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":91,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-23 16:07:46] 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-09-23 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-09-23 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-09-23 16:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:07: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-09-23 16:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280900864001,"66":27745,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280900864001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:07:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280900864001,"power":27745,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":193392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:07:46] local.INFO: GPS data processed {"connection_id":193392,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:07:46] local.INFO: Acknowledgment sent {"connection_id":193392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:02] local.INFO: TCP Data received {"connection_id":193394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:02] local.INFO: Processing buffer {"connection_id":193394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:02] local.INFO: IMEI packet received {"connection_id":193394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":193394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:08:07] local.INFO: TCP Data received {"connection_id":193394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:07] local.INFO: Processing buffer {"connection_id":193394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:07] local.INFO: IMEI packet received {"connection_id":193394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":193394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:08:07] local.INFO: TCP Data received {"connection_id":193394,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:07] local.INFO: Processing buffer {"connection_id":193394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:07] local.INFO: Packet analysis {"connection_id":193394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:07] local.INFO: Extracted packet for processing {"connection_id":193394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:08: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-09-23 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:08:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":193394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:08:07] local.INFO: GPS data processed {"connection_id":193394,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:08:07] local.INFO: Acknowledgment sent {"connection_id":193394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:12] local.INFO: TCP Data received {"connection_id":193394,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:12] local.INFO: Processing buffer {"connection_id":193394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:08:12] local.INFO: Packet analysis {"connection_id":193394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:12] local.INFO: Extracted packet for processing {"connection_id":193394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:08:12] 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-09-23 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:08: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-09-23 16:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:08:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":193394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:08:12] local.INFO: GPS data processed {"connection_id":193394,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:08:12] local.INFO: Acknowledgment sent {"connection_id":193394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:15] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd79d98012d0b7e400704c6400020006d17..."} 
[2026-09-23 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd79d98012d0b7e400704c6400020006d17..."} 
[2026-09-23 16:08:15] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd79d98012d0b7e400704c6400020006d17..."} 
[2026-09-23 16:08:15] local.INFO: Packet analysis {"connection_id":193393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:15] local.INFO: Extracted packet for processing {"connection_id":193393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":755727936,"raw_latitude":117753408,"longitude_deg":75.5727936,"latitude_deg":11.7753408,"altitude":32,"angle":109,"satellites":23,"speed":22,"hex_longitude":"2d0b7e40","hex_latitude":"0704c640","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280921344001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33480017396629504,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823384705767720960,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:15] 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-09-23 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790159855000,"timestamp_ms":1790159855000,"timestamp_seconds":1790159855,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd79d98"} 
[2026-09-23 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-09-23 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-23 16:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280921344001,"66":14363,"96":206,"94":10240,"24":22,"16":33480017396629504,"45":823384705767720960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280921344001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:08:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 16:08:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33480017396629504,"km_value":33480017396629.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":823384705767720960,"description":"Unknown IO ID 45"} 
[2026-09-23 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280921344001,"power":14363,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":823384705767720960}} 
[2026-09-23 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":193393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:08:15] local.INFO: GPS data processed {"connection_id":193393,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:08:15] local.INFO: Acknowledgment sent {"connection_id":193393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:31] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:31] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:31] local.INFO: IMEI packet received {"connection_id":190518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":190518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:08:36] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:36] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:08:36] local.INFO: IMEI packet received {"connection_id":190518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":190518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:08:37] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:08:37] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:08:37] local.INFO: Packet analysis {"connection_id":190518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:08:37] local.INFO: Extracted packet for processing {"connection_id":190518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:08: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-09-23 16:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:37] 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-09-23 16:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:08: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-09-23 16: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-09-23 16:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:08: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-09-23 16:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:08:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":190518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:08:37] local.INFO: GPS data processed {"connection_id":190518,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:08:37] local.INFO: Acknowledgment sent {"connection_id":190518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:42] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:42] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:42] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:08:43] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:43] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:43] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:08:48] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:48] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:08:48] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:08:49] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd860e8012d0bc6000704bc480021004117..."} 
[2026-09-23 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd860e8012d0bc6000704bc480021004117..."} 
[2026-09-23 16:08:49] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd860e8012d0bc6000704bc480021004117..."} 
[2026-09-23 16:08:49] local.INFO: Packet analysis {"connection_id":192043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:08:49] local.INFO: Extracted packet for processing {"connection_id":192043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":755746304,"raw_latitude":117750856,"longitude_deg":75.5746304,"latitude_deg":11.7750856,"altitude":33,"angle":65,"satellites":23,"speed":23,"hex_longitude":"2d0bc600","hex_latitude":"0704bc48","is_valid_coordinates":true} 
[2026-09-23 16:08: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-09-23 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280933632001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33480966584401920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842525004183304192,"note":"Value kept but may cause issues"} 
[2026-09-23 16:08: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-09-23 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790159905000,"timestamp_ms":1790159905000,"timestamp_seconds":1790159905,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd860e8"} 
[2026-09-23 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:08:49] 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-09-23 16:08: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":88,"data_length":795,"current_offset":136} 
[2026-09-23 16:08:49] 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-09-23 16:08: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-09-23 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192043,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192043,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280933632001,"66":14407,"96":206,"94":10240,"24":23,"16":33480966584401920,"45":842525004183304192},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280933632001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:08:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 16:08:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33480966584401920,"km_value":33480966584401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":842525004183304192,"description":"Unknown IO ID 45"} 
[2026-09-23 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280933632001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":842525004183304192}} 
[2026-09-23 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":192043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:08:49] local.INFO: GPS data processed {"connection_id":192043,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:08:49] local.INFO: Acknowledgment sent {"connection_id":192043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:08:57] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:57] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:08:57] local.INFO: IMEI packet received {"connection_id":190705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":190705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:09:02] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:02] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:02] local.INFO: IMEI packet received {"connection_id":190705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":190705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:09:02] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:02] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:02] local.INFO: Packet analysis {"connection_id":190705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:09:02] local.INFO: Extracted packet for processing {"connection_id":190705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:09:02] 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-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":190705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:03] local.INFO: GPS data processed {"connection_id":190705,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:03] local.INFO: Acknowledgment sent {"connection_id":190705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:08] local.INFO: TCP Data received {"connection_id":190518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:08] local.INFO: Processing buffer {"connection_id":190518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:08] local.INFO: Packet analysis {"connection_id":190518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:08] local.INFO: Extracted packet for processing {"connection_id":190518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:09: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-09-23 16:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:08] 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-09-23 16:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:09:08] 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-09-23 16:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09: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-09-23 16:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":190518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:08] local.INFO: GPS data processed {"connection_id":190518,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:08] local.INFO: Acknowledgment sent {"connection_id":190518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:20] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd87470012d0bd2c00704c2600022004d17..."} 
[2026-09-23 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd87470012d0bd2c00704c2600022004d17..."} 
[2026-09-23 16:09:20] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd87470012d0bd2c00704c2600022004d17..."} 
[2026-09-23 16:09:20] local.INFO: Packet analysis {"connection_id":192043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:09:20] local.INFO: Extracted packet for processing {"connection_id":192043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:09:20] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":117752416,"longitude_deg":75.5749568,"latitude_deg":11.7752416,"altitude":34,"angle":77,"satellites":23,"speed":27,"hex_longitude":"2d0bd2c0","hex_latitude":"0704c260","is_valid_coordinates":true} 
[2026-09-23 16:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280935680001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33481138383093760,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848365609950136320,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790159910000,"timestamp_ms":1790159910000,"timestamp_seconds":1790159910,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd87470"} 
[2026-09-23 16:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:09: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-09-23 16:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 16:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192043,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192043,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280935680001,"66":14211,"96":206,"94":10240,"24":27,"16":33481138383093760,"45":848365609950136320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 16:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280935680001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 16:09:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33481138383093760,"km_value":33481138383093.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":848365609950136320,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280935680001,"power":14211,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":848365609950136320}} 
[2026-09-23 16:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":192043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:20] local.INFO: GPS data processed {"connection_id":192043,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:20] local.INFO: Acknowledgment sent {"connection_id":192043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:33] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:33] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:33] local.INFO: IMEI packet received {"connection_id":193395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":193395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:09:34] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:34] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:09:34] local.INFO: Packet analysis {"connection_id":190705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:09:34] local.INFO: Extracted packet for processing {"connection_id":190705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:09:34] 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-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":190705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:34] local.INFO: GPS data processed {"connection_id":190705,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:34] local.INFO: Acknowledgment sent {"connection_id":190705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:36] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:36] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:09:36] local.INFO: IMEI packet received {"connection_id":193395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":193395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:09:37] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:37] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:37] local.INFO: Packet analysis {"connection_id":193395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:37] local.INFO: Extracted packet for processing {"connection_id":193395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:09: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-09-23 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:37] 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-09-23 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:09: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-09-23 16: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-09-23 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09: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-09-23 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":193395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:37] local.INFO: GPS data processed {"connection_id":193395,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:37] local.INFO: Acknowledgment sent {"connection_id":193395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:38] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:38] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:38] local.INFO: IMEI packet received {"connection_id":190706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":190706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:09:41] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:41] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:09:41] local.INFO: Packet analysis {"connection_id":193395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:41] local.INFO: Extracted packet for processing {"connection_id":193395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:09: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-09-23 16:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09: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-09-23 16:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:09: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-09-23 16:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:09: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-09-23 16:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":193395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:41] local.INFO: GPS data processed {"connection_id":193395,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:41] local.INFO: Acknowledgment sent {"connection_id":193395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:43] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:43] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:09:43] local.INFO: IMEI packet received {"connection_id":190706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":190706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:09:44] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd87858012d0bd5400704c2700022005b16..."} 
[2026-09-23 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd87858012d0bd5400704c2700022005b16..."} 
[2026-09-23 16:09:44] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd87858012d0bd5400704c2700022005b16..."} 
[2026-09-23 16:09:44] local.INFO: Packet analysis {"connection_id":190706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:09:44] local.INFO: Extracted packet for processing {"connection_id":190706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd8"} 
[2026-09-23 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":755750208,"raw_latitude":117752432,"longitude_deg":75.5750208,"latitude_deg":11.7752432,"altitude":34,"angle":91,"satellites":22,"speed":27,"hex_longitude":"2d0bd540","hex_latitude":"0704c270","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280936960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33481168447864832,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415903596544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:09:44] 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-09-23 16:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790159911000,"timestamp_ms":1790159911000,"timestamp_seconds":1790159911,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd87858"} 
[2026-09-23 16:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:09: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-09-23 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:09:44] 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-09-23 16: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-09-23 16:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280936960001,"66":14211,"96":206,"94":10240,"24":27,"16":33481168447864832,"45":851954415903596544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-23 16:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280936960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:09:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-23 16:09:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33481168447864832,"km_value":33481168447864.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415903596544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280936960001,"power":14211,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":851954415903596544}} 
[2026-09-23 16:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":190706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:09:44] local.INFO: GPS data processed {"connection_id":190706,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:09:44] local.INFO: Acknowledgment sent {"connection_id":190706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:09:56] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:56] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:09:56] local.INFO: IMEI packet received {"connection_id":193396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":193396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:10:02] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:02] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:02] local.INFO: IMEI packet received {"connection_id":193396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":193396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:10:02] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:02] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:02] local.INFO: Packet analysis {"connection_id":193396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:10:02] local.INFO: Extracted packet for processing {"connection_id":193396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:10:02] 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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:10: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-09-23 16: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-09-23 16:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":193396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:10:02] local.INFO: GPS data processed {"connection_id":193396,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:10:02] local.INFO: Acknowledgment sent {"connection_id":193396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:10:13] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:13] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:13] local.INFO: Packet analysis {"connection_id":193395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:10:13] local.INFO: Extracted packet for processing {"connection_id":193395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:10: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-09-23 16:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:13] 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-09-23 16:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:10: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-09-23 16:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:10: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-09-23 16:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:10:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":193395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:10:13] local.INFO: GPS data processed {"connection_id":193395,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:10:13] local.INFO: Acknowledgment sent {"connection_id":193395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:10:15] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd9bc90012d0c82000704e8f0001d013b17..."} 
[2026-09-23 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd9bc90012d0c82000704e8f0001d013b17..."} 
[2026-09-23 16:10:15] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd9bc90012d0c82000704e8f0001d013b17..."} 
[2026-09-23 16:10:15] local.INFO: Packet analysis {"connection_id":190706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd9"} 
[2026-09-23 16:10:15] local.INFO: Extracted packet for processing {"connection_id":190706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd9"} 
[2026-09-23 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":755794432,"raw_latitude":117762288,"longitude_deg":75.5794432,"latitude_deg":11.7762288,"altitude":29,"angle":315,"satellites":23,"speed":36,"hex_longitude":"2d0c8200","hex_latitude":"0704e8f0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280957696001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33483758313144320,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903042124178601984,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:15] 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-09-23 16:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790159994000,"timestamp_ms":1790159994000,"timestamp_seconds":1790159994,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd9bc90"} 
[2026-09-23 16:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 16:10:15] 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-09-23 16: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-09-23 16:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280957696001,"66":13537,"95":206,"94":10240,"24":36,"16":33483758313144320,"45":903042124178601984},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 16:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280957696001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:10:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 16:10:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33483758313144320,"km_value":33483758313144.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":903042124178601984,"description":"Unknown IO ID 45"} 
[2026-09-23 16:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280957696001,"power":13537,"unknown_95":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":903042124178601984}} 
[2026-09-23 16:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":190706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:10:15] local.INFO: GPS data processed {"connection_id":190706,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:10:15] local.INFO: Acknowledgment sent {"connection_id":190706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:10:31] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:31] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:31] local.INFO: IMEI packet received {"connection_id":190519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":190519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:10:33] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:33] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:10:33] local.INFO: Packet analysis {"connection_id":193396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:10:33] local.INFO: Extracted packet for processing {"connection_id":193396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 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-09-23 16:10:33] 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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16: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-09-23 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-09-23 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-09-23 16:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:10:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":193396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:10:34] local.INFO: GPS data processed {"connection_id":193396,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:10:34] local.INFO: Acknowledgment sent {"connection_id":193396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:10:36] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:36] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:10:36] local.INFO: IMEI packet received {"connection_id":190519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:10:37] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:37] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:10:37] local.INFO: Packet analysis {"connection_id":190519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:10:37] local.INFO: Extracted packet for processing {"connection_id":190519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:10: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-09-23 16:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:10:37] 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-09-23 16:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:10: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-09-23 16: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-09-23 16:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:10: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-09-23 16:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:10:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":190519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:10:37] local.INFO: GPS data processed {"connection_id":190519,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:10:37] local.INFO: Acknowledgment sent {"connection_id":190519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:10:56] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:56] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:10:56] local.INFO: IMEI packet received {"connection_id":190520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":190520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:11:02] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:02] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:02] local.INFO: IMEI packet received {"connection_id":190520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:11:02] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:02] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:02] local.INFO: Packet analysis {"connection_id":190520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:11:02] local.INFO: Extracted packet for processing {"connection_id":190520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:11:02] 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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:11: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-09-23 16: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-09-23 16:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":190520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:11:02] local.INFO: GPS data processed {"connection_id":190520,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:11:02] local.INFO: Acknowledgment sent {"connection_id":190520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:11:09] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:09] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:09] local.INFO: IMEI packet received {"connection_id":190707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":190707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:11:09] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:09] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:09] local.INFO: Packet analysis {"connection_id":190519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:11:09] local.INFO: Extracted packet for processing {"connection_id":190519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:11: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-09-23 16:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:09] 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-09-23 16:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:11: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-09-23 16:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:11:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":190519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:11:09] local.INFO: GPS data processed {"connection_id":190519,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:11:09] local.INFO: Acknowledgment sent {"connection_id":190519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:11:13] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:13] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:11:13] local.INFO: IMEI packet received {"connection_id":190707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":190707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:11:14] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd9dbd0012d0c6d400704fd80001d014715..."} 
[2026-09-23 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd9dbd0012d0c6d400704fd80001d014715..."} 
[2026-09-23 16:11:14] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd9dbd0012d0c6d400704fd80001d014715..."} 
[2026-09-23 16:11:14] local.INFO: Packet analysis {"connection_id":190707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd9"} 
[2026-09-23 16:11:14] local.INFO: Extracted packet for processing {"connection_id":190707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd9"} 
[2026-09-23 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117767552,"longitude_deg":75.578912,"latitude_deg":11.7767552,"altitude":29,"angle":327,"satellites":21,"speed":32,"hex_longitude":"2d0c6d40","hex_latitude":"0704fd80","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280958464001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33484123385364480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901282905574666240,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11: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-09-23 16:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790160002000,"timestamp_ms":1790160002000,"timestamp_seconds":1790160002,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd9dbd0"} 
[2026-09-23 16:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-23 16:11:14] 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-09-23 16: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-09-23 16:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280958464001,"66":14396,"95":206,"94":10240,"24":32,"16":33484123385364480,"45":901282905574666240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-23 16:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280958464001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:11:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-23 16:11:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33484123385364480,"km_value":33484123385364.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":901282905574666240,"description":"Unknown IO ID 45"} 
[2026-09-23 16:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280958464001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":901282905574666240}} 
[2026-09-23 16:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":190707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:11:14] local.INFO: GPS data processed {"connection_id":190707,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:11:14] local.INFO: Acknowledgment sent {"connection_id":190707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:11:31] local.INFO: TCP Data received {"connection_id":192047,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:31] local.INFO: Processing buffer {"connection_id":192047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:31] local.INFO: IMEI packet received {"connection_id":192047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":192047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:11:33] local.INFO: TCP Data received {"connection_id":190520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:33] local.INFO: Processing buffer {"connection_id":190520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:11:33] local.INFO: Packet analysis {"connection_id":190520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:11:33] local.INFO: Extracted packet for processing {"connection_id":190520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 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-09-23 16:11:33] 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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:11: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-09-23 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-09-23 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-09-23 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:11:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":190520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:11:33] local.INFO: GPS data processed {"connection_id":190520,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:11:33] local.INFO: Acknowledgment sent {"connection_id":190520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:11:36] local.INFO: TCP Data received {"connection_id":192047,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:36] local.INFO: Processing buffer {"connection_id":192047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:11:36] local.INFO: IMEI packet received {"connection_id":192047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":192047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:11:37] local.INFO: TCP Data received {"connection_id":192047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:37] local.INFO: Processing buffer {"connection_id":192047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:11:37] local.INFO: Packet analysis {"connection_id":192047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:11:37] local.INFO: Extracted packet for processing {"connection_id":192047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:11: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-09-23 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:11:37] 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-09-23 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:11:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":192047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:11:37] local.INFO: GPS data processed {"connection_id":192047,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:11:37] local.INFO: Acknowledgment sent {"connection_id":192047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:11:56] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:56] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:11:56] local.INFO: IMEI packet received {"connection_id":190521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:12:02] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:12:02] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:12:02] local.INFO: IMEI packet received {"connection_id":190521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":190521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:12:02] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:02] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:02] local.INFO: Packet analysis {"connection_id":190521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:12:02] local.INFO: Extracted packet for processing {"connection_id":190521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:12:02] 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-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:12:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":190521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:12:02] local.INFO: GPS data processed {"connection_id":190521,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:12:02] local.INFO: Acknowledgment sent {"connection_id":190521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:12:08] local.INFO: TCP Data received {"connection_id":192047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:12:08] local.INFO: Processing buffer {"connection_id":192047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd6e218012d398c8006c912d00028005125..."} 
[2026-09-23 16:12:08] local.INFO: Packet analysis {"connection_id":192047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:12:08] local.INFO: Extracted packet for processing {"connection_id":192047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd6"} 
[2026-09-23 16:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 16:12: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-09-23 16:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280906240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:08] 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-09-23 16:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790159807000,"timestamp_ms":1790159807000,"timestamp_seconds":1790159807,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd6e218"} 
[2026-09-23 16:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 16:12:08] 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-09-23 16:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:12: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-09-23 16:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280906240001,"66":27876,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280906240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:12:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280906240001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":192047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:12:08] local.INFO: GPS data processed {"connection_id":192047,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:12:08] local.INFO: Acknowledgment sent {"connection_id":192047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:12:11] local.INFO: TCP Data received {"connection_id":192048,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:12:11] local.INFO: Processing buffer {"connection_id":192048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:12:11] local.INFO: IMEI packet received {"connection_id":192048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":192048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:12:31] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:31] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:31] local.INFO: IMEI packet received {"connection_id":192049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":192049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:12:34] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:34] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdd7bcd8012d180e8007219460003d00d42d..."} 
[2026-09-23 16:12:34] local.INFO: Packet analysis {"connection_id":190521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:12:34] local.INFO: Extracted packet for processing {"connection_id":190521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdd7"} 
[2026-09-23 16:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280847104001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790159863000,"timestamp_ms":1790159863000,"timestamp_seconds":1790159863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdd7bcd8"} 
[2026-09-23 16:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:12:34] 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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:12: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-09-23 16: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-09-23 16:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280847104001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280847104001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:12:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280847104001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":190521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:12:34] local.INFO: GPS data processed {"connection_id":190521,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:12:34] local.INFO: Acknowledgment sent {"connection_id":190521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:12:36] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:36] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:12:36] local.INFO: IMEI packet received {"connection_id":192049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":192049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:12:37] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:12:37] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:12:37] local.INFO: Packet analysis {"connection_id":192049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:12:37] local.INFO: Extracted packet for processing {"connection_id":192049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:12:37] 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-09-23 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:12: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-09-23 16: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-09-23 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:12: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-09-23 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:12:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":192049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:12:37] local.INFO: GPS data processed {"connection_id":192049,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:12:37] local.INFO: Acknowledgment sent {"connection_id":192049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:13:02] local.INFO: TCP Data received {"connection_id":190708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:02] local.INFO: Processing buffer {"connection_id":190708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:02] local.INFO: IMEI packet received {"connection_id":190708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":190708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:13:07] local.INFO: TCP Data received {"connection_id":190708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:07] local.INFO: Processing buffer {"connection_id":190708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:07] local.INFO: IMEI packet received {"connection_id":190708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":190708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:13:07] local.INFO: TCP Data received {"connection_id":190708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:07] local.INFO: Processing buffer {"connection_id":190708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:07] local.INFO: Packet analysis {"connection_id":190708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:13:07] local.INFO: Extracted packet for processing {"connection_id":190708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280924928001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790160169000,"timestamp_ms":1790160169000,"timestamp_seconds":1790160169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddc6828"} 
[2026-09-23 16:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:13:07] 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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280924928001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280924928001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280924928001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":190708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:13:07] local.INFO: GPS data processed {"connection_id":190708,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:13:07] local.INFO: Acknowledgment sent {"connection_id":190708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:13:08] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:08] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:08] local.INFO: Packet analysis {"connection_id":192049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:13:08] local.INFO: Extracted packet for processing {"connection_id":192049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:08] 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-09-23 16:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:13: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-09-23 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:13: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-09-23 16: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-09-23 16:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16: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-09-23 16:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:13:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":192049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:13:08] local.INFO: GPS data processed {"connection_id":192049,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:13:08] local.INFO: Acknowledgment sent {"connection_id":192049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:13:12] local.INFO: TCP Data received {"connection_id":190708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:12] local.INFO: Processing buffer {"connection_id":190708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:13:12] local.INFO: Packet analysis {"connection_id":190708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:13:12] local.INFO: Extracted packet for processing {"connection_id":190708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280924928001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790160169000,"timestamp_ms":1790160169000,"timestamp_seconds":1790160169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddc6828"} 
[2026-09-23 16:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:13:12] 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-09-23 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:13: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-09-23 16:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280924928001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280924928001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:13:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280924928001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":190708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:13:12] local.INFO: GPS data processed {"connection_id":190708,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:13:12] local.INFO: Acknowledgment sent {"connection_id":190708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:13:36] local.INFO: TCP Data received {"connection_id":193398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:36] local.INFO: Processing buffer {"connection_id":193398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:36] local.INFO: IMEI packet received {"connection_id":193398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":193398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:13:41] local.INFO: TCP Data received {"connection_id":193398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:41] local.INFO: Processing buffer {"connection_id":193398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:13:41] local.INFO: IMEI packet received {"connection_id":193398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":193398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:13:41] local.INFO: TCP Data received {"connection_id":190522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:13:41] local.INFO: Processing buffer {"connection_id":190522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:13:41] local.INFO: IMEI packet received {"connection_id":190522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":190522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:13:42] local.INFO: TCP Data received {"connection_id":193398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:42] local.INFO: Processing buffer {"connection_id":193398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:13:42] local.INFO: Packet analysis {"connection_id":193398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:13:42] local.INFO: Extracted packet for processing {"connection_id":193398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:13:42] 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-09-23 16:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:13: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-09-23 16: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-09-23 16:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:13: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-09-23 16:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:13:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":193398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:13:42] local.INFO: GPS data processed {"connection_id":193398,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:13:42] local.INFO: Acknowledgment sent {"connection_id":193398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:13:56] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:56] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:13:56] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:14:02] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:02] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:02] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:14:02] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:02] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:02] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:14:02] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280924928001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160169000,"timestamp_ms":1790160169000,"timestamp_seconds":1790160169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddc6828"} 
[2026-09-23 16:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:14:02] 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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:14: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-09-23 16: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-09-23 16:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280924928001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280924928001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280924928001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:14:03] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:14:03] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:14:13] local.INFO: TCP Data received {"connection_id":193398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:13] local.INFO: Processing buffer {"connection_id":193398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:13] local.INFO: Packet analysis {"connection_id":193398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:14:13] local.INFO: Extracted packet for processing {"connection_id":193398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:13] 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-09-23 16:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:14: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-09-23 16:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:14: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-09-23 16:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:14:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":193398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:14:13] local.INFO: GPS data processed {"connection_id":193398,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:14:13] local.INFO: Acknowledgment sent {"connection_id":193398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:14:26] local.INFO: TCP Data received {"connection_id":190522,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190522,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 16:14:26] local.INFO: Processing buffer {"connection_id":190522,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-23 16:14:26] local.INFO: IMEI packet received {"connection_id":190522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":190522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:14:31] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:31] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:31] local.INFO: IMEI packet received {"connection_id":190709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":190709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:14:34] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:34] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:14:34] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:14:34] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280924928001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790160169000,"timestamp_ms":1790160169000,"timestamp_seconds":1790160169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddc6828"} 
[2026-09-23 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-09-23 16:14: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:14: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-09-23 16: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-09-23 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-09-23 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280924928001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280924928001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:14:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280924928001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:14:34] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:14:34] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:14:38] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:38] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:14:38] local.INFO: IMEI packet received {"connection_id":190709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":190709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:14:39] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:39] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:14:39] local.INFO: Packet analysis {"connection_id":190709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:14:39] local.INFO: Extracted packet for processing {"connection_id":190709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:14:39] 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-09-23 16:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:14: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-09-23 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:14: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-09-23 16:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":190709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:14:39] local.INFO: GPS data processed {"connection_id":190709,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:14:39] local.INFO: Acknowledgment sent {"connection_id":190709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:14:56] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:56] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:14:56] local.INFO: IMEI packet received {"connection_id":193399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":193399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:15:02] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:02] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:02] local.INFO: IMEI packet received {"connection_id":193399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":193399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:15:02] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:15:02] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddc6828012d180e8007219460003d00d429..."} 
[2026-09-23 16:15:02] local.INFO: Packet analysis {"connection_id":193399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:15:02] local.INFO: Extracted packet for processing {"connection_id":193399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddc"} 
[2026-09-23 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280924928001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160169000,"timestamp_ms":1790160169000,"timestamp_seconds":1790160169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddc6828"} 
[2026-09-23 16:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:15:02] 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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:15: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-09-23 16: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-09-23 16:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280924928001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280924928001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280924928001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":193399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:15:03] local.INFO: GPS data processed {"connection_id":193399,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:15:03] local.INFO: Acknowledgment sent {"connection_id":193399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:15:11] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:11] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:11] local.INFO: Packet analysis {"connection_id":190709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:15:11] local.INFO: Extracted packet for processing {"connection_id":190709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:15: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-09-23 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":190709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:15:11] local.INFO: GPS data processed {"connection_id":190709,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:15:11] local.INFO: Acknowledgment sent {"connection_id":190709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:15:31] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:31] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:31] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:15:33] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:15:33] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:15:33] local.INFO: Packet analysis {"connection_id":193399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:15:33] local.INFO: Extracted packet for processing {"connection_id":193399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:15: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-09-23 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281003264001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160329000,"timestamp_ms":1790160329000,"timestamp_seconds":1790160329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdded928"} 
[2026-09-23 16:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16: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-09-23 16:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281003264001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281003264001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281003264001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":193399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:15:33] local.INFO: GPS data processed {"connection_id":193399,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:15:33] local.INFO: Acknowledgment sent {"connection_id":193399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:15:36] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:36] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:15:36] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:15:37] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:37] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:15:37] local.INFO: Packet analysis {"connection_id":190525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:15:37] local.INFO: Extracted packet for processing {"connection_id":190525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:15:37] 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-09-23 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:15: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-09-23 16:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:15: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-09-23 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:15:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":190525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:15:37] local.INFO: GPS data processed {"connection_id":190525,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:15:37] local.INFO: Acknowledgment sent {"connection_id":190525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:15:56] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:56] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:56] local.INFO: IMEI packet received {"connection_id":192051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":192051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:15:57] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:57] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:15:57] local.INFO: IMEI packet received {"connection_id":192051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":192051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:16:02] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:16:02] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:16:02] local.INFO: IMEI packet received {"connection_id":192051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":192051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:16:02] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:02] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:02] local.INFO: Packet analysis {"connection_id":192051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:16:02] local.INFO: Extracted packet for processing {"connection_id":192051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:16: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-09-23 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281044224001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160329000,"timestamp_ms":1790160329000,"timestamp_seconds":1790160329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdded928"} 
[2026-09-23 16:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:16:02] 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-09-23 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:16: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-09-23 16: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-09-23 16:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281044224001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281044224001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281044224001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":192051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:16:02] local.INFO: GPS data processed {"connection_id":192051,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:16:02] local.INFO: Acknowledgment sent {"connection_id":192051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:16:08] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:08] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:08] local.INFO: Packet analysis {"connection_id":190525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:16:08] local.INFO: Extracted packet for processing {"connection_id":190525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:08] 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-09-23 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:16: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-09-23 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:16: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-09-23 16:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:16: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-09-23 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:16:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:16:08] local.INFO: GPS data processed {"connection_id":190525,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:16:08] local.INFO: Acknowledgment sent {"connection_id":190525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:16:31] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:31] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:31] local.INFO: IMEI packet received {"connection_id":190710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":190710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:16:33] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:33] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdded928012d180e8007219460003d00d42d..."} 
[2026-09-23 16:16:33] local.INFO: Packet analysis {"connection_id":192051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:16:33] local.INFO: Extracted packet for processing {"connection_id":192051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641184,"longitude_deg":75.6551296,"latitude_deg":11.9641184,"altitude":61,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d180e80","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-23 16:16: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-09-23 16:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281044224001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160329000,"timestamp_ms":1790160329000,"timestamp_seconds":1790160329,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdded928"} 
[2026-09-23 16:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:16: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-09-23 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:16: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-09-23 16: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-09-23 16:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281044224001,"66":2166,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281044224001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281044224001,"power":2166,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":192051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:16:34] local.INFO: GPS data processed {"connection_id":192051,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:16:34] local.INFO: Acknowledgment sent {"connection_id":192051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:16:36] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:36] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:16:36] local.INFO: IMEI packet received {"connection_id":190710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":190710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:16:37] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:37] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:16:37] local.INFO: Packet analysis {"connection_id":190710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:16:37] local.INFO: Extracted packet for processing {"connection_id":190710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:16:37] 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-09-23 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16:16: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-09-23 16:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:16: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-09-23 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:16:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":190710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:16:37] local.INFO: GPS data processed {"connection_id":190710,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:16:37] local.INFO: Acknowledgment sent {"connection_id":190710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:01] local.INFO: TCP Data received {"connection_id":190711,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:01] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:01] local.INFO: IMEI packet received {"connection_id":190711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":190711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:17:02] local.INFO: TCP Data received {"connection_id":190711,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:02] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:02] local.INFO: IMEI packet received {"connection_id":190711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:17:03] local.INFO: TCP Data received {"connection_id":190711,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddef480012d180cc0072194c8003d014e2d..."} 
[2026-09-23 16:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddef480012d180cc0072194c8003d014e2d..."} 
[2026-09-23 16:17:03] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddef480012d180cc0072194c8003d014e2d..."} 
[2026-09-23 16:17:03] local.INFO: Packet analysis {"connection_id":190711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:17:03] local.INFO: Extracted packet for processing {"connection_id":190711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdde"} 
[2026-09-23 16:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119641288,"longitude_deg":75.6550848,"latitude_deg":11.9641288,"altitude":61,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d180cc0","hex_latitude":"072194c8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281044224001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729744319512576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700718080,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790160336000,"timestamp_ms":1790160336000,"timestamp_seconds":1790160336,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddef480"} 
[2026-09-23 16:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 16:17: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-09-23 16: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-09-23 16:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281044224001,"66":12461,"107":206,"83":41984,"24":0,"16":22729744319512576,"45":1733463674700718080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281044224001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:17:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729744319512576,"km_value":22729744319512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700718080,"description":"Unknown IO ID 45"} 
[2026-09-23 16:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281044224001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733463674700718080}} 
[2026-09-23 16:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":190711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:17:03] local.INFO: GPS data processed {"connection_id":190711,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:17:03] local.INFO: Acknowledgment sent {"connection_id":190711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:07] local.INFO: TCP Data received {"connection_id":190711,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf17a8012d180e40072193d8004d00172d..."} 
[2026-09-23 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf17a8012d180e40072193d8004d00172d..."} 
[2026-09-23 16:17:07] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf17a8012d180e40072193d8004d00172d..."} 
[2026-09-23 16:17:07] local.INFO: Packet analysis {"connection_id":190711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:17:07] local.INFO: Extracted packet for processing {"connection_id":190711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119641048,"longitude_deg":75.6551232,"latitude_deg":11.9641048,"altitude":77,"angle":23,"satellites":45,"speed":4,"hex_longitude":"2d180e40","hex_latitude":"072193d8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281046016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729765794349056,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093491501056,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790160345000,"timestamp_ms":1790160345000,"timestamp_seconds":1790160345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf17a8"} 
[2026-09-23 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:17: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-09-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 16:17: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-09-23 16: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-09-23 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281046016001,"66":14102,"107":206,"83":41984,"24":4,"16":22729765794349056,"45":1732971093491501056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281046016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:17:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729765794349056,"km_value":22729765794349.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093491501056,"description":"Unknown IO ID 45"} 
[2026-09-23 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281046016001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1732971093491501056}} 
[2026-09-23 16:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":190711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:17:07] local.INFO: GPS data processed {"connection_id":190711,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:17:07] local.INFO: Acknowledgment sent {"connection_id":190711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:08] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:17:08] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddb7dc8012d398a4006c913000028005124..."} 
[2026-09-23 16:17:08] local.INFO: Packet analysis {"connection_id":190710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:17:08] local.INFO: Extracted packet for processing {"connection_id":190710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddb"} 
[2026-09-23 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280910592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:08] 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-09-23 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160109000,"timestamp_ms":1790160109000,"timestamp_seconds":1790160109,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddb7dc8"} 
[2026-09-23 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:17: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-09-23 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 16: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-09-23 16: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-09-23 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:17: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-09-23 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280910592001,"66":26408,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280910592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:17:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280910592001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":190710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:17:08] local.INFO: GPS data processed {"connection_id":190710,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:17:08] local.INFO: Acknowledgment sent {"connection_id":190710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:30] local.INFO: TCP Data received {"connection_id":193401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:17:30] local.INFO: Processing buffer {"connection_id":193401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:17:30] local.INFO: IMEI packet received {"connection_id":193401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":193401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:17:31] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:31] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:31] local.INFO: IMEI packet received {"connection_id":192052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":192052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:17:36] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:36] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:36] local.INFO: IMEI packet received {"connection_id":192052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":192052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:17:38] local.INFO: TCP Data received {"connection_id":190711,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf1b90012d180e8007219440004d00252d..."} 
[2026-09-23 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf1b90012d180e8007219440004d00252d..."} 
[2026-09-23 16:17:38] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf1b90012d180e8007219440004d00252d..."} 
[2026-09-23 16:17:38] local.INFO: Packet analysis {"connection_id":190711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:17:38] local.INFO: Extracted packet for processing {"connection_id":190711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641152,"longitude_deg":75.6551296,"latitude_deg":11.9641152,"altitude":77,"angle":37,"satellites":45,"speed":5,"hex_longitude":"2d180e80","hex_latitude":"07219440","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281048320001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729774384283648,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733393305956505600,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790160346000,"timestamp_ms":1790160346000,"timestamp_seconds":1790160346,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf1b90"} 
[2026-09-23 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:17: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-09-23 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281048320001,"66":14113,"107":206,"83":41984,"24":5,"16":22729774384283648,"45":1733393305956505600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281048320001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:17:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729774384283648,"km_value":22729774384283.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733393305956505600,"description":"Unknown IO ID 45"} 
[2026-09-23 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281048320001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1733393305956505600}} 
[2026-09-23 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":190711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:17:38] local.INFO: GPS data processed {"connection_id":190711,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:17:38] local.INFO: Acknowledgment sent {"connection_id":190711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:41] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:41] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:17:41] local.INFO: IMEI packet received {"connection_id":192052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":192052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:17:42] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:17:42] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:17:42] local.INFO: Packet analysis {"connection_id":192052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:17:42] local.INFO: Extracted packet for processing {"connection_id":192052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:17:42] 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-09-23 16:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:17: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-09-23 16:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:17: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-09-23 16:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:17:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":192052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:17:42] local.INFO: GPS data processed {"connection_id":192052,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:17:42] local.INFO: Acknowledgment sent {"connection_id":192052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:17:57] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:57] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:17:57] local.INFO: IMEI packet received {"connection_id":192053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":192053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:18:01] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:01] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:01] local.INFO: IMEI packet received {"connection_id":192053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":192053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:18:02] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf42a0012d18154007219c98004c001a2c..."} 
[2026-09-23 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf42a0012d18154007219c98004c001a2c..."} 
[2026-09-23 16:18:02] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf42a0012d18154007219c98004c001a2c..."} 
[2026-09-23 16:18:02] local.INFO: Packet analysis {"connection_id":192053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:18:02] local.INFO: Extracted packet for processing {"connection_id":192053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756553024,"raw_latitude":119643288,"longitude_deg":75.6553024,"latitude_deg":11.9643288,"altitude":76,"angle":26,"satellites":44,"speed":14,"hex_longitude":"2d181540","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281048576001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22729907528269824,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700709888,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160356000,"timestamp_ms":1790160356000,"timestamp_seconds":1790160356,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf42a0"} 
[2026-09-23 16:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:18: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-09-23 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 16:18:02] 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-09-23 16: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-09-23 16:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281048576001,"66":14157,"107":206,"83":41984,"24":14,"16":22729907528269824,"45":1733463674700709888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281048576001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22729907528269824,"km_value":22729907528269.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700709888,"description":"Unknown IO ID 45"} 
[2026-09-23 16:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281048576001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1733463674700709888}} 
[2026-09-23 16:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":192053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:18:02] local.INFO: GPS data processed {"connection_id":192053,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:18:02] local.INFO: Acknowledgment sent {"connection_id":192053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:18:09] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:18:10] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:18:10] local.INFO: IMEI packet received {"connection_id":190528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":190528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:18:15] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:15] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:15] local.INFO: Packet analysis {"connection_id":192052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:18:15] local.INFO: Extracted packet for processing {"connection_id":192052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:15] 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-09-23 16:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:18: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-09-23 16: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16: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-09-23 16:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:18:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":192052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:18:15] local.INFO: GPS data processed {"connection_id":192052,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:18:15] local.INFO: Acknowledgment sent {"connection_id":192052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:18:31] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:31] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:31] local.INFO: IMEI packet received {"connection_id":190712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":190712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:18:33] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf94a8012d1825c00721b5d0004900192c..."} 
[2026-09-23 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf94a8012d1825c00721b5d0004900192c..."} 
[2026-09-23 16:18:33] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf94a8012d1825c00721b5d0004900192c..."} 
[2026-09-23 16:18:33] local.INFO: Packet analysis {"connection_id":192053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:18:33] local.INFO: Extracted packet for processing {"connection_id":192053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649744,"longitude_deg":75.6557248,"latitude_deg":11.9649744,"altitude":73,"angle":25,"satellites":44,"speed":10,"hex_longitude":"2d1825c0","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281051136001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730281190424576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735363630794053632,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160377000,"timestamp_ms":1790160377000,"timestamp_seconds":1790160377,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf94a8"} 
[2026-09-23 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-09-23 16:18: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-09-23 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 16:18: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-09-23 16:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 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-09-23 16:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281051136001,"66":14048,"107":206,"83":41984,"24":10,"16":22730281190424576,"45":1735363630794053632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281051136001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:18:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730281190424576,"km_value":22730281190424.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735363630794053632,"description":"Unknown IO ID 45"} 
[2026-09-23 16:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281051136001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1735363630794053632}} 
[2026-09-23 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":192053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:18:33] local.INFO: GPS data processed {"connection_id":192053,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:18:33] local.INFO: Acknowledgment sent {"connection_id":192053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:18:36] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:36] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:18:36] local.INFO: IMEI packet received {"connection_id":190712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":190712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:18:37] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:37] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:18:37] local.INFO: Packet analysis {"connection_id":190712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:18:37] local.INFO: Extracted packet for processing {"connection_id":190712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:37] 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-09-23 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:18: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-09-23 16: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-09-23 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:18: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-09-23 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:18:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":190712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:18:37] local.INFO: GPS data processed {"connection_id":190712,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:18:37] local.INFO: Acknowledgment sent {"connection_id":190712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:18:38] local.INFO: TCP Data received {"connection_id":190713,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:38] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:38] local.INFO: IMEI packet received {"connection_id":190713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":190713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:18:40] local.INFO: TCP Data received {"connection_id":190713,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:40] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:40] local.INFO: IMEI packet received {"connection_id":190713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":190713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:18:43] local.INFO: TCP Data received {"connection_id":190713,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:43] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:18:43] local.INFO: IMEI packet received {"connection_id":190713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":190713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:18:44] local.INFO: TCP Data received {"connection_id":190713,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde14e10012d0c6ec007061d48001400981a..."} 
[2026-09-23 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde14e10012d0c6ec007061d48001400981a..."} 
[2026-09-23 16:18:44] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde14e10012d0c6ec007061d48001400981a..."} 
[2026-09-23 16:18:44] local.INFO: Packet analysis {"connection_id":190713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:18:44] local.INFO: Extracted packet for processing {"connection_id":190713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:18:44] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117841224,"longitude_deg":75.5789504,"latitude_deg":11.7841224,"altitude":20,"angle":152,"satellites":26,"speed":8,"hex_longitude":"2d0c6ec0","hex_latitude":"07061d48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281083136001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33490600196046848,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668572393472,"note":"Value kept but may cause issues"} 
[2026-09-23 16:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790160490000,"timestamp_ms":1790160490000,"timestamp_seconds":1790160490,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde14e10"} 
[2026-09-23 16:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:18:44] 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-09-23 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 16:18: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-09-23 16: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-09-23 16:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281083136001,"66":13646,"220":206,"28":32256,"24":8,"16":33490600196046848,"45":895512668572393472},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281083136001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:18:44] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:18:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33490600196046848,"km_value":33490600196046.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668572393472,"description":"Unknown IO ID 45"} 
[2026-09-23 16:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281083136001,"power":13646,"unknown_220":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":895512668572393472}} 
[2026-09-23 16:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":190713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:18:44] local.INFO: GPS data processed {"connection_id":190713,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:18:44] local.INFO: Acknowledgment sent {"connection_id":190713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:18:57] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:57] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:18:57] local.INFO: IMEI packet received {"connection_id":192054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":192054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:19:01] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:01] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:01] local.INFO: IMEI packet received {"connection_id":192054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":192054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:19:02] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf9890012d1825c00721b6c0004900032c..."} 
[2026-09-23 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf9890012d1825c00721b6c0004900032c..."} 
[2026-09-23 16:19:02] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf9890012d1825c00721b6c0004900032c..."} 
[2026-09-23 16:19:02] local.INFO: Packet analysis {"connection_id":192054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:19:02] local.INFO: Extracted packet for processing {"connection_id":192054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649984,"longitude_deg":75.6557248,"latitude_deg":11.9649984,"altitude":73,"angle":3,"satellites":44,"speed":9,"hex_longitude":"2d1825c0","hex_latitude":"0721b6c0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281056512001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730289780359168,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911432192,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160378000,"timestamp_ms":1790160378000,"timestamp_seconds":1790160378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf9890"} 
[2026-09-23 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:19: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-09-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 16:19: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-09-23 16: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-09-23 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281056512001,"66":14048,"107":206,"83":41984,"24":9,"16":22730289780359168,"45":1740007967911432192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281056512001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730289780359168,"km_value":22730289780359.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911432192,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281056512001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740007967911432192}} 
[2026-09-23 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":192054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:02] local.INFO: GPS data processed {"connection_id":192054,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:02] local.INFO: Acknowledgment sent {"connection_id":192054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:08] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:08] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:08] local.INFO: Packet analysis {"connection_id":190712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:19:08] local.INFO: Extracted packet for processing {"connection_id":190712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:08] 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-09-23 16:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:19: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-09-23 16:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:19:08] 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-09-23 16:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:19: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-09-23 16:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:08] local.INFO: GPS data processed {"connection_id":190712,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:08] local.INFO: Acknowledgment sent {"connection_id":190712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:16] local.INFO: TCP Data received {"connection_id":190713,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde151f8012d0c6f4007061c880015008c1a..."} 
[2026-09-23 16:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde151f8012d0c6f4007061c880015008c1a..."} 
[2026-09-23 16:19:16] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde151f8012d0c6f4007061c880015008c1a..."} 
[2026-09-23 16:19:16] local.INFO: Packet analysis {"connection_id":190713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:16] local.INFO: Extracted packet for processing {"connection_id":190713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:16] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117841032,"longitude_deg":75.5789632,"latitude_deg":11.7841032,"altitude":21,"angle":140,"satellites":26,"speed":10,"hex_longitude":"2d0c6f40","hex_latitude":"07061c88","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281085440001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33490608785981440,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512293193728,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790160491000,"timestamp_ms":1790160491000,"timestamp_seconds":1790160491,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde151f8"} 
[2026-09-23 16:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:19: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-09-23 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-23 16:19: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-09-23 16: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-09-23 16:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281085440001,"66":14363,"220":206,"28":32256,"24":10,"16":33490608785981440,"45":895864512293193728},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281085440001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33490608785981440,"km_value":33490608785981.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512293193728,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281085440001,"power":14363,"unknown_220":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":895864512293193728}} 
[2026-09-23 16:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":190713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:16] local.INFO: GPS data processed {"connection_id":190713,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:16] local.INFO: Acknowledgment sent {"connection_id":190713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:31] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:31] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:31] local.INFO: IMEI packet received {"connection_id":190529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":190529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:19:33] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddf9c78012d1825800721b768004901372c..."} 
[2026-09-23 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddf9c78012d1825800721b768004901372c..."} 
[2026-09-23 16:19:33] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddf9c78012d1825800721b768004901372c..."} 
[2026-09-23 16:19:33] local.INFO: Packet analysis {"connection_id":192054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:19:33] local.INFO: Extracted packet for processing {"connection_id":192054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650152,"longitude_deg":75.6557184,"latitude_deg":11.9650152,"altitude":73,"angle":311,"satellites":44,"speed":7,"hex_longitude":"2d182580","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281056768001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730298370293760,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911493632,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160379000,"timestamp_ms":1790160379000,"timestamp_seconds":1790160379,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddf9c78"} 
[2026-09-23 16:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:19: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-09-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 16:19: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-09-23 16: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-09-23 16:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281056768001,"66":14048,"107":206,"83":41984,"24":7,"16":22730298370293760,"45":1740007967911493632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281056768001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730298370293760,"km_value":22730298370293.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911493632,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281056768001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740007967911493632}} 
[2026-09-23 16:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":192054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:33] local.INFO: GPS data processed {"connection_id":192054,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:33] local.INFO: Acknowledgment sent {"connection_id":192054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:36] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:36] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:19:36] local.INFO: IMEI packet received {"connection_id":190529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":190529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:19:37] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:37] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:19:37] local.INFO: Packet analysis {"connection_id":190529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:19:37] local.INFO: Extracted packet for processing {"connection_id":190529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:37] 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-09-23 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:19: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-09-23 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:19: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-09-23 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":190529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:37] local.INFO: GPS data processed {"connection_id":190529,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:37] local.INFO: Acknowledgment sent {"connection_id":190529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:43] local.INFO: TCP Data received {"connection_id":190530,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:43] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:43] local.INFO: IMEI packet received {"connection_id":190530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":190530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:19:47] local.INFO: TCP Data received {"connection_id":190530,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:47] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:19:47] local.INFO: IMEI packet received {"connection_id":190530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":190530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:19:49] local.INFO: TCP Data received {"connection_id":190530,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde1a018012d0c7e0007060d30001500861a..."} 
[2026-09-23 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde1a018012d0c7e0007060d30001500861a..."} 
[2026-09-23 16:19:49] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde1a018012d0c7e0007060d30001500861a..."} 
[2026-09-23 16:19:49] local.INFO: Packet analysis {"connection_id":190530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:49] local.INFO: Extracted packet for processing {"connection_id":190530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":755793408,"raw_latitude":117837104,"longitude_deg":75.5793408,"latitude_deg":11.7837104,"altitude":21,"angle":134,"satellites":26,"speed":14,"hex_longitude":"2d0c7e00","hex_latitude":"07060d30","is_valid_coordinates":true} 
[2026-09-23 16:19: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-09-23 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281085696001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33490870778986496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249781499904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790160511000,"timestamp_ms":1790160511000,"timestamp_seconds":1790160511,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde1a018"} 
[2026-09-23 16:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:19:49] 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-09-23 16:19: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":27,"data_length":795,"current_offset":136} 
[2026-09-23 16:19:49] 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-09-23 16:19: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-09-23 16:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281085696001,"66":14461,"220":206,"28":32256,"24":14,"16":33490870778986496,"45":896005249781499904},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281085696001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:49] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33490870778986496,"km_value":33490870778986.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249781499904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281085696001,"power":14461,"unknown_220":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":896005249781499904}} 
[2026-09-23 16:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":190530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:49] local.INFO: GPS data processed {"connection_id":190530,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:49] local.INFO: Acknowledgment sent {"connection_id":190530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:50] local.INFO: TCP Data received {"connection_id":190530,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde1bf58012d0c8480070607a0001500751a..."} 
[2026-09-23 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde1bf58012d0c8480070607a0001500751a..."} 
[2026-09-23 16:19:50] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde1bf58012d0c8480070607a0001500751a..."} 
[2026-09-23 16:19:50] local.INFO: Packet analysis {"connection_id":190530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:50] local.INFO: Extracted packet for processing {"connection_id":190530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755795072,"raw_latitude":117835680,"longitude_deg":75.5795072,"latitude_deg":11.783568,"altitude":21,"angle":117,"satellites":26,"speed":10,"hex_longitude":"2d0c8480","hex_latitude":"070607a0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281090816001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33490973858201600,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900157005686976512,"note":"Value kept but may cause issues"} 
[2026-09-23 16:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790160519000,"timestamp_ms":1790160519000,"timestamp_seconds":1790160519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde1bf58"} 
[2026-09-23 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-09-23 16:19:50] 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-09-23 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":125,"data_length":795,"current_offset":136} 
[2026-09-23 16:19:50] 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-09-23 16:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 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-09-23 16:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281090816001,"66":14515,"220":206,"28":32256,"24":10,"16":33490973858201600,"45":900157005686976512},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281090816001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:19:50] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33490973858201600,"km_value":33490973858201.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":900157005686976512,"description":"Unknown IO ID 45"} 
[2026-09-23 16:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281090816001,"power":14515,"unknown_220":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":900157005686976512}} 
[2026-09-23 16:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":190530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:19:50] local.INFO: GPS data processed {"connection_id":190530,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:19:50] local.INFO: Acknowledgment sent {"connection_id":190530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:19:57] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:57] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:19:57] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:20:01] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:01] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:01] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:20:02] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cddfee80012d1823800721b560004801372d..."} 
[2026-09-23 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cddfee80012d1823800721b560004801372d..."} 
[2026-09-23 16:20:02] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cddfee80012d1823800721b560004801372d..."} 
[2026-09-23 16:20:02] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:20:02] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cddf"} 
[2026-09-23 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649632,"longitude_deg":75.6556672,"latitude_deg":11.9649632,"altitude":72,"angle":311,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281057024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730345614934016,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167358976,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160400000,"timestamp_ms":1790160400000,"timestamp_seconds":1790160400,"priority":1,"record_length":96,"hex_timestamp":"000001a0cddfee80"} 
[2026-09-23 16:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20: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-09-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 16:20: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-09-23 16: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-09-23 16:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281057024001,"66":12591,"105":206,"83":41984,"24":0,"16":22730345614934016,"45":1739937599167358976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281057024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730345614934016,"km_value":22730345614934.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167358976,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281057024001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167358976}} 
[2026-09-23 16:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:02] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:02] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:10] local.INFO: TCP Data received {"connection_id":190529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:11] local.INFO: Processing buffer {"connection_id":190529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:11] local.INFO: Packet analysis {"connection_id":190529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:11] local.INFO: Extracted packet for processing {"connection_id":190529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:20: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-09-23 16:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":190529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:11] local.INFO: GPS data processed {"connection_id":190529,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:11] local.INFO: Acknowledgment sent {"connection_id":190529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:30] local.INFO: TCP Data received {"connection_id":190530,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde1de98012d0c8c00070602c0001700831a..."} 
[2026-09-23 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde1de98012d0c8c00070602c0001700831a..."} 
[2026-09-23 16:20:30] local.INFO: Processing buffer {"connection_id":190530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde1de98012d0c8c00070602c0001700831a..."} 
[2026-09-23 16:20:30] local.INFO: Packet analysis {"connection_id":190530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:20:30] local.INFO: Extracted packet for processing {"connection_id":190530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":755796992,"raw_latitude":117834432,"longitude_deg":75.5796992,"latitude_deg":11.7834432,"altitude":23,"angle":131,"satellites":26,"speed":12,"hex_longitude":"2d0c8c00","hex_latitude":"070602c0","is_valid_coordinates":true} 
[2026-09-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281092864001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33491085527351296,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901986593035231232,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790160527000,"timestamp_ms":1790160527000,"timestamp_seconds":1790160527,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde1de98"} 
[2026-09-23 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:20:30] 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-09-23 16:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281092864001,"66":14580,"220":206,"28":32256,"24":12,"16":33491085527351296,"45":901986593035231232},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281092864001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33491085527351296,"km_value":33491085527351.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":901986593035231232,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281092864001,"power":14580,"unknown_220":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":901986593035231232}} 
[2026-09-23 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":190530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:30] local.INFO: GPS data processed {"connection_id":190530,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:30] local.INFO: Acknowledgment sent {"connection_id":190530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:31] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:31] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:31] local.INFO: IMEI packet received {"connection_id":190715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":190715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:20:33] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde04088012d1823800721b560004801372b..."} 
[2026-09-23 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde04088012d1823800721b560004801372b..."} 
[2026-09-23 16:20:33] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde04088012d1823800721b560004801372b..."} 
[2026-09-23 16:20:33] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:33] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649632,"longitude_deg":75.6556672,"latitude_deg":11.9649632,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281062400001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730345614934016,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213804544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160421000,"timestamp_ms":1790160421000,"timestamp_seconds":1790160421,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde04088"} 
[2026-09-23 16:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20: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-09-23 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:20:33] 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-09-23 16: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-09-23 16:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281062400001,"66":12776,"105":206,"83":41984,"24":0,"16":22730345614934016,"45":1739374649213804544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281062400001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730345614934016,"km_value":22730345614934.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213804544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281062400001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213804544}} 
[2026-09-23 16:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:33] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:33] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:36] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:36] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:20:36] local.INFO: IMEI packet received {"connection_id":190715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":190715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:20:37] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:37] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:20:37] local.INFO: Packet analysis {"connection_id":190715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:37] local.INFO: Extracted packet for processing {"connection_id":190715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:37] 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-09-23 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 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-09-23 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:20: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-09-23 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-09-23 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-09-23 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:20: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-09-23 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":190715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:37] local.INFO: GPS data processed {"connection_id":190715,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:37] local.INFO: Acknowledgment sent {"connection_id":190715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:38] local.INFO: TCP Data received {"connection_id":190532,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:38] local.INFO: Processing buffer {"connection_id":190532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:38] local.INFO: IMEI packet received {"connection_id":190532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":190532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:20:46] local.INFO: TCP Data received {"connection_id":190532,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:46] local.INFO: Processing buffer {"connection_id":190532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:20:46] local.INFO: IMEI packet received {"connection_id":190532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":190532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:20:56] local.INFO: TCP Data received {"connection_id":190532,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde224e8012d0c94c00705fa90001800971a..."} 
[2026-09-23 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde224e8012d0c94c00705fa90001800971a..."} 
[2026-09-23 16:20:56] local.INFO: Processing buffer {"connection_id":190532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde224e8012d0c94c00705fa90001800971a..."} 
[2026-09-23 16:20:56] local.INFO: Packet analysis {"connection_id":190532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde2"} 
[2026-09-23 16:20:56] local.INFO: Extracted packet for processing {"connection_id":190532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde2"} 
[2026-09-23 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":755799232,"raw_latitude":117832336,"longitude_deg":75.5799232,"latitude_deg":11.7832336,"altitude":24,"angle":151,"satellites":26,"speed":4,"hex_longitude":"2d0c94c0","hex_latitude":"0705fa90","is_valid_coordinates":true} 
[2026-09-23 16:20: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-09-23 16:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281094912001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33491235851206656,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655360241664,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790160545000,"timestamp_ms":1790160545000,"timestamp_seconds":1790160545,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde224e8"} 
[2026-09-23 16:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20:56] 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-09-23 16:20: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":244,"data_length":795,"current_offset":136} 
[2026-09-23 16:20:56] 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-09-23 16:20: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-09-23 16:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":190532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":190532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":190532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281094912001,"66":14515,"220":206,"28":32256,"24":4,"16":33491235851206656,"45":904097655360241664},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281094912001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:56] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33491235851206656,"km_value":33491235851206.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655360241664,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281094912001,"power":14515,"unknown_220":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":904097655360241664}} 
[2026-09-23 16:20:56] local.INFO: TCP Data received {"connection_id":193403,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:56] local.INFO: Processing buffer {"connection_id":193403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:20:56] local.INFO: IMEI packet received {"connection_id":193403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":193403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":190532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:56] local.INFO: GPS data processed {"connection_id":190532,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:56] local.INFO: Acknowledgment sent {"connection_id":190532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:20:58] local.INFO: TCP Data received {"connection_id":190532,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde27308012d0ca2800705e4a0001700921a..."} 
[2026-09-23 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde27308012d0ca2800705e4a0001700921a..."} 
[2026-09-23 16:20:58] local.INFO: Processing buffer {"connection_id":190532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde27308012d0ca2800705e4a0001700921a..."} 
[2026-09-23 16:20:58] local.INFO: Packet analysis {"connection_id":190532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde2"} 
[2026-09-23 16:20:58] local.INFO: Extracted packet for processing {"connection_id":190532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde2"} 
[2026-09-23 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117826720,"longitude_deg":75.5802752,"latitude_deg":11.782672,"altitude":23,"angle":146,"satellites":26,"speed":16,"hex_longitude":"2d0ca280","hex_latitude":"0705e4a0","is_valid_coordinates":true} 
[2026-09-23 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281099520001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33491557973753856,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906560561405923328,"note":"Value kept but may cause issues"} 
[2026-09-23 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790160565000,"timestamp_ms":1790160565000,"timestamp_seconds":1790160565,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde27308"} 
[2026-09-23 16:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:20:58] 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-09-23 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:20:58] 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-09-23 16:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":190532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":190532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":190532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281099520001,"66":14265,"220":206,"28":32256,"24":16,"16":33491557973753856,"45":906560561405923328},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-23 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281099520001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:20:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 16:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33491557973753856,"km_value":33491557973753.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":906560561405923328,"description":"Unknown IO ID 45"} 
[2026-09-23 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281099520001,"power":14265,"unknown_220":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":906560561405923328}} 
[2026-09-23 16:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":190532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:20:58] local.INFO: GPS data processed {"connection_id":190532,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:20:58] local.INFO: Acknowledgment sent {"connection_id":190532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:02] local.INFO: TCP Data received {"connection_id":193403,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:02] local.INFO: Processing buffer {"connection_id":193403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:02] local.INFO: IMEI packet received {"connection_id":193403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":193403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:21:02] local.INFO: TCP Data received {"connection_id":193403,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde09290012d1823800721b560004801372b..."} 
[2026-09-23 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde09290012d1823800721b560004801372b..."} 
[2026-09-23 16:21:02] local.INFO: Processing buffer {"connection_id":193403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde09290012d1823800721b560004801372b..."} 
[2026-09-23 16:21:02] local.INFO: Packet analysis {"connection_id":193403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:02] local.INFO: Extracted packet for processing {"connection_id":193403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649632,"longitude_deg":75.6556672,"latitude_deg":11.9649632,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281067776001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730345614934016,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213804544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160442000,"timestamp_ms":1790160442000,"timestamp_seconds":1790160442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde09290"} 
[2026-09-23 16:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:21: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-09-23 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 16:21:02] 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-09-23 16: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-09-23 16:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281067776001,"66":12743,"105":206,"83":41984,"24":0,"16":22730345614934016,"45":1739374649213804544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281067776001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730345614934016,"km_value":22730345614934.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213804544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281067776001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213804544}} 
[2026-09-23 16:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":193403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:21:02] local.INFO: GPS data processed {"connection_id":193403,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:21:02] local.INFO: Acknowledgment sent {"connection_id":193403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:08] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:08] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:08] local.INFO: Packet analysis {"connection_id":190715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:08] local.INFO: Extracted packet for processing {"connection_id":190715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:08] 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-09-23 16:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:21: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-09-23 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:21:08] 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-09-23 16:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:21: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-09-23 16:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:21:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":190715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:21:08] local.INFO: GPS data processed {"connection_id":190715,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:21:08] local.INFO: Acknowledgment sent {"connection_id":190715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:31] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:31] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:31] local.INFO: IMEI packet received {"connection_id":192056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":192056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:21:33] local.INFO: TCP Data received {"connection_id":193403,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde0e498012d1821800721b370004601372c..."} 
[2026-09-23 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde0e498012d1821800721b370004601372c..."} 
[2026-09-23 16:21:33] local.INFO: Processing buffer {"connection_id":193403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde0e498012d1821800721b370004601372c..."} 
[2026-09-23 16:21:33] local.INFO: Packet analysis {"connection_id":193403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:33] local.INFO: Extracted packet for processing {"connection_id":193403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649136,"longitude_deg":75.655616,"latitude_deg":11.9649136,"altitude":70,"angle":311,"satellites":44,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281073152001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730388564606976,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213804544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160463000,"timestamp_ms":1790160463000,"timestamp_seconds":1790160463,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde0e498"} 
[2026-09-23 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-09-23 16:21: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-09-23 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 16:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281073152001,"66":12689,"105":206,"83":41984,"24":1,"16":22730388564606976,"45":1739374649213804544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281073152001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730388564606976,"km_value":22730388564606.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213804544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281073152001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739374649213804544}} 
[2026-09-23 16:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":193403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:21:33] local.INFO: GPS data processed {"connection_id":193403,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:21:33] local.INFO: Acknowledgment sent {"connection_id":193403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:35] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:35] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:35] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:21:36] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:36] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:21:36] local.INFO: IMEI packet received {"connection_id":192056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":192056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:21:37] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:37] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:21:37] local.INFO: Packet analysis {"connection_id":192056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:37] local.INFO: Extracted packet for processing {"connection_id":192056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:37] 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-09-23 16:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:21: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-09-23 16: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-09-23 16:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:21: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-09-23 16:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:21:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":192056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:21:37] local.INFO: GPS data processed {"connection_id":192056,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:21:37] local.INFO: Acknowledgment sent {"connection_id":192056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:38] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:38] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:38] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:21:39] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:39] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:39] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:21:40] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:40] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:21:40] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:21:42] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde40178012d0d14800705d6a00015005a1a..."} 
[2026-09-23 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde40178012d0d14800705d6a00015005a1a..."} 
[2026-09-23 16:21:42] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde40178012d0d14800705d6a00015005a1a..."} 
[2026-09-23 16:21:42] local.INFO: Packet analysis {"connection_id":192057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:21:42] local.INFO: Extracted packet for processing {"connection_id":192057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":755831936,"raw_latitude":117823136,"longitude_deg":75.5831936,"latitude_deg":11.7823136,"altitude":21,"angle":90,"satellites":26,"speed":34,"hex_longitude":"2d0d1480","hex_latitude":"0705d6a0","is_valid_coordinates":true} 
[2026-09-23 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281127680001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33493580903350272,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933441421679325184,"note":"Value kept but may cause issues"} 
[2026-09-23 16:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790160667000,"timestamp_ms":1790160667000,"timestamp_seconds":1790160667,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde40178"} 
[2026-09-23 16:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281127680001,"66":14461,"219":206,"28":32256,"24":34,"16":33493580903350272,"45":933441421679325184},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281127680001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:21:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33493580903350272,"km_value":33493580903350.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":933441421679325184,"description":"Unknown IO ID 45"} 
[2026-09-23 16:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281127680001,"power":14461,"unknown_219":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":933441421679325184}} 
[2026-09-23 16:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":192057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885885,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:21:42] local.INFO: GPS data processed {"connection_id":192057,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:21:42] local.INFO: Acknowledgment sent {"connection_id":192057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:21:56] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:56] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:21:56] local.INFO: IMEI packet received {"connection_id":190717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":190717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:22:02] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:22:02] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:22:02] local.INFO: IMEI packet received {"connection_id":190717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:22:02] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde136a0012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde136a0012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:02] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde136a0012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:02] local.INFO: Packet analysis {"connection_id":190717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:22:02] local.INFO: Extracted packet for processing {"connection_id":190717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648712,"longitude_deg":75.6555776,"latitude_deg":11.9648712,"altitude":71,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281078528001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730422924345344,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260256256,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160484000,"timestamp_ms":1790160484000,"timestamp_seconds":1790160484,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde136a0"} 
[2026-09-23 16:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22: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-09-23 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 16:22:02] 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-09-23 16: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-09-23 16:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281078528001,"66":12689,"105":206,"83":41984,"24":0,"16":22730422924345344,"45":1738811699260256256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281078528001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730422924345344,"km_value":22730422924345.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260256256,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281078528001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260256256}} 
[2026-09-23 16:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":190717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:02] local.INFO: GPS data processed {"connection_id":190717,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:02] local.INFO: Acknowledgment sent {"connection_id":190717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:22:08] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:22:08] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde01590012d398a4006c913000028005126..."} 
[2026-09-23 16:22:08] local.INFO: Packet analysis {"connection_id":192056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:22:08] local.INFO: Extracted packet for processing {"connection_id":192056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde0"} 
[2026-09-23 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458280987904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:08] 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-09-23 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160410000,"timestamp_ms":1790160410000,"timestamp_seconds":1790160410,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde01590"} 
[2026-09-23 16:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22: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-09-23 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 16:22:08] 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-09-23 16: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-09-23 16:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:22: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-09-23 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458280987904001,"66":26180,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458280987904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458280987904001,"power":26180,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":192056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:08] local.INFO: GPS data processed {"connection_id":192056,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:08] local.INFO: Acknowledgment sent {"connection_id":192056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:22:14] local.INFO: TCP Data received {"connection_id":192057,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde43828012d0d39400705d5b8001700741a..."} 
[2026-09-23 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde43828012d0d39400705d5b8001700741a..."} 
[2026-09-23 16:22:14] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde43828012d0d39400705d5b8001700741a..."} 
[2026-09-23 16:22:14] local.INFO: Packet analysis {"connection_id":192057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:14] local.INFO: Extracted packet for processing {"connection_id":192057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117822904,"longitude_deg":75.5841344,"latitude_deg":11.7822904,"altitude":23,"angle":116,"satellites":26,"speed":13,"hex_longitude":"2d0d3940","hex_latitude":"0705d5b8","is_valid_coordinates":true} 
[2026-09-23 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281130752001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33493997515177984,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":942518989678354432,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790160681000,"timestamp_ms":1790160681000,"timestamp_seconds":1790160681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde43828"} 
[2026-09-23 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 16:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281130752001,"66":14439,"219":206,"28":32256,"24":13,"16":33493997515177984,"45":942518989678354432},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281130752001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33493997515177984,"km_value":33493997515177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":942518989678354432,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281130752001,"power":14439,"unknown_219":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":942518989678354432}} 
[2026-09-23 16:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":192057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:14] local.INFO: GPS data processed {"connection_id":192057,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:14] local.INFO: Acknowledgment sent {"connection_id":192057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:22:33] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde188a8012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde188a8012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:33] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde188a8012d1820000721b1c8004701372c..."} 
[2026-09-23 16:22:33] local.INFO: Packet analysis {"connection_id":190717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:22:33] local.INFO: Extracted packet for processing {"connection_id":190717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde1"} 
[2026-09-23 16:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648712,"longitude_deg":75.6555776,"latitude_deg":11.9648712,"altitude":71,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281083904001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730422924345344,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795081728,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160505000,"timestamp_ms":1790160505000,"timestamp_seconds":1790160505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde188a8"} 
[2026-09-23 16:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22: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-09-23 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 16:22: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-09-23 16: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-09-23 16:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281083904001,"66":12711,"105":206,"83":41984,"24":0,"16":22730422924345344,"45":1738389486795081728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281083904001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730422924345344,"km_value":22730422924345.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795081728,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281083904001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795081728}} 
[2026-09-23 16:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":190717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:33] local.INFO: GPS data processed {"connection_id":190717,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:33] local.INFO: Acknowledgment sent {"connection_id":190717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:22:36] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:36] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:36] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:22:38] local.INFO: TCP Data received {"connection_id":193405,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:38] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:38] local.INFO: IMEI packet received {"connection_id":193405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":193405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:22:39] local.INFO: TCP Data received {"connection_id":193405,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:39] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:39] local.INFO: IMEI packet received {"connection_id":193405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":193405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:22:41] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:41] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:22:41] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:22:42] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:22:42] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:22:42] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:42] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:42] 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-09-23 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:22: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-09-23 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:42] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:42] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:22:43] local.INFO: TCP Data received {"connection_id":193405,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:43] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:22:43] local.INFO: IMEI packet received {"connection_id":193405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":193405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:22:45] local.INFO: TCP Data received {"connection_id":193405,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4e020012d0d3e000705bb60001400a01a..."} 
[2026-09-23 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4e020012d0d3e000705bb60001400a01a..."} 
[2026-09-23 16:22:45] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4e020012d0d3e000705bb60001400a01a..."} 
[2026-09-23 16:22:45] local.INFO: Packet analysis {"connection_id":193405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:45] local.INFO: Extracted packet for processing {"connection_id":193405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":755842560,"raw_latitude":117816160,"longitude_deg":75.584256,"latitude_deg":11.781616,"altitude":20,"angle":160,"satellites":26,"speed":0,"hex_longitude":"2d0d3e00","hex_latitude":"0705bb60","is_valid_coordinates":true} 
[2026-09-23 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281140224001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33494353997463552,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953918726233600000,"note":"Value kept but may cause issues"} 
[2026-09-23 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790160724000,"timestamp_ms":1790160724000,"timestamp_seconds":1790160724,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4e020"} 
[2026-09-23 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:22:45] 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-09-23 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 16:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281140224001,"66":14559,"219":206,"28":32256,"24":0,"16":33494353997463552,"45":953918726233600000},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281140224001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:22:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33494353997463552,"km_value":33494353997463.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":953918726233600000,"description":"Unknown IO ID 45"} 
[2026-09-23 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281140224001,"power":14559,"unknown_219":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":953918726233600000}} 
[2026-09-23 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":193405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:22:46] local.INFO: GPS data processed {"connection_id":193405,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:22:46] local.INFO: Acknowledgment sent {"connection_id":193405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:02] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:02] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:02] local.INFO: IMEI packet received {"connection_id":190718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":190718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:23:07] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:07] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:07] local.INFO: IMEI packet received {"connection_id":190718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":190718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:23:07] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ff60012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ff60012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:07] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ff60012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:07] local.INFO: Packet analysis {"connection_id":190718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:07] local.INFO: Extracted packet for processing {"connection_id":190718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790160732000,"timestamp_ms":1790160732000,"timestamp_seconds":1790160732,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ff60"} 
[2026-09-23 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":12645,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":190718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:07] local.INFO: GPS data processed {"connection_id":190718,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:07] local.INFO: Acknowledgment sent {"connection_id":190718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:11] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde55168012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde55168012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:11] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde55168012d181f400721af48004800ca2c..."} 
[2026-09-23 16:23:11] local.INFO: Packet analysis {"connection_id":190718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:23:11] local.INFO: Extracted packet for processing {"connection_id":190718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281147392001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790160753000,"timestamp_ms":1790160753000,"timestamp_seconds":1790160753,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde55168"} 
[2026-09-23 16:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281147392001,"66":12613,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281147392001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281147392001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":190718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:12] local.INFO: GPS data processed {"connection_id":190718,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:12] local.INFO: Acknowledgment sent {"connection_id":190718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:13] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:13] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:13] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:13] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:13] 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-09-23 16:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:13] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:13] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:17] local.INFO: TCP Data received {"connection_id":193405,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde512e8012d0d3d800705bda00013015c1a..."} 
[2026-09-23 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde512e8012d0d3d800705bda00013015c1a..."} 
[2026-09-23 16:23:17] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde512e8012d0d3d800705bda00013015c1a..."} 
[2026-09-23 16:23:17] local.INFO: Packet analysis {"connection_id":193405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:23:17] local.INFO: Extracted packet for processing {"connection_id":193405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816736,"longitude_deg":75.5842432,"latitude_deg":11.7816736,"altitude":19,"angle":348,"satellites":26,"speed":1,"hex_longitude":"2d0d3d80","hex_latitude":"0705bda0","is_valid_coordinates":true} 
[2026-09-23 16:23: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-09-23 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281145344001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33494384062234624,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954200201210060800,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790160737000,"timestamp_ms":1790160737000,"timestamp_seconds":1790160737,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde512e8"} 
[2026-09-23 16:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:23: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":223,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:17] 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-09-23 16:23: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-09-23 16:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281145344001,"66":14439,"219":206,"28":32256,"24":1,"16":33494384062234624,"45":954200201210060800},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281145344001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33494384062234624,"km_value":33494384062234.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":954200201210060800,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281145344001,"power":14439,"unknown_219":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_45":954200201210060800}} 
[2026-09-23 16:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":193405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:18] local.INFO: GPS data processed {"connection_id":193405,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:18] local.INFO: Acknowledgment sent {"connection_id":193405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:31] local.INFO: TCP Data received {"connection_id":190719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:31] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:31] local.INFO: IMEI packet received {"connection_id":190719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":190719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:23:36] local.INFO: TCP Data received {"connection_id":190719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:36] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:23:36] local.INFO: IMEI packet received {"connection_id":190719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":190719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:23:37] local.INFO: TCP Data received {"connection_id":190719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:37] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:23:37] local.INFO: Packet analysis {"connection_id":190719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:37] local.INFO: Extracted packet for processing {"connection_id":190719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:37] 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-09-23 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:23: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-09-23 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":190719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:37] local.INFO: GPS data processed {"connection_id":190719,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:37] local.INFO: Acknowledgment sent {"connection_id":190719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:37] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:37] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:37] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:23:38] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:38] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:38] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:23:39] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:39] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:39] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:23:43] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:43] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:23:43] local.INFO: IMEI packet received {"connection_id":190533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":190533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:23:45] local.INFO: TCP Data received {"connection_id":193406,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:23:45] local.INFO: Processing buffer {"connection_id":193406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:23:45] local.INFO: IMEI packet received {"connection_id":193406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":193406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:23:45] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde614b8012d0d49800705d5980014004a1a..."} 
[2026-09-23 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde614b8012d0d49800705d5980014004a1a..."} 
[2026-09-23 16:23:45] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde614b8012d0d49800705d5980014004a1a..."} 
[2026-09-23 16:23:45] local.INFO: Packet analysis {"connection_id":190533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:23:45] local.INFO: Extracted packet for processing {"connection_id":190533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:23:45] local.INFO: GPS Element Parsed {"raw_longitude":755845504,"raw_latitude":117822872,"longitude_deg":75.5845504,"latitude_deg":11.7822872,"altitude":20,"angle":74,"satellites":26,"speed":27,"hex_longitude":"2d0d4980","hex_latitude":"0705d598","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281165056001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33494899458310144,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":956029788560324608,"note":"Value kept but may cause issues"} 
[2026-09-23 16:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790160803000,"timestamp_ms":1790160803000,"timestamp_seconds":1790160803,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde614b8"} 
[2026-09-23 16:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:23:45] 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-09-23 16:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281165056001,"66":14450,"219":206,"28":32256,"24":27,"16":33494899458310144,"45":956029788560324608},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281165056001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:23:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33494899458310144,"km_value":33494899458310.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":956029788560324608,"description":"Unknown IO ID 45"} 
[2026-09-23 16:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281165056001,"power":14450,"unknown_219":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":956029788560324608}} 
[2026-09-23 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":190533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885897,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:23:46] local.INFO: GPS data processed {"connection_id":190533,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:23:46] local.INFO: Acknowledgment sent {"connection_id":190533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:23:58] local.INFO: TCP Data received {"connection_id":193407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:58] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:23:58] local.INFO: IMEI packet received {"connection_id":193407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":193407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:24:02] local.INFO: TCP Data received {"connection_id":193407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:02] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:02] local.INFO: IMEI packet received {"connection_id":193407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":193407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:07] local.INFO: TCP Data received {"connection_id":193407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:07] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:07] local.INFO: IMEI packet received {"connection_id":193407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":193407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:07] local.INFO: TCP Data received {"connection_id":193407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde5a370012d181f400721af48004800ca2a..."} 
[2026-09-23 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde5a370012d181f400721af48004800ca2a..."} 
[2026-09-23 16:24:07] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde5a370012d181f400721af48004800ca2a..."} 
[2026-09-23 16:24:07] local.INFO: Packet analysis {"connection_id":193407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:24:07] local.INFO: Extracted packet for processing {"connection_id":193407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281152768001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790160774000,"timestamp_ms":1790160774000,"timestamp_seconds":1790160774,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde5a370"} 
[2026-09-23 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-09-23 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 16:24:07] 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-09-23 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-09-23 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-09-23 16:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281152768001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281152768001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281152768001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":193407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:24:07] local.INFO: GPS data processed {"connection_id":193407,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:24:07] local.INFO: Acknowledgment sent {"connection_id":193407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:24:08] local.INFO: TCP Data received {"connection_id":190719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:08] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:08] local.INFO: Packet analysis {"connection_id":190719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:24:08] local.INFO: Extracted packet for processing {"connection_id":190719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:08] 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-09-23 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:24: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-09-23 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:24: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-09-23 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:24:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:24:08] local.INFO: GPS data processed {"connection_id":190719,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:24:08] local.INFO: Acknowledgment sent {"connection_id":190719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:24:15] local.INFO: TCP Data received {"connection_id":193408,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:24:15] local.INFO: Processing buffer {"connection_id":193408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:24:15] local.INFO: IMEI packet received {"connection_id":193408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":193408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:24:18] local.INFO: TCP Data received {"connection_id":190533,"ip":"117.224.24.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde6c098012d0dab000705cee00016005c1a..."} 
[2026-09-23 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde6c098012d0dab000705cee00016005c1a..."} 
[2026-09-23 16:24:18] local.INFO: Processing buffer {"connection_id":190533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde6c098012d0dab000705cee00016005c1a..."} 
[2026-09-23 16:24:18] local.INFO: Packet analysis {"connection_id":190533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:24:18] local.INFO: Extracted packet for processing {"connection_id":190533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":755870464,"raw_latitude":117821152,"longitude_deg":75.5870464,"latitude_deg":11.7821152,"altitude":22,"angle":92,"satellites":26,"speed":26,"hex_longitude":"2d0dab00","hex_latitude":"0705cee0","is_valid_coordinates":true} 
[2026-09-23 16:24: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-09-23 16:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281176576001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33496200833400832,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984177286231044096,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790160847000,"timestamp_ms":1790160847000,"timestamp_seconds":1790160847,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde6c098"} 
[2026-09-23 16:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:24: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-09-23 16:24: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":154,"data_length":795,"current_offset":136} 
[2026-09-23 16:24:18] 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-09-23 16:24: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-09-23 16:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.24.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281176576001,"66":13722,"219":206,"28":32256,"24":26,"16":33496200833400832,"45":984177286231044096},"client_ip":"117.224.24.50","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-23 16:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281176576001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:24:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:24:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-23 16:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33496200833400832,"km_value":33496200833400.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":984177286231044096,"description":"Unknown IO ID 45"} 
[2026-09-23 16:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281176576001,"power":13722,"unknown_219":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":984177286231044096}} 
[2026-09-23 16:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":190533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:24:18] local.INFO: GPS data processed {"connection_id":190533,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:24:18] local.INFO: Acknowledgment sent {"connection_id":190533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:24:31] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:31] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:31] local.INFO: IMEI packet received {"connection_id":192059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":192059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:24:36] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:36] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:24:36] local.INFO: IMEI packet received {"connection_id":192059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":192059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:37] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:37] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:24:37] local.INFO: Packet analysis {"connection_id":192059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:24:37] local.INFO: Extracted packet for processing {"connection_id":192059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:37] 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-09-23 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:24: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-09-23 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:24:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":192059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:24:37] local.INFO: GPS data processed {"connection_id":192059,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:24:37] local.INFO: Acknowledgment sent {"connection_id":192059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:24:38] local.INFO: TCP Data received {"connection_id":193407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde5f578012d181f400721af48004800ca2c..."} 
[2026-09-23 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde5f578012d181f400721af48004800ca2c..."} 
[2026-09-23 16:24:38] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde5f578012d181f400721af48004800ca2c..."} 
[2026-09-23 16:24:38] local.INFO: Packet analysis {"connection_id":193407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:24:38] local.INFO: Extracted packet for processing {"connection_id":193407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde5"} 
[2026-09-23 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281158144001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790160795000,"timestamp_ms":1790160795000,"timestamp_seconds":1790160795,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde5f578"} 
[2026-09-23 16:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:24: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-09-23 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281158144001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281158144001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:24:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281158144001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":193407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:24:39] local.INFO: GPS data processed {"connection_id":193407,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:24:39] local.INFO: Acknowledgment sent {"connection_id":193407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:24:39] local.INFO: TCP Data received {"connection_id":190534,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:39] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:39] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:24:40] local.INFO: TCP Data received {"connection_id":190534,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:40] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:40] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:42] local.INFO: TCP Data received {"connection_id":190534,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:42] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:42] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:43] local.INFO: TCP Data received {"connection_id":190534,"ip":"117.224.24.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:43] local.INFO: Processing buffer {"connection_id":190534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:24:43] local.INFO: IMEI packet received {"connection_id":190534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":190534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:24:56] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:57] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:24:57] local.INFO: IMEI packet received {"connection_id":190720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":190720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:25:02] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:02] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:02] local.INFO: IMEI packet received {"connection_id":190720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":190720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:25:02] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde64780012d181f400721af48004800ca2b..."} 
[2026-09-23 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde64780012d181f400721af48004800ca2b..."} 
[2026-09-23 16:25:02] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde64780012d181f400721af48004800ca2b..."} 
[2026-09-23 16:25:02] local.INFO: Packet analysis {"connection_id":190720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:25:02] local.INFO: Extracted packet for processing {"connection_id":190720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281163520001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160816000,"timestamp_ms":1790160816000,"timestamp_seconds":1790160816,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde64780"} 
[2026-09-23 16:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:25:02] 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-09-23 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:25:02] 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-09-23 16: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-09-23 16:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281163520001,"66":12602,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281163520001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281163520001,"power":12602,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":190720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:25:02] local.INFO: GPS data processed {"connection_id":190720,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:25:02] local.INFO: Acknowledgment sent {"connection_id":190720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:25:08] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:08] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:08] local.INFO: Packet analysis {"connection_id":192059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:25:08] local.INFO: Extracted packet for processing {"connection_id":192059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:08] 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-09-23 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:25: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-09-23 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:25:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":192059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:25:08] local.INFO: GPS data processed {"connection_id":192059,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:25:08] local.INFO: Acknowledgment sent {"connection_id":192059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:25:31] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:31] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:31] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:25:33] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde69988012d181f400721af48004800ca2a..."} 
[2026-09-23 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde69988012d181f400721af48004800ca2a..."} 
[2026-09-23 16:25:33] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde69988012d181f400721af48004800ca2a..."} 
[2026-09-23 16:25:33] local.INFO: Packet analysis {"connection_id":190720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:25:33] local.INFO: Extracted packet for processing {"connection_id":190720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281168896001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160837000,"timestamp_ms":1790160837000,"timestamp_seconds":1790160837,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde69988"} 
[2026-09-23 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-09-23 16:25: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-09-23 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 16:25:33] 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-09-23 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-09-23 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-09-23 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281168896001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281168896001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:25:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281168896001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":190720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:25:33] local.INFO: GPS data processed {"connection_id":190720,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:25:33] local.INFO: Acknowledgment sent {"connection_id":190720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:25:36] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:36] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:25:36] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:25:37] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:37] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:25:37] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:25:37] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:25:37] 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-09-23 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:25: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-09-23 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:25:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:25:37] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:25:37] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:25:54] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:54] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:54] local.INFO: IMEI packet received {"connection_id":192061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":192061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:25:57] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:57] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:25:57] local.INFO: IMEI packet received {"connection_id":192061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":192061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:26:01] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:01] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:01] local.INFO: IMEI packet received {"connection_id":192061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":192061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:26:02] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde6eb90012d181f400721af48004800ca2a..."} 
[2026-09-23 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde6eb90012d181f400721af48004800ca2a..."} 
[2026-09-23 16:26:02] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde6eb90012d181f400721af48004800ca2a..."} 
[2026-09-23 16:26:02] local.INFO: Packet analysis {"connection_id":192061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:26:02] local.INFO: Extracted packet for processing {"connection_id":192061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde6"} 
[2026-09-23 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281174272001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160858000,"timestamp_ms":1790160858000,"timestamp_seconds":1790160858,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde6eb90"} 
[2026-09-23 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:26:02] 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-09-23 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:26:02] 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-09-23 16: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-09-23 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281174272001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281174272001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281174272001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":192061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:26:03] local.INFO: GPS data processed {"connection_id":192061,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:26:03] local.INFO: Acknowledgment sent {"connection_id":192061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:26:08] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:08] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:08] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:08] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:08] 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-09-23 16:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:26: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-09-23 16: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26: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-09-23 16:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:26:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:26:08] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:26:08] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:26:34] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde73d98012d181f400721af48004800ca29..."} 
[2026-09-23 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde73d98012d181f400721af48004800ca29..."} 
[2026-09-23 16:26:34] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde73d98012d181f400721af48004800ca29..."} 
[2026-09-23 16:26:34] local.INFO: Packet analysis {"connection_id":192061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:26:34] local.INFO: Extracted packet for processing {"connection_id":192061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281179648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790160879000,"timestamp_ms":1790160879000,"timestamp_seconds":1790160879,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde73d98"} 
[2026-09-23 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:26: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-09-23 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:26:34] 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-09-23 16: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-09-23 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281179648001,"66":12537,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281179648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:26:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281179648001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":192061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:26:34] local.INFO: GPS data processed {"connection_id":192061,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:26:34] local.INFO: Acknowledgment sent {"connection_id":192061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:26:36] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:36] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:36] local.INFO: IMEI packet received {"connection_id":190722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":190722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:26:41] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:41] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:26:41] local.INFO: IMEI packet received {"connection_id":190722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":190722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:26:42] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:42] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:42] local.INFO: Packet analysis {"connection_id":190722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:42] local.INFO: Extracted packet for processing {"connection_id":190722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:42] 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-09-23 16:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:26: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-09-23 16: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26: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-09-23 16:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:26:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":190722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:26:42] local.INFO: GPS data processed {"connection_id":190722,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:26:42] local.INFO: Acknowledgment sent {"connection_id":190722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:26:46] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:46] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde4ad58012d398a4006c913000028005126..."} 
[2026-09-23 16:26:46] local.INFO: Packet analysis {"connection_id":190722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:46] local.INFO: Extracted packet for processing {"connection_id":190722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde4"} 
[2026-09-23 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281064960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:26:46] 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-09-23 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790160711000,"timestamp_ms":1790160711000,"timestamp_seconds":1790160711,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde4ad58"} 
[2026-09-23 16:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-23 16:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281064960001,"66":26136,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281064960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:26:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281064960001,"power":26136,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":190722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:26:46] local.INFO: GPS data processed {"connection_id":190722,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:26:46] local.INFO: Acknowledgment sent {"connection_id":190722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:26:57] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: IMEI packet received {"connection_id":192062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":192062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:26:57] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:26:57] local.INFO: IMEI packet received {"connection_id":192062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":192062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:27:01] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:01] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:01] local.INFO: IMEI packet received {"connection_id":192062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":192062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:27:02] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde78fa0012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde78fa0012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:02] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde78fa0012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:02] local.INFO: Packet analysis {"connection_id":192062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:27:02] local.INFO: Extracted packet for processing {"connection_id":192062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281185024001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790160900000,"timestamp_ms":1790160900000,"timestamp_seconds":1790160900,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde78fa0"} 
[2026-09-23 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:27:02] 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-09-23 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 16:27:02] 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-09-23 16: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-09-23 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281185024001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281185024001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281185024001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":192062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:27:02] local.INFO: GPS data processed {"connection_id":192062,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:27:02] local.INFO: Acknowledgment sent {"connection_id":192062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:27:30] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:30] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:30] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:27:31] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:31] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:31] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:27:33] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde7e1a8012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde7e1a8012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:33] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde7e1a8012d181f400721af48004800ca2c..."} 
[2026-09-23 16:27:33] local.INFO: Packet analysis {"connection_id":192062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:27:33] local.INFO: Extracted packet for processing {"connection_id":192062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde7"} 
[2026-09-23 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648072,"longitude_deg":75.6555584,"latitude_deg":11.9648072,"altitude":72,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281190400001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730457284083712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790160921000,"timestamp_ms":1790160921000,"timestamp_seconds":1790160921,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde7e1a8"} 
[2026-09-23 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:27: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-09-23 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:27:33] 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-09-23 16: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-09-23 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281190400001,"66":12591,"107":206,"83":41984,"24":0,"16":22730457284083712,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281190400001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:27:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730457284083712,"km_value":22730457284083.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281190400001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":192062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:27:34] local.INFO: GPS data processed {"connection_id":192062,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:27:34] local.INFO: Acknowledgment sent {"connection_id":192062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:27:36] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:36] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:27:36] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:27:37] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:27:37] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:27:37] local.INFO: Packet analysis {"connection_id":193411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:27:37] local.INFO: Extracted packet for processing {"connection_id":193411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:27:37] 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-09-23 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 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-09-23 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:27: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-09-23 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:27:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":193411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:27:37] local.INFO: GPS data processed {"connection_id":193411,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:27:37] local.INFO: Acknowledgment sent {"connection_id":193411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:27:56] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:56] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:27:56] local.INFO: IMEI packet received {"connection_id":193413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":193413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:28:01] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:01] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:01] local.INFO: IMEI packet received {"connection_id":193413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":193413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:28:01] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde800e8012d181e800721ae70004700eb2b..."} 
[2026-09-23 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde800e8012d181e800721ae70004700eb2b..."} 
[2026-09-23 16:28:01] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde800e8012d181e800721ae70004700eb2b..."} 
[2026-09-23 16:28:01] local.INFO: Packet analysis {"connection_id":193413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde8"} 
[2026-09-23 16:28:01] local.INFO: Extracted packet for processing {"connection_id":193413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde8"} 
[2026-09-23 16:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647856,"longitude_deg":75.6555392,"latitude_deg":11.9647856,"altitude":71,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721ae70","is_valid_coordinates":true} 
[2026-09-23 16:28: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-09-23 16:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281195776001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730470168985600,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562384896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790160929000,"timestamp_ms":1790160929000,"timestamp_seconds":1790160929,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde800e8"} 
[2026-09-23 16:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:28: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-09-23 16:28: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 16:28:01] 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-09-23 16:28: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-09-23 16:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281195776001,"66":12580,"107":206,"83":41984,"24":1,"16":22730470168985600,"45":1738178380562384896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281195776001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:28:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730470168985600,"km_value":22730470168985.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562384896,"description":"Unknown IO ID 45"} 
[2026-09-23 16:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281195776001,"power":12580,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738178380562384896}} 
[2026-09-23 16:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":193413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:28:01] local.INFO: GPS data processed {"connection_id":193413,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:28:01] local.INFO: Acknowledgment sent {"connection_id":193413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:28:08] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:08] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:08] local.INFO: Packet analysis {"connection_id":193411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:28:08] local.INFO: Extracted packet for processing {"connection_id":193411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:08] 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-09-23 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:28: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-09-23 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:28: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-09-23 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:28:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:28:08] local.INFO: GPS data processed {"connection_id":193411,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:28:08] local.INFO: Acknowledgment sent {"connection_id":193411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:28:31] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:31] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:31] local.INFO: IMEI packet received {"connection_id":190537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":190537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:28:32] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdea8188012d181d400721aa200047009829..."} 
[2026-09-23 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdea8188012d181d400721aa200047009829..."} 
[2026-09-23 16:28:32] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdea8188012d181d400721aa200047009829..."} 
[2026-09-23 16:28:32] local.INFO: Packet analysis {"connection_id":193413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdea"} 
[2026-09-23 16:28:32] local.INFO: Extracted packet for processing {"connection_id":193413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdea"} 
[2026-09-23 16:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646752,"longitude_deg":75.6555072,"latitude_deg":11.9646752,"altitude":71,"angle":152,"satellites":41,"speed":4,"hex_longitude":"2d181d40","hex_latitude":"0721aa20","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281239296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730530298527744,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864488960,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790161093000,"timestamp_ms":1790161093000,"timestamp_seconds":1790161093,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdea8188"} 
[2026-09-23 16:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:28: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-09-23 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-23 16:28:32] 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-09-23 16: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-09-23 16:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281239296001,"66":13896,"105":206,"83":41984,"24":4,"16":22730530298527744,"45":1737545061864488960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281239296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:28:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730530298527744,"km_value":22730530298527.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864488960,"description":"Unknown IO ID 45"} 
[2026-09-23 16:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281239296001,"power":13896,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737545061864488960}} 
[2026-09-23 16:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":193413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:28:32] local.INFO: GPS data processed {"connection_id":193413,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:28:32] local.INFO: Acknowledgment sent {"connection_id":193413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:28:36] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:36] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:28:36] local.INFO: IMEI packet received {"connection_id":190537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":190537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:28:37] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:37] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:28:37] local.INFO: Packet analysis {"connection_id":190537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:28:37] local.INFO: Extracted packet for processing {"connection_id":190537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:28:37] 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-09-23 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:28: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-09-23 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:28:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":190537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:28:37] local.INFO: GPS data processed {"connection_id":190537,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:28:37] local.INFO: Acknowledgment sent {"connection_id":190537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:28:56] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:56] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:56] local.INFO: IMEI packet received {"connection_id":190725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":190725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:28:59] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:59] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:28:59] local.INFO: IMEI packet received {"connection_id":190725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":190725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:29:01] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:01] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:01] local.INFO: IMEI packet received {"connection_id":190725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":190725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:29:03] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdea8570012d181dc00721a9c80047008a29..."} 
[2026-09-23 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdea8570012d181dc00721a9c80047008a29..."} 
[2026-09-23 16:29:03] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdea8570012d181dc00721a9c80047008a29..."} 
[2026-09-23 16:29:03] local.INFO: Packet analysis {"connection_id":190725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdea"} 
[2026-09-23 16:29:03] local.INFO: Extracted packet for processing {"connection_id":190725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdea"} 
[2026-09-23 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646664,"longitude_deg":75.65552,"latitude_deg":11.9646664,"altitude":71,"angle":138,"satellites":41,"speed":4,"hex_longitude":"2d181dc0","hex_latitude":"0721a9c8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281239808001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22730534593495040,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608625664,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790161094000,"timestamp_ms":1790161094000,"timestamp_seconds":1790161094,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdea8570"} 
[2026-09-23 16:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:29: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-09-23 16: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-23 16:29:03] 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-09-23 16: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-09-23 16:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281239808001,"66":13993,"105":206,"83":41984,"24":4,"16":22730534593495040,"45":1737615430608625664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281239808001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:29:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22730534593495040,"km_value":22730534593495.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608625664,"description":"Unknown IO ID 45"} 
[2026-09-23 16:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281239808001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737615430608625664}} 
[2026-09-23 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":190725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:29:03] local.INFO: GPS data processed {"connection_id":190725,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:29:03] local.INFO: Acknowledgment sent {"connection_id":190725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:29:08] local.INFO: TCP Data received {"connection_id":190537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:08] local.INFO: Processing buffer {"connection_id":190537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:08] local.INFO: Packet analysis {"connection_id":190537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:29:08] local.INFO: Extracted packet for processing {"connection_id":190537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:08] 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-09-23 16:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:29: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-09-23 16:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:29:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":190537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:29:08] local.INFO: GPS data processed {"connection_id":190537,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:29:08] local.INFO: Acknowledgment sent {"connection_id":190537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:29:31] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:31] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:31] local.INFO: IMEI packet received {"connection_id":193414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":193414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:29:34] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeb92f8012d18c88007213898003e00982a..."} 
[2026-09-23 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeb92f8012d18c88007213898003e00982a..."} 
[2026-09-23 16:29:34] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeb92f8012d18c88007213898003e00982a..."} 
[2026-09-23 16:29:34] local.INFO: Packet analysis {"connection_id":190725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:29:34] local.INFO: Extracted packet for processing {"connection_id":190725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119617688,"longitude_deg":75.6598912,"latitude_deg":11.9617688,"altitude":62,"angle":152,"satellites":42,"speed":40,"hex_longitude":"2d18c880","hex_latitude":"07213898","is_valid_coordinates":true} 
[2026-09-23 16:29: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-09-23 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281256448001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22733257602760704,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201502208,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790161163000,"timestamp_ms":1790161163000,"timestamp_seconds":1790161163,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeb92f8"} 
[2026-09-23 16:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:29: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-09-23 16:29: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":77,"data_length":795,"current_offset":136} 
[2026-09-23 16:29:34] 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-09-23 16:29: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-09-23 16:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281256448001,"66":14233,"106":206,"83":41984,"24":40,"16":22733257602760704,"45":1784762489201502208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281256448001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:29:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22733257602760704,"km_value":22733257602760.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201502208,"description":"Unknown IO ID 45"} 
[2026-09-23 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281256448001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784762489201502208}} 
[2026-09-23 16:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":190725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:29:34] local.INFO: GPS data processed {"connection_id":190725,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:29:34] local.INFO: Acknowledgment sent {"connection_id":190725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:29:36] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:36] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:29:36] local.INFO: IMEI packet received {"connection_id":193414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":193414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:29:37] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:37] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:29:37] local.INFO: Packet analysis {"connection_id":193414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:29:37] local.INFO: Extracted packet for processing {"connection_id":193414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:37] 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-09-23 16:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:29: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-09-23 16: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":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:29: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-09-23 16:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:29:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":193414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:29:37] local.INFO: GPS data processed {"connection_id":193414,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:29:37] local.INFO: Acknowledgment sent {"connection_id":193414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:29:45] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:29:45] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:29:45] local.INFO: IMEI packet received {"connection_id":190727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":190727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:29:46] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeb9ac8012d0e0380070690a8001b00581a..."} 
[2026-09-23 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeb9ac8012d0e0380070690a8001b00581a..."} 
[2026-09-23 16:29:46] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeb9ac8012d0e0380070690a8001b00581a..."} 
[2026-09-23 16:29:46] local.INFO: Packet analysis {"connection_id":190727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:29:46] local.INFO: Extracted packet for processing {"connection_id":190727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":117870760,"longitude_deg":75.589312,"latitude_deg":11.787076,"altitude":27,"angle":88,"satellites":26,"speed":6,"hex_longitude":"2d0e0380","hex_latitude":"070690a8","is_valid_coordinates":true} 
[2026-09-23 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281257984001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33501968974479360,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009510034147678208,"note":"Value kept but may cause issues"} 
[2026-09-23 16:29:46] 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-09-23 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790161165000,"timestamp_ms":1790161165000,"timestamp_seconds":1790161165,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeb9ac8"} 
[2026-09-23 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:29: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-09-23 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281257984001,"66":14515,"219":206,"94":10240,"24":6,"16":33501968974479360,"45":1009510034147678208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281257984001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:29:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33501968974479360,"km_value":33501968974479.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009510034147678208,"description":"Unknown IO ID 45"} 
[2026-09-23 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281257984001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009510034147678208}} 
[2026-09-23 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":190727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:29:46] local.INFO: GPS data processed {"connection_id":190727,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:29:46] local.INFO: Acknowledgment sent {"connection_id":190727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:29:50] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:29:50] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:29:50] local.INFO: IMEI packet received {"connection_id":190726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":190726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:29:59] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:59] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:29:59] local.INFO: IMEI packet received {"connection_id":190728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":190728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:30:02] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:02] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:02] local.INFO: IMEI packet received {"connection_id":190728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:05] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:05] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:05] local.INFO: IMEI packet received {"connection_id":190728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":190728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:06] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeba680012d18d20007212788003d00a32a..."} 
[2026-09-23 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeba680012d18d20007212788003d00a32a..."} 
[2026-09-23 16:30:06] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeba680012d18d20007212788003d00a32a..."} 
[2026-09-23 16:30:06] local.INFO: Packet analysis {"connection_id":190728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:06] local.INFO: Extracted packet for processing {"connection_id":190728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613320,"longitude_deg":75.6601344,"latitude_deg":11.961332,"altitude":61,"angle":163,"satellites":42,"speed":38,"hex_longitude":"2d18d200","hex_latitude":"07212788","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281257728001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22733502415896576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020362885120,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790161168000,"timestamp_ms":1790161168000,"timestamp_seconds":1790161168,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeba680"} 
[2026-09-23 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-09-23 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281257728001,"66":14211,"106":206,"83":41984,"24":38,"16":22733502415896576,"45":1785818020362885120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281257728001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22733502415896576,"km_value":22733502415896.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020362885120,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281257728001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1785818020362885120}} 
[2026-09-23 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":190728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:06] local.INFO: GPS data processed {"connection_id":190728,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:06] local.INFO: Acknowledgment sent {"connection_id":190728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:07] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdebaa68012d18d280072123b8003c00b02a..."} 
[2026-09-23 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdebaa68012d18d280072123b8003c00b02a..."} 
[2026-09-23 16:30:07] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdebaa68012d18d280072123b8003c00b02a..."} 
[2026-09-23 16:30:07] local.INFO: Packet analysis {"connection_id":190728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:07] local.INFO: Extracted packet for processing {"connection_id":190728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119612344,"longitude_deg":75.6601472,"latitude_deg":11.9612344,"altitude":60,"angle":176,"satellites":42,"speed":39,"hex_longitude":"2d18d280","hex_latitude":"072123b8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281259008001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22733549660536832,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640518144,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790161169000,"timestamp_ms":1790161169000,"timestamp_seconds":1790161169,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdebaa68"} 
[2026-09-23 16:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:30:07] 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-09-23 16: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-09-23 16:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281259008001,"66":14211,"106":206,"83":41984,"24":39,"16":22733549660536832,"45":1788492032640518144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281259008001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22733549660536832,"km_value":22733549660536.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640518144,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281259008001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788492032640518144}} 
[2026-09-23 16:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":190728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:07] local.INFO: GPS data processed {"connection_id":190728,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:07] local.INFO: Acknowledgment sent {"connection_id":190728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:09] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:09] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:09] local.INFO: Packet analysis {"connection_id":193414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:30:09] local.INFO: Extracted packet for processing {"connection_id":193414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:09] 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-09-23 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:30: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-09-23 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":193414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:09] local.INFO: GPS data processed {"connection_id":193414,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:09] local.INFO: Acknowledgment sent {"connection_id":193414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:10] local.INFO: TCP Data received {"connection_id":192063,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:30:10] local.INFO: Processing buffer {"connection_id":192063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:30:10] local.INFO: IMEI packet received {"connection_id":192063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":192063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:30:18] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeb9eb0012d0e040007069070001b00731a..."} 
[2026-09-23 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeb9eb0012d0e040007069070001b00731a..."} 
[2026-09-23 16:30:18] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeb9eb0012d0e040007069070001b00731a..."} 
[2026-09-23 16:30:18] local.INFO: Packet analysis {"connection_id":190727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:18] local.INFO: Extracted packet for processing {"connection_id":190727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":755893248,"raw_latitude":117870704,"longitude_deg":75.5893248,"latitude_deg":11.7870704,"altitude":27,"angle":115,"satellites":26,"speed":7,"hex_longitude":"2d0e0400","hex_latitude":"07069070","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281258240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33501977564413952,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509124392960,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:18] 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-09-23 16:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790161166000,"timestamp_ms":1790161166000,"timestamp_seconds":1790161166,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeb9eb0"} 
[2026-09-23 16:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:30: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-09-23 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281258240001,"66":14548,"219":206,"94":10240,"24":7,"16":33501977564413952,"45":1009791509124392960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281258240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:30:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33501977564413952,"km_value":33501977564413.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509124392960,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281258240001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009791509124392960}} 
[2026-09-23 16:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":190727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:18] local.INFO: GPS data processed {"connection_id":190727,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:18] local.INFO: Acknowledgment sent {"connection_id":190727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:31] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:31] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:31] local.INFO: IMEI packet received {"connection_id":190729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:30:36] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:36] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:30:36] local.INFO: IMEI packet received {"connection_id":190729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:37] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:37] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:30:37] local.INFO: Packet analysis {"connection_id":190729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:30:37] local.INFO: Extracted packet for processing {"connection_id":190729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:37] 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-09-23 16:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 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-09-23 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:30: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-09-23 16:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:37] local.INFO: GPS data processed {"connection_id":190729,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:37] local.INFO: Acknowledgment sent {"connection_id":190729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:38] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdebc1d8012d18d38007210b08003a00a429..."} 
[2026-09-23 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdebc1d8012d18d38007210b08003a00a429..."} 
[2026-09-23 16:30:38] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdebc1d8012d18d38007210b08003a00a429..."} 
[2026-09-23 16:30:38] local.INFO: Packet analysis {"connection_id":190728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:38] local.INFO: Extracted packet for processing {"connection_id":190728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdeb"} 
[2026-09-23 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119606024,"longitude_deg":75.6601728,"latitude_deg":11.9606024,"altitude":58,"angle":164,"satellites":41,"speed":43,"hex_longitude":"2d18d380","hex_latitude":"07210b08","is_valid_coordinates":true} 
[2026-09-23 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281259264001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22733858898182144,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128623616,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790161175000,"timestamp_ms":1790161175000,"timestamp_seconds":1790161175,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdebc1d8"} 
[2026-09-23 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:30: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-09-23 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:30: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-09-23 16:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281259264001,"66":14211,"106":206,"83":41984,"24":43,"16":22733858898182144,"45":1788632770128623616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281259264001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22733858898182144,"km_value":22733858898182.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128623616,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281259264001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1788632770128623616}} 
[2026-09-23 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":190728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:38] local.INFO: GPS data processed {"connection_id":190728,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:38] local.INFO: Acknowledgment sent {"connection_id":190728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:41] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:41] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:41] local.INFO: IMEI packet received {"connection_id":190538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":190538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:30:43] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:43] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:43] local.INFO: IMEI packet received {"connection_id":190538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":190538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:46] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:46] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:30:46] local.INFO: IMEI packet received {"connection_id":190538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":190538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:46] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdec7588012d0e2cc007068180001e004c1b..."} 
[2026-09-23 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdec7588012d0e2cc007068180001e004c1b..."} 
[2026-09-23 16:30:46] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdec7588012d0e2cc007068180001e004c1b..."} 
[2026-09-23 16:30:46] local.INFO: Packet analysis {"connection_id":190538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:30:46] local.INFO: Extracted packet for processing {"connection_id":190538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":117866880,"longitude_deg":75.590368,"latitude_deg":11.786688,"altitude":30,"angle":76,"satellites":27,"speed":12,"hex_longitude":"2d0e2cc0","hex_latitude":"07068180","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281272064001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33502548795064320,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020769033215100928,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:46] 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-09-23 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790161221000,"timestamp_ms":1790161221000,"timestamp_seconds":1790161221,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdec7588"} 
[2026-09-23 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:30: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-09-23 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 16:30: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-09-23 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281272064001,"66":14450,"219":206,"94":10240,"24":12,"16":33502548795064320,"45":1020769033215100928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281272064001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:30:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33502548795064320,"km_value":33502548795064.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020769033215100928,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281272064001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1020769033215100928}} 
[2026-09-23 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":190538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:46] local.INFO: GPS data processed {"connection_id":190538,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:46] local.INFO: Acknowledgment sent {"connection_id":190538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:47] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdec7d58012d0e2f8007068290001e003e1b..."} 
[2026-09-23 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdec7d58012d0e2f8007068290001e003e1b..."} 
[2026-09-23 16:30:47] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdec7d58012d0e2f8007068290001e003e1b..."} 
[2026-09-23 16:30:47] local.INFO: Packet analysis {"connection_id":190538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:30:47] local.INFO: Extracted packet for processing {"connection_id":190538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":755904384,"raw_latitude":117867152,"longitude_deg":75.5904384,"latitude_deg":11.7867152,"altitude":30,"angle":62,"satellites":27,"speed":12,"hex_longitude":"2d0e2f80","hex_latitude":"07068290","is_valid_coordinates":true} 
[2026-09-23 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281272576001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33502583154802688,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351912714240,"note":"Value kept but may cause issues"} 
[2026-09-23 16:30: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-09-23 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790161223000,"timestamp_ms":1790161223000,"timestamp_seconds":1790161223,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdec7d58"} 
[2026-09-23 16:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 16:30: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-09-23 16:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281272576001,"66":14428,"219":206,"94":10240,"24":12,"16":33502583154802688,"45":1021402351912714240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281272576001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33502583154802688,"km_value":33502583154802.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351912714240,"description":"Unknown IO ID 45"} 
[2026-09-23 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281272576001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1021402351912714240}} 
[2026-09-23 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":190538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:30:47] local.INFO: GPS data processed {"connection_id":190538,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:30:47] local.INFO: Acknowledgment sent {"connection_id":190538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:30:55] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:55] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:55] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:30:56] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:56] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:56] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:57] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:30:57] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:30:57] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:31:08] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:08] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:08] local.INFO: Packet analysis {"connection_id":190729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:31:08] local.INFO: Extracted packet for processing {"connection_id":190729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:08] 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-09-23 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 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-09-23 16:31: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-09-23 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:31: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-09-23 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:31:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":190729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:31:08] local.INFO: GPS data processed {"connection_id":190729,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:31:08] local.INFO: Acknowledgment sent {"connection_id":190729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:31:18] local.INFO: TCP Data received {"connection_id":190538,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdec8140012d0e308007068358001e002b1b..."} 
[2026-09-23 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdec8140012d0e308007068358001e002b1b..."} 
[2026-09-23 16:31:18] local.INFO: Processing buffer {"connection_id":190538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdec8140012d0e308007068358001e002b1b..."} 
[2026-09-23 16:31:18] local.INFO: Packet analysis {"connection_id":190538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:31:18] local.INFO: Extracted packet for processing {"connection_id":190538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":755904640,"raw_latitude":117867352,"longitude_deg":75.590464,"latitude_deg":11.7867352,"altitude":30,"angle":43,"satellites":27,"speed":11,"hex_longitude":"2d0e3080","hex_latitude":"07068358","is_valid_coordinates":true} 
[2026-09-23 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281273088001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33502600334671872,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022176408098738176,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:18] 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-09-23 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790161224000,"timestamp_ms":1790161224000,"timestamp_seconds":1790161224,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdec8140"} 
[2026-09-23 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:31: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-09-23 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:31: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-09-23 16:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281273088001,"66":14537,"219":206,"94":10240,"24":11,"16":33502600334671872,"45":1022176408098738176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281273088001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:31:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:31:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33502600334671872,"km_value":33502600334671.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022176408098738176,"description":"Unknown IO ID 45"} 
[2026-09-23 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281273088001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1022176408098738176}} 
[2026-09-23 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":190538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:31:18] local.INFO: GPS data processed {"connection_id":190538,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:31:18] local.INFO: Acknowledgment sent {"connection_id":190538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:31:31] local.INFO: TCP Data received {"connection_id":190731,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:31] local.INFO: Processing buffer {"connection_id":190731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:31] local.INFO: IMEI packet received {"connection_id":190731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":190731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:31:36] local.INFO: TCP Data received {"connection_id":190731,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:36] local.INFO: Processing buffer {"connection_id":190731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:31:36] local.INFO: IMEI packet received {"connection_id":190731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":190731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:31:37] local.INFO: TCP Data received {"connection_id":190731,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:37] local.INFO: Processing buffer {"connection_id":190731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:31:37] local.INFO: Packet analysis {"connection_id":190731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:31:37] local.INFO: Extracted packet for processing {"connection_id":190731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:37] 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-09-23 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:31: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-09-23 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:31:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":190731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:31:37] local.INFO: GPS data processed {"connection_id":190731,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:31:37] local.INFO: Acknowledgment sent {"connection_id":190731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:31:38] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:38] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:38] local.INFO: IMEI packet received {"connection_id":192064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":192064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:31:43] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:43] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:31:43] local.INFO: IMEI packet received {"connection_id":192064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":192064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:31:43] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdec8910012d0e318007068598001d00191b..."} 
[2026-09-23 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdec8910012d0e318007068598001d00191b..."} 
[2026-09-23 16:31:43] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdec8910012d0e318007068598001d00191b..."} 
[2026-09-23 16:31:43] local.INFO: Packet analysis {"connection_id":192064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:31:43] local.INFO: Extracted packet for processing {"connection_id":192064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdec"} 
[2026-09-23 16:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117867928,"longitude_deg":75.5904896,"latitude_deg":11.7867928,"altitude":29,"angle":25,"satellites":27,"speed":13,"hex_longitude":"2d0e3180","hex_latitude":"07068598","is_valid_coordinates":true} 
[2026-09-23 16:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281273344001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33502630399442944,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022457883075500032,"note":"Value kept but may cause issues"} 
[2026-09-23 16:31: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-09-23 16:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790161226000,"timestamp_ms":1790161226000,"timestamp_seconds":1790161226,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdec8910"} 
[2026-09-23 16:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:31:43] 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-09-23 16:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 16:31:43] 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-09-23 16:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281273344001,"66":14515,"219":206,"94":10240,"24":13,"16":33502630399442944,"45":1022457883075500032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281273344001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:31:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33502630399442944,"km_value":33502630399442.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022457883075500032,"description":"Unknown IO ID 45"} 
[2026-09-23 16:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281273344001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1022457883075500032}} 
[2026-09-23 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":192064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:31:44] local.INFO: GPS data processed {"connection_id":192064,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:31:44] local.INFO: Acknowledgment sent {"connection_id":192064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:32:08] local.INFO: TCP Data received {"connection_id":190731,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:32:08] local.INFO: Processing buffer {"connection_id":190731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cde94520012d398a4006c913000028005124..."} 
[2026-09-23 16:32:08] local.INFO: Packet analysis {"connection_id":190731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:32:08] local.INFO: Extracted packet for processing {"connection_id":190731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cde9"} 
[2026-09-23 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281142016001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:08] 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-09-23 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161012000,"timestamp_ms":1790161012000,"timestamp_seconds":1790161012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cde94520"} 
[2026-09-23 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:32: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-09-23 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:32: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-09-23 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281142016001,"66":26039,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281142016001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:32:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281142016001,"power":26039,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":190731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:32:08] local.INFO: GPS data processed {"connection_id":190731,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:32:08] local.INFO: Acknowledgment sent {"connection_id":190731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:32:14] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdee03f8012d0e3a40070702e0002201331a..."} 
[2026-09-23 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdee03f8012d0e3a40070702e0002201331a..."} 
[2026-09-23 16:32:14] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdee03f8012d0e3a40070702e0002201331a..."} 
[2026-09-23 16:32:14] local.INFO: Packet analysis {"connection_id":192064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:32:14] local.INFO: Extracted packet for processing {"connection_id":192064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":755907136,"raw_latitude":117900000,"longitude_deg":75.5907136,"latitude_deg":11.79,"altitude":34,"angle":307,"satellites":26,"speed":13,"hex_longitude":"2d0e3a40","hex_latitude":"070702e0","is_valid_coordinates":true} 
[2026-09-23 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281298432001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33504228127277056,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025554107827615744,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32: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-09-23 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790161323000,"timestamp_ms":1790161323000,"timestamp_seconds":1790161323,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdee03f8"} 
[2026-09-23 16:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281298432001,"66":14428,"219":206,"94":10240,"24":13,"16":33504228127277056,"45":1025554107827615744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281298432001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:32:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:32:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33504228127277056,"km_value":33504228127277.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025554107827615744,"description":"Unknown IO ID 45"} 
[2026-09-23 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281298432001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025554107827615744}} 
[2026-09-23 16:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":192064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:32:15] local.INFO: GPS data processed {"connection_id":192064,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:32:15] local.INFO: Acknowledgment sent {"connection_id":192064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:32:36] local.INFO: TCP Data received {"connection_id":190539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:36] local.INFO: Processing buffer {"connection_id":190539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:36] local.INFO: IMEI packet received {"connection_id":190539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":190539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:32:36] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:36] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:36] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:32:38] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:32:38] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:38] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:32:40] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:40] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:32:40] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:32:40] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdee07e0012d0e38c0070703700022011d1a..."} 
[2026-09-23 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdee07e0012d0e38c0070703700022011d1a..."} 
[2026-09-23 16:32:40] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdee07e0012d0e38c0070703700022011d1a..."} 
[2026-09-23 16:32:40] local.INFO: Packet analysis {"connection_id":192065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:32:40] local.INFO: Extracted packet for processing {"connection_id":192065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755906752,"raw_latitude":117900144,"longitude_deg":75.5906752,"latitude_deg":11.7900144,"altitude":34,"angle":285,"satellites":26,"speed":16,"hex_longitude":"2d0e38c0","hex_latitude":"07070370","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281298688001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33504249602113536,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025202264106786816,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:40] 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-09-23 16:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790161324000,"timestamp_ms":1790161324000,"timestamp_seconds":1790161324,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdee07e0"} 
[2026-09-23 16:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:32: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-09-23 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281298688001,"66":14374,"219":206,"94":10240,"24":16,"16":33504249602113536,"45":1025202264106786816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281298688001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:32:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:32:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33504249602113536,"km_value":33504249602113.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025202264106786816,"description":"Unknown IO ID 45"} 
[2026-09-23 16:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281298688001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1025202264106786816}} 
[2026-09-23 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":192065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:32:41] local.INFO: GPS data processed {"connection_id":192065,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:32:41] local.INFO: Acknowledgment sent {"connection_id":192065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:32:41] local.INFO: TCP Data received {"connection_id":190539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:41] local.INFO: Processing buffer {"connection_id":190539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:32:41] local.INFO: IMEI packet received {"connection_id":190539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":190539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:32:42] local.INFO: TCP Data received {"connection_id":190539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:32:42] local.INFO: Processing buffer {"connection_id":190539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:32:42] local.INFO: Packet analysis {"connection_id":190539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:32:42] local.INFO: Extracted packet for processing {"connection_id":190539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:32:42] 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-09-23 16:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 16:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:32: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-09-23 16:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:32:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":190539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:32:42] local.INFO: GPS data processed {"connection_id":190539,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:32:42] local.INFO: Acknowledgment sent {"connection_id":190539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:33:11] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdee0fb0012d0e3480070703e80021010e1a..."} 
[2026-09-23 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdee0fb0012d0e3480070703e80021010e1a..."} 
[2026-09-23 16:33:11] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdee0fb0012d0e3480070703e80021010e1a..."} 
[2026-09-23 16:33:11] local.INFO: Packet analysis {"connection_id":192065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:33:11] local.INFO: Extracted packet for processing {"connection_id":192065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdee"} 
[2026-09-23 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":755905664,"raw_latitude":117900264,"longitude_deg":75.5905664,"latitude_deg":11.7900264,"altitude":33,"angle":270,"satellites":26,"speed":23,"hex_longitude":"2d0e3480","hex_latitude":"070703e8","is_valid_coordinates":true} 
[2026-09-23 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281298944001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33504301141721088,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024780051641757696,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33: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-09-23 16:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790161326000,"timestamp_ms":1790161326000,"timestamp_seconds":1790161326,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdee0fb0"} 
[2026-09-23 16:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:33:11] 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-09-23 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 16:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281298944001,"66":14254,"219":206,"94":10240,"24":23,"16":33504301141721088,"45":1024780051641757696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281298944001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33504301141721088,"km_value":33504301141721.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024780051641757696,"description":"Unknown IO ID 45"} 
[2026-09-23 16:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281298944001,"power":14254,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":1024780051641757696}} 
[2026-09-23 16:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":192065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:33:12] local.INFO: GPS data processed {"connection_id":192065,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:33:12] local.INFO: Acknowledgment sent {"connection_id":192065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:33:13] local.INFO: TCP Data received {"connection_id":190539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:13] local.INFO: Processing buffer {"connection_id":190539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:13] local.INFO: Packet analysis {"connection_id":190539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:33:13] local.INFO: Extracted packet for processing {"connection_id":190539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:13] 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-09-23 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:33:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":190539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:33:13] local.INFO: GPS data processed {"connection_id":190539,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:33:13] local.INFO: Acknowledgment sent {"connection_id":190539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:33:31] local.INFO: TCP Data received {"connection_id":190541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:31] local.INFO: Processing buffer {"connection_id":190541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:31] local.INFO: IMEI packet received {"connection_id":190541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:33:36] local.INFO: TCP Data received {"connection_id":190541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:36] local.INFO: Processing buffer {"connection_id":190541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:33:36] local.INFO: IMEI packet received {"connection_id":190541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:33:37] local.INFO: TCP Data received {"connection_id":190541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:37] local.INFO: Processing buffer {"connection_id":190541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:33:37] local.INFO: Packet analysis {"connection_id":190541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:33:37] local.INFO: Extracted packet for processing {"connection_id":190541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:37] 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-09-23 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 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-09-23 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:33: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-09-23 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:33:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":190541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:33:37] local.INFO: GPS data processed {"connection_id":190541,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:33:37] local.INFO: Acknowledgment sent {"connection_id":190541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:33:38] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:38] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:38] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:33:41] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:41] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:41] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:33:42] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:42] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:33:42] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:33:42] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdef2cd8012d0dd1000706fa68002200e51a..."} 
[2026-09-23 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdef2cd8012d0dd1000706fa68002200e51a..."} 
[2026-09-23 16:33:42] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdef2cd8012d0dd1000706fa68002200e51a..."} 
[2026-09-23 16:33:42] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:33:42] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":755880192,"raw_latitude":117897832,"longitude_deg":75.5880192,"latitude_deg":11.7897832,"altitude":34,"angle":229,"satellites":26,"speed":10,"hex_longitude":"2d0dd100","hex_latitude":"0706fa68","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281317888001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33505542387269632,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995858497784190976,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33: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-09-23 16:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161399000,"timestamp_ms":1790161399000,"timestamp_seconds":1790161399,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdef2cd8"} 
[2026-09-23 16:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:33: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-09-23 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 16:33:42] 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-09-23 16: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-09-23 16:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281317888001,"66":14450,"219":206,"94":10240,"24":10,"16":33505542387269632,"45":995858497784190976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281317888001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:33:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33505542387269632,"km_value":33505542387269.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":995858497784190976,"description":"Unknown IO ID 45"} 
[2026-09-23 16:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281317888001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":995858497784190976}} 
[2026-09-23 16:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:33:43] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:33:43] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:33:43] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdef34a8012d0dcf800706f8a8002200d51a..."} 
[2026-09-23 16:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdef34a8012d0dcf800706f8a8002200d51a..."} 
[2026-09-23 16:33:43] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdef34a8012d0dcf800706f8a8002200d51a..."} 
[2026-09-23 16:33:43] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:33:43] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117897384,"longitude_deg":75.5879808,"latitude_deg":11.7897384,"altitude":34,"angle":213,"satellites":26,"speed":12,"hex_longitude":"2d0dcf80","hex_latitude":"0706f8a8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33505572452040704,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995577022807435264,"note":"Value kept but may cause issues"} 
[2026-09-23 16:33: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-09-23 16:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790161401000,"timestamp_ms":1790161401000,"timestamp_seconds":1790161401,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdef34a8"} 
[2026-09-23 16:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-23 16:33:43] 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-09-23 16: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-09-23 16:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281318144001,"66":14428,"219":206,"94":10240,"24":12,"16":33505572452040704,"45":995577022807435264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:33:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:33:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33505572452040704,"km_value":33505572452040.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":995577022807435264,"description":"Unknown IO ID 45"} 
[2026-09-23 16:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281318144001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":995577022807435264}} 
[2026-09-23 16:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:33:43] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:33:43] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:34:08] local.INFO: TCP Data received {"connection_id":190541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:08] local.INFO: Processing buffer {"connection_id":190541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:08] local.INFO: Packet analysis {"connection_id":190541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:34:08] local.INFO: Extracted packet for processing {"connection_id":190541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:08] 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-09-23 16:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 16:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:34: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-09-23 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:34:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:34:08] local.INFO: GPS data processed {"connection_id":190541,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:34:08] local.INFO: Acknowledgment sent {"connection_id":190541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:34:14] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdef4448012d0dcc000706f380002100e71a..."} 
[2026-09-23 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdef4448012d0dcc000706f380002100e71a..."} 
[2026-09-23 16:34:14] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdef4448012d0dcc000706f380002100e71a..."} 
[2026-09-23 16:34:14] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:34:14] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdef"} 
[2026-09-23 16:34:14] local.INFO: GPS Element Parsed {"raw_longitude":755878912,"raw_latitude":117896064,"longitude_deg":75.5878912,"latitude_deg":11.7896064,"altitude":33,"angle":231,"satellites":26,"speed":14,"hex_longitude":"2d0dcc00","hex_latitude":"0706f380","is_valid_coordinates":true} 
[2026-09-23 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281318656001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33505649761452032,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995154810342254592,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34: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-09-23 16:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790161405000,"timestamp_ms":1790161405000,"timestamp_seconds":1790161405,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdef4448"} 
[2026-09-23 16:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281318656001,"66":14461,"219":206,"94":10240,"24":14,"16":33505649761452032,"45":995154810342254592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281318656001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:34:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:34:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33505649761452032,"km_value":33505649761452.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":995154810342254592,"description":"Unknown IO ID 45"} 
[2026-09-23 16:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281318656001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":995154810342254592}} 
[2026-09-23 16:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:34:15] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:34:15] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:34:31] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:31] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:31] local.INFO: IMEI packet received {"connection_id":190734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":190734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:34:36] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:36] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:34:36] local.INFO: IMEI packet received {"connection_id":190734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":190734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:34:37] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:37] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:34:37] local.INFO: Packet analysis {"connection_id":190734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:34:37] local.INFO: Extracted packet for processing {"connection_id":190734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:37] 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-09-23 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:34: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-09-23 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:34:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":190734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:34:37] local.INFO: GPS data processed {"connection_id":190734,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:34:37] local.INFO: Acknowledgment sent {"connection_id":190734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:34:40] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:40] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:40] local.INFO: IMEI packet received {"connection_id":193418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":193418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:34:41] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:41] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:34:41] local.INFO: IMEI packet received {"connection_id":193418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":193418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:34:42] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf01350012d0d5e40070714280023011a19..."} 
[2026-09-23 16:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf01350012d0d5e40070714280023011a19..."} 
[2026-09-23 16:34:42] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf01350012d0d5e40070714280023011a19..."} 
[2026-09-23 16:34:42] local.INFO: Packet analysis {"connection_id":193418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:34:42] local.INFO: Extracted packet for processing {"connection_id":193418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:34:42] local.INFO: GPS Element Parsed {"raw_longitude":755850816,"raw_latitude":117904424,"longitude_deg":75.5850816,"latitude_deg":11.7904424,"altitude":35,"angle":282,"satellites":25,"speed":21,"hex_longitude":"2d0d5e40","hex_latitude":"07071428","is_valid_coordinates":true} 
[2026-09-23 16:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281331712001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33507110050332672,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967288787649361920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:34: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-09-23 16:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161458000,"timestamp_ms":1790161458000,"timestamp_seconds":1790161458,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf01350"} 
[2026-09-23 16:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:34: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-09-23 16:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281331712001,"66":14309,"219":206,"94":10240,"24":21,"16":33507110050332672,"45":967288787649361920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281331712001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:34:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33507110050332672,"km_value":33507110050332.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":967288787649361920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281331712001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":967288787649361920}} 
[2026-09-23 16:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":193418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:34:42] local.INFO: GPS data processed {"connection_id":193418,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:34:42] local.INFO: Acknowledgment sent {"connection_id":193418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:35:08] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:08] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:08] local.INFO: Packet analysis {"connection_id":190734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:35:08] local.INFO: Extracted packet for processing {"connection_id":190734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:08] 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-09-23 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 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-09-23 16:35: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-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:35: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-09-23 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:35:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":190734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:35:08] local.INFO: GPS data processed {"connection_id":190734,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:35:08] local.INFO: Acknowledgment sent {"connection_id":190734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:35:13] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf026d8012d0d5540070715280022010d19..."} 
[2026-09-23 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf026d8012d0d5540070715280022010d19..."} 
[2026-09-23 16:35:13] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf026d8012d0d5540070715280022010d19..."} 
[2026-09-23 16:35:13] local.INFO: Packet analysis {"connection_id":193418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:35:13] local.INFO: Extracted packet for processing {"connection_id":193418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":755848512,"raw_latitude":117904680,"longitude_deg":75.5848512,"latitude_deg":11.790468,"altitude":34,"angle":269,"satellites":25,"speed":17,"hex_longitude":"2d0d5540","hex_latitude":"07071528","is_valid_coordinates":true} 
[2026-09-23 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281333248001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33507221719482368,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277769231575040,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:13] 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-09-23 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790161463000,"timestamp_ms":1790161463000,"timestamp_seconds":1790161463,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf026d8"} 
[2026-09-23 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 16:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281333248001,"66":14559,"219":206,"94":10240,"24":17,"16":33507221719482368,"45":963277769231575040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-23 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281333248001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-23 16:35:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33507221719482368,"km_value":33507221719482.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277769231575040,"description":"Unknown IO ID 45"} 
[2026-09-23 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281333248001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":963277769231575040}} 
[2026-09-23 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":193418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:35:13] local.INFO: GPS data processed {"connection_id":193418,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:35:13] local.INFO: Acknowledgment sent {"connection_id":193418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:35:30] local.INFO: TCP Data received {"connection_id":190542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:35:30] local.INFO: Processing buffer {"connection_id":190542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:35:30] local.INFO: IMEI packet received {"connection_id":190542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":190542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:35:31] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:31] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:31] local.INFO: IMEI packet received {"connection_id":190543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":190543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:35:36] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:36] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:35:36] local.INFO: IMEI packet received {"connection_id":190543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:35:37] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:37] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:35:37] local.INFO: Packet analysis {"connection_id":190543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:35:37] local.INFO: Extracted packet for processing {"connection_id":190543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:35:37] 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-09-23 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:35: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-09-23 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:35:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":190543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:35:37] local.INFO: GPS data processed {"connection_id":190543,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:35:37] local.INFO: Acknowledgment sent {"connection_id":190543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:35:38] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:38] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:38] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:35:39] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:39] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:39] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:35:40] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:40] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:40] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:35:41] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:41] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:35:41] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:36:00] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:00] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:00] local.INFO: IMEI packet received {"connection_id":190544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":190544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:36:01] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:01] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:01] local.INFO: IMEI packet received {"connection_id":190544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":190544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:36:06] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:06] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:06] local.INFO: IMEI packet received {"connection_id":190544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":190544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:36:07] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf04de8012d1820000721af40004d000b2b..."} 
[2026-09-23 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf04de8012d1820000721af40004d000b2b..."} 
[2026-09-23 16:36:07] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf04de8012d1820000721af40004d000b2b..."} 
[2026-09-23 16:36:07] local.INFO: Packet analysis {"connection_id":190544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:36:07] local.INFO: Extracted packet for processing {"connection_id":190544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648064,"longitude_deg":75.6555776,"latitude_deg":11.9648064,"altitude":77,"angle":11,"satellites":43,"speed":10,"hex_longitude":"2d182000","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-23 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281336064001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742895509372928,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608617472,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790161473000,"timestamp_ms":1790161473000,"timestamp_seconds":1790161473,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf04de8"} 
[2026-09-23 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-23 16:36:07] 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-09-23 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281336064001,"66":14070,"105":206,"83":41984,"24":10,"16":22742895509372928,"45":1737615430608617472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281336064001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742895509372928,"km_value":22742895509372.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608617472,"description":"Unknown IO ID 45"} 
[2026-09-23 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281336064001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737615430608617472}} 
[2026-09-23 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":190544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:36:07] local.INFO: GPS data processed {"connection_id":190544,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:36:07] local.INFO: Acknowledgment sent {"connection_id":190544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:36:08] local.INFO: TCP Data received {"connection_id":190543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:08] local.INFO: Processing buffer {"connection_id":190543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:08] local.INFO: Packet analysis {"connection_id":190543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:36:08] local.INFO: Extracted packet for processing {"connection_id":190543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:08] 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-09-23 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 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-09-23 16:36: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-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:36: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-09-23 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:36:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":190543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:36:08] local.INFO: GPS data processed {"connection_id":190543,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:36:08] local.INFO: Acknowledgment sent {"connection_id":190543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:36:12] local.INFO: TCP Data received {"connection_id":190544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf09ff0012d1820000721aea0004c000b2a..."} 
[2026-09-23 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf09ff0012d1820000721aea0004c000b2a..."} 
[2026-09-23 16:36:12] local.INFO: Processing buffer {"connection_id":190544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf09ff0012d1820000721aea0004c000b2a..."} 
[2026-09-23 16:36:12] local.INFO: Packet analysis {"connection_id":190544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:36:12] local.INFO: Extracted packet for processing {"connection_id":190544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647904,"longitude_deg":75.6555776,"latitude_deg":11.9647904,"altitude":76,"angle":11,"satellites":42,"speed":2,"hex_longitude":"2d182000","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281337088001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742925574144000,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794915840,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790161494000,"timestamp_ms":1790161494000,"timestamp_seconds":1790161494,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf09ff0"} 
[2026-09-23 16:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 16:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281337088001,"66":14265,"105":206,"83":41984,"24":2,"16":22742925574144000,"45":1738389486794915840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281337088001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:36:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742925574144000,"km_value":22742925574144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794915840,"description":"Unknown IO ID 45"} 
[2026-09-23 16:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281337088001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738389486794915840}} 
[2026-09-23 16:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":190544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:36:12] local.INFO: GPS data processed {"connection_id":190544,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:36:12] local.INFO: Acknowledgment sent {"connection_id":190544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:36:15] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:36:15] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:36:15] local.INFO: IMEI packet received {"connection_id":192070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":192070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:36:31] local.INFO: TCP Data received {"connection_id":190735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:31] local.INFO: Processing buffer {"connection_id":190735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:31] local.INFO: IMEI packet received {"connection_id":190735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":190735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:36:36] local.INFO: TCP Data received {"connection_id":190735,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:36] local.INFO: Processing buffer {"connection_id":190735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:36:36] local.INFO: IMEI packet received {"connection_id":190735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:36:37] local.INFO: TCP Data received {"connection_id":190735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:37] local.INFO: Processing buffer {"connection_id":190735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:36:37] local.INFO: Packet analysis {"connection_id":190735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:36:37] local.INFO: Extracted packet for processing {"connection_id":190735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:36:37] 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-09-23 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 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-09-23 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-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:36: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-09-23 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:36:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":190735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:36:37] local.INFO: GPS data processed {"connection_id":190735,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:36:37] local.INFO: Acknowledgment sent {"connection_id":190735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:36:56] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:56] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:36:56] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:37:01] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:01] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:01] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:37:02] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf0ee10012d181f800721adf0004c000b29..."} 
[2026-09-23 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf0ee10012d181f800721adf0004c000b29..."} 
[2026-09-23 16:37:02] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf0ee10012d181f800721adf0004c000b29..."} 
[2026-09-23 16:37:02] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:37:02] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf0"} 
[2026-09-23 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281342464001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794874880,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161514000,"timestamp_ms":1790161514000,"timestamp_seconds":1790161514,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf0ee10"} 
[2026-09-23 16:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:02] 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-09-23 16: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-09-23 16:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281342464001,"66":13167,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738389486794874880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281342464001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794874880,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281342464001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794874880}} 
[2026-09-23 16:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:02] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:02] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:08] local.INFO: TCP Data received {"connection_id":190735,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:37:08] local.INFO: Processing buffer {"connection_id":190735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdeddce8012d398a4006c913000028005121..."} 
[2026-09-23 16:37:08] local.INFO: Packet analysis {"connection_id":190735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:37:08] local.INFO: Extracted packet for processing {"connection_id":190735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cded"} 
[2026-09-23 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281219072001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:08] 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-09-23 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161313000,"timestamp_ms":1790161313000,"timestamp_seconds":1790161313,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdeddce8"} 
[2026-09-23 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-09-23 16:37: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-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37: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-09-23 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281219072001,"66":26006,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281219072001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281219072001,"power":26006,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:08] local.INFO: GPS data processed {"connection_id":190735,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:08] local.INFO: Acknowledgment sent {"connection_id":190735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:32] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:32] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:32] local.INFO: IMEI packet received {"connection_id":193420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":193420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:37:33] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf14018012d181f800721adf0004c000b28..."} 
[2026-09-23 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf14018012d181f800721adf0004c000b28..."} 
[2026-09-23 16:37:33] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf14018012d181f800721adf0004c000b28..."} 
[2026-09-23 16:37:33] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:37:33] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281347584001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161535000,"timestamp_ms":1790161535000,"timestamp_seconds":1790161535,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf14018"} 
[2026-09-23 16:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:37: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-09-23 16: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281347584001,"66":13080,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281347584001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281347584001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:33] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:33] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:36] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:36] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:36] local.INFO: IMEI packet received {"connection_id":193420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":193420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:37:41] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:41] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:37:41] local.INFO: IMEI packet received {"connection_id":193420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":193420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:37:42] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:42] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:42] local.INFO: Packet analysis {"connection_id":193420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:42] local.INFO: Extracted packet for processing {"connection_id":193420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:42] 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-09-23 16:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37: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-09-23 16:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":193420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:42] local.INFO: GPS data processed {"connection_id":193420,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:42] local.INFO: Acknowledgment sent {"connection_id":193420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:46] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:46] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:46] local.INFO: Packet analysis {"connection_id":193420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:46] local.INFO: Extracted packet for processing {"connection_id":193420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:46] 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-09-23 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:46] 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-09-23 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":193420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:46] local.INFO: GPS data processed {"connection_id":193420,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:46] local.INFO: Acknowledgment sent {"connection_id":193420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:51] local.INFO: TCP Data received {"connection_id":193420,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:51] local.INFO: Processing buffer {"connection_id":193420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:37:51] local.INFO: Packet analysis {"connection_id":193420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:51] local.INFO: Extracted packet for processing {"connection_id":193420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:37:51] 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-09-23 16:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:37:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":193420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:37:51] local.INFO: GPS data processed {"connection_id":193420,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:37:51] local.INFO: Acknowledgment sent {"connection_id":193420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:37:56] local.INFO: TCP Data received {"connection_id":190736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:56] local.INFO: Processing buffer {"connection_id":190736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:37:56] local.INFO: IMEI packet received {"connection_id":190736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":190736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:38:01] local.INFO: TCP Data received {"connection_id":190736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:01] local.INFO: Processing buffer {"connection_id":190736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:01] local.INFO: IMEI packet received {"connection_id":190736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":190736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:38:02] local.INFO: TCP Data received {"connection_id":190736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf19220012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf19220012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:02] local.INFO: Processing buffer {"connection_id":190736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf19220012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:02] local.INFO: Packet analysis {"connection_id":190736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:38:02] local.INFO: Extracted packet for processing {"connection_id":190736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281352960001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161556000,"timestamp_ms":1790161556000,"timestamp_seconds":1790161556,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf19220"} 
[2026-09-23 16:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 16:38:02] 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-09-23 16: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-09-23 16:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281352960001,"66":13004,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281352960001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281352960001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":190736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:38:03] local.INFO: GPS data processed {"connection_id":190736,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:38:03] local.INFO: Acknowledgment sent {"connection_id":190736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:38:31] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:31] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:31] local.INFO: IMEI packet received {"connection_id":190737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":190737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:38:33] local.INFO: TCP Data received {"connection_id":190736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf1e428012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf1e428012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:33] local.INFO: Processing buffer {"connection_id":190736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf1e428012d181f800721adf0004c000b29..."} 
[2026-09-23 16:38:33] local.INFO: Packet analysis {"connection_id":190736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:38:33] local.INFO: Extracted packet for processing {"connection_id":190736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf1"} 
[2026-09-23 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281358336001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161577000,"timestamp_ms":1790161577000,"timestamp_seconds":1790161577,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf1e428"} 
[2026-09-23 16:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:38: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-09-23 16: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":204,"data_length":795,"current_offset":136} 
[2026-09-23 16:38:33] 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-09-23 16: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-09-23 16:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281358336001,"66":12939,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281358336001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:38:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281358336001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":190736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:38:33] local.INFO: GPS data processed {"connection_id":190736,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:38:33] local.INFO: Acknowledgment sent {"connection_id":190736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:38:36] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:36] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:38:36] local.INFO: IMEI packet received {"connection_id":190737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":190737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:38:37] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:38:37] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:38:37] local.INFO: Packet analysis {"connection_id":190737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:38:37] local.INFO: Extracted packet for processing {"connection_id":190737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:38:37] 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-09-23 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16: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":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:38: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-09-23 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:38:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":190737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:38:37] local.INFO: GPS data processed {"connection_id":190737,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:38:37] local.INFO: Acknowledgment sent {"connection_id":190737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:38:56] local.INFO: TCP Data received {"connection_id":190545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:56] local.INFO: Processing buffer {"connection_id":190545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:38:56] local.INFO: IMEI packet received {"connection_id":190545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":190545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:39:01] local.INFO: TCP Data received {"connection_id":190545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:01] local.INFO: Processing buffer {"connection_id":190545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:01] local.INFO: IMEI packet received {"connection_id":190545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":190545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:39:02] local.INFO: TCP Data received {"connection_id":190545,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf23630012d181f800721adf0004c000b28..."} 
[2026-09-23 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf23630012d181f800721adf0004c000b28..."} 
[2026-09-23 16:39:02] local.INFO: Processing buffer {"connection_id":190545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf23630012d181f800721adf0004c000b28..."} 
[2026-09-23 16:39:02] local.INFO: Packet analysis {"connection_id":190545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:02] local.INFO: Extracted packet for processing {"connection_id":190545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281363712001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161598000,"timestamp_ms":1790161598000,"timestamp_seconds":1790161598,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf23630"} 
[2026-09-23 16:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-23 16:39: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-09-23 16:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281363712001,"66":12917,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281363712001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:39:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281363712001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":190545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:39:02] local.INFO: GPS data processed {"connection_id":190545,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:39:02] local.INFO: Acknowledgment sent {"connection_id":190545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:39:08] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:08] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:08] local.INFO: Packet analysis {"connection_id":190737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:08] local.INFO: Extracted packet for processing {"connection_id":190737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:08] 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-09-23 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 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-09-23 16:39: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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:39:08] 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-09-23 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-09-23 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-09-23 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:39: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-09-23 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:39:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:39:08] local.INFO: GPS data processed {"connection_id":190737,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:39:08] local.INFO: Acknowledgment sent {"connection_id":190737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:39:31] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:31] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:31] local.INFO: IMEI packet received {"connection_id":193421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":193421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:39:33] local.INFO: TCP Data received {"connection_id":190545,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf28838012d181f800721adf0004c000b29..."} 
[2026-09-23 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf28838012d181f800721adf0004c000b29..."} 
[2026-09-23 16:39:33] local.INFO: Processing buffer {"connection_id":190545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf28838012d181f800721adf0004c000b29..."} 
[2026-09-23 16:39:33] local.INFO: Packet analysis {"connection_id":190545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:33] local.INFO: Extracted packet for processing {"connection_id":190545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281369088001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161619000,"timestamp_ms":1790161619000,"timestamp_seconds":1790161619,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf28838"} 
[2026-09-23 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:39: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-09-23 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 16:39: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-09-23 16:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281369088001,"66":12885,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281369088001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:39:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281369088001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":190545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:39:33] local.INFO: GPS data processed {"connection_id":190545,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:39:33] local.INFO: Acknowledgment sent {"connection_id":190545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:39:36] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:36] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:39:36] local.INFO: IMEI packet received {"connection_id":193421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":193421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:39:37] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:37] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:39:37] local.INFO: Packet analysis {"connection_id":193421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:37] local.INFO: Extracted packet for processing {"connection_id":193421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:39:37] 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-09-23 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:39: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-09-23 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:39:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":193421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:39:37] local.INFO: GPS data processed {"connection_id":193421,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:39:37] local.INFO: Acknowledgment sent {"connection_id":193421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:39:56] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:56] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:39:56] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:40:01] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:01] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:01] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:40:02] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf2da40012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf2da40012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:02] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf2da40012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:02] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:02] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281374464001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161640000,"timestamp_ms":1790161640000,"timestamp_seconds":1790161640,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf2da40"} 
[2026-09-23 16:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281374464001,"66":12852,"105":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281374464001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281374464001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:40:02] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:40:02] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:40:08] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:08] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:08] local.INFO: Packet analysis {"connection_id":193421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:08] local.INFO: Extracted packet for processing {"connection_id":193421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:08] 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-09-23 16:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 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-09-23 16:40: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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:40:08] 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-09-23 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-09-23 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-09-23 16:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:40: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-09-23 16:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:40:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":193421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:40:08] local.INFO: GPS data processed {"connection_id":193421,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:40:08] local.INFO: Acknowledgment sent {"connection_id":193421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:40:31] local.INFO: TCP Data received {"connection_id":190547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:31] local.INFO: Processing buffer {"connection_id":190547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:31] local.INFO: IMEI packet received {"connection_id":190547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":190547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:40:33] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf32c48012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf32c48012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:33] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf32c48012d181f800721adf0004c000b29..."} 
[2026-09-23 16:40:33] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:40:33] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281379840001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161661000,"timestamp_ms":1790161661000,"timestamp_seconds":1790161661,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf32c48"} 
[2026-09-23 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-09-23 16:40: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-09-23 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:40: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-09-23 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-09-23 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-09-23 16:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281379840001,"66":12841,"107":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281379840001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:40:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281379840001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:40:33] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:40:33] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:40:36] local.INFO: TCP Data received {"connection_id":190547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:36] local.INFO: Processing buffer {"connection_id":190547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:40:36] local.INFO: IMEI packet received {"connection_id":190547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:40:38] local.INFO: TCP Data received {"connection_id":190547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:38] local.INFO: Processing buffer {"connection_id":190547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:40:38] local.INFO: Packet analysis {"connection_id":190547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:38] local.INFO: Extracted packet for processing {"connection_id":190547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40: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-09-23 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:40: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-09-23 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:40:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":190547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:40:38] local.INFO: GPS data processed {"connection_id":190547,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:40:38] local.INFO: Acknowledgment sent {"connection_id":190547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:40:42] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:40:42] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:40:42] local.INFO: IMEI packet received {"connection_id":192078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":192078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:40:43] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf55ec8012d0b0280070684e0000b00e219..."} 
[2026-09-23 16:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf55ec8012d0b0280070684e0000b00e219..."} 
[2026-09-23 16:40:43] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf55ec8012d0b0280070684e0000b00e219..."} 
[2026-09-23 16:40:43] local.INFO: Packet analysis {"connection_id":192078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:40:43] local.INFO: Extracted packet for processing {"connection_id":192078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755696256,"raw_latitude":117867744,"longitude_deg":75.5696256,"latitude_deg":11.7867744,"altitude":11,"angle":226,"satellites":25,"speed":32,"hex_longitude":"2d0b0280","hex_latitude":"070684e0","is_valid_coordinates":true} 
[2026-09-23 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281418752001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33517155978838016,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800163020220260352,"note":"Value kept but may cause issues"} 
[2026-09-23 16:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790161805000,"timestamp_ms":1790161805000,"timestamp_seconds":1790161805,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf55ec8"} 
[2026-09-23 16:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 16:40:43] 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-09-23 16:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281418752001,"66":14374,"163":206,"94":10240,"24":32,"16":33517155978838016,"45":800163020220260352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 16:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281418752001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:40:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 16:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33517155978838016,"km_value":33517155978838.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":800163020220260352,"description":"Unknown IO ID 45"} 
[2026-09-23 16:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281418752001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":800163020220260352}} 
[2026-09-23 16:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":192078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:40:43] local.INFO: GPS data processed {"connection_id":192078,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:40:43] local.INFO: Acknowledgment sent {"connection_id":192078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:40:56] local.INFO: TCP Data received {"connection_id":190548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:56] local.INFO: Processing buffer {"connection_id":190548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:40:56] local.INFO: IMEI packet received {"connection_id":190548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":190548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:41:01] local.INFO: TCP Data received {"connection_id":190548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:01] local.INFO: Processing buffer {"connection_id":190548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:01] local.INFO: IMEI packet received {"connection_id":190548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":190548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:41:02] local.INFO: TCP Data received {"connection_id":190548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf37e50012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf37e50012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:02] local.INFO: Processing buffer {"connection_id":190548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf37e50012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:02] local.INFO: Packet analysis {"connection_id":190548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:41:02] local.INFO: Extracted packet for processing {"connection_id":190548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281385216001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161682000,"timestamp_ms":1790161682000,"timestamp_seconds":1790161682,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf37e50"} 
[2026-09-23 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 16:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281385216001,"66":12841,"107":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281385216001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281385216001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":190548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:02] local.INFO: GPS data processed {"connection_id":190548,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:02] local.INFO: Acknowledgment sent {"connection_id":190548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:09] local.INFO: TCP Data received {"connection_id":190547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:09] local.INFO: Processing buffer {"connection_id":190547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:09] local.INFO: Packet analysis {"connection_id":190547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:41:09] local.INFO: Extracted packet for processing {"connection_id":190547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:09] 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-09-23 16:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:41: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-09-23 16:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:41:09] 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-09-23 16: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-09-23 16:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:41: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-09-23 16:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":190547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:09] local.INFO: GPS data processed {"connection_id":190547,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:09] local.INFO: Acknowledgment sent {"connection_id":190547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:14] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf56a80012d0afcc007067db8000900cf19..."} 
[2026-09-23 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf56a80012d0afcc007067db8000900cf19..."} 
[2026-09-23 16:41:14] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf56a80012d0afcc007067db8000900cf19..."} 
[2026-09-23 16:41:14] local.INFO: Packet analysis {"connection_id":192078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:41:14] local.INFO: Extracted packet for processing {"connection_id":192078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":755694784,"raw_latitude":117865912,"longitude_deg":75.5694784,"latitude_deg":11.7865912,"altitude":9,"angle":207,"satellites":25,"speed":27,"hex_longitude":"2d0afcc0","hex_latitude":"07067db8","is_valid_coordinates":true} 
[2026-09-23 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281422080001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33517267647987712,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793337252033126400,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790161808000,"timestamp_ms":1790161808000,"timestamp_seconds":1790161808,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf56a80"} 
[2026-09-23 16:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:41:14] 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-09-23 16:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 16:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281422080001,"66":14428,"163":206,"94":10240,"24":27,"16":33517267647987712,"45":793337252033126400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 16:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281422080001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 16:41:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33517267647987712,"km_value":33517267647987.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":793337252033126400,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281422080001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":793337252033126400}} 
[2026-09-23 16:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":192078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:14] local.INFO: GPS data processed {"connection_id":192078,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:14] local.INFO: Acknowledgment sent {"connection_id":192078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:31] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:31] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:31] local.INFO: IMEI packet received {"connection_id":190549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:41:33] local.INFO: TCP Data received {"connection_id":190548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf3d058012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf3d058012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:33] local.INFO: Processing buffer {"connection_id":190548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf3d058012d181f800721adf0004c000b2a..."} 
[2026-09-23 16:41:33] local.INFO: Packet analysis {"connection_id":190548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:41:33] local.INFO: Extracted packet for processing {"connection_id":190548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf3"} 
[2026-09-23 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647728,"longitude_deg":75.6555648,"latitude_deg":11.9647728,"altitude":76,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281390592001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22742947048980480,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306474496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161703000,"timestamp_ms":1790161703000,"timestamp_seconds":1790161703,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf3d058"} 
[2026-09-23 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-09-23 16:41: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-09-23 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 16:41: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-09-23 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-09-23 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-09-23 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281390592001,"66":12819,"107":206,"83":41984,"24":0,"16":22742947048980480,"45":1738248749306474496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281390592001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 16:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22742947048980480,"km_value":22742947048980.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306474496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281390592001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306474496}} 
[2026-09-23 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":190548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:33] local.INFO: GPS data processed {"connection_id":190548,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:33] local.INFO: Acknowledgment sent {"connection_id":190548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:36] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:36] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:41:36] local.INFO: IMEI packet received {"connection_id":190549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:41:37] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:37] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:37] local.INFO: IMEI packet received {"connection_id":190550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":190550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:41:38] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:38] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:41:38] local.INFO: Packet analysis {"connection_id":190549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:41:38] local.INFO: Extracted packet for processing {"connection_id":190549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41: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-09-23 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:41: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-09-23 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:41: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-09-23 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":190549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:38] local.INFO: GPS data processed {"connection_id":190549,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:38] local.INFO: Acknowledgment sent {"connection_id":190549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:38] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:38] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:38] local.INFO: IMEI packet received {"connection_id":190550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":190550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:41:43] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:43] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:41:43] local.INFO: IMEI packet received {"connection_id":190550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":190550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:41:44] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf57a20012d0af88007067658000900e919..."} 
[2026-09-23 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf57a20012d0af88007067658000900e919..."} 
[2026-09-23 16:41:44] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf57a20012d0af88007067658000900e919..."} 
[2026-09-23 16:41:44] local.INFO: Packet analysis {"connection_id":190550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:41:44] local.INFO: Extracted packet for processing {"connection_id":190550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:41:44] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117864024,"longitude_deg":75.5693696,"latitude_deg":11.7864024,"altitude":9,"angle":233,"satellites":25,"speed":19,"hex_longitude":"2d0af880","hex_latitude":"07067658","is_valid_coordinates":true} 
[2026-09-23 16:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281422848001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33517379317137408,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791718770916571136,"note":"Value kept but may cause issues"} 
[2026-09-23 16:41:44] 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-09-23 16:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790161812000,"timestamp_ms":1790161812000,"timestamp_seconds":1790161812,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf57a20"} 
[2026-09-23 16:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:41:44] 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-09-23 16:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281422848001,"66":14407,"163":206,"94":10240,"24":19,"16":33517379317137408,"45":791718770916571136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 16:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281422848001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:41:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 16:41:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33517379317137408,"km_value":33517379317137.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":791718770916571136,"description":"Unknown IO ID 45"} 
[2026-09-23 16:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281422848001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":791718770916571136}} 
[2026-09-23 16:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":190550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:41:44] local.INFO: GPS data processed {"connection_id":190550,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:41:44] local.INFO: Acknowledgment sent {"connection_id":190550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:41:56] local.INFO: TCP Data received {"connection_id":190738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:56] local.INFO: Processing buffer {"connection_id":190738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:56] local.INFO: IMEI packet received {"connection_id":190738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":190738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:41:59] local.INFO: TCP Data received {"connection_id":190738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:59] local.INFO: Processing buffer {"connection_id":190738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:41:59] local.INFO: IMEI packet received {"connection_id":190738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":190738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:01] local.INFO: TCP Data received {"connection_id":190738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:01] local.INFO: Processing buffer {"connection_id":190738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:01] local.INFO: IMEI packet received {"connection_id":190738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":190738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:02] local.INFO: TCP Data received {"connection_id":190738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf69360012d181fc00721a678004d00882b..."} 
[2026-09-23 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf69360012d181fc00721a678004d00882b..."} 
[2026-09-23 16:42:02] local.INFO: Processing buffer {"connection_id":190738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf69360012d181fc00721a678004d00882b..."} 
[2026-09-23 16:42:02] local.INFO: Packet analysis {"connection_id":190738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf6"} 
[2026-09-23 16:42:02] local.INFO: Extracted packet for processing {"connection_id":190738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf6"} 
[2026-09-23 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645816,"longitude_deg":75.6555712,"latitude_deg":11.9645816,"altitude":77,"angle":136,"satellites":43,"speed":6,"hex_longitude":"2d181fc0","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281442048001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22743080192966656,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561850368,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790161884000,"timestamp_ms":1790161884000,"timestamp_seconds":1790161884,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf69360"} 
[2026-09-23 16:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:42:02] 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-09-23 16: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-09-23 16:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281442048001,"66":14211,"105":206,"83":41984,"24":6,"16":22743080192966656,"45":1738178380561850368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281442048001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22743080192966656,"km_value":22743080192966.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561850368,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281442048001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738178380561850368}} 
[2026-09-23 16:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":190738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:02] local.INFO: GPS data processed {"connection_id":190738,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:02] local.INFO: Acknowledgment sent {"connection_id":190738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:09] local.INFO: TCP Data received {"connection_id":190549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:42:09] local.INFO: Processing buffer {"connection_id":190549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf274b0012d398a4006c913000028005123..."} 
[2026-09-23 16:42:09] local.INFO: Packet analysis {"connection_id":190549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:42:09] local.INFO: Extracted packet for processing {"connection_id":190549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf2"} 
[2026-09-23 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281296128001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:09] 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-09-23 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790161614000,"timestamp_ms":1790161614000,"timestamp_seconds":1790161614,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf274b0"} 
[2026-09-23 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-09-23 16:42: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-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 16:42:09] 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-09-23 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-09-23 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-09-23 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42: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-09-23 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281296128001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281296128001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281296128001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":190549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:09] local.INFO: GPS data processed {"connection_id":190549,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:09] local.INFO: Acknowledgment sent {"connection_id":190549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:11] local.INFO: TCP Data received {"connection_id":190551,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:42:11] local.INFO: Processing buffer {"connection_id":190551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:42:11] local.INFO: IMEI packet received {"connection_id":190551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":190551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:42:15] local.INFO: TCP Data received {"connection_id":190550,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf5bc88012d0aef8007066e90000b00b21a..."} 
[2026-09-23 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf5bc88012d0aef8007066e90000b00b21a..."} 
[2026-09-23 16:42:15] local.INFO: Processing buffer {"connection_id":190550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf5bc88012d0aef8007066e90000b00b21a..."} 
[2026-09-23 16:42:15] local.INFO: Packet analysis {"connection_id":190550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:42:15] local.INFO: Extracted packet for processing {"connection_id":190550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117862032,"longitude_deg":75.5691392,"latitude_deg":11.7862032,"altitude":11,"angle":178,"satellites":26,"speed":8,"hex_longitude":"2d0aef80","hex_latitude":"07066e90","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281423872001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33517529640992768,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790522502265067520,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:15] 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-09-23 16:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790161829000,"timestamp_ms":1790161829000,"timestamp_seconds":1790161829,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf5bc88"} 
[2026-09-23 16:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:42: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-09-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 16:42: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-09-23 16: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-09-23 16:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281423872001,"66":14439,"163":206,"94":10240,"24":8,"16":33517529640992768,"45":790522502265067520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 16:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281423872001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 16:42:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33517529640992768,"km_value":33517529640992.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":790522502265067520,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281423872001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":790522502265067520}} 
[2026-09-23 16:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":190550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:15] local.INFO: GPS data processed {"connection_id":190550,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:15] local.INFO: Acknowledgment sent {"connection_id":190550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:33] local.INFO: TCP Data received {"connection_id":190552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:33] local.INFO: Processing buffer {"connection_id":190552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:33] local.INFO: IMEI packet received {"connection_id":190552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":190552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:42:33] local.INFO: TCP Data received {"connection_id":190738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf6c240012d182dc007219a48004e007c29..."} 
[2026-09-23 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf6c240012d182dc007219a48004e007c29..."} 
[2026-09-23 16:42:33] local.INFO: Processing buffer {"connection_id":190738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf6c240012d182dc007219a48004e007c29..."} 
[2026-09-23 16:42:33] local.INFO: Packet analysis {"connection_id":190738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf6"} 
[2026-09-23 16:42:33] local.INFO: Extracted packet for processing {"connection_id":190738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf6"} 
[2026-09-23 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642696,"longitude_deg":75.6559296,"latitude_deg":11.9642696,"altitude":78,"angle":124,"satellites":41,"speed":13,"hex_longitude":"2d182dc0","hex_latitude":"07219a48","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281442304001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22743307826233344,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050162688,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790161896000,"timestamp_ms":1790161896000,"timestamp_seconds":1790161896,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf6c240"} 
[2026-09-23 16:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:42: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-09-23 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:42: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-09-23 16: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-09-23 16:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281442304001,"66":14004,"105":206,"83":41984,"24":13,"16":22743307826233344,"45":1738319118050162688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281442304001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 16:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22743307826233344,"km_value":22743307826233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050162688,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281442304001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738319118050162688}} 
[2026-09-23 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":190738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:33] local.INFO: GPS data processed {"connection_id":190738,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:33] local.INFO: Acknowledgment sent {"connection_id":190738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:36] local.INFO: TCP Data received {"connection_id":190552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:36] local.INFO: Processing buffer {"connection_id":190552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:36] local.INFO: IMEI packet received {"connection_id":190552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":190552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:37] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:37] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:37] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:42:38] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:38] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:38] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:41] local.INFO: TCP Data received {"connection_id":190552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:41] local.INFO: Processing buffer {"connection_id":190552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:42:41] local.INFO: IMEI packet received {"connection_id":190552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":190552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:42] local.INFO: TCP Data received {"connection_id":190552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:42] local.INFO: Processing buffer {"connection_id":190552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:42] local.INFO: Packet analysis {"connection_id":190552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:42:42] local.INFO: Extracted packet for processing {"connection_id":190552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:42] 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-09-23 16:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 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-09-23 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 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-09-23 16:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42: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-09-23 16:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":190552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:42] local.INFO: GPS data processed {"connection_id":190552,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:42] local.INFO: Acknowledgment sent {"connection_id":190552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:43] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:43] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:42:43] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:42:44] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf5c070012d0aefc007066d98000b00a61a..."} 
[2026-09-23 16:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf5c070012d0aefc007066d98000b00a61a..."} 
[2026-09-23 16:42:44] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf5c070012d0aefc007066d98000b00a61a..."} 
[2026-09-23 16:42:44] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:42:44] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf5"} 
[2026-09-23 16:42:44] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861784,"longitude_deg":75.5691456,"latitude_deg":11.7861784,"altitude":11,"angle":166,"satellites":26,"speed":10,"hex_longitude":"2d0aefc0","hex_latitude":"07066d98","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281428224001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33517542525894656,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474161664,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:44] 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-09-23 16:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790161830000,"timestamp_ms":1790161830000,"timestamp_seconds":1790161830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf5c070"} 
[2026-09-23 16:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:42:44] 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-09-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 16:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281428224001,"66":14407,"163":206,"94":10240,"24":10,"16":33517542525894656,"45":787989227474161664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-23 16:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281428224001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 16:42:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33517542525894656,"km_value":33517542525894.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474161664,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281428224001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":787989227474161664}} 
[2026-09-23 16:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:44] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:44] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:46] local.INFO: TCP Data received {"connection_id":190552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:46] local.INFO: Processing buffer {"connection_id":190552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:42:46] local.INFO: Packet analysis {"connection_id":190552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:42:46] local.INFO: Extracted packet for processing {"connection_id":190552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:42:46] 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-09-23 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:42:46] 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-09-23 16:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:42:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":190552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:42:46] local.INFO: GPS data processed {"connection_id":190552,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:42:46] local.INFO: Acknowledgment sent {"connection_id":190552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:42:56] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:56] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:42:56] local.INFO: IMEI packet received {"connection_id":190739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":190739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:43:00] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:00] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:00] local.INFO: IMEI packet received {"connection_id":190739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":190739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:43:02] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:02] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:02] local.INFO: IMEI packet received {"connection_id":190739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":190739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:43:03] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf7c410012d18c800072139e0004100a129..."} 
[2026-09-23 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf7c410012d18c800072139e0004100a129..."} 
[2026-09-23 16:43:03] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf7c410012d18c800072139e0004100a129..."} 
[2026-09-23 16:43:03] local.INFO: Packet analysis {"connection_id":190739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:03] local.INFO: Extracted packet for processing {"connection_id":190739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618016,"longitude_deg":75.6598784,"latitude_deg":11.9618016,"altitude":65,"angle":161,"satellites":41,"speed":42,"hex_longitude":"2d18c800","hex_latitude":"072139e0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281461504001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22745747367657472,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921997312,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790161962000,"timestamp_ms":1790161962000,"timestamp_seconds":1790161962,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf7c410"} 
[2026-09-23 16:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 16:43:03] 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-09-23 16: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-09-23 16:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281461504001,"66":14243,"106":206,"83":41984,"24":42,"16":22745747367657472,"45":1785114332921997312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281461504001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22745747367657472,"km_value":22745747367657.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921997312,"description":"Unknown IO ID 45"} 
[2026-09-23 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281461504001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1785114332921997312}} 
[2026-09-23 16:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":190739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:43:03] local.INFO: GPS data processed {"connection_id":190739,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:43:03] local.INFO: Acknowledgment sent {"connection_id":190739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:43:15] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf7e350012d0b4cc00705fea0001100751c..."} 
[2026-09-23 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf7e350012d0b4cc00705fea0001100751c..."} 
[2026-09-23 16:43:15] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf7e350012d0b4cc00705fea0001100751c..."} 
[2026-09-23 16:43:15] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:15] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755715264,"raw_latitude":117833376,"longitude_deg":75.5715264,"latitude_deg":11.7833376,"altitude":17,"angle":117,"satellites":28,"speed":9,"hex_longitude":"2d0b4cc0","hex_latitude":"0705fea0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281463808001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519389361831936,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813673819091779584,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:15] 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-09-23 16:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790161970000,"timestamp_ms":1790161970000,"timestamp_seconds":1790161970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf7e350"} 
[2026-09-23 16:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 16:43: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-09-23 16: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-09-23 16:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281463808001,"66":14396,"165":206,"94":10240,"24":9,"16":33519389361831936,"45":813673819091779584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281463808001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:43:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519389361831936,"km_value":33519389361831.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":813673819091779584,"description":"Unknown IO ID 45"} 
[2026-09-23 16:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281463808001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":813673819091779584}} 
[2026-09-23 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:43:15] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:43:15] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:43:31] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:31] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:31] local.INFO: IMEI packet received {"connection_id":193423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:43:34] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf7cbe0012d18cc00072132980040009429..."} 
[2026-09-23 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf7cbe0012d18cc00072132980040009429..."} 
[2026-09-23 16:43:34] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf7cbe0012d18cc00072132980040009429..."} 
[2026-09-23 16:43:34] local.INFO: Packet analysis {"connection_id":190739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:34] local.INFO: Extracted packet for processing {"connection_id":190739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119616152,"longitude_deg":75.6599808,"latitude_deg":11.9616152,"altitude":64,"angle":148,"satellites":41,"speed":42,"hex_longitude":"2d18cc00","hex_latitude":"07213298","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281462272001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22745850446872576,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874613760,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790161964000,"timestamp_ms":1790161964000,"timestamp_seconds":1790161964,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf7cbe0"} 
[2026-09-23 16:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":163,"data_length":795,"current_offset":136} 
[2026-09-23 16:43:34] 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-09-23 16: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-09-23 16:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281462272001,"66":14233,"106":206,"83":41984,"24":42,"16":22745850446872576,"45":1785677282874613760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281462272001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:43:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 16:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22745850446872576,"km_value":22745850446872.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874613760,"description":"Unknown IO ID 45"} 
[2026-09-23 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281462272001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1785677282874613760}} 
[2026-09-23 16:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":190739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:43:34] local.INFO: GPS data processed {"connection_id":190739,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:43:34] local.INFO: Acknowledgment sent {"connection_id":190739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:43:36] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:36] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:43:36] local.INFO: IMEI packet received {"connection_id":193423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":193423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:43:37] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:43:38] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:43:38] local.INFO: Packet analysis {"connection_id":193423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:38] local.INFO: Extracted packet for processing {"connection_id":193423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43: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-09-23 16:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:43: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-09-23 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:43: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-09-23 16: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-09-23 16:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16: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-09-23 16:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:43:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":193423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:43:38] local.INFO: GPS data processed {"connection_id":193423,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:43:38] local.INFO: Acknowledgment sent {"connection_id":193423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:43:38] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:38] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:38] local.INFO: IMEI packet received {"connection_id":193424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":193424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:43:39] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:39] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:39] local.INFO: IMEI packet received {"connection_id":193424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":193424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:43:43] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:43] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:43:43] local.INFO: IMEI packet received {"connection_id":193424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":193424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:43:44] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf7e738012d0b4d400705fe70001100671c..."} 
[2026-09-23 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf7e738012d0b4d400705fe70001100671c..."} 
[2026-09-23 16:43:44] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf7e738012d0b4d400705fe70001100671c..."} 
[2026-09-23 16:43:44] local.INFO: Packet analysis {"connection_id":193424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:44] local.INFO: Extracted packet for processing {"connection_id":193424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833328,"longitude_deg":75.5715392,"latitude_deg":11.7833328,"altitude":17,"angle":103,"satellites":28,"speed":6,"hex_longitude":"2d0b4d40","hex_latitude":"0705fe70","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281464320001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519397951766528,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045094400,"note":"Value kept but may cause issues"} 
[2026-09-23 16:43:44] 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-09-23 16:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790161971000,"timestamp_ms":1790161971000,"timestamp_seconds":1790161971,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf7e738"} 
[2026-09-23 16:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:43:44] 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-09-23 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 16:43: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-09-23 16: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-09-23 16:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281464320001,"66":14396,"165":206,"94":10240,"24":6,"16":33519397951766528,"45":814236769045094400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281464320001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:43:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:43:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519397951766528,"km_value":33519397951766.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045094400,"description":"Unknown IO ID 45"} 
[2026-09-23 16:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281464320001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814236769045094400}} 
[2026-09-23 16:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":193424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:43:44] local.INFO: GPS data processed {"connection_id":193424,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:43:44] local.INFO: Acknowledgment sent {"connection_id":193424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:43:56] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:56] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:56] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:43:57] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:57] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:43:57] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:44:02] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:44:02] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:44:02] local.INFO: IMEI packet received {"connection_id":190553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":190553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:44:02] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf877c0012d1951800720aa000020006724..."} 
[2026-09-23 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf877c0012d1951800720aa000020006724..."} 
[2026-09-23 16:44:02] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf877c0012d1951800720aa000020006724..."} 
[2026-09-23 16:44:02] local.INFO: Packet analysis {"connection_id":190553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:02] local.INFO: Extracted packet for processing {"connection_id":190553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119581184,"longitude_deg":75.6633984,"latitude_deg":11.9581184,"altitude":32,"angle":103,"satellites":36,"speed":44,"hex_longitude":"2d195180","hex_latitude":"0720aa00","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281473280001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22748393067511808,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820509811233411072,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162008000,"timestamp_ms":1790162008000,"timestamp_seconds":1790162008,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf877c0"} 
[2026-09-23 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992820210,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3455581864,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3488874496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28672,"corrected_to":0} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84751271097475338,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503946711924736,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3925344309,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147950839,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.WARNING: Large IO value detected {"io_id":88,"raw_value":16326266596633600,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,209,160,80,45,192,191,39,35,10,66,208,61,202,46,1,240,185,227,205,32,4,113,43,6,222,64,40,239,55,106,2,7,206,88],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":202,"original":28672,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-23 16:44:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378027206006210560,"timestamp_seconds":2378027206006210.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281473280001,"66":14233,"103":206,"83":41984,"24":44,"16":22748393067511808,"45":1820509811233411072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281473280001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22748393067511808,"km_value":22748393067511.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820509811233411072,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281473280001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1820509811233411072}} 
[2026-09-23 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":190553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:02] local.INFO: GPS data processed {"connection_id":190553,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:02] local.INFO: Acknowledgment sent {"connection_id":190553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:44:10] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:10] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:10] local.INFO: Packet analysis {"connection_id":193423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:44:10] local.INFO: Extracted packet for processing {"connection_id":193423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:10] 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-09-23 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:44: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-09-23 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:10] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":193423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:10] local.INFO: GPS data processed {"connection_id":193423,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:10] local.INFO: Acknowledgment sent {"connection_id":193423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:44:15] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf80290012d0b4f0007060098001100171c..."} 
[2026-09-23 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf80290012d0b4f0007060098001100171c..."} 
[2026-09-23 16:44:15] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf80290012d0b4f0007060098001100171c..."} 
[2026-09-23 16:44:15] local.INFO: Packet analysis {"connection_id":193424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:15] local.INFO: Extracted packet for processing {"connection_id":193424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833880,"longitude_deg":75.571584,"latitude_deg":11.783388,"altitude":17,"angle":23,"satellites":28,"speed":6,"hex_longitude":"2d0b4f00","hex_latitude":"07060098","is_valid_coordinates":true} 
[2026-09-23 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281464576001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519436606472192,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533437440,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:15] 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-09-23 16:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790161978000,"timestamp_ms":1790161978000,"timestamp_seconds":1790161978,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf80290"} 
[2026-09-23 16:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44: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-09-23 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 16:44: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-09-23 16:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281464576001,"66":14407,"165":206,"94":10240,"24":6,"16":33519436606472192,"45":814377506533437440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281464576001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:44:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519436606472192,"km_value":33519436606472.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533437440,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281464576001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814377506533437440}} 
[2026-09-23 16:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":193424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:15] local.INFO: GPS data processed {"connection_id":193424,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:15] local.INFO: Acknowledgment sent {"connection_id":193424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:44:31] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:31] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:31] local.INFO: IMEI packet received {"connection_id":190740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":190740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:44:34] local.INFO: TCP Data received {"connection_id":190553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf92f58012d19b54007206c78001e009f28..."} 
[2026-09-23 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf92f58012d19b54007206c78001e009f28..."} 
[2026-09-23 16:44:34] local.INFO: Processing buffer {"connection_id":190553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf92f58012d19b54007206c78001e009f28..."} 
[2026-09-23 16:44:34] local.INFO: Packet analysis {"connection_id":190553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:44:34] local.INFO: Extracted packet for processing {"connection_id":190553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119565432,"longitude_deg":75.665952,"latitude_deg":11.9565432,"altitude":30,"angle":159,"satellites":40,"speed":45,"hex_longitude":"2d19b540","hex_latitude":"07206c78","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281485056001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22750540551159808,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482423808,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790162055000,"timestamp_ms":1790162055000,"timestamp_seconds":1790162055,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf92f58"} 
[2026-09-23 16:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 16:44:34] 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-09-23 16:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281485056001,"66":14254,"103":206,"83":41984,"24":45,"16":22750540551159808,"45":1850698002482423808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281485056001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22750540551159808,"km_value":22750540551159.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482423808,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281485056001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1850698002482423808}} 
[2026-09-23 16:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":190553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:34] local.INFO: GPS data processed {"connection_id":190553,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:34] local.INFO: Acknowledgment sent {"connection_id":190553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:44:36] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:36] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:44:36] local.INFO: IMEI packet received {"connection_id":190740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":190740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:44:37] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:37] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:44:37] local.INFO: Packet analysis {"connection_id":190740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:44:37] local.INFO: Extracted packet for processing {"connection_id":190740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:37] 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-09-23 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:44: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-09-23 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":190740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:37] local.INFO: GPS data processed {"connection_id":190740,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:37] local.INFO: Acknowledgment sent {"connection_id":190740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:44:38] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:38] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:38] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:44:43] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:43] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:44:43] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:44:44] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf85498012d0b53c007060b28001300141b..."} 
[2026-09-23 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf85498012d0b53c007060b28001300141b..."} 
[2026-09-23 16:44:44] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf85498012d0b53c007060b28001300141b..."} 
[2026-09-23 16:44:44] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:44] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:44:44] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836584,"longitude_deg":75.5717056,"latitude_deg":11.7836584,"altitude":19,"angle":20,"satellites":27,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060b28","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281466368001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519582635360256,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742822400,"note":"Value kept but may cause issues"} 
[2026-09-23 16:44:44] 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-09-23 16:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790161999000,"timestamp_ms":1790161999000,"timestamp_seconds":1790161999,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf85498"} 
[2026-09-23 16:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:44:44] 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-09-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 16:44:44] 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-09-23 16: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-09-23 16:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281466368001,"66":14396,"165":206,"94":10240,"24":0,"16":33519582635360256,"45":814870087742822400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281466368001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:44:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:44:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519582635360256,"km_value":33519582635360.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742822400,"description":"Unknown IO ID 45"} 
[2026-09-23 16:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281466368001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742822400}} 
[2026-09-23 16:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885997,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:44:44] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:44:44] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:01] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: IMEI packet received {"connection_id":190554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":190554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:45:01] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:01] local.INFO: IMEI packet received {"connection_id":190554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":190554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:02] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:02] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:02] local.INFO: IMEI packet received {"connection_id":190554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":190554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:02] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf93b10012d19b94007205f60001c00ab25..."} 
[2026-09-23 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf93b10012d19b94007205f60001c00ab25..."} 
[2026-09-23 16:45:02] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf93b10012d19b94007205f60001c00ab25..."} 
[2026-09-23 16:45:02] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:02] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119562080,"longitude_deg":75.6660544,"latitude_deg":11.956208,"altitude":28,"angle":171,"satellites":37,"speed":47,"hex_longitude":"2d19b940","hex_latitude":"07205f60","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281486080001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22750712349851648,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221085755392,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162058000,"timestamp_ms":1790162058000,"timestamp_seconds":1790162058,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf93b10"} 
[2026-09-23 16:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:45: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-09-23 16:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281486080001,"66":14211,"103":206,"83":41984,"24":47,"16":22750712349851648,"45":1852457221085755392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281486080001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22750712349851648,"km_value":22750712349851.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221085755392,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281486080001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1852457221085755392}} 
[2026-09-23 16:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:03] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:03] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:03] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf95e38012d19bdc007203990001a00a826..."} 
[2026-09-23 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf95e38012d19bdc007203990001a00a826..."} 
[2026-09-23 16:45:03] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf95e38012d19bdc007203990001a00a826..."} 
[2026-09-23 16:45:03] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:03] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119552400,"longitude_deg":75.6661696,"latitude_deg":11.95524,"altitude":26,"angle":168,"satellites":38,"speed":41,"hex_longitude":"2d19bdc0","hex_latitude":"07203990","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281486848001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22751184796254208,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120991739904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790162067000,"timestamp_ms":1790162067000,"timestamp_seconds":1790162067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf95e38"} 
[2026-09-23 16:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:03] 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-09-23 16: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-09-23 16:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281486848001,"66":14265,"103":206,"83":41984,"24":41,"16":22751184796254208,"45":1853583120991739904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281486848001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22751184796254208,"km_value":22751184796254.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120991739904,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281486848001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1853583120991739904}} 
[2026-09-23 16:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:03] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:03] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:08] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:08] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:08] local.INFO: Packet analysis {"connection_id":190740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:08] local.INFO: Extracted packet for processing {"connection_id":190740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:08] 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-09-23 16:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45: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-09-23 16:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:45: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-09-23 16:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:08] 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-09-23 16:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":190740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:09] local.INFO: GPS data processed {"connection_id":190740,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:09] local.INFO: Acknowledgment sent {"connection_id":190740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:15] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf89700012d0b538007060a88001300dd1d..."} 
[2026-09-23 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf89700012d0b538007060a88001300dd1d..."} 
[2026-09-23 16:45:15] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf89700012d0b538007060a88001300dd1d..."} 
[2026-09-23 16:45:15] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:15] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836424,"longitude_deg":75.5716992,"latitude_deg":11.7836424,"altitude":19,"angle":221,"satellites":29,"speed":1,"hex_longitude":"2d0b5380","hex_latitude":"07060a88","is_valid_coordinates":true} 
[2026-09-23 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281471744001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519591225294848,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882890240,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:15] 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-09-23 16:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790162016000,"timestamp_ms":1790162016000,"timestamp_seconds":1790162016,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf89700"} 
[2026-09-23 16:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-23 16:45: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-09-23 16:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281471744001,"66":14428,"165":206,"94":10240,"24":1,"16":33519591225294848,"45":816207093882890240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281471744001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:45:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519591225294848,"km_value":33519591225294.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882890240,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281471744001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816207093882890240}} 
[2026-09-23 16:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:15] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:15] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:34] local.INFO: TCP Data received {"connection_id":190554,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf971c0012d19c44007202868001a009c28..."} 
[2026-09-23 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf971c0012d19c44007202868001a009c28..."} 
[2026-09-23 16:45:34] local.INFO: Processing buffer {"connection_id":190554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf971c0012d19c44007202868001a009c28..."} 
[2026-09-23 16:45:34] local.INFO: Packet analysis {"connection_id":190554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:34] local.INFO: Extracted packet for processing {"connection_id":190554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119548008,"longitude_deg":75.666336,"latitude_deg":11.9548008,"altitude":26,"angle":156,"satellites":40,"speed":36,"hex_longitude":"2d19c440","hex_latitude":"07202868","is_valid_coordinates":true} 
[2026-09-23 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281489152001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22751412429520896,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758384459776,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790162072000,"timestamp_ms":1790162072000,"timestamp_seconds":1790162072,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf971c0"} 
[2026-09-23 16:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:45: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-09-23 16:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281489152001,"66":14102,"103":206,"83":41984,"24":36,"16":22751412429520896,"45":1854849758384459776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281489152001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22751412429520896,"km_value":22751412429520.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758384459776,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281489152001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1854849758384459776}} 
[2026-09-23 16:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":190554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:34] local.INFO: GPS data processed {"connection_id":190554,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:34] local.INFO: Acknowledgment sent {"connection_id":190554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:36] local.INFO: TCP Data received {"connection_id":190741,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:36] local.INFO: Processing buffer {"connection_id":190741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:36] local.INFO: IMEI packet received {"connection_id":190741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:45:38] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:38] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:38] local.INFO: IMEI packet received {"connection_id":190742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":190742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:45:41] local.INFO: TCP Data received {"connection_id":190741,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:41] local.INFO: Processing buffer {"connection_id":190741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:45:41] local.INFO: IMEI packet received {"connection_id":190741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":190741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:42] local.INFO: TCP Data received {"connection_id":190741,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:42] local.INFO: Processing buffer {"connection_id":190741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:42] local.INFO: Packet analysis {"connection_id":190741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:42] local.INFO: Extracted packet for processing {"connection_id":190741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:42] 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-09-23 16:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":190741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:42] local.INFO: GPS data processed {"connection_id":190741,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:42] local.INFO: Acknowledgment sent {"connection_id":190741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:42] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:42] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:42] local.INFO: IMEI packet received {"connection_id":190742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":190742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:43] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:43] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:45:43] local.INFO: IMEI packet received {"connection_id":190742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":190742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:43] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf8c5e0012d0b520007060820001200d11d..."} 
[2026-09-23 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf8c5e0012d0b520007060820001200d11d..."} 
[2026-09-23 16:45:43] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf8c5e0012d0b520007060820001200d11d..."} 
[2026-09-23 16:45:43] local.INFO: Packet analysis {"connection_id":190742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:43] local.INFO: Extracted packet for processing {"connection_id":190742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835808,"longitude_deg":75.5716608,"latitude_deg":11.7835808,"altitude":18,"angle":209,"satellites":29,"speed":2,"hex_longitude":"2d0b5200","hex_latitude":"07060820","is_valid_coordinates":true} 
[2026-09-23 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281476096001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519634174967808,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138671616,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:43] 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-09-23 16:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790162028000,"timestamp_ms":1790162028000,"timestamp_seconds":1790162028,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf8c5e0"} 
[2026-09-23 16:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281476096001,"66":14167,"165":206,"94":10240,"24":2,"16":33519634174967808,"45":816136725138671616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281476096001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:45:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519634174967808,"km_value":33519634174967.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138671616,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281476096001,"power":14167,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816136725138671616}} 
[2026-09-23 16:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":190742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:44] local.INFO: GPS data processed {"connection_id":190742,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:44] local.INFO: Acknowledgment sent {"connection_id":190742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:46] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf8d580012d0b51c0070606d0001200c61d..."} 
[2026-09-23 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf8d580012d0b51c0070606d0001200c61d..."} 
[2026-09-23 16:45:46] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf8d580012d0b51c0070606d0001200c61d..."} 
[2026-09-23 16:45:46] local.INFO: Packet analysis {"connection_id":190742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:46] local.INFO: Extracted packet for processing {"connection_id":190742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf8"} 
[2026-09-23 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":755716544,"raw_latitude":117835472,"longitude_deg":75.5716544,"latitude_deg":11.7835472,"altitude":18,"angle":198,"satellites":29,"speed":3,"hex_longitude":"2d0b51c0","hex_latitude":"070606d0","is_valid_coordinates":true} 
[2026-09-23 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281479168001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519651354836992,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815714512673447936,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:46] 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-09-23 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790162032000,"timestamp_ms":1790162032000,"timestamp_seconds":1790162032,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf8d580"} 
[2026-09-23 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:46] 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-09-23 16:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281479168001,"66":14298,"165":206,"94":10240,"24":3,"16":33519651354836992,"45":815714512673447936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281479168001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:45:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519651354836992,"km_value":33519651354836.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":815714512673447936,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281479168001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815714512673447936}} 
[2026-09-23 16:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":190742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:47] local.INFO: GPS data processed {"connection_id":190742,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:47] local.INFO: Acknowledgment sent {"connection_id":190742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:47] local.INFO: TCP Data received {"connection_id":190741,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:47] local.INFO: Processing buffer {"connection_id":190741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:45:47] local.INFO: Packet analysis {"connection_id":190741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:47] local.INFO: Extracted packet for processing {"connection_id":190741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:47] 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-09-23 16:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45: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-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:47] 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-09-23 16: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-09-23 16:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:45:47] 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-09-23 16:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":190741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:47] local.INFO: GPS data processed {"connection_id":190741,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:47] local.INFO: Acknowledgment sent {"connection_id":190741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:56] local.INFO: TCP Data received {"connection_id":193425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:56] local.INFO: Processing buffer {"connection_id":193425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:56] local.INFO: IMEI packet received {"connection_id":193425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":193425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:45:57] local.INFO: TCP Data received {"connection_id":193425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:57] local.INFO: Processing buffer {"connection_id":193425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:45:57] local.INFO: IMEI packet received {"connection_id":193425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":193425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:45:58] local.INFO: TCP Data received {"connection_id":193425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfa5450012d1a6e80071fd6480028007424..."} 
[2026-09-23 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfa5450012d1a6e80071fd6480028007424..."} 
[2026-09-23 16:45:58] local.INFO: Processing buffer {"connection_id":193425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfa5450012d1a6e80071fd6480028007424..."} 
[2026-09-23 16:45:58] local.INFO: Packet analysis {"connection_id":193425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:45:58] local.INFO: Extracted packet for processing {"connection_id":193425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119526984,"longitude_deg":75.6706944,"latitude_deg":11.9526984,"altitude":40,"angle":116,"satellites":36,"speed":36,"hex_longitude":"2d1a6e80","hex_latitude":"071fd648","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281504256001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22753839086043136,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900730179582007296,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790162130000,"timestamp_ms":1790162130000,"timestamp_seconds":1790162130,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfa5450"} 
[2026-09-23 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:58] 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-09-23 16: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-09-23 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":193425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281504256001,"66":14048,"101":206,"83":41984,"24":36,"16":22753839086043136,"45":1900730179582007296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281504256001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22753839086043136,"km_value":22753839086043.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900730179582007296,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281504256001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1900730179582007296}} 
[2026-09-23 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":193425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:58] local.INFO: GPS data processed {"connection_id":193425,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:58] local.INFO: Acknowledgment sent {"connection_id":193425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:45:59] local.INFO: TCP Data received {"connection_id":193425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfa5c20012d1a73c0071fd1900029008624..."} 
[2026-09-23 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfa5c20012d1a73c0071fd1900029008624..."} 
[2026-09-23 16:45:59] local.INFO: Processing buffer {"connection_id":193425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfa5c20012d1a73c0071fd1900029008624..."} 
[2026-09-23 16:45:59] local.INFO: Packet analysis {"connection_id":193425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:45:59] local.INFO: Extracted packet for processing {"connection_id":193425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756708288,"raw_latitude":119525776,"longitude_deg":75.6708288,"latitude_deg":11.9525776,"altitude":41,"angle":134,"satellites":36,"speed":37,"hex_longitude":"2d1a73c0","hex_latitude":"071fd190","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281505280001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22753929280356352,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460511561728,"note":"Value kept but may cause issues"} 
[2026-09-23 16:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790162132000,"timestamp_ms":1790162132000,"timestamp_seconds":1790162132,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfa5c20"} 
[2026-09-23 16:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 16:45:59] 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-09-23 16: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-09-23 16:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281505280001,"66":14070,"101":206,"83":41984,"24":37,"16":22753929280356352,"45":1904600460511561728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281505280001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:45:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22753929280356352,"km_value":22753929280356.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460511561728,"description":"Unknown IO ID 45"} 
[2026-09-23 16:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281505280001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1904600460511561728}} 
[2026-09-23 16:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":193425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:45:59] local.INFO: GPS data processed {"connection_id":193425,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:45:59] local.INFO: Acknowledgment sent {"connection_id":193425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:46:18] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf923a0012d0b4f000705ffb8001200c91d..."} 
[2026-09-23 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf923a0012d0b4f000705ffb8001200c91d..."} 
[2026-09-23 16:46:18] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf923a0012d0b4f000705ffb8001200c91d..."} 
[2026-09-23 16:46:18] local.INFO: Packet analysis {"connection_id":190742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:46:18] local.INFO: Extracted packet for processing {"connection_id":190742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf9"} 
[2026-09-23 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833656,"longitude_deg":75.571584,"latitude_deg":11.7833656,"altitude":18,"angle":201,"satellites":29,"speed":2,"hex_longitude":"2d0b4f00","hex_latitude":"0705ffb8","is_valid_coordinates":true} 
[2026-09-23 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281480192001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33519750139084800,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815644143929184256,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790162052000,"timestamp_ms":1790162052000,"timestamp_seconds":1790162052,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf923a0"} 
[2026-09-23 16:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 16:46:18] 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-09-23 16:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281480192001,"66":14515,"165":206,"94":10240,"24":2,"16":33519750139084800,"45":815644143929184256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-23 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281480192001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-23 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33519750139084800,"km_value":33519750139084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":815644143929184256,"description":"Unknown IO ID 45"} 
[2026-09-23 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281480192001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":815644143929184256}} 
[2026-09-23 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":190742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:46:18] local.INFO: GPS data processed {"connection_id":190742,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:46:18] local.INFO: Acknowledgment sent {"connection_id":190742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:46:31] local.INFO: TCP Data received {"connection_id":193425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfaf478012d1ac100071f7760002f00cd26..."} 
[2026-09-23 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfaf478012d1ac100071f7760002f00cd26..."} 
[2026-09-23 16:46:31] local.INFO: Processing buffer {"connection_id":193425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfaf478012d1ac100071f7760002f00cd26..."} 
[2026-09-23 16:46:31] local.INFO: Packet analysis {"connection_id":193425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:46:31] local.INFO: Extracted packet for processing {"connection_id":193425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfa"} 
[2026-09-23 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756728064,"raw_latitude":119502688,"longitude_deg":75.6728064,"latitude_deg":11.9502688,"altitude":47,"angle":205,"satellites":38,"speed":37,"hex_longitude":"2d1ac100","hex_latitude":"071f7760","is_valid_coordinates":true} 
[2026-09-23 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281515008001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22755591432699904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928877677247299584,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790162171000,"timestamp_ms":1790162171000,"timestamp_seconds":1790162171,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfaf478"} 
[2026-09-23 16:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 16:46:31] 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-09-23 16:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281515008001,"66":14233,"101":206,"83":41984,"24":37,"16":22755591432699904,"45":1928877677247299584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281515008001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:46:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22755591432699904,"km_value":22755591432699.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928877677247299584,"description":"Unknown IO ID 45"} 
[2026-09-23 16:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281515008001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1928877677247299584}} 
[2026-09-23 16:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":193425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:46:31] local.INFO: GPS data processed {"connection_id":193425,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:46:31] local.INFO: Acknowledgment sent {"connection_id":193425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:46:31] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:31] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:31] local.INFO: IMEI packet received {"connection_id":190555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":190555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:46:36] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:36] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:46:36] local.INFO: IMEI packet received {"connection_id":190555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:46:37] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:46:37] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:46:37] local.INFO: Packet analysis {"connection_id":190555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:46:37] local.INFO: Extracted packet for processing {"connection_id":190555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:46:37] 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-09-23 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 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-09-23 16:46: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-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:46: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-09-23 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-09-23 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-09-23 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:46:37] 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-09-23 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:46:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":190555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:46:37] local.INFO: GPS data processed {"connection_id":190555,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:46:37] local.INFO: Acknowledgment sent {"connection_id":190555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:47:02] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:02] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:02] local.INFO: IMEI packet received {"connection_id":193426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":193426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:47:06] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:06] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:06] local.INFO: IMEI packet received {"connection_id":193426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":193426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:47:07] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfb0418012d1abb40071f69d8002e00c025..."} 
[2026-09-23 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfb0418012d1abb40071f69d8002e00c025..."} 
[2026-09-23 16:47:07] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfb0418012d1abb40071f69d8002e00c025..."} 
[2026-09-23 16:47:07] local.INFO: Packet analysis {"connection_id":193426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:07] local.INFO: Extracted packet for processing {"connection_id":193426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119499224,"longitude_deg":75.6726592,"latitude_deg":11.9499224,"altitude":46,"angle":192,"satellites":37,"speed":35,"hex_longitude":"2d1abb40","hex_latitude":"071f69d8","is_valid_coordinates":true} 
[2026-09-23 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281515776001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22755771821326336,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927822146083971072,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790162175000,"timestamp_ms":1790162175000,"timestamp_seconds":1790162175,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfb0418"} 
[2026-09-23 16:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 16:47: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-09-23 16:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281515776001,"66":14265,"101":206,"83":41984,"24":35,"16":22755771821326336,"45":1927822146083971072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281515776001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:47:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22755771821326336,"km_value":22755771821326.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927822146083971072,"description":"Unknown IO ID 45"} 
[2026-09-23 16:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281515776001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1927822146083971072}} 
[2026-09-23 16:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":193426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:47:07] local.INFO: GPS data processed {"connection_id":193426,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:47:07] local.INFO: Acknowledgment sent {"connection_id":193426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:47:08] local.INFO: TCP Data received {"connection_id":190555,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:47:08] local.INFO: Processing buffer {"connection_id":190555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdf70c78012d398a4006c913000028005124..."} 
[2026-09-23 16:47:08] local.INFO: Packet analysis {"connection_id":190555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:47:08] local.INFO: Extracted packet for processing {"connection_id":190555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdf7"} 
[2026-09-23 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281373184001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:08] 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-09-23 16:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790161915000,"timestamp_ms":1790161915000,"timestamp_seconds":1790161915,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdf70c78"} 
[2026-09-23 16:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:47: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-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:47: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-09-23 16: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-09-23 16:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281373184001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281373184001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:47:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281373184001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":190555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:47:08] local.INFO: GPS data processed {"connection_id":190555,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:47:08] local.INFO: Acknowledgment sent {"connection_id":190555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:47:12] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfb17a0012d1ab980071f57f8003000b524..."} 
[2026-09-23 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfb17a0012d1ab980071f57f8003000b524..."} 
[2026-09-23 16:47:12] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfb17a0012d1ab980071f57f8003000b524..."} 
[2026-09-23 16:47:12] local.INFO: Packet analysis {"connection_id":193426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:12] local.INFO: Extracted packet for processing {"connection_id":193426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756726144,"raw_latitude":119494648,"longitude_deg":75.6726144,"latitude_deg":11.9494648,"altitude":48,"angle":181,"satellites":36,"speed":35,"hex_longitude":"2d1ab980","hex_latitude":"071f57f8","is_valid_coordinates":true} 
[2026-09-23 16:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281516800001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22755995159625728,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203664966998016,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790162180000,"timestamp_ms":1790162180000,"timestamp_seconds":1790162180,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfb17a0"} 
[2026-09-23 16:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:47:12] 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-09-23 16:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281516800001,"66":14363,"101":206,"83":41984,"24":35,"16":22755995159625728,"45":1926203664966998016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281516800001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:47:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22755995159625728,"km_value":22755995159625.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203664966998016,"description":"Unknown IO ID 45"} 
[2026-09-23 16:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281516800001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1926203664966998016}} 
[2026-09-23 16:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":193426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:47:12] local.INFO: GPS data processed {"connection_id":193426,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:47:12] local.INFO: Acknowledgment sent {"connection_id":193426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:47:31] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:31] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:31] local.INFO: IMEI packet received {"connection_id":192083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":192083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:47:34] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:34] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:47:34] local.INFO: IMEI packet received {"connection_id":192083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:47:35] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:47:35] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:47:35] local.INFO: Packet analysis {"connection_id":192083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:35] local.INFO: Extracted packet for processing {"connection_id":192083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:47:35] 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-09-23 16:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:47:35] 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-09-23 16: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-09-23 16:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:47: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-09-23 16:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":192083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:47:35] local.INFO: GPS data processed {"connection_id":192083,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:47:35] local.INFO: Acknowledgment sent {"connection_id":192083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:47:51] local.INFO: TCP Data received {"connection_id":190743,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:47:51] local.INFO: Processing buffer {"connection_id":190743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:47:51] local.INFO: IMEI packet received {"connection_id":190743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":190743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:47:54] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:54] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:54] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:47:55] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:55] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:55] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:47:56] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:56] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:56] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:47:58] local.INFO: TCP Data received {"connection_id":190556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:58] local.INFO: Processing buffer {"connection_id":190556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:47:58] local.INFO: IMEI packet received {"connection_id":190556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":190556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:48:07] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:07] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:07] local.INFO: Packet analysis {"connection_id":192083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:48:07] local.INFO: Extracted packet for processing {"connection_id":192083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48: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-09-23 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:48: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-09-23 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:48:07] 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-09-23 16:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:48: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-09-23 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:48:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":192083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:48:07] local.INFO: GPS data processed {"connection_id":192083,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:48:07] local.INFO: Acknowledgment sent {"connection_id":192083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:48:09] local.INFO: TCP Data received {"connection_id":193427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:48:09] local.INFO: Processing buffer {"connection_id":193427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:48:09] local.INFO: IMEI packet received {"connection_id":193427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":193427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:48:31] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:31] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:31] local.INFO: IMEI packet received {"connection_id":190744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":190744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:48:36] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:36] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:48:36] local.INFO: IMEI packet received {"connection_id":190744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":190744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:48:37] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:37] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:48:37] local.INFO: Packet analysis {"connection_id":190744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:48:37] local.INFO: Extracted packet for processing {"connection_id":190744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:48:37] 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-09-23 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:48: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-09-23 16:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:48: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-09-23 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:48:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":190744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:48:37] local.INFO: GPS data processed {"connection_id":190744,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:48:37] local.INFO: Acknowledgment sent {"connection_id":190744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:48:45] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:45] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:45] local.INFO: IMEI packet received {"connection_id":192084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":192084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:48:48] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:48] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:48:48] local.INFO: IMEI packet received {"connection_id":192084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":192084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:49:08] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:08] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:08] local.INFO: Packet analysis {"connection_id":190744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:49:08] local.INFO: Extracted packet for processing {"connection_id":190744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:08] 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-09-23 16:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:49: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-09-23 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:49:08] 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-09-23 16: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-09-23 16:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:49: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-09-23 16:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:49:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:49:08] local.INFO: GPS data processed {"connection_id":190744,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:49:08] local.INFO: Acknowledgment sent {"connection_id":190744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:49:31] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:31] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:31] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:49:36] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:36] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:49:36] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:49:37] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:37] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:49:37] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:49:37] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:49:37] 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-09-23 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 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-09-23 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:49: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-09-23 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-09-23 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-09-23 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:49: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-09-23 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:49:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:49:37] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:49:37] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:50:08] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:08] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:08] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:08] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:08] 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-09-23 16:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:50: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-09-23 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:50:08] 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-09-23 16: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-09-23 16:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50: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-09-23 16:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:50:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:50:09] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:50:09] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:50:36] local.INFO: TCP Data received {"connection_id":190746,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:36] local.INFO: Processing buffer {"connection_id":190746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:36] local.INFO: IMEI packet received {"connection_id":190746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":190746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:50:41] local.INFO: TCP Data received {"connection_id":190746,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:41] local.INFO: Processing buffer {"connection_id":190746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:50:41] local.INFO: IMEI packet received {"connection_id":190746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":190746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:50:42] local.INFO: TCP Data received {"connection_id":190746,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:42] local.INFO: Processing buffer {"connection_id":190746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:42] local.INFO: Packet analysis {"connection_id":190746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:42] local.INFO: Extracted packet for processing {"connection_id":190746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:42] 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-09-23 16:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 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-09-23 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:50:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":190746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:50:42] local.INFO: GPS data processed {"connection_id":190746,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:50:42] local.INFO: Acknowledgment sent {"connection_id":190746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:50:46] local.INFO: TCP Data received {"connection_id":190746,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:46] local.INFO: Processing buffer {"connection_id":190746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:50:46] local.INFO: Packet analysis {"connection_id":190746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:46] local.INFO: Extracted packet for processing {"connection_id":190746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:50:46] 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-09-23 16:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:50:46] 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-09-23 16:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:50:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":190746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:50:46] local.INFO: GPS data processed {"connection_id":190746,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:50:46] local.INFO: Acknowledgment sent {"connection_id":190746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:51:31] local.INFO: TCP Data received {"connection_id":193430,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:31] local.INFO: Processing buffer {"connection_id":193430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:31] local.INFO: IMEI packet received {"connection_id":193430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:51:36] local.INFO: TCP Data received {"connection_id":193430,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:36] local.INFO: Processing buffer {"connection_id":193430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:51:36] local.INFO: IMEI packet received {"connection_id":193430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":193430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:51:37] local.INFO: TCP Data received {"connection_id":193430,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:51:37] local.INFO: Processing buffer {"connection_id":193430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:51:37] local.INFO: Packet analysis {"connection_id":193430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:51:37] local.INFO: Extracted packet for processing {"connection_id":193430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:51:37] 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-09-23 16:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:51: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-09-23 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:51: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-09-23 16: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-09-23 16:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16: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-09-23 16:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:51:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":193430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:51:37] local.INFO: GPS data processed {"connection_id":193430,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:51:37] local.INFO: Acknowledgment sent {"connection_id":193430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:52:08] local.INFO: TCP Data received {"connection_id":193430,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:52:08] local.INFO: Processing buffer {"connection_id":193430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cdfba440012d398a4006c913000028005125..."} 
[2026-09-23 16:52:08] local.INFO: Packet analysis {"connection_id":193430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:52:08] local.INFO: Extracted packet for processing {"connection_id":193430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cdfb"} 
[2026-09-23 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281450240001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:08] 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-09-23 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162216000,"timestamp_ms":1790162216000,"timestamp_seconds":1790162216,"priority":1,"record_length":96,"hex_timestamp":"000001a0cdfba440"} 
[2026-09-23 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:52: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-09-23 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 16:52:08] 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-09-23 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:52: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-09-23 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281450240001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281450240001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:52:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281450240001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":193430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:52:08] local.INFO: GPS data processed {"connection_id":193430,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:52:08] local.INFO: Acknowledgment sent {"connection_id":193430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:52:31] local.INFO: TCP Data received {"connection_id":190559,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:31] local.INFO: Processing buffer {"connection_id":190559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:31] local.INFO: IMEI packet received {"connection_id":190559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":190559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:52:35] local.INFO: TCP Data received {"connection_id":190559,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:35] local.INFO: Processing buffer {"connection_id":190559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:52:35] local.INFO: IMEI packet received {"connection_id":190559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":190559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:52:36] local.INFO: TCP Data received {"connection_id":190559,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:52:36] local.INFO: Processing buffer {"connection_id":190559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:52:36] local.INFO: Packet analysis {"connection_id":190559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:52:36] local.INFO: Extracted packet for processing {"connection_id":190559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:52:36] 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-09-23 16: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-09-23 16:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:52: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-09-23 16:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:52:36] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":190559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:52:36] local.INFO: GPS data processed {"connection_id":190559,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:52:36] local.INFO: Acknowledgment sent {"connection_id":190559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:02] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:02] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:02] local.INFO: IMEI packet received {"connection_id":192089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":192089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:53:02] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0091f8012d19dc8007200ab8002d013927..."} 
[2026-09-23 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0091f8012d19dc8007200ab8002d013927..."} 
[2026-09-23 16:53:02] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0091f8012d19dc8007200ab8002d013927..."} 
[2026-09-23 16:53:02] local.INFO: Packet analysis {"connection_id":192089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:02] local.INFO: Extracted packet for processing {"connection_id":192089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119540408,"longitude_deg":75.6669568,"latitude_deg":11.9540408,"altitude":45,"angle":313,"satellites":39,"speed":1,"hex_longitude":"2d19dc80","hex_latitude":"07200ab8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281609472001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22763940849123328,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403563008,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162539000,"timestamp_ms":1790162539000,"timestamp_seconds":1790162539,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0091f8"} 
[2026-09-23 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:53:02] 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-09-23 16: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-09-23 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281609472001,"66":14189,"101":206,"83":41984,"24":1,"16":22763940849123328,"45":1863645851403563008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281609472001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22763940849123328,"km_value":22763940849123.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403563008,"description":"Unknown IO ID 45"} 
[2026-09-23 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281609472001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1863645851403563008}} 
[2026-09-23 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":192089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:53:02] local.INFO: GPS data processed {"connection_id":192089,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:53:02] local.INFO: Acknowledgment sent {"connection_id":192089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:07] local.INFO: TCP Data received {"connection_id":190559,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:07] local.INFO: Processing buffer {"connection_id":190559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:07] local.INFO: Packet analysis {"connection_id":190559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:07] local.INFO: Extracted packet for processing {"connection_id":190559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53: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-09-23 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:53:07] 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-09-23 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:53: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-09-23 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:53:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":190559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:53:07] local.INFO: GPS data processed {"connection_id":190559,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:53:07] local.INFO: Acknowledgment sent {"connection_id":190559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:31] local.INFO: TCP Data received {"connection_id":193431,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:31] local.INFO: Processing buffer {"connection_id":193431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:31] local.INFO: IMEI packet received {"connection_id":193431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:53:33] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce00a198012d19db4007200b60002e012a27..."} 
[2026-09-23 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce00a198012d19db4007200b60002e012a27..."} 
[2026-09-23 16:53:33] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce00a198012d19db4007200b60002e012a27..."} 
[2026-09-23 16:53:33] local.INFO: Packet analysis {"connection_id":192089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:33] local.INFO: Extracted packet for processing {"connection_id":192089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119540576,"longitude_deg":75.6669248,"latitude_deg":11.9540576,"altitude":46,"angle":298,"satellites":39,"speed":5,"hex_longitude":"2d19db40","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281609984001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22763958028992512,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113915242496,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162543000,"timestamp_ms":1790162543000,"timestamp_seconds":1790162543,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce00a198"} 
[2026-09-23 16:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 16:53: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-09-23 16: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-09-23 16:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281609984001,"66":14298,"101":206,"83":41984,"24":5,"16":22763958028992512,"45":1863505113915242496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281609984001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:53:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22763958028992512,"km_value":22763958028992.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113915242496,"description":"Unknown IO ID 45"} 
[2026-09-23 16:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281609984001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1863505113915242496}} 
[2026-09-23 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":192089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:53:34] local.INFO: GPS data processed {"connection_id":192089,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:53:34] local.INFO: Acknowledgment sent {"connection_id":192089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:36] local.INFO: TCP Data received {"connection_id":193431,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:36] local.INFO: Processing buffer {"connection_id":193431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:53:36] local.INFO: IMEI packet received {"connection_id":193431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":193431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:53:37] local.INFO: TCP Data received {"connection_id":193431,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:37] local.INFO: Processing buffer {"connection_id":193431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:53:37] local.INFO: Packet analysis {"connection_id":193431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:37] local.INFO: Extracted packet for processing {"connection_id":193431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:37] 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-09-23 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16: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-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:53: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-09-23 16: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-09-23 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16: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-09-23 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:53:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":193431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:53:37] local.INFO: GPS data processed {"connection_id":193431,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:53:37] local.INFO: Acknowledgment sent {"connection_id":193431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:51] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:53:51] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:53:51] local.INFO: IMEI packet received {"connection_id":190560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":190560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:53:52] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce011e98012d0c26800702aa80001301161c..."} 
[2026-09-23 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce011e98012d0c26800702aa80001301161c..."} 
[2026-09-23 16:53:52] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce011e98012d0c26800702aa80001301161c..."} 
[2026-09-23 16:53:52] local.INFO: Packet analysis {"connection_id":190560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:53:52] local.INFO: Extracted packet for processing {"connection_id":190560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615232,"longitude_deg":75.5771008,"latitude_deg":11.7615232,"altitude":19,"angle":278,"satellites":28,"speed":4,"hex_longitude":"2d0c2680","hex_latitude":"0702aa80","is_valid_coordinates":true} 
[2026-09-23 16:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281617920001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33533622883450880,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876161263865622528,"note":"Value kept but may cause issues"} 
[2026-09-23 16:53: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-09-23 16:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790162575000,"timestamp_ms":1790162575000,"timestamp_seconds":1790162575,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce011e98"} 
[2026-09-23 16:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 16:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":190560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":190560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":190560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281617920001,"66":14309,"37":206,"94":11008,"24":4,"16":33533622883450880,"45":876161263865622528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281617920001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33533622883450880,"km_value":33533622883450.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":876161263865622528,"description":"Unknown IO ID 45"} 
[2026-09-23 16:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281617920001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876161263865622528}} 
[2026-09-23 16:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":190560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:53:52] local.INFO: GPS data processed {"connection_id":190560,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:53:52] local.INFO: Acknowledgment sent {"connection_id":190560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:53:56] local.INFO: TCP Data received {"connection_id":190749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:56] local.INFO: Processing buffer {"connection_id":190749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:53:56] local.INFO: IMEI packet received {"connection_id":190749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":190749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:54:01] local.INFO: TCP Data received {"connection_id":190749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:01] local.INFO: Processing buffer {"connection_id":190749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:01] local.INFO: IMEI packet received {"connection_id":190749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":190749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:54:02] local.INFO: TCP Data received {"connection_id":190749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce00b520012d19d4c007200fb0002e013827..."} 
[2026-09-23 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce00b520012d19d4c007200fb0002e013827..."} 
[2026-09-23 16:54:02] local.INFO: Processing buffer {"connection_id":190749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce00b520012d19d4c007200fb0002e013827..."} 
[2026-09-23 16:54:02] local.INFO: Packet analysis {"connection_id":190749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:02] local.INFO: Extracted packet for processing {"connection_id":190749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119541680,"longitude_deg":75.6667584,"latitude_deg":11.954168,"altitude":46,"angle":312,"satellites":39,"speed":23,"hex_longitude":"2d19d4c0","hex_latitude":"07200fb0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281611008001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764056813240320,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863153270194397184,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162548000,"timestamp_ms":1790162548000,"timestamp_seconds":1790162548,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce00b520"} 
[2026-09-23 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 16:54:02] 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-09-23 16: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-09-23 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281611008001,"66":14048,"101":206,"83":41984,"24":23,"16":22764056813240320,"45":1863153270194397184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281611008001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764056813240320,"km_value":22764056813240.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863153270194397184,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281611008001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863153270194397184}} 
[2026-09-23 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":190749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:02] local.INFO: GPS data processed {"connection_id":190749,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:02] local.INFO: Acknowledgment sent {"connection_id":190749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:08] local.INFO: TCP Data received {"connection_id":193431,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:08] local.INFO: Processing buffer {"connection_id":193431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:08] local.INFO: Packet analysis {"connection_id":193431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:08] local.INFO: Extracted packet for processing {"connection_id":193431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:08] 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-09-23 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54: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-09-23 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:54: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-09-23 16:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:54:08] 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-09-23 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:08] local.INFO: GPS data processed {"connection_id":193431,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:08] local.INFO: Acknowledgment sent {"connection_id":193431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:23] local.INFO: TCP Data received {"connection_id":190560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0237d8012d0bf6400702a070001001081b..."} 
[2026-09-23 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0237d8012d0bf6400702a070001001081b..."} 
[2026-09-23 16:54:23] local.INFO: Processing buffer {"connection_id":190560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0237d8012d0bf6400702a070001001081b..."} 
[2026-09-23 16:54:23] local.INFO: Packet analysis {"connection_id":190560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:54:23] local.INFO: Extracted packet for processing {"connection_id":190560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755758656,"raw_latitude":117612656,"longitude_deg":75.5758656,"latitude_deg":11.7612656,"altitude":16,"angle":264,"satellites":27,"speed":6,"hex_longitude":"2d0bf640","hex_latitude":"0702a070","is_valid_coordinates":true} 
[2026-09-23 16:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281637376001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33534262833577984,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862157883773589504,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:23] 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-09-23 16:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790162647000,"timestamp_ms":1790162647000,"timestamp_seconds":1790162647,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0237d8"} 
[2026-09-23 16:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54:23] 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-09-23 16:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:54: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-09-23 16:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281637376001,"66":14515,"37":206,"94":11008,"24":6,"16":33534262833577984,"45":862157883773589504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281637376001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33534262833577984,"km_value":33534262833577.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":862157883773589504,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281637376001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":862157883773589504}} 
[2026-09-23 16:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":190560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:23] local.INFO: GPS data processed {"connection_id":190560,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:23] local.INFO: Acknowledgment sent {"connection_id":190560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:31] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:31] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:31] local.INFO: IMEI packet received {"connection_id":190750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":190750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:54:34] local.INFO: TCP Data received {"connection_id":190749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce00c4c0012d19cd8007201700002e014727..."} 
[2026-09-23 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce00c4c0012d19cd8007201700002e014727..."} 
[2026-09-23 16:54:34] local.INFO: Processing buffer {"connection_id":190749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce00c4c0012d19cd8007201700002e014727..."} 
[2026-09-23 16:54:34] local.INFO: Packet analysis {"connection_id":190749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:34] local.INFO: Extracted packet for processing {"connection_id":190749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119543552,"longitude_deg":75.6665728,"latitude_deg":11.9543552,"altitude":46,"angle":327,"satellites":39,"speed":27,"hex_longitude":"2d19cd80","hex_latitude":"07201700","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281612288001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764181367291904,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682846060544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790162552000,"timestamp_ms":1790162552000,"timestamp_seconds":1790162552,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce00c4c0"} 
[2026-09-23 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 16:54:34] 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-09-23 16: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-09-23 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281612288001,"66":13972,"101":206,"83":41984,"24":27,"16":22764181367291904,"45":1861323682846060544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281612288001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764181367291904,"km_value":22764181367291.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682846060544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281612288001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1861323682846060544}} 
[2026-09-23 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":190749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:34] local.INFO: GPS data processed {"connection_id":190749,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:34] local.INFO: Acknowledgment sent {"connection_id":190749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:36] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:36] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:54:36] local.INFO: IMEI packet received {"connection_id":190750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:54:38] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:38] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:54:38] local.INFO: Packet analysis {"connection_id":190750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:38] local.INFO: Extracted packet for processing {"connection_id":190750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54: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-09-23 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54: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-09-23 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:54: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-09-23 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:54: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-09-23 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":190750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:38] local.INFO: GPS data processed {"connection_id":190750,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:38] local.INFO: Acknowledgment sent {"connection_id":190750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:38] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:38] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:38] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:54:43] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:43] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:54:43] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:54:44] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce024b60012d0bf2000702a058001001161c..."} 
[2026-09-23 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce024b60012d0bf2000702a058001001161c..."} 
[2026-09-23 16:54:44] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce024b60012d0bf2000702a058001001161c..."} 
[2026-09-23 16:54:44] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:54:44] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:54:44] local.INFO: GPS Element Parsed {"raw_longitude":755757568,"raw_latitude":117612632,"longitude_deg":75.5757568,"latitude_deg":11.7612632,"altitude":16,"angle":278,"satellites":28,"speed":10,"hex_longitude":"2d0bf200","hex_latitude":"0702a058","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281637632001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33534314373185536,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861946777541046272,"note":"Value kept but may cause issues"} 
[2026-09-23 16:54:44] 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-09-23 16:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790162652000,"timestamp_ms":1790162652000,"timestamp_seconds":1790162652,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce024b60"} 
[2026-09-23 16:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:54: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-09-23 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:54:44] 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-09-23 16: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-09-23 16:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281637632001,"66":14439,"37":206,"94":11008,"24":10,"16":33534314373185536,"45":861946777541046272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281637632001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:54:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:54:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33534314373185536,"km_value":33534314373185.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":861946777541046272,"description":"Unknown IO ID 45"} 
[2026-09-23 16:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281637632001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":861946777541046272}} 
[2026-09-23 16:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:54:44] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:54:44] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:54:56] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:56] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:54:56] local.INFO: IMEI packet received {"connection_id":190561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":190561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:55:01] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:01] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:01] local.INFO: IMEI packet received {"connection_id":190561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":190561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:55:02] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0112e0012d19c6c0072022b0002e014a26..."} 
[2026-09-23 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0112e0012d19c6c0072022b0002e014a26..."} 
[2026-09-23 16:55:02] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0112e0012d19c6c0072022b0002e014a26..."} 
[2026-09-23 16:55:02] local.INFO: Packet analysis {"connection_id":190561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:55:02] local.INFO: Extracted packet for processing {"connection_id":190561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756664000,"raw_latitude":119546544,"longitude_deg":75.6664,"latitude_deg":11.9546544,"altitude":46,"angle":330,"satellites":38,"speed":0,"hex_longitude":"2d19c6c0","hex_latitude":"072022b0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281613312001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764357460951040,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265387520,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162572000,"timestamp_ms":1790162572000,"timestamp_seconds":1790162572,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0112e0"} 
[2026-09-23 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 16:55:02] 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-09-23 16: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-09-23 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281613312001,"66":13102,"101":206,"83":41984,"24":0,"16":22764357460951040,"45":1859282989265387520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281613312001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764357460951040,"km_value":22764357460951.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265387520,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281613312001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265387520}} 
[2026-09-23 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":190561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:02] local.INFO: GPS data processed {"connection_id":190561,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:02] local.INFO: Acknowledgment sent {"connection_id":190561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:09] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:09] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:09] local.INFO: Packet analysis {"connection_id":190750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:09] local.INFO: Extracted packet for processing {"connection_id":190750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:09] 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-09-23 16:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55: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-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:55: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-09-23 16: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-09-23 16:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":190750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:09] local.INFO: GPS data processed {"connection_id":190750,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:09] local.INFO: Acknowledgment sent {"connection_id":190750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:15] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce025b00012d0becc00702a1e8000f01221c..."} 
[2026-09-23 16:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce025b00012d0becc00702a1e8000f01221c..."} 
[2026-09-23 16:55:15] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce025b00012d0becc00702a1e8000f01221c..."} 
[2026-09-23 16:55:15] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:55:15] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce02"} 
[2026-09-23 16:55:15] local.INFO: GPS Element Parsed {"raw_longitude":755756224,"raw_latitude":117613032,"longitude_deg":75.5756224,"latitude_deg":11.7613032,"altitude":15,"angle":290,"satellites":28,"speed":13,"hex_longitude":"2d0becc0","hex_latitude":"0702a1e8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281638912001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33534383092662272,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860750508890019840,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55: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-09-23 16:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790162656000,"timestamp_ms":1790162656000,"timestamp_seconds":1790162656,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce025b00"} 
[2026-09-23 16:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-23 16:55: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-09-23 16: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-09-23 16:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281638912001,"66":14515,"37":206,"94":11008,"24":13,"16":33534383092662272,"45":860750508890019840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281638912001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:55:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33534383092662272,"km_value":33534383092662.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":860750508890019840,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281638912001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":860750508890019840}} 
[2026-09-23 16:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:15] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:15] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:33] local.INFO: TCP Data received {"connection_id":192092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:55:33] local.INFO: Processing buffer {"connection_id":192092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 16:55:33] local.INFO: IMEI packet received {"connection_id":192092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 16:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":192092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:55:33] local.INFO: TCP Data received {"connection_id":190561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0164e8012d19c6c0072022b0002e014a28..."} 
[2026-09-23 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0164e8012d19c6c0072022b0002e014a28..."} 
[2026-09-23 16:55:33] local.INFO: Processing buffer {"connection_id":190561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0164e8012d19c6c0072022b0002e014a28..."} 
[2026-09-23 16:55:33] local.INFO: Packet analysis {"connection_id":190561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:55:33] local.INFO: Extracted packet for processing {"connection_id":190561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756664000,"raw_latitude":119546544,"longitude_deg":75.6664,"latitude_deg":11.9546544,"altitude":46,"angle":330,"satellites":40,"speed":0,"hex_longitude":"2d19c6c0","hex_latitude":"072022b0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281618432001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764357460951040,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857383033173356544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162593000,"timestamp_ms":1790162593000,"timestamp_seconds":1790162593,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0164e8"} 
[2026-09-23 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55: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-09-23 16: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":46,"data_length":795,"current_offset":136} 
[2026-09-23 16:55: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-09-23 16: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-09-23 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281618432001,"66":13037,"101":206,"83":41984,"24":0,"16":22764357460951040,"45":1857383033173356544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281618432001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764357460951040,"km_value":22764357460951.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857383033173356544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281618432001,"power":13037,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857383033173356544}} 
[2026-09-23 16:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":190561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:34] local.INFO: GPS data processed {"connection_id":190561,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:34] local.INFO: Acknowledgment sent {"connection_id":190561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:36] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:36] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:36] local.INFO: IMEI packet received {"connection_id":193432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":193432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:55:38] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:38] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:38] local.INFO: IMEI packet received {"connection_id":190751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":190751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:55:41] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:41] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:55:41] local.INFO: IMEI packet received {"connection_id":193432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":193432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:55:42] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:42] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:42] local.INFO: Packet analysis {"connection_id":193432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:42] local.INFO: Extracted packet for processing {"connection_id":193432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:42] 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-09-23 16:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":193432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:42] local.INFO: GPS data processed {"connection_id":193432,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:42] local.INFO: Acknowledgment sent {"connection_id":193432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:43] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:43] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:55:43] local.INFO: IMEI packet received {"connection_id":190751,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":190751,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:55:43] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce034178012d0bbb0007029ea0000e01151b..."} 
[2026-09-23 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce034178012d0bbb0007029ea0000e01151b..."} 
[2026-09-23 16:55:43] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce034178012d0bbb0007029ea0000e01151b..."} 
[2026-09-23 16:55:43] local.INFO: Packet analysis {"connection_id":190751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce03"} 
[2026-09-23 16:55:43] local.INFO: Extracted packet for processing {"connection_id":190751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce03"} 
[2026-09-23 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":755743488,"raw_latitude":117612192,"longitude_deg":75.5743488,"latitude_deg":11.7612192,"altitude":14,"angle":277,"satellites":27,"speed":11,"hex_longitude":"2d0bbb00","hex_latitude":"07029ea0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281654784001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33535005862920192,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845621228891707392,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:43] 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-09-23 16:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790162715000,"timestamp_ms":1790162715000,"timestamp_seconds":1790162715,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce034178"} 
[2026-09-23 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-09-23 16:55:43] 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-09-23 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-23 16:55:43] 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-09-23 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-09-23 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-09-23 16:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281654784001,"66":14428,"37":206,"94":11008,"24":11,"16":33535005862920192,"45":845621228891707392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281654784001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:55:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33535005862920192,"km_value":33535005862920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":845621228891707392,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281654784001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":845621228891707392}} 
[2026-09-23 16:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":190751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:44] local.INFO: GPS data processed {"connection_id":190751,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:44] local.INFO: Acknowledgment sent {"connection_id":190751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:46] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:46] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:55:46] local.INFO: Packet analysis {"connection_id":193432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:46] local.INFO: Extracted packet for processing {"connection_id":193432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:55:46] 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-09-23 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:55:46] 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-09-23 16: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-09-23 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:55:46] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":193432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:55:46] local.INFO: GPS data processed {"connection_id":193432,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:55:46] local.INFO: Acknowledgment sent {"connection_id":193432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:55:57] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:57] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:55:57] local.INFO: IMEI packet received {"connection_id":190752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":190752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:56:01] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:01] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:01] local.INFO: IMEI packet received {"connection_id":190752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":190752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:56:02] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce01b6f0012d19c6c0072022b0002e014a25..."} 
[2026-09-23 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce01b6f0012d19c6c0072022b0002e014a25..."} 
[2026-09-23 16:56:02] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce01b6f0012d19c6c0072022b0002e014a25..."} 
[2026-09-23 16:56:02] local.INFO: Packet analysis {"connection_id":190752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:56:02] local.INFO: Extracted packet for processing {"connection_id":190752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce01"} 
[2026-09-23 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756664000,"raw_latitude":119546544,"longitude_deg":75.6664,"latitude_deg":11.9546544,"altitude":46,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d19c6c0","hex_latitude":"072022b0","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281623808001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764357460951040,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857383033173356544,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162614000,"timestamp_ms":1790162614000,"timestamp_seconds":1790162614,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce01b6f0"} 
[2026-09-23 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16: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-09-23 16: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-09-23 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281623808001,"66":12950,"101":206,"83":41984,"24":0,"16":22764357460951040,"45":1857383033173356544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281623808001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764357460951040,"km_value":22764357460951.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857383033173356544,"description":"Unknown IO ID 45"} 
[2026-09-23 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281623808001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857383033173356544}} 
[2026-09-23 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":190752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:56:02] local.INFO: GPS data processed {"connection_id":190752,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:56:02] local.INFO: Acknowledgment sent {"connection_id":190752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:56:14] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce034948012d0bb90007029f78000d01271c..."} 
[2026-09-23 16:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce034948012d0bb90007029f78000d01271c..."} 
[2026-09-23 16:56:14] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce034948012d0bb90007029f78000d01271c..."} 
[2026-09-23 16:56:14] local.INFO: Packet analysis {"connection_id":190751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce03"} 
[2026-09-23 16:56:14] local.INFO: Extracted packet for processing {"connection_id":190751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce03"} 
[2026-09-23 16:56:14] local.INFO: GPS Element Parsed {"raw_longitude":755742976,"raw_latitude":117612408,"longitude_deg":75.5742976,"latitude_deg":11.7612408,"altitude":13,"angle":295,"satellites":28,"speed":13,"hex_longitude":"2d0bb900","hex_latitude":"07029f78","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281655040001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33535031632723968,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845269385170821120,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:14] 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-09-23 16:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790162717000,"timestamp_ms":1790162717000,"timestamp_seconds":1790162717,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce034948"} 
[2026-09-23 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-09-23 16:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-23 16:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190751,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-23 16:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-23 16:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-23 16:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281655040001,"66":14428,"37":206,"94":11008,"24":13,"16":33535031632723968,"45":845269385170821120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-23 16:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-23 16:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-23 16:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281655040001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:56:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-23 16:56:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-23 16:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33535031632723968,"km_value":33535031632723.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":845269385170821120,"description":"Unknown IO ID 45"} 
[2026-09-23 16:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281655040001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":845269385170821120}} 
[2026-09-23 16:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":190751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886045,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:56:15] local.INFO: GPS data processed {"connection_id":190751,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:56:15] local.INFO: Acknowledgment sent {"connection_id":190751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:56:31] local.INFO: TCP Data received {"connection_id":192093,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:31] local.INFO: Processing buffer {"connection_id":192093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:31] local.INFO: IMEI packet received {"connection_id":192093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:56:33] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0433a8012d19c7c0072023680032008126..."} 
[2026-09-23 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0433a8012d19c7c0072023680032008126..."} 
[2026-09-23 16:56:33] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0433a8012d19c7c0072023680032008126..."} 
[2026-09-23 16:56:33] local.INFO: Packet analysis {"connection_id":190752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:56:33] local.INFO: Extracted packet for processing {"connection_id":190752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119546728,"longitude_deg":75.6664256,"latitude_deg":11.9546728,"altitude":50,"angle":129,"satellites":38,"speed":7,"hex_longitude":"2d19c7c0","hex_latitude":"07202368","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281670656001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764378935787520,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139405950976,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162777000,"timestamp_ms":1790162777000,"timestamp_seconds":1790162777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0433a8"} 
[2026-09-23 16:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:56: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-09-23 16: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 16:56: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-09-23 16: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-09-23 16:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281670656001,"66":13156,"101":206,"83":41984,"24":7,"16":22764378935787520,"45":1857594139405950976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281670656001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:56:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764378935787520,"km_value":22764378935787.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139405950976,"description":"Unknown IO ID 45"} 
[2026-09-23 16:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281670656001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1857594139405950976}} 
[2026-09-23 16:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":190752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:56:33] local.INFO: GPS data processed {"connection_id":190752,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:56:33] local.INFO: Acknowledgment sent {"connection_id":190752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:56:36] local.INFO: TCP Data received {"connection_id":192093,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:36] local.INFO: Processing buffer {"connection_id":192093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:56:36] local.INFO: IMEI packet received {"connection_id":192093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":192093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:56:37] local.INFO: TCP Data received {"connection_id":192093,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:56:37] local.INFO: Processing buffer {"connection_id":192093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:56:37] local.INFO: Packet analysis {"connection_id":192093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:56:37] local.INFO: Extracted packet for processing {"connection_id":192093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:56:37] 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-09-23 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 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-09-23 16: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-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:56: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-09-23 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-09-23 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-09-23 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:56:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":192093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:56:37] local.INFO: GPS data processed {"connection_id":192093,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:56:37] local.INFO: Acknowledgment sent {"connection_id":192093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:56:40] local.INFO: TCP Data received {"connection_id":193433,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:40] local.INFO: Processing buffer {"connection_id":193433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:40] local.INFO: IMEI packet received {"connection_id":193433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-23 16:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":193433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:56:41] local.INFO: TCP Data received {"connection_id":193433,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:41] local.INFO: Processing buffer {"connection_id":193433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:41] local.INFO: IMEI packet received {"connection_id":193433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":193433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:56:42] local.INFO: TCP Data received {"connection_id":193433,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:42] local.INFO: Processing buffer {"connection_id":193433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:42] local.INFO: IMEI packet received {"connection_id":193433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":193433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:56:43] local.INFO: TCP Data received {"connection_id":193433,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:43] local.INFO: Processing buffer {"connection_id":193433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-23 16:56:43] local.INFO: IMEI packet received {"connection_id":193433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-23 16:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":193433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:56:56] local.INFO: TCP Data received {"connection_id":190562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:56] local.INFO: Processing buffer {"connection_id":190562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:56:56] local.INFO: IMEI packet received {"connection_id":190562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":190562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:57:02] local.INFO: TCP Data received {"connection_id":190562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:02] local.INFO: Processing buffer {"connection_id":190562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:02] local.INFO: IMEI packet received {"connection_id":190562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:57:02] local.INFO: TCP Data received {"connection_id":190562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce043790012d19c880072022a80031009c27..."} 
[2026-09-23 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce043790012d19c880072022a80031009c27..."} 
[2026-09-23 16:57:02] local.INFO: Processing buffer {"connection_id":190562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce043790012d19c880072022a80031009c27..."} 
[2026-09-23 16:57:02] local.INFO: Packet analysis {"connection_id":190562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:02] local.INFO: Extracted packet for processing {"connection_id":190562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119546536,"longitude_deg":75.6664448,"latitude_deg":11.9546536,"altitude":49,"angle":156,"satellites":39,"speed":9,"hex_longitude":"2d19c880","hex_latitude":"072022a8","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281670912001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22764391820689408,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508150114304,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162778000,"timestamp_ms":1790162778000,"timestamp_seconds":1790162778,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce043790"} 
[2026-09-23 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:57: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-09-23 16: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":100,"data_length":795,"current_offset":136} 
[2026-09-23 16:57:02] 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-09-23 16: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-09-23 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281670912001,"66":13156,"101":206,"83":41984,"24":9,"16":22764391820689408,"45":1857664508150114304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281670912001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:57:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22764391820689408,"km_value":22764391820689.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508150114304,"description":"Unknown IO ID 45"} 
[2026-09-23 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281670912001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1857664508150114304}} 
[2026-09-23 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":190562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:57:02] local.INFO: GPS data processed {"connection_id":190562,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:57:02] local.INFO: Acknowledgment sent {"connection_id":190562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:57:08] local.INFO: TCP Data received {"connection_id":192093,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:57:08] local.INFO: Processing buffer {"connection_id":192093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce003c08012d398a4006c913000028005125..."} 
[2026-09-23 16:57:08] local.INFO: Packet analysis {"connection_id":192093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:57:08] local.INFO: Extracted packet for processing {"connection_id":192093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce00"} 
[2026-09-23 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":37,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281527296001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:08] 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-09-23 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162517000,"timestamp_ms":1790162517000,"timestamp_seconds":1790162517,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce003c08"} 
[2026-09-23 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-09-23 16:57: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-09-23 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 16:57: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-09-23 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-09-23 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-09-23 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281527296001,"66":25941,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281527296001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:57:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281527296001,"power":25941,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":192093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:57:08] local.INFO: GPS data processed {"connection_id":192093,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:57:08] local.INFO: Acknowledgment sent {"connection_id":192093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:57:31] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:31] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:31] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:57:33] local.INFO: TCP Data received {"connection_id":190562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04f310012d19bc8007203f50002a015e27..."} 
[2026-09-23 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04f310012d19bc8007203f50002a015e27..."} 
[2026-09-23 16:57:33] local.INFO: Processing buffer {"connection_id":190562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04f310012d19bc8007203f50002a015e27..."} 
[2026-09-23 16:57:33] local.INFO: Packet analysis {"connection_id":190562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:33] local.INFO: Extracted packet for processing {"connection_id":190562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119553872,"longitude_deg":75.6661376,"latitude_deg":11.9553872,"altitude":42,"angle":350,"satellites":39,"speed":46,"hex_longitude":"2d19bc80","hex_latitude":"07203f50","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281682176001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22765697490747392,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755364864,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162826000,"timestamp_ms":1790162826000,"timestamp_seconds":1790162826,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04f310"} 
[2026-09-23 16:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:57: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-09-23 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 16:57:33] 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-09-23 16: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-09-23 16:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281682176001,"66":14233,"101":206,"83":41984,"24":46,"16":22765697490747392,"45":1856397870755364864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 16:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281682176001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:57:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 16:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22765697490747392,"km_value":22765697490747.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755364864,"description":"Unknown IO ID 45"} 
[2026-09-23 16:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281682176001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1856397870755364864}} 
[2026-09-23 16:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":190562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:57:33] local.INFO: GPS data processed {"connection_id":190562,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:57:33] local.INFO: Acknowledgment sent {"connection_id":190562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:57:36] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:36] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:57:36] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:57:38] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:57:38] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:57:38] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:38] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281604352001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:57: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-09-23 16:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790162818000,"timestamp_ms":1790162818000,"timestamp_seconds":1790162818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04d3d0"} 
[2026-09-23 16:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:57: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-09-23 16: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":85,"data_length":795,"current_offset":136} 
[2026-09-23 16:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281604352001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281604352001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:57:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281604352001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:57:38] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:57:38] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:57:56] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:56] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:57:56] local.INFO: IMEI packet received {"connection_id":190754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":190754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:58:00] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:00] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:00] local.INFO: IMEI packet received {"connection_id":190754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":190754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:58:01] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:01] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:01] local.INFO: IMEI packet received {"connection_id":190754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":190754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:58:02] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce056c28012d19b8400720ab680034014727..."} 
[2026-09-23 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce056c28012d19b8400720ab680034014727..."} 
[2026-09-23 16:58:02] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce056c28012d19b8400720ab680034014727..."} 
[2026-09-23 16:58:02] local.INFO: Packet analysis {"connection_id":190754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:58:02] local.INFO: Extracted packet for processing {"connection_id":190754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581544,"longitude_deg":75.6660288,"latitude_deg":11.9581544,"altitude":52,"angle":327,"satellites":39,"speed":21,"hex_longitude":"2d19b840","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281691136001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22767132009824256,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484973568,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162857000,"timestamp_ms":1790162857000,"timestamp_seconds":1790162857,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce056c28"} 
[2026-09-23 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 16:58:02] 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-09-23 16: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-09-23 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281691136001,"66":14265,"103":206,"83":41984,"24":21,"16":22767132009824256,"45":1853723858484973568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281691136001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22767132009824256,"km_value":22767132009824.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484973568,"description":"Unknown IO ID 45"} 
[2026-09-23 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281691136001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853723858484973568}} 
[2026-09-23 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":190754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:58:02] local.INFO: GPS data processed {"connection_id":190754,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:58:02] local.INFO: Acknowledgment sent {"connection_id":190754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:58:09] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:09] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:09] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:58:09] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 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-09-23 16:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281604352001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:09] 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-09-23 16:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790162818000,"timestamp_ms":1790162818000,"timestamp_seconds":1790162818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04d3d0"} 
[2026-09-23 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-09-23 16: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-09-23 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 16:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 16:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:58: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-09-23 16:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281604352001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281604352001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:58:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281604352001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:58:09] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:58:09] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:58:31] local.INFO: TCP Data received {"connection_id":190755,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:31] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:31] local.INFO: IMEI packet received {"connection_id":190755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":190755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:58:33] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce057010012d19b5c00720ac780034013127..."} 
[2026-09-23 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce057010012d19b5c00720ac780034013127..."} 
[2026-09-23 16:58:33] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce057010012d19b5c00720ac780034013127..."} 
[2026-09-23 16:58:33] local.INFO: Packet analysis {"connection_id":190754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:58:33] local.INFO: Extracted packet for processing {"connection_id":190754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119581816,"longitude_deg":75.6659648,"latitude_deg":11.9581816,"altitude":52,"angle":305,"satellites":39,"speed":24,"hex_longitude":"2d19b5c0","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-09-23 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281691392001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22767166369562624,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646020012032,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162858000,"timestamp_ms":1790162858000,"timestamp_seconds":1790162858,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce057010"} 
[2026-09-23 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:58: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-09-23 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281691392001,"66":14265,"103":206,"83":41984,"24":24,"16":22767166369562624,"45":1853301646020012032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281691392001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:58:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22767166369562624,"km_value":22767166369562.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646020012032,"description":"Unknown IO ID 45"} 
[2026-09-23 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281691392001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853301646020012032}} 
[2026-09-23 16:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":190754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:58:33] local.INFO: GPS data processed {"connection_id":190754,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:58:33] local.INFO: Acknowledgment sent {"connection_id":190754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:58:36] local.INFO: TCP Data received {"connection_id":190755,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:36] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:58:36] local.INFO: IMEI packet received {"connection_id":190755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":190755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:58:37] local.INFO: TCP Data received {"connection_id":190755,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:37] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:58:37] local.INFO: Packet analysis {"connection_id":190755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:58:37] local.INFO: Extracted packet for processing {"connection_id":190755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281604352001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:58:37] 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-09-23 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162818000,"timestamp_ms":1790162818000,"timestamp_seconds":1790162818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04d3d0"} 
[2026-09-23 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 16:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281604352001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281604352001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:58:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281604352001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":190755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:58:37] local.INFO: GPS data processed {"connection_id":190755,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:58:37] local.INFO: Acknowledgment sent {"connection_id":190755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:58:56] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:56] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:58:56] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:59:00] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:00] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:00] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:59:01] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:01] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 16:59:01] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:59:02] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0577e0012d19b0000720ae400035012627..."} 
[2026-09-23 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0577e0012d19b0000720ae400035012627..."} 
[2026-09-23 16:59:02] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0577e0012d19b0000720ae400035012627..."} 
[2026-09-23 16:59:02] local.INFO: Packet analysis {"connection_id":192095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:59:02] local.INFO: Extracted packet for processing {"connection_id":192095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119582272,"longitude_deg":75.6658176,"latitude_deg":11.9582272,"altitude":53,"angle":294,"satellites":39,"speed":26,"hex_longitude":"2d19b000","hex_latitude":"0720ae40","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281691648001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22767235089039360,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578305024,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790162860000,"timestamp_ms":1790162860000,"timestamp_seconds":1790162860,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0577e0"} 
[2026-09-23 16:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:59: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-09-23 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:59:02] 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-09-23 16: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-09-23 16:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281691648001,"66":14265,"103":206,"83":41984,"24":26,"16":22767235089039360,"45":1852597958578305024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281691648001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:59:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22767235089039360,"km_value":22767235089039.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578305024,"description":"Unknown IO ID 45"} 
[2026-09-23 16:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281691648001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1852597958578305024}} 
[2026-09-23 16:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":192095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:59:02] local.INFO: GPS data processed {"connection_id":192095,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:59:02] local.INFO: Acknowledgment sent {"connection_id":192095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:59:08] local.INFO: TCP Data received {"connection_id":190755,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:08] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:08] local.INFO: Packet analysis {"connection_id":190755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:59:08] local.INFO: Extracted packet for processing {"connection_id":190755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281604352001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:08] 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-09-23 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162818000,"timestamp_ms":1790162818000,"timestamp_seconds":1790162818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04d3d0"} 
[2026-09-23 16:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:59: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-09-23 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 16:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:59:08] 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-09-23 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281604352001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281604352001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:59:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281604352001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":190755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:59:08] local.INFO: GPS data processed {"connection_id":190755,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:59:08] local.INFO: Acknowledgment sent {"connection_id":190755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:59:31] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:31] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:31] local.INFO: IMEI packet received {"connection_id":193435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 16:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":193435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 16:59:33] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce057fb0012d19ab000720afb00036011927..."} 
[2026-09-23 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce057fb0012d19ab000720afb00036011927..."} 
[2026-09-23 16:59:33] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce057fb0012d19ab000720afb00036011927..."} 
[2026-09-23 16:59:33] local.INFO: Packet analysis {"connection_id":192095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:59:33] local.INFO: Extracted packet for processing {"connection_id":192095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce05"} 
[2026-09-23 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119582640,"longitude_deg":75.6656896,"latitude_deg":11.958264,"altitude":54,"angle":281,"satellites":39,"speed":26,"hex_longitude":"2d19ab00","hex_latitude":"0720afb0","is_valid_coordinates":true} 
[2026-09-23 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 16:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281692160001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22767299513548800,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979477462335488,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 16:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790162862000,"timestamp_ms":1790162862000,"timestamp_seconds":1790162862,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce057fb0"} 
[2026-09-23 16:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:59: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-09-23 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-23 16:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 16:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 16:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 16:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 16:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 16:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281692160001,"66":14080,"103":206,"83":41984,"24":26,"16":22767299513548800,"45":1850979477462335488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 16:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 16:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 16:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281692160001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:59:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 16:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 16:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22767299513548800,"km_value":22767299513548.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979477462335488,"description":"Unknown IO ID 45"} 
[2026-09-23 16:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281692160001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850979477462335488}} 
[2026-09-23 16:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":192095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:59:33] local.INFO: GPS data processed {"connection_id":192095,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:59:33] local.INFO: Acknowledgment sent {"connection_id":192095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 16:59:36] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:36] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 16:59:36] local.INFO: IMEI packet received {"connection_id":193435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 16:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":193435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 16:59:37] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:37] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce04d3d0012d398a4006c913000028005126..."} 
[2026-09-23 16:59:37] local.INFO: Packet analysis {"connection_id":193435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:59:37] local.INFO: Extracted packet for processing {"connection_id":193435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce04"} 
[2026-09-23 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 16: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-09-23 16:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281604352001,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 16:59:37] 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-09-23 16:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790162818000,"timestamp_ms":1790162818000,"timestamp_seconds":1790162818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce04d3d0"} 
[2026-09-23 16:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 16:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 16:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 16: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-09-23 16:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 16:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 16:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 16:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 16:59: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-09-23 16:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 16:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 16:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281604352001,"66":25919,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 16:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 16:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 16:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281604352001,"description":"Unknown IO ID 0"} 
[2026-09-23 16:59:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 16:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 16:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 16:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 16:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281604352001,"power":25919,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 16:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":193435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 16:59:37] local.INFO: GPS data processed {"connection_id":193435,"processed":1,"errors":0,"total":1} 
[2026-09-23 16:59:37] local.INFO: Acknowledgment sent {"connection_id":193435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:00:01] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:01] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:01] local.INFO: IMEI packet received {"connection_id":190565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":190565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:00:04] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:04] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:04] local.INFO: IMEI packet received {"connection_id":190565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":190565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:00:05] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce06ac78012d190a400720c9a80034012e27..."} 
[2026-09-23 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce06ac78012d190a400720c9a80034012e27..."} 
[2026-09-23 17:00:05] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce06ac78012d190a400720c9a80034012e27..."} 
[2026-09-23 17:00:05] local.INFO: Packet analysis {"connection_id":190565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:05] local.INFO: Extracted packet for processing {"connection_id":190565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":119589288,"longitude_deg":75.6615744,"latitude_deg":11.9589288,"altitude":52,"angle":302,"satellites":39,"speed":35,"hex_longitude":"2d190a40","hex_latitude":"0720c9a8","is_valid_coordinates":true} 
[2026-09-23 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281710336001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22769352507916288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813121093095653376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790162939000,"timestamp_ms":1790162939000,"timestamp_seconds":1790162939,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce06ac78"} 
[2026-09-23 17:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 17:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281710336001,"66":14048,"103":206,"83":41984,"24":35,"16":22769352507916288,"45":1813121093095653376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281710336001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:00:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22769352507916288,"km_value":22769352507916.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813121093095653376,"description":"Unknown IO ID 45"} 
[2026-09-23 17:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281710336001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1813121093095653376}} 
[2026-09-23 17:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":190565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:00:05] local.INFO: GPS data processed {"connection_id":190565,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:00:05] local.INFO: Acknowledgment sent {"connection_id":190565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:00:08] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce06eaf8012d398a4006c913000028005124..."} 
[2026-09-23 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce06eaf8012d398a4006c913000028005124..."} 
[2026-09-23 17:00:08] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce06eaf8012d398a4006c913000028005124..."} 
[2026-09-23 17:00:08] local.INFO: Packet analysis {"connection_id":193435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:08] local.INFO: Extracted packet for processing {"connection_id":193435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840896,"longitude_deg":75.8745664,"latitude_deg":11.3840896,"altitude":40,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c91300","is_valid_coordinates":true} 
[2026-09-23 17:00: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-09-23 17:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281681408001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:08] 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-09-23 17:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790162955000,"timestamp_ms":1790162955000,"timestamp_seconds":1790162955,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce06eaf8"} 
[2026-09-23 17:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:00: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-09-23 17:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 17:00: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-09-23 17:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:00:08] 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-09-23 17:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281681408001,"66":25908,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281681408001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:00:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 17:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281681408001,"power":25908,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 17:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":193435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:00:08] local.INFO: GPS data processed {"connection_id":193435,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:00:08] local.INFO: Acknowledgment sent {"connection_id":193435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:00:36] local.INFO: TCP Data received {"connection_id":190565,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce06fa98012d18f2400720d9f00038013526..."} 
[2026-09-23 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce06fa98012d18f2400720d9f00038013526..."} 
[2026-09-23 17:00:36] local.INFO: Processing buffer {"connection_id":190565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce06fa98012d18f2400720d9f00038013526..."} 
[2026-09-23 17:00:36] local.INFO: Packet analysis {"connection_id":190565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:36] local.INFO: Extracted packet for processing {"connection_id":190565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce06"} 
[2026-09-23 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119593456,"longitude_deg":75.66096,"latitude_deg":11.9593456,"altitude":56,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d18f240","hex_latitude":"0720d9f0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281712384001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22769726170071040,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804325000074340352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790162959000,"timestamp_ms":1790162959000,"timestamp_seconds":1790162959,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce06fa98"} 
[2026-09-23 17:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:00: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-09-23 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-23 17:00:36] 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-09-23 17: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-09-23 17:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281712384001,"66":14135,"103":206,"83":41984,"24":0,"16":22769726170071040,"45":1804325000074340352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281712384001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:00:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22769726170071040,"km_value":22769726170071.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804325000074340352,"description":"Unknown IO ID 45"} 
[2026-09-23 17:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281712384001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1804325000074340352}} 
[2026-09-23 17:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":190565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:00:36] local.INFO: GPS data processed {"connection_id":190565,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:00:36] local.INFO: Acknowledgment sent {"connection_id":190565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:00:46] local.INFO: TCP Data received {"connection_id":190756,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:46] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:46] local.INFO: IMEI packet received {"connection_id":190756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":190756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:00:50] local.INFO: TCP Data received {"connection_id":190756,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:50] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:00:50] local.INFO: IMEI packet received {"connection_id":190756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":190756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:00:51] local.INFO: TCP Data received {"connection_id":190756,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce073148012d398c8006c912d00028005123..."} 
[2026-09-23 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce073148012d398c8006c912d00028005123..."} 
[2026-09-23 17:00:51] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce073148012d398c8006c912d00028005123..."} 
[2026-09-23 17:00:51] local.INFO: Packet analysis {"connection_id":190756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:00:51] local.INFO: Extracted packet for processing {"connection_id":190756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758746240,"raw_latitude":113840848,"longitude_deg":75.874624,"latitude_deg":11.3840848,"altitude":40,"angle":81,"satellites":35,"speed":0,"hex_longitude":"2d398c80","hex_latitude":"06c912d0","is_valid_coordinates":true} 
[2026-09-23 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281716480001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835409920,"note":"Value kept but may cause issues"} 
[2026-09-23 17:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790162973000,"timestamp_ms":1790162973000,"timestamp_seconds":1790162973,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce073148"} 
[2026-09-23 17:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:00: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-09-23 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 17:00:51] 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-09-23 17:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:00: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-09-23 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281716480001,"66":27745,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146196804835409920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281716480001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:00:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835409920,"description":"Unknown IO ID 45"} 
[2026-09-23 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281716480001,"power":27745,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835409920}} 
[2026-09-23 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":190756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:00:51] local.INFO: GPS data processed {"connection_id":190756,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:00:51] local.INFO: Acknowledgment sent {"connection_id":190756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:00:56] local.INFO: TCP Data received {"connection_id":193436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: Processing buffer {"connection_id":193436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: IMEI packet received {"connection_id":193436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":193436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:00:56] local.INFO: TCP Data received {"connection_id":193436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: Processing buffer {"connection_id":193436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:00:56] local.INFO: IMEI packet received {"connection_id":193436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":193436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:01:02] local.INFO: TCP Data received {"connection_id":193436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:02] local.INFO: Processing buffer {"connection_id":193436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:02] local.INFO: IMEI packet received {"connection_id":193436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":193436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:01:02] local.INFO: TCP Data received {"connection_id":193436,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce07e110012d18af0007216d700046013d25..."} 
[2026-09-23 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce07e110012d18af0007216d700046013d25..."} 
[2026-09-23 17:01:02] local.INFO: Processing buffer {"connection_id":193436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce07e110012d18af0007216d700046013d25..."} 
[2026-09-23 17:01:02] local.INFO: Packet analysis {"connection_id":193436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:01:02] local.INFO: Extracted packet for processing {"connection_id":193436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119631216,"longitude_deg":75.6592384,"latitude_deg":11.9631216,"altitude":70,"angle":317,"satellites":37,"speed":31,"hex_longitude":"2d18af00","hex_latitude":"07216d70","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281730048001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22771787754373120,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783506432,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163018000,"timestamp_ms":1790163018000,"timestamp_seconds":1790163018,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce07e110"} 
[2026-09-23 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 17:01:02] 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-09-23 17: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-09-23 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281730048001,"66":13993,"106":206,"83":41984,"24":31,"16":22771787754373120,"45":1783777326783506432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281730048001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22771787754373120,"km_value":22771787754373.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783506432,"description":"Unknown IO ID 45"} 
[2026-09-23 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281730048001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1783777326783506432}} 
[2026-09-23 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":193436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:01:02] local.INFO: GPS data processed {"connection_id":193436,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:01:02] local.INFO: Acknowledgment sent {"connection_id":193436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:01:31] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:31] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:31] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:01:32] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:32] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:32] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:01:33] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:33] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:33] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:01:33] local.INFO: TCP Data received {"connection_id":193436,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce07e8e0012d18aa40072171680047012f25..."} 
[2026-09-23 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce07e8e0012d18aa40072171680047012f25..."} 
[2026-09-23 17:01:33] local.INFO: Processing buffer {"connection_id":193436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce07e8e0012d18aa40072171680047012f25..."} 
[2026-09-23 17:01:33] local.INFO: Packet analysis {"connection_id":193436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:01:33] local.INFO: Extracted packet for processing {"connection_id":193436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632232,"longitude_deg":75.6591168,"latitude_deg":11.9632232,"altitude":71,"angle":303,"satellites":37,"speed":31,"hex_longitude":"2d18aa40","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281732608001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22771865063784448,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460226560,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163020000,"timestamp_ms":1790163020000,"timestamp_seconds":1790163020,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce07e8e0"} 
[2026-09-23 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-09-23 17:01: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-09-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 17:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281732608001,"66":14004,"106":206,"83":41984,"24":31,"16":22771865063784448,"45":1778640408460226560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281732608001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:01:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22771865063784448,"km_value":22771865063784.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460226560,"description":"Unknown IO ID 45"} 
[2026-09-23 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281732608001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1778640408460226560}} 
[2026-09-23 17:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":193436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:01:33] local.INFO: GPS data processed {"connection_id":193436,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:01:33] local.INFO: Acknowledgment sent {"connection_id":193436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:01:36] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:36] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:01:36] local.INFO: IMEI packet received {"connection_id":190566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:01:37] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce080438012d398a4006c911b0002300821f..."} 
[2026-09-23 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce080438012d398a4006c911b0002300821f..."} 
[2026-09-23 17:01:37] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce080438012d398a4006c911b0002300821f..."} 
[2026-09-23 17:01:37] local.INFO: Packet analysis {"connection_id":190566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:01:37] local.INFO: Extracted packet for processing {"connection_id":190566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758745664,"raw_latitude":113840560,"longitude_deg":75.8745664,"latitude_deg":11.384056,"altitude":35,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d398a40","hex_latitude":"06c911b0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281721088001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566221329203200,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146830123532996608,"note":"Value kept but may cause issues"} 
[2026-09-23 17:01:37] 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-09-23 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163027000,"timestamp_ms":1790163027000,"timestamp_seconds":1790163027,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce080438"} 
[2026-09-23 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:01: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-09-23 17: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-09-23 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:01: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-09-23 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281721088001,"66":27647,"82":206,"81":21504,"24":0,"16":406566221329203200,"45":4146830123532996608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281721088001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:01:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566221329203200,"km_value":406566221329203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146830123532996608,"description":"Unknown IO ID 45"} 
[2026-09-23 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281721088001,"power":27647,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146830123532996608}} 
[2026-09-23 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:01:37] local.INFO: GPS data processed {"connection_id":190566,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:01:37] local.INFO: Acknowledgment sent {"connection_id":190566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:01:56] local.INFO: TCP Data received {"connection_id":193437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:56] local.INFO: Processing buffer {"connection_id":193437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:01:56] local.INFO: IMEI packet received {"connection_id":193437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":193437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:02:01] local.INFO: TCP Data received {"connection_id":193437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:01] local.INFO: Processing buffer {"connection_id":193437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:01] local.INFO: IMEI packet received {"connection_id":193437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":193437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:02:02] local.INFO: TCP Data received {"connection_id":193437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce07f0b0012d18a540072174380048012326..."} 
[2026-09-23 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce07f0b0012d18a540072174380048012326..."} 
[2026-09-23 17:02:02] local.INFO: Processing buffer {"connection_id":193437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce07f0b0012d18a540072174380048012326..."} 
[2026-09-23 17:02:02] local.INFO: Packet analysis {"connection_id":193437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:02:02] local.INFO: Extracted packet for processing {"connection_id":193437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce07"} 
[2026-09-23 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119632952,"longitude_deg":75.6589888,"latitude_deg":11.9632952,"altitude":72,"angle":291,"satellites":38,"speed":31,"hex_longitude":"2d18a540","hex_latitude":"07217438","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281733120001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22771933783261184,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321111040,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163022000,"timestamp_ms":1790163022000,"timestamp_seconds":1790163022,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce07f0b0"} 
[2026-09-23 17:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:02: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-09-23 17:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 17:02:02] 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-09-23 17: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-09-23 17:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281733120001,"66":14070,"106":206,"83":41984,"24":31,"16":22771933783261184,"45":1777303402321111040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 17:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281733120001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:02:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22771933783261184,"km_value":22771933783261.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321111040,"description":"Unknown IO ID 45"} 
[2026-09-23 17:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281733120001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1777303402321111040}} 
[2026-09-23 17:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":193437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:02:02] local.INFO: GPS data processed {"connection_id":193437,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:02:02] local.INFO: Acknowledgment sent {"connection_id":193437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:02:08] local.INFO: TCP Data received {"connection_id":190566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce085258012d398b0006c911380023008225..."} 
[2026-09-23 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce085258012d398b0006c911380023008225..."} 
[2026-09-23 17:02:08] local.INFO: Processing buffer {"connection_id":190566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce085258012d398b0006c911380023008225..."} 
[2026-09-23 17:02:08] local.INFO: Packet analysis {"connection_id":190566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:08] local.INFO: Extracted packet for processing {"connection_id":190566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758745856,"raw_latitude":113840440,"longitude_deg":75.8745856,"latitude_deg":11.384044,"altitude":35,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d398b00","hex_latitude":"06c91138","is_valid_coordinates":true} 
[2026-09-23 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281734912001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566242804039680,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146196804835323904,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:08] 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-09-23 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163047000,"timestamp_ms":1790163047000,"timestamp_seconds":1790163047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce085258"} 
[2026-09-23 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:02: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-09-23 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 17:02:08] 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-09-23 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:02: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-09-23 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281734912001,"66":27593,"82":206,"81":21504,"24":0,"16":406566242804039680,"45":4146196804835323904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281734912001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:02:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566242804039680,"km_value":406566242804039.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146196804835323904,"description":"Unknown IO ID 45"} 
[2026-09-23 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281734912001,"power":27593,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146196804835323904}} 
[2026-09-23 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:02:08] local.INFO: GPS data processed {"connection_id":190566,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:02:08] local.INFO: Acknowledgment sent {"connection_id":190566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:02:31] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:31] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:31] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:02:33] local.INFO: TCP Data received {"connection_id":193437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0817c0012d188380072180580047011926..."} 
[2026-09-23 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0817c0012d188380072180580047011926..."} 
[2026-09-23 17:02:33] local.INFO: Processing buffer {"connection_id":193437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0817c0012d188380072180580047011926..."} 
[2026-09-23 17:02:33] local.INFO: Packet analysis {"connection_id":193437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:33] local.INFO: Extracted packet for processing {"connection_id":193437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636056,"longitude_deg":75.6581248,"latitude_deg":11.9636056,"altitude":71,"angle":281,"satellites":38,"speed":38,"hex_longitude":"2d188380","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281733632001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22772371869925376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027437742080,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163032000,"timestamp_ms":1790163032000,"timestamp_seconds":1790163032,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0817c0"} 
[2026-09-23 17:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:02: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-09-23 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-23 17:02:33] 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-09-23 17: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-09-23 17:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281733632001,"66":13863,"106":206,"83":41984,"24":38,"16":22772371869925376,"45":1775896027437742080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 17:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281733632001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:02:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22772371869925376,"km_value":22772371869925.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027437742080,"description":"Unknown IO ID 45"} 
[2026-09-23 17:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281733632001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1775896027437742080}} 
[2026-09-23 17:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":193437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:02:33] local.INFO: GPS data processed {"connection_id":193437,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:02:33] local.INFO: Acknowledgment sent {"connection_id":193437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:02:36] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:36] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:36] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:02:37] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:37] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:02:37] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:02:41] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce08a078012d398bc006c910800024008227..."} 
[2026-09-23 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce08a078012d398bc006c910800024008227..."} 
[2026-09-23 17:02:41] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce08a078012d398bc006c910800024008227..."} 
[2026-09-23 17:02:41] local.INFO: Packet analysis {"connection_id":192096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:41] local.INFO: Extracted packet for processing {"connection_id":192096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce08"} 
[2026-09-23 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758746048,"raw_latitude":113840256,"longitude_deg":75.8746048,"latitude_deg":11.3840256,"altitude":36,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d398bc0","hex_latitude":"06c91080","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281740032001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566255688941568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146407911067826176,"note":"Value kept but may cause issues"} 
[2026-09-23 17:02: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-09-23 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790163067000,"timestamp_ms":1790163067000,"timestamp_seconds":1790163067,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce08a078"} 
[2026-09-23 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:02: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-09-23 17: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 17:02:41] 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-09-23 17: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-09-23 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:02: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-09-23 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281740032001,"66":27658,"82":206,"81":21504,"24":0,"16":406566255688941568,"45":4146407911067826176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281740032001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:02:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566255688941568,"km_value":406566255688941.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146407911067826176,"description":"Unknown IO ID 45"} 
[2026-09-23 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281740032001,"power":27658,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4146407911067826176}} 
[2026-09-23 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":192096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:02:41] local.INFO: GPS data processed {"connection_id":192096,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:02:41] local.INFO: Acknowledgment sent {"connection_id":192096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:02:57] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:57] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:02:57] local.INFO: IMEI packet received {"connection_id":190757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":190757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:03:00] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:00] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:00] local.INFO: IMEI packet received {"connection_id":190757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":190757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:03:01] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce098ec0012d1824c00721b668004b016528..."} 
[2026-09-23 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce098ec0012d1824c00721b668004b016528..."} 
[2026-09-23 17:03:01] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce098ec0012d1824c00721b668004b016528..."} 
[2026-09-23 17:03:01] local.INFO: Packet analysis {"connection_id":190757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:03:01] local.INFO: Extracted packet for processing {"connection_id":190757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649896,"longitude_deg":75.6556992,"latitude_deg":11.9649896,"altitude":75,"angle":357,"satellites":40,"speed":8,"hex_longitude":"2d1824c0","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281758464001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22773969597759488,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608640000,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790163128000,"timestamp_ms":1790163128000,"timestamp_seconds":1790163128,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce098ec0"} 
[2026-09-23 17:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:03: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-09-23 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 17:03:01] 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-09-23 17: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-09-23 17:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281758464001,"66":13156,"105":206,"83":41984,"24":8,"16":22773969597759488,"45":1737615430608640000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281758464001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22773969597759488,"km_value":22773969597759.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608640000,"description":"Unknown IO ID 45"} 
[2026-09-23 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281758464001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737615430608640000}} 
[2026-09-23 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":190757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:03:01] local.INFO: GPS data processed {"connection_id":190757,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:03:01] local.INFO: Acknowledgment sent {"connection_id":190757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:03:32] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0992a8012d1824800721b700004b013628..."} 
[2026-09-23 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0992a8012d1824800721b700004b013628..."} 
[2026-09-23 17:03:32] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0992a8012d1824800721b700004b013628..."} 
[2026-09-23 17:03:32] local.INFO: Packet analysis {"connection_id":190757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:03:32] local.INFO: Extracted packet for processing {"connection_id":190757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650048,"longitude_deg":75.6556928,"latitude_deg":11.9650048,"altitude":75,"angle":310,"satellites":40,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b700","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281760768001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22773978187694080,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934760448,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790163129000,"timestamp_ms":1790163129000,"timestamp_seconds":1790163129,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0992a8"} 
[2026-09-23 17:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:03: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-09-23 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-23 17:03:32] 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-09-23 17: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-09-23 17:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281760768001,"66":13156,"105":206,"83":41984,"24":6,"16":22773978187694080,"45":1739726492934760448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281760768001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:03:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22773978187694080,"km_value":22773978187694.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934760448,"description":"Unknown IO ID 45"} 
[2026-09-23 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281760768001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934760448}} 
[2026-09-23 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":190757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:03:32] local.INFO: GPS data processed {"connection_id":190757,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:03:32] local.INFO: Acknowledgment sent {"connection_id":190757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:03:46] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:46] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:46] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:03:51] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:51] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:03:51] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:03:52] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:52] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:52] local.INFO: Packet analysis {"connection_id":192097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:03:52] local.INFO: Extracted packet for processing {"connection_id":192097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:52] 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-09-23 17:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:03: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-09-23 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:03:52] 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-09-23 17: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-09-23 17:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":192097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:03:52] local.INFO: GPS data processed {"connection_id":192097,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:03:52] local.INFO: Acknowledgment sent {"connection_id":192097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:03:56] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:56] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:03:56] local.INFO: IMEI packet received {"connection_id":190758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":190758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:03:56] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:56] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:03:56] local.INFO: Packet analysis {"connection_id":192097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:03:56] local.INFO: Extracted packet for processing {"connection_id":192097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:03:56] 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-09-23 17:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:03:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":192097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:03:56] local.INFO: GPS data processed {"connection_id":192097,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:03:56] local.INFO: Acknowledgment sent {"connection_id":192097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:04:01] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:01] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:01] local.INFO: IMEI packet received {"connection_id":190758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":190758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:04:02] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce099690012d1824000721b728004b010a28..."} 
[2026-09-23 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce099690012d1824000721b728004b010a28..."} 
[2026-09-23 17:04:02] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce099690012d1824000721b728004b010a28..."} 
[2026-09-23 17:04:02] local.INFO: Packet analysis {"connection_id":190758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:04:02] local.INFO: Extracted packet for processing {"connection_id":190758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650088,"longitude_deg":75.65568,"latitude_deg":11.9650088,"altitude":75,"angle":266,"satellites":40,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281761024001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22773986777628672,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190621696,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163130000,"timestamp_ms":1790163130000,"timestamp_seconds":1790163130,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce099690"} 
[2026-09-23 17:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:04: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-09-23 17: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":100,"data_length":795,"current_offset":136} 
[2026-09-23 17:04:02] 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-09-23 17: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-09-23 17:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281761024001,"66":12917,"105":206,"83":41984,"24":6,"16":22773986777628672,"45":1739656124190621696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281761024001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:04:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22773986777628672,"km_value":22773986777628.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190621696,"description":"Unknown IO ID 45"} 
[2026-09-23 17:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281761024001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190621696}} 
[2026-09-23 17:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":190758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:04:02] local.INFO: GPS data processed {"connection_id":190758,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:04:02] local.INFO: Acknowledgment sent {"connection_id":190758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:04:26] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:26] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:26] local.INFO: IMEI packet received {"connection_id":193438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":193438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:04:31] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:31] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:04:31] local.INFO: IMEI packet received {"connection_id":193438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":193438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:04:32] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:04:32] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:04:32] local.INFO: Packet analysis {"connection_id":193438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:04:32] local.INFO: Extracted packet for processing {"connection_id":193438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:32] 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-09-23 17:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:04: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-09-23 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:04:32] 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-09-23 17:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:04:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":193438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:04:32] local.INFO: GPS data processed {"connection_id":193438,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:04:32] local.INFO: Acknowledgment sent {"connection_id":193438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:04:33] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce09e0c8012d1824800721b7e8004a010a28..."} 
[2026-09-23 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce09e0c8012d1824800721b7e8004a010a28..."} 
[2026-09-23 17:04:33] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce09e0c8012d1824800721b7e8004a010a28..."} 
[2026-09-23 17:04:33] local.INFO: Packet analysis {"connection_id":190758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:04:33] local.INFO: Extracted packet for processing {"connection_id":190758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce09"} 
[2026-09-23 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650280,"longitude_deg":75.6556928,"latitude_deg":11.965028,"altitude":74,"angle":266,"satellites":40,"speed":2,"hex_longitude":"2d182480","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281761280001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702276608,"note":"Value kept but may cause issues"} 
[2026-09-23 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163149000,"timestamp_ms":1790163149000,"timestamp_seconds":1790163149,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce09e0c8"} 
[2026-09-23 17:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:04: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-09-23 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 17:04: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-09-23 17: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-09-23 17:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281761280001,"66":13080,"105":206,"83":41984,"24":2,"16":22774042612203520,"45":1739515386702276608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281761280001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702276608,"description":"Unknown IO ID 45"} 
[2026-09-23 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281761280001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739515386702276608}} 
[2026-09-23 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":190758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:04:33] local.INFO: GPS data processed {"connection_id":190758,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:04:33] local.INFO: Acknowledgment sent {"connection_id":190758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:04:56] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:56] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:04:56] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:05:01] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:05:01] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:05:01] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:05:02] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a2ee8012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a2ee8012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:02] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a2ee8012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:02] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:02] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281766144001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190681088,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163169000,"timestamp_ms":1790163169000,"timestamp_seconds":1790163169,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a2ee8"} 
[2026-09-23 17:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:05: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-09-23 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 17:05:02] 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-09-23 17: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-09-23 17:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281766144001,"66":12972,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190681088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281766144001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190681088,"description":"Unknown IO ID 45"} 
[2026-09-23 17:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281766144001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190681088}} 
[2026-09-23 17:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:05:02] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:05:02] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:05:03] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:03] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:03] local.INFO: Packet analysis {"connection_id":193438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:03] local.INFO: Extracted packet for processing {"connection_id":193438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:03] 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-09-23 17:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:05: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-09-23 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:05:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":193438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:05:03] local.INFO: GPS data processed {"connection_id":193438,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:05:03] local.INFO: Acknowledgment sent {"connection_id":193438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:05:26] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:26] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:26] local.INFO: IMEI packet received {"connection_id":190759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":190759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:05:31] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:31] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:05:31] local.INFO: IMEI packet received {"connection_id":190759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":190759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:05:32] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:32] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:05:32] local.INFO: Packet analysis {"connection_id":190759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:32] local.INFO: Extracted packet for processing {"connection_id":190759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:32] 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-09-23 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:05:32] 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-09-23 17: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-09-23 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:05:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":190759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:05:32] local.INFO: GPS data processed {"connection_id":190759,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:05:32] local.INFO: Acknowledgment sent {"connection_id":190759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:05:33] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a7d08012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a7d08012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:33] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a7d08012d1824800721b7c8004a010a27..."} 
[2026-09-23 17:05:33] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:33] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281771264001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163189000,"timestamp_ms":1790163189000,"timestamp_seconds":1790163189,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a7d08"} 
[2026-09-23 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:05: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-09-23 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-23 17:05:33] 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-09-23 17:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281771264001,"66":12950,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281771264001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281771264001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:05:34] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:05:34] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:06:01] local.INFO: TCP Data received {"connection_id":192099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:01] local.INFO: Processing buffer {"connection_id":192099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:01] local.INFO: IMEI packet received {"connection_id":192099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":192099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:06:03] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:03] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:03] local.INFO: Packet analysis {"connection_id":190759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:03] local.INFO: Extracted packet for processing {"connection_id":190759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:06: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-09-23 17:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:03] 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-09-23 17:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:06: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-09-23 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:06:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":190759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:06:03] local.INFO: GPS data processed {"connection_id":190759,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:06:03] local.INFO: Acknowledgment sent {"connection_id":190759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:06:06] local.INFO: TCP Data received {"connection_id":192099,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:06] local.INFO: Processing buffer {"connection_id":192099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:06] local.INFO: IMEI packet received {"connection_id":192099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":192099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:06:07] local.INFO: TCP Data received {"connection_id":192099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0ac740012d1824800721b7c8004a010a26..."} 
[2026-09-23 17:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0ac740012d1824800721b7c8004a010a26..."} 
[2026-09-23 17:06:07] local.INFO: Processing buffer {"connection_id":192099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0ac740012d1824800721b7c8004a010a26..."} 
[2026-09-23 17:06:07] local.INFO: Packet analysis {"connection_id":192099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:07] local.INFO: Extracted packet for processing {"connection_id":192099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281776384001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163208000,"timestamp_ms":1790163208000,"timestamp_seconds":1790163208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0ac740"} 
[2026-09-23 17:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 17:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281776384001,"66":12841,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281776384001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281776384001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":192099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:06:07] local.INFO: GPS data processed {"connection_id":192099,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:06:07] local.INFO: Acknowledgment sent {"connection_id":192099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:06:31] local.INFO: TCP Data received {"connection_id":193439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:31] local.INFO: Processing buffer {"connection_id":193439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:31] local.INFO: IMEI packet received {"connection_id":193439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":193439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:06:36] local.INFO: TCP Data received {"connection_id":193439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:36] local.INFO: Processing buffer {"connection_id":193439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:06:36] local.INFO: IMEI packet received {"connection_id":193439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:06:37] local.INFO: TCP Data received {"connection_id":193439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:37] local.INFO: Processing buffer {"connection_id":193439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:06:37] local.INFO: Packet analysis {"connection_id":193439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:37] local.INFO: Extracted packet for processing {"connection_id":193439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:06: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-09-23 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:37] 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-09-23 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:06: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-09-23 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:06: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-09-23 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:06:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":193439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:06:37] local.INFO: GPS data processed {"connection_id":193439,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:06:37] local.INFO: Acknowledgment sent {"connection_id":193439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:06:38] local.INFO: TCP Data received {"connection_id":192099,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0b1560012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0b1560012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:06:38] local.INFO: Processing buffer {"connection_id":192099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0b1560012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:06:38] local.INFO: Packet analysis {"connection_id":192099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:06:38] local.INFO: Extracted packet for processing {"connection_id":192099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281781248001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790163228000,"timestamp_ms":1790163228000,"timestamp_seconds":1790163228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0b1560"} 
[2026-09-23 17:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281781248001,"66":12841,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281781248001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:06:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281781248001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":192099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:06:38] local.INFO: GPS data processed {"connection_id":192099,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:06:38] local.INFO: Acknowledgment sent {"connection_id":192099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:06:56] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:56] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:06:56] local.INFO: IMEI packet received {"connection_id":190567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:07:01] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:01] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:01] local.INFO: IMEI packet received {"connection_id":190567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":190567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:07:02] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0b5f98012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0b5f98012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:07:02] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0b5f98012d1824800721b7c8004a010a29..."} 
[2026-09-23 17:07:02] local.INFO: Packet analysis {"connection_id":190567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:07:02] local.INFO: Extracted packet for processing {"connection_id":190567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281786368001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163247000,"timestamp_ms":1790163247000,"timestamp_seconds":1790163247,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0b5f98"} 
[2026-09-23 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281786368001,"66":12689,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281786368001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281786368001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":190567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:07:02] local.INFO: GPS data processed {"connection_id":190567,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:07:02] local.INFO: Acknowledgment sent {"connection_id":190567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:07:08] local.INFO: TCP Data received {"connection_id":193439,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:08] local.INFO: Processing buffer {"connection_id":193439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:08] local.INFO: Packet analysis {"connection_id":193439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:07:08] local.INFO: Extracted packet for processing {"connection_id":193439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:07: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-09-23 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:08] 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-09-23 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:07: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-09-23 17:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:07:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":193439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:07:08] local.INFO: GPS data processed {"connection_id":193439,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:07:08] local.INFO: Acknowledgment sent {"connection_id":193439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:07:31] local.INFO: TCP Data received {"connection_id":190568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:31] local.INFO: Processing buffer {"connection_id":190568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:31] local.INFO: IMEI packet received {"connection_id":190568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:07:33] local.INFO: TCP Data received {"connection_id":190567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0bb1a0012d1824800721b7c8004a010a2a..."} 
[2026-09-23 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0bb1a0012d1824800721b7c8004a010a2a..."} 
[2026-09-23 17:07:33] local.INFO: Processing buffer {"connection_id":190567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0bb1a0012d1824800721b7c8004a010a2a..."} 
[2026-09-23 17:07:33] local.INFO: Packet analysis {"connection_id":190567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:07:33] local.INFO: Extracted packet for processing {"connection_id":190567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0b"} 
[2026-09-23 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":74,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281791232001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774042612203520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163268000,"timestamp_ms":1790163268000,"timestamp_seconds":1790163268,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0bb1a0"} 
[2026-09-23 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:07: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-09-23 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:07: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-09-23 17: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-09-23 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281791232001,"66":12776,"105":206,"83":41984,"24":0,"16":22774042612203520,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281791232001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774042612203520,"km_value":22774042612203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281791232001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":190567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:07:34] local.INFO: GPS data processed {"connection_id":190567,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:07:34] local.INFO: Acknowledgment sent {"connection_id":190567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:07:36] local.INFO: TCP Data received {"connection_id":190568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:36] local.INFO: Processing buffer {"connection_id":190568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:07:36] local.INFO: IMEI packet received {"connection_id":190568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:07:37] local.INFO: TCP Data received {"connection_id":190568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:37] local.INFO: Processing buffer {"connection_id":190568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0a0bc0012d39888006c91060002300ea27..."} 
[2026-09-23 17:07:37] local.INFO: Packet analysis {"connection_id":190568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:07:37] local.INFO: Extracted packet for processing {"connection_id":190568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0a"} 
[2026-09-23 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758745216,"raw_latitude":113840224,"longitude_deg":75.8745216,"latitude_deg":11.3840224,"altitude":35,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d398880","hex_latitude":"06c91060","is_valid_coordinates":true} 
[2026-09-23 17:07: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-09-23 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281767168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145844961114353664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:07:37] 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-09-23 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163160000,"timestamp_ms":1790163160000,"timestamp_seconds":1790163160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0a0bc0"} 
[2026-09-23 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-09-23 17: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-09-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:07: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-09-23 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-09-23 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-09-23 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281767168001,"66":27789,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145844961114353664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281767168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:07:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145844961114353664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281767168001,"power":27789,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145844961114353664}} 
[2026-09-23 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:07:37] local.INFO: GPS data processed {"connection_id":190568,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:07:37] local.INFO: Acknowledgment sent {"connection_id":190568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:07:54] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:54] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:54] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:07:57] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:57] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:07:57] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:08:01] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:01] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:01] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:08:02] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0c03a8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0c03a8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:02] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0c03a8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:02] local.INFO: Packet analysis {"connection_id":192100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:08:02] local.INFO: Extracted packet for processing {"connection_id":192100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":76,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281796608001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774081266909184,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163289000,"timestamp_ms":1790163289000,"timestamp_seconds":1790163289,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0c03a8"} 
[2026-09-23 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:08: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-09-23 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 17:08:02] 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-09-23 17:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281796608001,"66":12722,"105":206,"83":41984,"24":0,"16":22774081266909184,"45":1739656124190672896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281796608001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774081266909184,"km_value":22774081266909.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-09-23 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281796608001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-09-23 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":192100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:08:02] local.INFO: GPS data processed {"connection_id":192100,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:08:02] local.INFO: Acknowledgment sent {"connection_id":192100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:08:07] local.INFO: TCP Data received {"connection_id":190568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:07] local.INFO: Processing buffer {"connection_id":190568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:07] local.INFO: Packet analysis {"connection_id":190568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:08:07] local.INFO: Extracted packet for processing {"connection_id":190568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758745088,"raw_latitude":113840312,"longitude_deg":75.8745088,"latitude_deg":11.3840312,"altitude":35,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d398800","hex_latitude":"06c910b8","is_valid_coordinates":true} 
[2026-09-23 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281768960001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145704223625994240,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08: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-09-23 17:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163435000,"timestamp_ms":1790163435000,"timestamp_seconds":1790163435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0e3df8"} 
[2026-09-23 17:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:08: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-09-23 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 17:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281768960001,"66":26452,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145704223625994240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281768960001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:08:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145704223625994240,"description":"Unknown IO ID 45"} 
[2026-09-23 17:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281768960001,"power":26452,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145704223625994240}} 
[2026-09-23 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":190568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:08:07] local.INFO: GPS data processed {"connection_id":190568,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:08:07] local.INFO: Acknowledgment sent {"connection_id":190568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:08:31] local.INFO: TCP Data received {"connection_id":192101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:31] local.INFO: Processing buffer {"connection_id":192101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:31] local.INFO: IMEI packet received {"connection_id":192101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":192101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:08:33] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0c55b0012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0c55b0012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:33] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0c55b0012d1823000721b630004c010a2a..."} 
[2026-09-23 17:08:33] local.INFO: Packet analysis {"connection_id":192100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:08:33] local.INFO: Extracted packet for processing {"connection_id":192100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":76,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281801984001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774081266909184,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163310000,"timestamp_ms":1790163310000,"timestamp_seconds":1790163310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0c55b0"} 
[2026-09-23 17:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:08: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-09-23 17: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-09-23 17: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-09-23 17: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-09-23 17:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281801984001,"66":12711,"105":206,"83":41984,"24":0,"16":22774081266909184,"45":1739233911725502464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281801984001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774081266909184,"km_value":22774081266909.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-09-23 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281801984001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-09-23 17:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":192100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:08:33] local.INFO: GPS data processed {"connection_id":192100,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:08:33] local.INFO: Acknowledgment sent {"connection_id":192100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:08:36] local.INFO: TCP Data received {"connection_id":192101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:36] local.INFO: Processing buffer {"connection_id":192101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:08:36] local.INFO: IMEI packet received {"connection_id":192101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":192101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:08:37] local.INFO: TCP Data received {"connection_id":192101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:37] local.INFO: Processing buffer {"connection_id":192101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0e3df8012d39880006c910b8002300ea2a..."} 
[2026-09-23 17:08:37] local.INFO: Packet analysis {"connection_id":192101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:08:37] local.INFO: Extracted packet for processing {"connection_id":192101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758745088,"raw_latitude":113840312,"longitude_deg":75.8745088,"latitude_deg":11.3840312,"altitude":35,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d398800","hex_latitude":"06c910b8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281768960001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145704223625994240,"note":"Value kept but may cause issues"} 
[2026-09-23 17:08:37] 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-09-23 17:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163435000,"timestamp_ms":1790163435000,"timestamp_seconds":1790163435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0e3df8"} 
[2026-09-23 17:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:08: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-09-23 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 17:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281768960001,"66":26452,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145704223625994240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281768960001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:08:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145704223625994240,"description":"Unknown IO ID 45"} 
[2026-09-23 17:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281768960001,"power":26452,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145704223625994240}} 
[2026-09-23 17:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":192101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:08:37] local.INFO: GPS data processed {"connection_id":192101,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:08:37] local.INFO: Acknowledgment sent {"connection_id":192101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:08:56] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:56] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:56] local.INFO: IMEI packet received {"connection_id":190760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":190760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:08:57] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:57] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:08:57] local.INFO: IMEI packet received {"connection_id":190760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":190760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:09:01] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:01] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:01] local.INFO: IMEI packet received {"connection_id":190760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":190760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:09:02] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0ca7b8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0ca7b8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:09:02] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0ca7b8012d1823000721b630004c010a2a..."} 
[2026-09-23 17:09:02] local.INFO: Packet analysis {"connection_id":190760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:09:02] local.INFO: Extracted packet for processing {"connection_id":190760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":76,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281807360001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774081266909184,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163331000,"timestamp_ms":1790163331000,"timestamp_seconds":1790163331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0ca7b8"} 
[2026-09-23 17:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":167,"data_length":795,"current_offset":136} 
[2026-09-23 17:09:02] 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-09-23 17: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-09-23 17:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281807360001,"66":12645,"105":206,"83":41984,"24":0,"16":22774081266909184,"45":1739233911725502464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281807360001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:09:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774081266909184,"km_value":22774081266909.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-09-23 17:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281807360001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-09-23 17:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":190760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:09:02] local.INFO: GPS data processed {"connection_id":190760,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:09:02] local.INFO: Acknowledgment sent {"connection_id":190760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:09:08] local.INFO: TCP Data received {"connection_id":192101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0f4f68012d39880006c910b8002600ea2a..."} 
[2026-09-23 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0f4f68012d39880006c910b8002600ea2a..."} 
[2026-09-23 17:09:08] local.INFO: Processing buffer {"connection_id":192101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0f4f68012d39880006c910b8002600ea2a..."} 
[2026-09-23 17:09:08] local.INFO: Packet analysis {"connection_id":192101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:09:08] local.INFO: Extracted packet for processing {"connection_id":192101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758745088,"raw_latitude":113840312,"longitude_deg":75.8745088,"latitude_deg":11.3840312,"altitude":38,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d398800","hex_latitude":"06c910b8","is_valid_coordinates":true} 
[2026-09-23 17:09: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-09-23 17:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281839360001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566320113451008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145563486137661440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:08] 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-09-23 17:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163505000,"timestamp_ms":1790163505000,"timestamp_seconds":1790163505,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0f4f68"} 
[2026-09-23 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-09-23 17:09: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-09-23 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-23 17:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 17:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281839360001,"66":26408,"82":206,"81":21504,"24":0,"16":406566320113451008,"45":4145563486137661440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281839360001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:09:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566320113451008,"km_value":406566320113451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145563486137661440,"description":"Unknown IO ID 45"} 
[2026-09-23 17:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281839360001,"power":26408,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145563486137661440}} 
[2026-09-23 17:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":192101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:09:08] local.INFO: GPS data processed {"connection_id":192101,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:09:08] local.INFO: Acknowledgment sent {"connection_id":192101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:09:31] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:31] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:31] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:09:33] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0cf9c0012d1822400721b510004d010a2a..."} 
[2026-09-23 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0cf9c0012d1822400721b510004d010a2a..."} 
[2026-09-23 17:09:33] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0cf9c0012d1822400721b510004d010a2a..."} 
[2026-09-23 17:09:33] local.INFO: Packet analysis {"connection_id":190760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:09:33] local.INFO: Extracted packet for processing {"connection_id":190760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0c"} 
[2026-09-23 17:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281812736001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163352000,"timestamp_ms":1790163352000,"timestamp_seconds":1790163352,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0cf9c0"} 
[2026-09-23 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-09-23 17:09: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-09-23 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 17:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 17:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281812736001,"66":12678,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739233911725502464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281812736001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:09:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-09-23 17:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281812736001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-09-23 17:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":190760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:09:33] local.INFO: GPS data processed {"connection_id":190760,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:09:33] local.INFO: Acknowledgment sent {"connection_id":190760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:09:36] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:36] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:09:36] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:09:37] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0fad28012d3987c006c910b8002500ea29..."} 
[2026-09-23 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0fad28012d3987c006c910b8002500ea29..."} 
[2026-09-23 17:09:37] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0fad28012d3987c006c910b8002500ea29..."} 
[2026-09-23 17:09:37] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:09:37] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758745024,"raw_latitude":113840312,"longitude_deg":75.8745024,"latitude_deg":11.3840312,"altitude":37,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d3987c0","hex_latitude":"06c910b8","is_valid_coordinates":true} 
[2026-09-23 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281857280001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566324408418304,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145563486137661440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:09:37] 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-09-23 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163529000,"timestamp_ms":1790163529000,"timestamp_seconds":1790163529,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0fad28"} 
[2026-09-23 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-23 17: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-09-23 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281857280001,"66":27745,"82":206,"81":21504,"24":0,"16":406566324408418304,"45":4145563486137661440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281857280001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:09:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566324408418304,"km_value":406566324408418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145563486137661440,"description":"Unknown IO ID 45"} 
[2026-09-23 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281857280001,"power":27745,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145563486137661440}} 
[2026-09-23 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:09:37] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:09:37] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:09:56] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:56] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:09:56] local.INFO: IMEI packet received {"connection_id":190761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":190761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:10:00] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:00] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:00] local.INFO: IMEI packet received {"connection_id":190761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":190761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:10:01] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0d4bc8012d1822400721b510004d010a28..."} 
[2026-09-23 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0d4bc8012d1822400721b510004d010a28..."} 
[2026-09-23 17:10:01] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0d4bc8012d1822400721b510004d010a28..."} 
[2026-09-23 17:10:01] local.INFO: Packet analysis {"connection_id":190761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:10:01] local.INFO: Extracted packet for processing {"connection_id":190761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281818112001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790163373000,"timestamp_ms":1790163373000,"timestamp_seconds":1790163373,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0d4bc8"} 
[2026-09-23 17:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:10: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-09-23 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 17:10:01] 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-09-23 17: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-09-23 17:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281818112001,"66":12689,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281818112001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281818112001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":190761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:10:01] local.INFO: GPS data processed {"connection_id":190761,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:10:01] local.INFO: Acknowledgment sent {"connection_id":190761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:10:08] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0fff30012d3987c006c910e8002300ea28..."} 
[2026-09-23 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0fff30012d3987c006c910e8002300ea28..."} 
[2026-09-23 17:10:08] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0fff30012d3987c006c910e8002300ea28..."} 
[2026-09-23 17:10:08] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:10:08] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0f"} 
[2026-09-23 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758745024,"raw_latitude":113840360,"longitude_deg":75.8745024,"latitude_deg":11.384036,"altitude":35,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d3987c0","hex_latitude":"06c910e8","is_valid_coordinates":true} 
[2026-09-23 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281863424001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566324408418304,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145493117393483776,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:08] 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-09-23 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163550000,"timestamp_ms":1790163550000,"timestamp_seconds":1790163550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0fff30"} 
[2026-09-23 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:10:08] 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-09-23 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281863424001,"66":27876,"82":206,"81":21504,"24":0,"16":406566324408418304,"45":4145493117393483776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281863424001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:10:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566324408418304,"km_value":406566324408418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145493117393483776,"description":"Unknown IO ID 45"} 
[2026-09-23 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281863424001,"power":27876,"unknown_82":206,"unknown_81":21504,"ignition":0,"odometer":null,"unknown_45":4145493117393483776}} 
[2026-09-23 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:10:08] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:10:08] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:10:32] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0d9dd0012d1822400721b510004d010a27..."} 
[2026-09-23 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0d9dd0012d1822400721b510004d010a27..."} 
[2026-09-23 17:10:32] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0d9dd0012d1822400721b510004d010a27..."} 
[2026-09-23 17:10:32] local.INFO: Packet analysis {"connection_id":190761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:10:32] local.INFO: Extracted packet for processing {"connection_id":190761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281823488001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790163394000,"timestamp_ms":1790163394000,"timestamp_seconds":1790163394,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0d9dd0"} 
[2026-09-23 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:10: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:10:32] 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-09-23 17: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-09-23 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281823488001,"66":12689,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281823488001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:10:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281823488001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":190761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:10:32] local.INFO: GPS data processed {"connection_id":190761,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:10:32] local.INFO: Acknowledgment sent {"connection_id":190761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:10:33] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:33] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:33] local.INFO: IMEI packet received {"connection_id":190569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":190569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:10:36] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:36] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:10:36] local.INFO: IMEI packet received {"connection_id":190569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:10:37] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce104d50012d39874006c910c00023010329..."} 
[2026-09-23 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce104d50012d39874006c910c00023010329..."} 
[2026-09-23 17:10:37] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce104d50012d39874006c910c00023010329..."} 
[2026-09-23 17:10:37] local.INFO: Packet analysis {"connection_id":190569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:10:37] local.INFO: Extracted packet for processing {"connection_id":190569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758744896,"raw_latitude":113840320,"longitude_deg":75.8744896,"latitude_deg":11.384032,"altitude":35,"angle":259,"satellites":41,"speed":1,"hex_longitude":"2d398740","hex_latitude":"06c910c0","is_valid_coordinates":true} 
[2026-09-23 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281868800001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566350178222080,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145493117393496064,"note":"Value kept but may cause issues"} 
[2026-09-23 17:10:37] 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-09-23 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163570000,"timestamp_ms":1790163570000,"timestamp_seconds":1790163570,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce104d50"} 
[2026-09-23 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:10: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-09-23 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:10: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-09-23 17:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281868800001,"66":27843,"82":206,"81":21504,"24":1,"16":406566350178222080,"45":4145493117393496064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281868800001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:10:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566350178222080,"km_value":406566350178222.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145493117393496064,"description":"Unknown IO ID 45"} 
[2026-09-23 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281868800001,"power":27843,"unknown_82":206,"unknown_81":21504,"ignition":1,"odometer":null,"unknown_45":4145493117393496064}} 
[2026-09-23 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":190569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:10:37] local.INFO: GPS data processed {"connection_id":190569,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:10:37] local.INFO: Acknowledgment sent {"connection_id":190569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:10:56] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:56] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:10:56] local.INFO: IMEI packet received {"connection_id":192103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":192103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:11:01] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:11:01] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:11:01] local.INFO: IMEI packet received {"connection_id":192103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":192103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:11:02] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0defd8012d1822400721b510004d010a25..."} 
[2026-09-23 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0defd8012d1822400721b510004d010a25..."} 
[2026-09-23 17:11:02] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0defd8012d1822400721b510004d010a25..."} 
[2026-09-23 17:11:02] local.INFO: Packet analysis {"connection_id":192103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:11:02] local.INFO: Extracted packet for processing {"connection_id":192103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0d"} 
[2026-09-23 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281828864001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163415000,"timestamp_ms":1790163415000,"timestamp_seconds":1790163415,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0defd8"} 
[2026-09-23 17:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:11: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:11:02] 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-09-23 17: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-09-23 17:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281828864001,"66":12678,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281828864001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281828864001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":192103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:11:02] local.INFO: GPS data processed {"connection_id":192103,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:11:02] local.INFO: Acknowledgment sent {"connection_id":192103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:11:08] local.INFO: TCP Data received {"connection_id":190569,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce107078012d39828006c90f48002300f52b..."} 
[2026-09-23 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce107078012d39828006c90f48002300f52b..."} 
[2026-09-23 17:11:08] local.INFO: Processing buffer {"connection_id":190569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce107078012d39828006c90f48002300f52b..."} 
[2026-09-23 17:11:08] local.INFO: Packet analysis {"connection_id":190569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:11:08] local.INFO: Extracted packet for processing {"connection_id":190569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758743680,"raw_latitude":113839944,"longitude_deg":75.874368,"latitude_deg":11.3839944,"altitude":35,"angle":245,"satellites":43,"speed":10,"hex_longitude":"2d398280","hex_latitude":"06c90f48","is_valid_coordinates":true} 
[2026-09-23 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281873920001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566410307764224,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145352379905130496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:08] 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-09-23 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163579000,"timestamp_ms":1790163579000,"timestamp_seconds":1790163579,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce107078"} 
[2026-09-23 17:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:11: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-09-23 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:11: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-09-23 17:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281873920001,"66":27984,"82":206,"81":21504,"24":10,"16":406566410307764224,"45":4145352379905130496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281873920001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:11:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566410307764224,"km_value":406566410307764.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145352379905130496,"description":"Unknown IO ID 45"} 
[2026-09-23 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281873920001,"power":27984,"unknown_82":206,"unknown_81":21504,"ignition":10,"odometer":null,"unknown_45":4145352379905130496}} 
[2026-09-23 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:11:08] local.INFO: GPS data processed {"connection_id":190569,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:11:08] local.INFO: Acknowledgment sent {"connection_id":190569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:11:31] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:31] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:31] local.INFO: IMEI packet received {"connection_id":193440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":193440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:11:33] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0e41e0012d1822400721b510004d010a27..."} 
[2026-09-23 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0e41e0012d1822400721b510004d010a27..."} 
[2026-09-23 17:11:33] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0e41e0012d1822400721b510004d010a27..."} 
[2026-09-23 17:11:33] local.INFO: Packet analysis {"connection_id":192103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:11:33] local.INFO: Extracted packet for processing {"connection_id":192103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281834240001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163436000,"timestamp_ms":1790163436000,"timestamp_seconds":1790163436,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0e41e0"} 
[2026-09-23 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-09-23 17:11: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-09-23 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 17:11:33] 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-09-23 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-09-23 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-09-23 17:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281834240001,"66":12613,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281834240001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:11:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281834240001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":192103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:11:34] local.INFO: GPS data processed {"connection_id":192103,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:11:34] local.INFO: Acknowledgment sent {"connection_id":192103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:11:36] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:36] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:11:36] local.INFO: IMEI packet received {"connection_id":193440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":193440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:11:38] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce108400012d397b8006c90c50002201032b..."} 
[2026-09-23 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce108400012d397b8006c90c50002201032b..."} 
[2026-09-23 17:11:38] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce108400012d397b8006c90c50002201032b..."} 
[2026-09-23 17:11:38] local.INFO: Packet analysis {"connection_id":193440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:11:38] local.INFO: Extracted packet for processing {"connection_id":193440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce10"} 
[2026-09-23 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758741888,"raw_latitude":113839184,"longitude_deg":75.8741888,"latitude_deg":11.3839184,"altitude":34,"angle":259,"satellites":43,"speed":20,"hex_longitude":"2d397b80","hex_latitude":"06c90c50","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281876224001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406566500502077440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4144015373765658624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:11: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-09-23 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790163584000,"timestamp_ms":1790163584000,"timestamp_seconds":1790163584,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce108400"} 
[2026-09-23 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 17:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281876224001,"66":27995,"82":206,"81":21504,"24":20,"16":406566500502077440,"45":4144015373765658624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281876224001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:11:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 17:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406566500502077440,"km_value":406566500502077.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4144015373765658624,"description":"Unknown IO ID 45"} 
[2026-09-23 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281876224001,"power":27995,"unknown_82":206,"unknown_81":21504,"ignition":20,"odometer":null,"unknown_45":4144015373765658624}} 
[2026-09-23 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":193440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:11:38] local.INFO: GPS data processed {"connection_id":193440,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:11:38] local.INFO: Acknowledgment sent {"connection_id":193440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:01] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:01] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:01] local.INFO: IMEI packet received {"connection_id":192104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":192104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:12:06] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:06] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:06] local.INFO: IMEI packet received {"connection_id":192104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":192104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:12:07] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0e93e8012d1822400721b510004d010a28..."} 
[2026-09-23 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0e93e8012d1822400721b510004d010a28..."} 
[2026-09-23 17:12:07] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0e93e8012d1822400721b510004d010a28..."} 
[2026-09-23 17:12:07] local.INFO: Packet analysis {"connection_id":192104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:12:07] local.INFO: Extracted packet for processing {"connection_id":192104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281839616001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163457000,"timestamp_ms":1790163457000,"timestamp_seconds":1790163457,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0e93e8"} 
[2026-09-23 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 17:12:07] 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-09-23 17:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281839616001,"66":12689,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281839616001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281839616001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:12:07] local.INFO: GPS data processed {"connection_id":192104,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:12:07] local.INFO: Acknowledgment sent {"connection_id":192104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:10] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce11e390012d38da4006c8ab38002100be2a..."} 
[2026-09-23 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce11e390012d38da4006c8ab38002100be2a..."} 
[2026-09-23 17:12:10] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce11e390012d38da4006c8ab38002100be2a..."} 
[2026-09-23 17:12:10] local.INFO: Packet analysis {"connection_id":193440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce11"} 
[2026-09-23 17:12:10] local.INFO: Extracted packet for processing {"connection_id":193440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce11"} 
[2026-09-23 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758700608,"raw_latitude":113814328,"longitude_deg":75.8700608,"latitude_deg":11.3814328,"altitude":33,"angle":190,"satellites":42,"speed":33,"hex_longitude":"2d38da40","hex_latitude":"06c8ab38","is_valid_coordinates":true} 
[2026-09-23 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281897984001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406569266461016064,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4099120114976094208,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790163674000,"timestamp_ms":1790163674000,"timestamp_seconds":1790163674,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce11e390"} 
[2026-09-23 17:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:12: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-09-23 17:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281897984001,"66":27876,"61":206,"81":21504,"24":33,"16":406569266461016064,"45":4099120114976094208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281897984001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:12:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406569266461016064,"km_value":406569266461016.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4099120114976094208,"description":"Unknown IO ID 45"} 
[2026-09-23 17:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281897984001,"power":27876,"unknown_61":206,"unknown_81":21504,"ignition":33,"odometer":null,"unknown_45":4099120114976094208}} 
[2026-09-23 17:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":193440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:12:10] local.INFO: GPS data processed {"connection_id":193440,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:12:10] local.INFO: Acknowledgment sent {"connection_id":193440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:11] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce0ee5f0012d1822400721b510004d010a27..."} 
[2026-09-23 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce0ee5f0012d1822400721b510004d010a27..."} 
[2026-09-23 17:12:11] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce0ee5f0012d1822400721b510004d010a27..."} 
[2026-09-23 17:12:11] local.INFO: Packet analysis {"connection_id":192104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:12:11] local.INFO: Extracted packet for processing {"connection_id":192104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce0e"} 
[2026-09-23 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":77,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-23 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281844992001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774098446778368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790163478000,"timestamp_ms":1790163478000,"timestamp_seconds":1790163478,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce0ee5f0"} 
[2026-09-23 17:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:12: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-09-23 17:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281844992001,"66":12678,"105":206,"83":41984,"24":0,"16":22774098446778368,"45":1739022805492895744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281844992001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774098446778368,"km_value":22774098446778.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-23 17:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281844992001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-23 17:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":192104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:12:11] local.INFO: GPS data processed {"connection_id":192104,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:12:11] local.INFO: Acknowledgment sent {"connection_id":192104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:32] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:32] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:32] local.INFO: IMEI packet received {"connection_id":190762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":190762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:12:36] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:36] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:36] local.INFO: IMEI packet received {"connection_id":190762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":190762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:12:41] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:41] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:12:41] local.INFO: IMEI packet received {"connection_id":190762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":190762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:12:41] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce11fee8012d38d64006c89728002200d32b..."} 
[2026-09-23 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce11fee8012d38d64006c89728002200d32b..."} 
[2026-09-23 17:12:41] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce11fee8012d38d64006c89728002200d32b..."} 
[2026-09-23 17:12:41] local.INFO: Packet analysis {"connection_id":190762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce11"} 
[2026-09-23 17:12:41] local.INFO: Extracted packet for processing {"connection_id":190762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce11"} 
[2026-09-23 17:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758699584,"raw_latitude":113809192,"longitude_deg":75.8699584,"latitude_deg":11.3809192,"altitude":34,"angle":211,"satellites":43,"speed":27,"hex_longitude":"2d38d640","hex_latitude":"06c89728","is_valid_coordinates":true} 
[2026-09-23 17:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281900544001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406569524159053824,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096657208927533056,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790163681000,"timestamp_ms":1790163681000,"timestamp_seconds":1790163681,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce11fee8"} 
[2026-09-23 17:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:12: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-09-23 17:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:12: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-09-23 17:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281900544001,"66":28028,"61":206,"81":21504,"24":27,"16":406569524159053824,"45":4096657208927533056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281900544001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:12:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406569524159053824,"km_value":406569524159053.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096657208927533056,"description":"Unknown IO ID 45"} 
[2026-09-23 17:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281900544001,"power":28028,"unknown_61":206,"unknown_81":21504,"ignition":27,"odometer":null,"unknown_45":4096657208927533056}} 
[2026-09-23 17:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":190762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:12:41] local.INFO: GPS data processed {"connection_id":190762,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:12:41] local.INFO: Acknowledgment sent {"connection_id":190762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:46] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1206b8012d38d28006c89300002100e22b..."} 
[2026-09-23 17:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1206b8012d38d28006c89300002100e22b..."} 
[2026-09-23 17:12:46] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1206b8012d38d28006c89300002100e22b..."} 
[2026-09-23 17:12:46] local.INFO: Packet analysis {"connection_id":190762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:12:46] local.INFO: Extracted packet for processing {"connection_id":190762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758698624,"raw_latitude":113808128,"longitude_deg":75.8698624,"latitude_deg":11.3808128,"altitude":33,"angle":226,"satellites":43,"speed":27,"hex_longitude":"2d38d280","hex_latitude":"06c89300","is_valid_coordinates":true} 
[2026-09-23 17:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281902336001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406569588583563264,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4095531309019375616,"note":"Value kept but may cause issues"} 
[2026-09-23 17:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790163683000,"timestamp_ms":1790163683000,"timestamp_seconds":1790163683,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1206b8"} 
[2026-09-23 17:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:12: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-09-23 17:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 17:12:46] 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-09-23 17:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281902336001,"66":27974,"61":206,"81":21504,"24":27,"16":406569588583563264,"45":4095531309019375616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281902336001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:12:46] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406569588583563264,"km_value":406569588583563.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4095531309019375616,"description":"Unknown IO ID 45"} 
[2026-09-23 17:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281902336001,"power":27974,"unknown_61":206,"unknown_81":21504,"ignition":27,"odometer":null,"unknown_45":4095531309019375616}} 
[2026-09-23 17:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":190762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:12:46] local.INFO: GPS data processed {"connection_id":190762,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:12:46] local.INFO: Acknowledgment sent {"connection_id":190762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:12:56] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:56] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:12:56] local.INFO: IMEI packet received {"connection_id":192105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":192105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:13:01] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:01] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:01] local.INFO: IMEI packet received {"connection_id":192105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":192105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:13:02] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1229e0012d181fc00721b228004900d12a..."} 
[2026-09-23 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1229e0012d181fc00721b228004900d12a..."} 
[2026-09-23 17:13:02] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1229e0012d181fc00721b228004900d12a..."} 
[2026-09-23 17:13:02] local.INFO: Packet analysis {"connection_id":192105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:13:02] local.INFO: Extracted packet for processing {"connection_id":192105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648808,"longitude_deg":75.6555712,"latitude_deg":11.9648808,"altitude":73,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281899776001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774145691418624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050928640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163692000,"timestamp_ms":1790163692000,"timestamp_seconds":1790163692,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1229e0"} 
[2026-09-23 17:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 17:13:02] 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-09-23 17: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-09-23 17:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281899776001,"66":12635,"105":206,"83":41984,"24":0,"16":22774145691418624,"45":1738319118050928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281899776001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:13:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774145691418624,"km_value":22774145691418.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050928640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281899776001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050928640}} 
[2026-09-23 17:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":192105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:13:02] local.INFO: GPS data processed {"connection_id":192105,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:13:02] local.INFO: Acknowledgment sent {"connection_id":192105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:13:30] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:30] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:30] local.INFO: IMEI packet received {"connection_id":193441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":193441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:13:31] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:31] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:31] local.INFO: IMEI packet received {"connection_id":193441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":193441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:13:32] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:32] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:32] local.INFO: IMEI packet received {"connection_id":193441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":193441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:13:33] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce127be8012d181fc00721b228004900d129..."} 
[2026-09-23 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce127be8012d181fc00721b228004900d129..."} 
[2026-09-23 17:13:33] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce127be8012d181fc00721b228004900d129..."} 
[2026-09-23 17:13:33] local.INFO: Packet analysis {"connection_id":192105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:13:33] local.INFO: Extracted packet for processing {"connection_id":192105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648808,"longitude_deg":75.6555712,"latitude_deg":11.9648808,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281905152001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774145691418624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050928640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163713000,"timestamp_ms":1790163713000,"timestamp_seconds":1790163713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce127be8"} 
[2026-09-23 17:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:13: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-09-23 17: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 17:13:33] 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-09-23 17: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-09-23 17:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281905152001,"66":12558,"105":206,"83":41984,"24":0,"16":22774145691418624,"45":1738319118050928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281905152001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774145691418624,"km_value":22774145691418.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050928640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281905152001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050928640}} 
[2026-09-23 17:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":192105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:13:34] local.INFO: GPS data processed {"connection_id":192105,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:13:34] local.INFO: Acknowledgment sent {"connection_id":192105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:13:34] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:34] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:13:34] local.INFO: IMEI packet received {"connection_id":193441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":193441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:13:35] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce136260012d387cc006c7d5b8001a00c22b..."} 
[2026-09-23 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce136260012d387cc006c7d5b8001a00c22b..."} 
[2026-09-23 17:13:35] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce136260012d387cc006c7d5b8001a00c22b..."} 
[2026-09-23 17:13:35] local.INFO: Packet analysis {"connection_id":193441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:13:35] local.INFO: Extracted packet for processing {"connection_id":193441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758676672,"raw_latitude":113759672,"longitude_deg":75.8676672,"latitude_deg":11.3759672,"altitude":26,"angle":194,"satellites":43,"speed":23,"hex_longitude":"2d387cc0","hex_latitude":"06c7d5b8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281924608001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406572315887796224,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4070268929847595008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790163772000,"timestamp_ms":1790163772000,"timestamp_seconds":1790163772,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce136260"} 
[2026-09-23 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-09-23 17:13: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-09-23 17:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:13: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-09-23 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-09-23 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-09-23 17:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281924608001,"66":27800,"61":206,"81":21504,"24":23,"16":406572315887796224,"45":4070268929847595008},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281924608001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:13:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406572315887796224,"km_value":406572315887796.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4070268929847595008,"description":"Unknown IO ID 45"} 
[2026-09-23 17:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281924608001,"power":27800,"unknown_61":206,"unknown_81":21504,"ignition":23,"odometer":null,"unknown_45":4070268929847595008}} 
[2026-09-23 17:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":193441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:13:35] local.INFO: GPS data processed {"connection_id":193441,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:13:35] local.INFO: Acknowledgment sent {"connection_id":193441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:13:36] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce136a30012d387ac006c7d1c0001a00da2b..."} 
[2026-09-23 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce136a30012d387ac006c7d1c0001a00da2b..."} 
[2026-09-23 17:13:36] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce136a30012d387ac006c7d1c0001a00da2b..."} 
[2026-09-23 17:13:36] local.INFO: Packet analysis {"connection_id":193441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:13:36] local.INFO: Extracted packet for processing {"connection_id":193441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758676160,"raw_latitude":113758656,"longitude_deg":75.867616,"latitude_deg":11.3758656,"altitude":26,"angle":218,"satellites":43,"speed":21,"hex_longitude":"2d387ac0","hex_latitude":"06c7d1c0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281925632001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406572371722371072,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4070339298591094784,"note":"Value kept but may cause issues"} 
[2026-09-23 17:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790163774000,"timestamp_ms":1790163774000,"timestamp_seconds":1790163774,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce136a30"} 
[2026-09-23 17:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:13: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-09-23 17: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":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:13: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-09-23 17: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-09-23 17:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281925632001,"66":27908,"61":206,"81":21504,"24":21,"16":406572371722371072,"45":4070339298591094784},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281925632001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:13:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406572371722371072,"km_value":406572371722371.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4070339298591094784,"description":"Unknown IO ID 45"} 
[2026-09-23 17:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281925632001,"power":27908,"unknown_61":206,"unknown_81":21504,"ignition":21,"odometer":null,"unknown_45":4070339298591094784}} 
[2026-09-23 17:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":193441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:13:36] local.INFO: GPS data processed {"connection_id":193441,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:13:36] local.INFO: Acknowledgment sent {"connection_id":193441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:13:55] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:55] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:55] local.INFO: IMEI packet received {"connection_id":193442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":193442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:13:56] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:56] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:13:56] local.INFO: IMEI packet received {"connection_id":193442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":193442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:14:01] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:01] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:01] local.INFO: IMEI packet received {"connection_id":193442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":193442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:14:02] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce12cdf0012d181fc00721b228004900d128..."} 
[2026-09-23 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce12cdf0012d181fc00721b228004900d128..."} 
[2026-09-23 17:14:02] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce12cdf0012d181fc00721b228004900d128..."} 
[2026-09-23 17:14:02] local.INFO: Packet analysis {"connection_id":193442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:14:02] local.INFO: Extracted packet for processing {"connection_id":193442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce12"} 
[2026-09-23 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648808,"longitude_deg":75.6555712,"latitude_deg":11.9648808,"altitude":73,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281910528001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774145691418624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050928640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163734000,"timestamp_ms":1790163734000,"timestamp_seconds":1790163734,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce12cdf0"} 
[2026-09-23 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:14: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-09-23 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457208864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3908042752,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,232,160,41,45,192,178,73,42,10,66,215,40,133,1,240,47,227,206,33,4,113,205,225,239,49,2,80,7,77,106,84],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:14:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260434338792603648,"timestamp_seconds":5260434338792604.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281910528001,"66":12602,"105":206,"83":41984,"24":0,"16":22774145691418624,"45":1738319118050928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281910528001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774145691418624,"km_value":22774145691418.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050928640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281910528001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050928640}} 
[2026-09-23 17:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":193442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:14:02] local.INFO: GPS data processed {"connection_id":193442,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:14:02] local.INFO: Acknowledgment sent {"connection_id":193442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:14:07] local.INFO: TCP Data received {"connection_id":193441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce137200012d38780006c7cee8001b00e72a..."} 
[2026-09-23 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce137200012d38780006c7cee8001b00e72a..."} 
[2026-09-23 17:14:07] local.INFO: Processing buffer {"connection_id":193441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce137200012d38780006c7cee8001b00e72a..."} 
[2026-09-23 17:14:07] local.INFO: Packet analysis {"connection_id":193441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:07] local.INFO: Extracted packet for processing {"connection_id":193441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758675456,"raw_latitude":113757928,"longitude_deg":75.8675456,"latitude_deg":11.3757928,"altitude":27,"angle":231,"satellites":42,"speed":17,"hex_longitude":"2d387800","hex_latitude":"06c7cee8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281926144001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406572418967011328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4069776348637413376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163776000,"timestamp_ms":1790163776000,"timestamp_seconds":1790163776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce137200"} 
[2026-09-23 17:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281926144001,"66":27865,"61":206,"81":21504,"24":17,"16":406572418967011328,"45":4069776348637413376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281926144001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:14:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406572418967011328,"km_value":406572418967011.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4069776348637413376,"description":"Unknown IO ID 45"} 
[2026-09-23 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281926144001,"power":27865,"unknown_61":206,"unknown_81":21504,"ignition":17,"odometer":null,"unknown_45":4069776348637413376}} 
[2026-09-23 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":193441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:14:07] local.INFO: GPS data processed {"connection_id":193441,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:14:07] local.INFO: Acknowledgment sent {"connection_id":193441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:14:31] local.INFO: TCP Data received {"connection_id":190570,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:31] local.INFO: Processing buffer {"connection_id":190570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:31] local.INFO: IMEI packet received {"connection_id":190570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":190570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:14:33] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce131ff8012d181fc00721b228004900d127..."} 
[2026-09-23 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce131ff8012d181fc00721b228004900d127..."} 
[2026-09-23 17:14:33] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce131ff8012d181fc00721b228004900d127..."} 
[2026-09-23 17:14:33] local.INFO: Packet analysis {"connection_id":193442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:33] local.INFO: Extracted packet for processing {"connection_id":193442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648808,"longitude_deg":75.6555712,"latitude_deg":11.9648808,"altitude":73,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281915904001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774145691418624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050928640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163755000,"timestamp_ms":1790163755000,"timestamp_seconds":1790163755,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce131ff8"} 
[2026-09-23 17:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:14: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-09-23 17: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 17:14:33] 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-09-23 17: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-09-23 17:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281915904001,"66":12558,"105":206,"83":41984,"24":0,"16":22774145691418624,"45":1738319118050928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281915904001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:14:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774145691418624,"km_value":22774145691418.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050928640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281915904001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050928640}} 
[2026-09-23 17:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":193442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:14:33] local.INFO: GPS data processed {"connection_id":193442,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:14:33] local.INFO: Acknowledgment sent {"connection_id":193442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:14:36] local.INFO: TCP Data received {"connection_id":190570,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:36] local.INFO: Processing buffer {"connection_id":190570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:14:36] local.INFO: IMEI packet received {"connection_id":190570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":190570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:14:38] local.INFO: TCP Data received {"connection_id":190570,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce137db8012d3873c006c7cab8001c00d629..."} 
[2026-09-23 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce137db8012d3873c006c7cab8001c00d629..."} 
[2026-09-23 17:14:38] local.INFO: Processing buffer {"connection_id":190570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce137db8012d3873c006c7cab8001c00d629..."} 
[2026-09-23 17:14:38] local.INFO: Packet analysis {"connection_id":190570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:38] local.INFO: Extracted packet for processing {"connection_id":190570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758674368,"raw_latitude":113756856,"longitude_deg":75.8674368,"latitude_deg":11.3756856,"altitude":28,"angle":214,"satellites":41,"speed":18,"hex_longitude":"2d3873c0","hex_latitude":"06c7cab8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281926656001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406572491981455360,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4069002292451272704,"note":"Value kept but may cause issues"} 
[2026-09-23 17:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790163779000,"timestamp_ms":1790163779000,"timestamp_seconds":1790163779,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce137db8"} 
[2026-09-23 17:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:14: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-09-23 17: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-09-23 17:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281926656001,"66":27908,"61":206,"81":21504,"24":18,"16":406572491981455360,"45":4069002292451272704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281926656001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:14:38] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406572491981455360,"km_value":406572491981455.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4069002292451272704,"description":"Unknown IO ID 45"} 
[2026-09-23 17:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281926656001,"power":27908,"unknown_61":206,"unknown_81":21504,"ignition":18,"odometer":null,"unknown_45":4069002292451272704}} 
[2026-09-23 17:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":190570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:14:38] local.INFO: GPS data processed {"connection_id":190570,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:14:38] local.INFO: Acknowledgment sent {"connection_id":190570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:14:56] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:56] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:56] local.INFO: IMEI packet received {"connection_id":190571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":190571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:14:59] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:59] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:14:59] local.INFO: IMEI packet received {"connection_id":190571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":190571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:15:01] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:01] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:01] local.INFO: IMEI packet received {"connection_id":190571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":190571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:15:02] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce137200012d181e800721afb8004800d527..."} 
[2026-09-23 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce137200012d181e800721afb8004800d527..."} 
[2026-09-23 17:15:02] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce137200012d181e800721afb8004800d527..."} 
[2026-09-23 17:15:02] local.INFO: Packet analysis {"connection_id":190571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:02] local.INFO: Extracted packet for processing {"connection_id":190571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281921280001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050928640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163776000,"timestamp_ms":1790163776000,"timestamp_seconds":1790163776,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce137200"} 
[2026-09-23 17:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:15: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-09-23 17: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":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457233864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178776,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407912450,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965961,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3908501504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,232,160,205,45,192,178,73,40,10,66,123,41,1,240,91,227,206,33,4,113,133,31,239,49,2,80,7,106,85],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:15:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260434330202669056,"timestamp_seconds":5260434330202669.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281921280001,"66":12558,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1738319118050928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281921280001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050928640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281921280001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050928640}} 
[2026-09-23 17:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":190571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:15:02] local.INFO: GPS data processed {"connection_id":190571,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:15:02] local.INFO: Acknowledgment sent {"connection_id":190571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:15:07] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce13c408012d181e800721afb8004800d529..."} 
[2026-09-23 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce13c408012d181e800721afb8004800d529..."} 
[2026-09-23 17:15:07] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce13c408012d181e800721afb8004800d529..."} 
[2026-09-23 17:15:07] local.INFO: Packet analysis {"connection_id":190571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:07] local.INFO: Extracted packet for processing {"connection_id":190571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281926656001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163797000,"timestamp_ms":1790163797000,"timestamp_seconds":1790163797,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce13c408"} 
[2026-09-23 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-09-23 17:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457254864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643560,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965961,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3908501504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,233,160,31,45,192,178,73,39,10,66,232,205,40,123,1,240,14,227,206,33,4,113,215,239,49,2,80,7,106,85],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:15:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381134211252224,"timestamp_seconds":5188381134211252.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281926656001,"66":12591,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281926656001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281926656001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":190571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:15:07] local.INFO: GPS data processed {"connection_id":190571,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:15:07] local.INFO: Acknowledgment sent {"connection_id":190571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:15:09] local.INFO: TCP Data received {"connection_id":190570,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1381a0012d38730006c7c8d0001c00ca2a..."} 
[2026-09-23 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1381a0012d38730006c7c8d0001c00ca2a..."} 
[2026-09-23 17:15:09] local.INFO: Processing buffer {"connection_id":190570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1381a0012d38730006c7c8d0001c00ca2a..."} 
[2026-09-23 17:15:09] local.INFO: Packet analysis {"connection_id":190570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:09] local.INFO: Extracted packet for processing {"connection_id":190570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce13"} 
[2026-09-23 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758674176,"raw_latitude":113756368,"longitude_deg":75.8674176,"latitude_deg":11.3756368,"altitude":28,"angle":202,"satellites":42,"speed":20,"hex_longitude":"2d387300","hex_latitude":"06c7c8d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281927424001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406572517751259136,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4067806023799977984,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790163780000,"timestamp_ms":1790163780000,"timestamp_seconds":1790163780,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1381a0"} 
[2026-09-23 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-09-23 17:15: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-09-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:15: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-09-23 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-09-23 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-09-23 17:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281927424001,"66":27767,"61":206,"81":21504,"24":20,"16":406572517751259136,"45":4067806023799977984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-23 17:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281927424001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:15:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-23 17:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406572517751259136,"km_value":406572517751259.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4067806023799977984,"description":"Unknown IO ID 45"} 
[2026-09-23 17:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281927424001,"power":27767,"unknown_61":206,"unknown_81":21504,"ignition":20,"odometer":null,"unknown_45":4067806023799977984}} 
[2026-09-23 17:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":190570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:15:09] local.INFO: GPS data processed {"connection_id":190570,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:15:09] local.INFO: Acknowledgment sent {"connection_id":190570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:15:30] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:30] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:30] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:15:31] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:31] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:31] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:15:36] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:36] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:15:36] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:15:37] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce151fb0012d380b8006c6e300002200e52b..."} 
[2026-09-23 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce151fb0012d380b8006c6e300002200e52b..."} 
[2026-09-23 17:15:37] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce151fb0012d380b8006c6e300002200e52b..."} 
[2026-09-23 17:15:37] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:15:37] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758647680,"raw_latitude":113697536,"longitude_deg":75.864768,"latitude_deg":11.3697536,"altitude":34,"angle":229,"satellites":43,"speed":18,"hex_longitude":"2d380b80","hex_latitude":"06c6e300","is_valid_coordinates":true} 
[2026-09-23 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281954048001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406575691732090880,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4039377051137253376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163886000,"timestamp_ms":1790163886000,"timestamp_seconds":1790163886,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce151fb0"} 
[2026-09-23 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:15: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-09-23 17:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281954048001,"66":27800,"62":206,"81":21504,"24":18,"16":406575691732090880,"45":4039377051137253376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,81,24,16,45]} 
[2026-09-23 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281954048001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:15:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-23 17:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406575691732090880,"km_value":406575691732090.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4039377051137253376,"description":"Unknown IO ID 45"} 
[2026-09-23 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281954048001,"power":27800,"unknown_62":206,"unknown_81":21504,"ignition":18,"odometer":null,"unknown_45":4039377051137253376}} 
[2026-09-23 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:15:37] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:15:37] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:15:38] local.INFO: TCP Data received {"connection_id":190571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce141610012d181e800721afb8004800d52a..."} 
[2026-09-23 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce141610012d181e800721afb8004800d52a..."} 
[2026-09-23 17:15:38] local.INFO: Processing buffer {"connection_id":190571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce141610012d181e800721afb8004800d52a..."} 
[2026-09-23 17:15:38] local.INFO: Packet analysis {"connection_id":190571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:15:38] local.INFO: Extracted packet for processing {"connection_id":190571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281932032001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790163818000,"timestamp_ms":1790163818000,"timestamp_seconds":1790163818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce141610"} 
[2026-09-23 17:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:15: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-09-23 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 17:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281932032001,"66":12613,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281932032001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:15:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281932032001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":190571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:15:38] local.INFO: GPS data processed {"connection_id":190571,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:15:38] local.INFO: Acknowledgment sent {"connection_id":190571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:15:56] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:56] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:15:56] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:16:01] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:01] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:01] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:16:02] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce146818012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce146818012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:02] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce146818012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:02] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:16:02] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281937408001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163839000,"timestamp_ms":1790163839000,"timestamp_seconds":1790163839,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce146818"} 
[2026-09-23 17:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:16: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-09-23 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 17:16: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-09-23 17: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-09-23 17:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281937408001,"66":12548,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281937408001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281937408001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:16:02] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:16:02] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:16:08] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce152f50012d38050006c6dc48002000d82a..."} 
[2026-09-23 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce152f50012d38050006c6dc48002000d82a..."} 
[2026-09-23 17:16:08] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce152f50012d38050006c6dc48002000d82a..."} 
[2026-09-23 17:16:08] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:16:08] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758646016,"raw_latitude":113695816,"longitude_deg":75.8646016,"latitude_deg":11.3695816,"altitude":32,"angle":216,"satellites":42,"speed":22,"hex_longitude":"2d380500","hex_latitude":"06c6dc48","is_valid_coordinates":true} 
[2026-09-23 17:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281954816001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406575807696207872,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4038462257462706176,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163890000,"timestamp_ms":1790163890000,"timestamp_seconds":1790163890,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce152f50"} 
[2026-09-23 17:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:16: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-09-23 17:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281954816001,"66":27930,"62":206,"81":21504,"24":22,"16":406575807696207872,"45":4038462257462706176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,81,24,16,45]} 
[2026-09-23 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281954816001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:16:08] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-23 17:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406575807696207872,"km_value":406575807696207.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4038462257462706176,"description":"Unknown IO ID 45"} 
[2026-09-23 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281954816001,"power":27930,"unknown_62":206,"unknown_81":21504,"ignition":22,"odometer":null,"unknown_45":4038462257462706176}} 
[2026-09-23 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:16:08] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:16:08] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:16:31] local.INFO: TCP Data received {"connection_id":190763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:31] local.INFO: Processing buffer {"connection_id":190763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:31] local.INFO: IMEI packet received {"connection_id":190763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":190763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:16:33] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce14ba20012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce14ba20012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:33] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce14ba20012d181e800721afb8004800d529..."} 
[2026-09-23 17:16:33] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:16:33] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce14"} 
[2026-09-23 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281942784001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163860000,"timestamp_ms":1790163860000,"timestamp_seconds":1790163860,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce14ba20"} 
[2026-09-23 17:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:16: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-09-23 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457317864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965961,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4026608920,"corrected_to":0} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3908501504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,233,160,22,45,128,175,72,42,10,66,196,41,114,1,240,14,227,206,33,4,113,205,31,40,239,49,2,80,7,73,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":4026608920,"validated":0}]} 
[2026-09-23 17:16:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381142801186816,"timestamp_seconds":5188381142801187.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281942784001,"66":12558,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281942784001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281942784001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:16:33] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:16:33] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:16:36] local.INFO: TCP Data received {"connection_id":190763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:36] local.INFO: Processing buffer {"connection_id":190763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:16:36] local.INFO: IMEI packet received {"connection_id":190763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":190763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:16:37] local.INFO: TCP Data received {"connection_id":190763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce153720012d38028006c6d8b0002000cc2a..."} 
[2026-09-23 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce153720012d38028006c6d8b0002000cc2a..."} 
[2026-09-23 17:16:37] local.INFO: Processing buffer {"connection_id":190763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce153720012d38028006c6d8b0002000cc2a..."} 
[2026-09-23 17:16:37] local.INFO: Packet analysis {"connection_id":190763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:16:37] local.INFO: Extracted packet for processing {"connection_id":190763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758645376,"raw_latitude":113694896,"longitude_deg":75.8645376,"latitude_deg":11.3694896,"altitude":32,"angle":204,"satellites":42,"speed":19,"hex_longitude":"2d380280","hex_latitude":"06c6d8b0","is_valid_coordinates":true} 
[2026-09-23 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281955840001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406575859235815424,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4036632670113646592,"note":"Value kept but may cause issues"} 
[2026-09-23 17:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790163892000,"timestamp_ms":1790163892000,"timestamp_seconds":1790163892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce153720"} 
[2026-09-23 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 17:16: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-09-23 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281955840001,"66":27843,"62":206,"81":21504,"24":19,"16":406575859235815424,"45":4036632670113646592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,81,24,16,45]} 
[2026-09-23 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281955840001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:16:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-23 17:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406575859235815424,"km_value":406575859235815.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4036632670113646592,"description":"Unknown IO ID 45"} 
[2026-09-23 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281955840001,"power":27843,"unknown_62":206,"unknown_81":21504,"ignition":19,"odometer":null,"unknown_45":4036632670113646592}} 
[2026-09-23 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":190763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:16:37] local.INFO: GPS data processed {"connection_id":190763,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:16:37] local.INFO: Acknowledgment sent {"connection_id":190763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:16:39] local.INFO: TCP Data received {"connection_id":190764,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:16:39] local.INFO: Processing buffer {"connection_id":190764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:16:39] local.INFO: IMEI packet received {"connection_id":190764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":190764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:16:56] local.INFO: TCP Data received {"connection_id":193443,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:56] local.INFO: Processing buffer {"connection_id":193443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:16:56] local.INFO: IMEI packet received {"connection_id":193443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:17:01] local.INFO: TCP Data received {"connection_id":193443,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:17:01] local.INFO: Processing buffer {"connection_id":193443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:17:01] local.INFO: IMEI packet received {"connection_id":193443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":193443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:17:02] local.INFO: TCP Data received {"connection_id":193443,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce150c28012d181e800721afb8004800d52b..."} 
[2026-09-23 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce150c28012d181e800721afb8004800d52b..."} 
[2026-09-23 17:17:02] local.INFO: Processing buffer {"connection_id":193443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce150c28012d181e800721afb8004800d52b..."} 
[2026-09-23 17:17:02] local.INFO: Packet analysis {"connection_id":193443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:02] local.INFO: Extracted packet for processing {"connection_id":193443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281948160001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163881000,"timestamp_ms":1790163881000,"timestamp_seconds":1790163881,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce150c28"} 
[2026-09-23 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-09-23 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457338864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643560,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3908501504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,233,160,104,45,128,175,72,41,10,66,22,42,196,1,240,47,227,206,33,4,113,205,31,40,39,239,49,2,80,7,73,106,85],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:17:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381142801186816,"timestamp_seconds":5188381142801187.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 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-09-23 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281948160001,"66":12558,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281948160001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:17:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281948160001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":193443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:17:02] local.INFO: GPS data processed {"connection_id":193443,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:17:02] local.INFO: Acknowledgment sent {"connection_id":193443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:17:08] local.INFO: TCP Data received {"connection_id":190763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce158928012d37f74006c6bcb0001f00c92b..."} 
[2026-09-23 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce158928012d37f74006c6bcb0001f00c92b..."} 
[2026-09-23 17:17:08] local.INFO: Processing buffer {"connection_id":190763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce158928012d37f74006c6bcb0001f00c92b..."} 
[2026-09-23 17:17:08] local.INFO: Packet analysis {"connection_id":190763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:08] local.INFO: Extracted packet for processing {"connection_id":190763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758642496,"raw_latitude":113687728,"longitude_deg":75.8642496,"latitude_deg":11.3687728,"altitude":31,"angle":201,"satellites":43,"speed":9,"hex_longitude":"2d37f740","hex_latitude":"06c6bcb0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281956352001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406576237192937472,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4035928982671634432,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163913000,"timestamp_ms":1790163913000,"timestamp_seconds":1790163913,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce158928"} 
[2026-09-23 17:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:17: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-09-23 17: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-09-23 17:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281956352001,"66":27930,"62":206,"81":21504,"24":9,"16":406576237192937472,"45":4035928982671634432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,81,24,16,45]} 
[2026-09-23 17:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281956352001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:17:08] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-23 17:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406576237192937472,"km_value":406576237192937.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4035928982671634432,"description":"Unknown IO ID 45"} 
[2026-09-23 17:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281956352001,"power":27930,"unknown_62":206,"unknown_81":21504,"ignition":9,"odometer":null,"unknown_45":4035928982671634432}} 
[2026-09-23 17:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":190763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:17:08] local.INFO: GPS data processed {"connection_id":190763,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:17:08] local.INFO: Acknowledgment sent {"connection_id":190763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:17:33] local.INFO: TCP Data received {"connection_id":190572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:33] local.INFO: Processing buffer {"connection_id":190572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:33] local.INFO: IMEI packet received {"connection_id":190572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":190572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:17:33] local.INFO: TCP Data received {"connection_id":193443,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce155e30012d181e800721afb8004800d52a..."} 
[2026-09-23 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce155e30012d181e800721afb8004800d52a..."} 
[2026-09-23 17:17:33] local.INFO: Processing buffer {"connection_id":193443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce155e30012d181e800721afb8004800d52a..."} 
[2026-09-23 17:17:33] local.INFO: Packet analysis {"connection_id":193443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:33] local.INFO: Extracted packet for processing {"connection_id":193443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281953536001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790163902000,"timestamp_ms":1790163902000,"timestamp_seconds":1790163902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce155e30"} 
[2026-09-23 17:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:17: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-09-23 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457359864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643560,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:17:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,233,160,186,45,128,175,72,41,10,66,104,22,1,240,69,227,206,33,4,113,205,114,30,184,39,239,49,2,80,7,73,106,85],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:17:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381151391121408,"timestamp_seconds":5188381151391121.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281953536001,"66":12548,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281953536001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:17:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281953536001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":193443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:17:34] local.INFO: GPS data processed {"connection_id":193443,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:17:34] local.INFO: Acknowledgment sent {"connection_id":193443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:17:34] local.INFO: TCP Data received {"connection_id":190572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:34] local.INFO: Processing buffer {"connection_id":190572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:34] local.INFO: IMEI packet received {"connection_id":190572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":190572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:17:35] local.INFO: TCP Data received {"connection_id":190572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:35] local.INFO: Processing buffer {"connection_id":190572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:35] local.INFO: IMEI packet received {"connection_id":190572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":190572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:17:36] local.INFO: TCP Data received {"connection_id":190572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:36] local.INFO: Processing buffer {"connection_id":190572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:17:36] local.INFO: IMEI packet received {"connection_id":190572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":190572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:18:01] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:01] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:01] local.INFO: IMEI packet received {"connection_id":190765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":190765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:18:06] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:06] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:06] local.INFO: IMEI packet received {"connection_id":190765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":190765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:18:07] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce15b038012d181e800721afb8004800d527..."} 
[2026-09-23 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce15b038012d181e800721afb8004800d527..."} 
[2026-09-23 17:18:07] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce15b038012d181e800721afb8004800d527..."} 
[2026-09-23 17:18:07] local.INFO: Packet analysis {"connection_id":190765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:18:07] local.INFO: Extracted packet for processing {"connection_id":190765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce15"} 
[2026-09-23 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281958912001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790163923000,"timestamp_ms":1790163923000,"timestamp_seconds":1790163923,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce15b038"} 
[2026-09-23 17:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457380864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,233,160,12,45,128,175,72,43,10,66,186,41,104,1,240,4,227,206,33,113,205,196,30,184,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:18:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381147096154112,"timestamp_seconds":5188381147096154.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281958912001,"66":12558,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281958912001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:18:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281958912001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":190765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:18:07] local.INFO: GPS data processed {"connection_id":190765,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:18:07] local.INFO: Acknowledgment sent {"connection_id":190765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:18:08] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce160240012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce160240012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:08] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce160240012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:08] local.INFO: Packet analysis {"connection_id":190765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:18:08] local.INFO: Extracted packet for processing {"connection_id":190765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281964288001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790163944000,"timestamp_ms":1790163944000,"timestamp_seconds":1790163944,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce160240"} 
[2026-09-23 17:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457401864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,233,160,94,45,128,175,72,42,10,66,12,43,186,1,240,14,227,206,33,4,113,205,22,30,184,239,49,2,80,7,106,85],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:18:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381134211252224,"timestamp_seconds":5188381134211252.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281964288001,"66":12591,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281964288001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281964288001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":190765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:18:08] local.INFO: GPS data processed {"connection_id":190765,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:18:08] local.INFO: Acknowledgment sent {"connection_id":190765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:18:39] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce165448012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce165448012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:39] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce165448012d181e800721afb8004800d528..."} 
[2026-09-23 17:18:39] local.INFO: Packet analysis {"connection_id":190765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:18:39] local.INFO: Extracted packet for processing {"connection_id":190765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281969664001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790163965000,"timestamp_ms":1790163965000,"timestamp_seconds":1790163965,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce165448"} 
[2026-09-23 17:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:18: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-09-23 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 17:18:39] 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-09-23 17: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-09-23 17:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281969664001,"66":12526,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281969664001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:18:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281969664001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:18:39] local.INFO: GPS data processed {"connection_id":190765,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:18:39] local.INFO: Acknowledgment sent {"connection_id":190765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:18:56] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:56] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:18:56] local.INFO: IMEI packet received {"connection_id":193445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":193445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:19:01] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:01] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:01] local.INFO: IMEI packet received {"connection_id":193445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":193445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:19:02] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce16a650012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce16a650012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:02] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce16a650012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:02] local.INFO: Packet analysis {"connection_id":193445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:19:02] local.INFO: Extracted packet for processing {"connection_id":193445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281975040001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790163986000,"timestamp_ms":1790163986000,"timestamp_seconds":1790163986,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce16a650"} 
[2026-09-23 17:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:19: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-09-23 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 17:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281975040001,"66":12548,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281975040001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:19:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:19:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281975040001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":193445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:19:02] local.INFO: GPS data processed {"connection_id":193445,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:19:02] local.INFO: Acknowledgment sent {"connection_id":193445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:19:07] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce16f858012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce16f858012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:07] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce16f858012d181e800721afb8004800d529..."} 
[2026-09-23 17:19:07] local.INFO: Packet analysis {"connection_id":193445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:19:07] local.INFO: Extracted packet for processing {"connection_id":193445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce16"} 
[2026-09-23 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281980416001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790164007000,"timestamp_ms":1790164007000,"timestamp_seconds":1790164007,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce16f858"} 
[2026-09-23 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:19: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-09-23 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457464864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,233,160,84,45,128,175,72,40,10,66,2,176,1,240,14,227,206,33,4,113,205,12,30,184,43,239,49,80,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:19:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381142801186816,"timestamp_seconds":5188381142801187.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281980416001,"66":12580,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281980416001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:19:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281980416001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":193445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:19:07] local.INFO: GPS data processed {"connection_id":193445,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:19:07] local.INFO: Acknowledgment sent {"connection_id":193445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:19:38] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce174a60012d181e800721afb8004800d528..."} 
[2026-09-23 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce174a60012d181e800721afb8004800d528..."} 
[2026-09-23 17:19:38] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce174a60012d181e800721afb8004800d528..."} 
[2026-09-23 17:19:38] local.INFO: Packet analysis {"connection_id":193445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:19:38] local.INFO: Extracted packet for processing {"connection_id":193445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281985792001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790164028000,"timestamp_ms":1790164028000,"timestamp_seconds":1790164028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce174a60"} 
[2026-09-23 17:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:19: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-09-23 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 17:19:38] 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-09-23 17:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281985792001,"66":12558,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281985792001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:19:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281985792001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":193445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:19:38] local.INFO: GPS data processed {"connection_id":193445,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:19:38] local.INFO: Acknowledgment sent {"connection_id":193445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:19:56] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:56] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:56] local.INFO: IMEI packet received {"connection_id":193447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":193447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:19:59] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:59] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:19:59] local.INFO: IMEI packet received {"connection_id":193447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":193447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:20:00] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce179c68012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce179c68012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:00] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce179c68012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:00] local.INFO: Packet analysis {"connection_id":193447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:20:00] local.INFO: Extracted packet for processing {"connection_id":193447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281991168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790164049000,"timestamp_ms":1790164049000,"timestamp_seconds":1790164049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce179c68"} 
[2026-09-23 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3457506864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2948071496,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,233,160,248,45,128,175,72,41,10,66,166,84,1,240,238,227,206,33,4,113,205,176,30,184,39,239,49,2,80,7,106,85],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 17:20:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381138506219520,"timestamp_seconds":5188381138506220.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281991168001,"66":12515,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281991168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:20:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281991168001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":193447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:20:00] local.INFO: GPS data processed {"connection_id":193447,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:20:00] local.INFO: Acknowledgment sent {"connection_id":193447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:20:31] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce17ee70012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce17ee70012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:31] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce17ee70012d181e800721afb8004800d52b..."} 
[2026-09-23 17:20:31] local.INFO: Packet analysis {"connection_id":193447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:20:31] local.INFO: Extracted packet for processing {"connection_id":193447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce17"} 
[2026-09-23 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458281996544001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790164070000,"timestamp_ms":1790164070000,"timestamp_seconds":1790164070,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce17ee70"} 
[2026-09-23 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-23 17:20:31] 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-09-23 17:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458281996544001,"66":12526,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458281996544001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:20:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458281996544001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":193447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:20:31] local.INFO: GPS data processed {"connection_id":193447,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:20:31] local.INFO: Acknowledgment sent {"connection_id":193447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:20:56] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:56] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:56] local.INFO: IMEI packet received {"connection_id":190766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":190766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:20:57] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:57] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:20:57] local.INFO: IMEI packet received {"connection_id":190766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":190766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:21:01] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:01] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:01] local.INFO: IMEI packet received {"connection_id":190766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":190766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:21:02] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce184078012d181e800721afb8004800d529..."} 
[2026-09-23 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce184078012d181e800721afb8004800d529..."} 
[2026-09-23 17:21:02] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce184078012d181e800721afb8004800d529..."} 
[2026-09-23 17:21:02] local.INFO: Packet analysis {"connection_id":190766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce18"} 
[2026-09-23 17:21:02] local.INFO: Extracted packet for processing {"connection_id":190766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce18"} 
[2026-09-23 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648184,"longitude_deg":75.6555392,"latitude_deg":11.9648184,"altitude":72,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282001920001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774184346124288,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329880576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164091000,"timestamp_ms":1790164091000,"timestamp_seconds":1790164091,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce184078"} 
[2026-09-23 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:21: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-09-23 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282001920001,"66":10058,"105":206,"83":41984,"24":0,"16":22774184346124288,"45":1737967274329880576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282001920001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:21:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774184346124288,"km_value":22774184346124.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329880576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282001920001,"power":10058,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329880576}} 
[2026-09-23 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":190766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:21:02] local.INFO: GPS data processed {"connection_id":190766,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:21:02] local.INFO: Acknowledgment sent {"connection_id":190766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:21:34] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1aa1d8012d181e000721a778004b00622a..."} 
[2026-09-23 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1aa1d8012d181e000721a778004b00622a..."} 
[2026-09-23 17:21:34] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1aa1d8012d181e000721a778004b00622a..."} 
[2026-09-23 17:21:34] local.INFO: Packet analysis {"connection_id":190766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:21:34] local.INFO: Extracted packet for processing {"connection_id":190766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646072,"longitude_deg":75.6555264,"latitude_deg":11.9646072,"altitude":75,"angle":98,"satellites":42,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721a778","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282046976001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774411979390976,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120098304,"note":"Value kept but may cause issues"} 
[2026-09-23 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790164247000,"timestamp_ms":1790164247000,"timestamp_seconds":1790164247,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1aa1d8"} 
[2026-09-23 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-09-23 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 17:21: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-09-23 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-09-23 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-09-23 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282046976001,"66":12917,"105":206,"83":41984,"24":12,"16":22774411979390976,"45":1737474693120098304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282046976001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:21:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774411979390976,"km_value":22774411979390.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120098304,"description":"Unknown IO ID 45"} 
[2026-09-23 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282046976001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737474693120098304}} 
[2026-09-23 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":190766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:21:34] local.INFO: GPS data processed {"connection_id":190766,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:21:34] local.INFO: Acknowledgment sent {"connection_id":190766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:21:57] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:57] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:21:57] local.INFO: IMEI packet received {"connection_id":190573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":190573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:22:01] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:01] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:01] local.INFO: IMEI packet received {"connection_id":190573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":190573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:22:02] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1aa5c0012d181f400721a718004c007329..."} 
[2026-09-23 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1aa5c0012d181f400721a718004c007329..."} 
[2026-09-23 17:22:02] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1aa5c0012d181f400721a718004c007329..."} 
[2026-09-23 17:22:02] local.INFO: Packet analysis {"connection_id":190573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:22:02] local.INFO: Extracted packet for processing {"connection_id":190573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645976,"longitude_deg":75.6555584,"latitude_deg":11.9645976,"altitude":76,"angle":115,"satellites":41,"speed":10,"hex_longitude":"2d181f40","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282047232001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774424864292864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840984576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164248000,"timestamp_ms":1790164248000,"timestamp_seconds":1790164248,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1aa5c0"} 
[2026-09-23 17:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:22: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-09-23 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 17:22: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-09-23 17: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-09-23 17:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282047232001,"66":12917,"105":206,"83":41984,"24":10,"16":22774424864292864,"45":1737826536840984576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282047232001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:22:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774424864292864,"km_value":22774424864292.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840984576,"description":"Unknown IO ID 45"} 
[2026-09-23 17:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282047232001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536840984576}} 
[2026-09-23 17:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":190573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:22:02] local.INFO: GPS data processed {"connection_id":190573,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:22:02] local.INFO: Acknowledgment sent {"connection_id":190573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:22:33] local.INFO: TCP Data received {"connection_id":190573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1aa9a8012d181fc00721a6a0004c008228..."} 
[2026-09-23 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1aa9a8012d181fc00721a6a0004c008228..."} 
[2026-09-23 17:22:33] local.INFO: Processing buffer {"connection_id":190573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1aa9a8012d181fc00721a6a0004c008228..."} 
[2026-09-23 17:22:33] local.INFO: Packet analysis {"connection_id":190573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:22:33] local.INFO: Extracted packet for processing {"connection_id":190573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645856,"longitude_deg":75.6555712,"latitude_deg":11.9645856,"altitude":76,"angle":130,"satellites":40,"speed":7,"hex_longitude":"2d181fc0","hex_latitude":"0721a6a0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282047488001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774437749194752,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561848320,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164249000,"timestamp_ms":1790164249000,"timestamp_seconds":1790164249,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1aa9a8"} 
[2026-09-23 17:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:22: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-09-23 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 17:22: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-09-23 17: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-09-23 17:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282047488001,"66":12993,"105":206,"83":41984,"24":7,"16":22774437749194752,"45":1738178380561848320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282047488001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774437749194752,"km_value":22774437749194.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561848320,"description":"Unknown IO ID 45"} 
[2026-09-23 17:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282047488001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561848320}} 
[2026-09-23 17:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":190573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:22:33] local.INFO: GPS data processed {"connection_id":190573,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:22:33] local.INFO: Acknowledgment sent {"connection_id":190573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:22:41] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:22:41] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:22:41] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:22:42] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1b70e0012d399f4006c428c0001d00762b..."} 
[2026-09-23 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1b70e0012d399f4006c428c0001d00762b..."} 
[2026-09-23 17:22:42] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1b70e0012d399f4006c428c0001d00762b..."} 
[2026-09-23 17:22:42] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:22:42] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758751040,"raw_latitude":113518784,"longitude_deg":75.875104,"latitude_deg":11.3518784,"altitude":29,"angle":118,"satellites":43,"speed":31,"hex_longitude":"2d399f40","hex_latitude":"06c428c0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282059520001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406587541546860544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4148307867079084032,"note":"Value kept but may cause issues"} 
[2026-09-23 17:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790164300000,"timestamp_ms":1790164300000,"timestamp_seconds":1790164300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1b70e0"} 
[2026-09-23 17:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:22: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-09-23 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282059520001,"66":27843,"27":206,"81":21504,"24":31,"16":406587541546860544,"45":4148307867079084032},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,81,24,16,45]} 
[2026-09-23 17:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282059520001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:22:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-23 17:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406587541546860544,"km_value":406587541546860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4148307867079084032,"description":"Unknown IO ID 45"} 
[2026-09-23 17:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282059520001,"power":27843,"unknown_27":206,"unknown_81":21504,"ignition":31,"odometer":null,"unknown_45":4148307867079084032}} 
[2026-09-23 17:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:22:42] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:22:42] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:22:56] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:56] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:22:56] local.INFO: IMEI packet received {"connection_id":190767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":190767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:22:59] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:22:59] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:22:59] local.INFO: IMEI packet received {"connection_id":193449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":193449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:23:01] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:01] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:01] local.INFO: IMEI packet received {"connection_id":190767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":190767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:23:02] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1ae058012d1827c007219f90004f007525..."} 
[2026-09-23 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1ae058012d1827c007219f90004f007525..."} 
[2026-09-23 17:23:02] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1ae058012d1827c007219f90004f007525..."} 
[2026-09-23 17:23:02] local.INFO: Packet analysis {"connection_id":190767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:23:02] local.INFO: Extracted packet for processing {"connection_id":190767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119644048,"longitude_deg":75.655776,"latitude_deg":11.9644048,"altitude":79,"angle":117,"satellites":37,"speed":7,"hex_longitude":"2d1827c0","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282047744001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774566598213632,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050172928,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164263000,"timestamp_ms":1790164263000,"timestamp_seconds":1790164263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1ae058"} 
[2026-09-23 17:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:23: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-09-23 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-23 17:23: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-09-23 17: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-09-23 17:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282047744001,"66":12993,"105":206,"83":41984,"24":7,"16":22774566598213632,"45":1738319118050172928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282047744001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:23:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:23:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774566598213632,"km_value":22774566598213.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050172928,"description":"Unknown IO ID 45"} 
[2026-09-23 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282047744001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738319118050172928}} 
[2026-09-23 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":190767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:23:02] local.INFO: GPS data processed {"connection_id":190767,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:23:02] local.INFO: Acknowledgment sent {"connection_id":190767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:23:13] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1b8080012d39ac0006c42300001c006a2c..."} 
[2026-09-23 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1b8080012d39ac0006c42300001c006a2c..."} 
[2026-09-23 17:23:13] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1b8080012d39ac0006c42300001c006a2c..."} 
[2026-09-23 17:23:13] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:23:13] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758754304,"raw_latitude":113517312,"longitude_deg":75.8754304,"latitude_deg":11.3517312,"altitude":28,"angle":106,"satellites":44,"speed":33,"hex_longitude":"2d39ac00","hex_latitude":"06c42300","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282060800001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406587709050585088,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4152107779263873024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790164304000,"timestamp_ms":1790164304000,"timestamp_seconds":1790164304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1b8080"} 
[2026-09-23 17:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:23: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-09-23 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:23: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-09-23 17: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-09-23 17:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282060800001,"66":27876,"27":206,"81":21504,"24":33,"16":406587709050585088,"45":4152107779263873024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,81,24,16,45]} 
[2026-09-23 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282060800001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:23:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-23 17:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406587709050585088,"km_value":406587709050585.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4152107779263873024,"description":"Unknown IO ID 45"} 
[2026-09-23 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282060800001,"power":27876,"unknown_27":206,"unknown_81":21504,"ignition":33,"odometer":null,"unknown_45":4152107779263873024}} 
[2026-09-23 17:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:23:13] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:23:13] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:23:32] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: IMEI packet received {"connection_id":193450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:23:32] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:32] local.INFO: IMEI packet received {"connection_id":193450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:23:33] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1ae440012d18288007219f28004f008a26..."} 
[2026-09-23 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1ae440012d18288007219f28004f008a26..."} 
[2026-09-23 17:23:33] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1ae440012d18288007219f28004f008a26..."} 
[2026-09-23 17:23:33] local.INFO: Packet analysis {"connection_id":190767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:23:33] local.INFO: Extracted packet for processing {"connection_id":190767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1a"} 
[2026-09-23 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643944,"longitude_deg":75.6557952,"latitude_deg":11.9643944,"altitude":79,"angle":138,"satellites":38,"speed":6,"hex_longitude":"2d182880","hex_latitude":"07219f28","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282051328001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774575188148224,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863395328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164264000,"timestamp_ms":1790164264000,"timestamp_seconds":1790164264,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1ae440"} 
[2026-09-23 17:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:23: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-09-23 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-23 17:23:33] 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-09-23 17: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-09-23 17:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282051328001,"66":12993,"105":206,"83":41984,"24":6,"16":22774575188148224,"45":1740570917863395328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282051328001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:23:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774575188148224,"km_value":22774575188148.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863395328,"description":"Unknown IO ID 45"} 
[2026-09-23 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282051328001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740570917863395328}} 
[2026-09-23 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":190767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:23:33] local.INFO: GPS data processed {"connection_id":190767,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:23:33] local.INFO: Acknowledgment sent {"connection_id":190767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:23:36] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:36] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:23:36] local.INFO: IMEI packet received {"connection_id":193450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":193450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:23:37] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1c4ba0012d3a1cc006c3bc50001300882b..."} 
[2026-09-23 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1c4ba0012d3a1cc006c3bc50001300882b..."} 
[2026-09-23 17:23:37] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1c4ba0012d3a1cc006c3bc50001300882b..."} 
[2026-09-23 17:23:37] local.INFO: Packet analysis {"connection_id":193450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:23:37] local.INFO: Extracted packet for processing {"connection_id":193450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758783168,"raw_latitude":113491024,"longitude_deg":75.8783168,"latitude_deg":11.3491024,"altitude":19,"angle":136,"satellites":43,"speed":29,"hex_longitude":"2d3a1cc0","hex_latitude":"06c3bc50","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282074368001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406589689030508544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4186095882695012352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790164356000,"timestamp_ms":1790164356000,"timestamp_seconds":1790164356,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1c4ba0"} 
[2026-09-23 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-09-23 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-23 17:23: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-09-23 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-09-23 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-09-23 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282074368001,"66":27767,"79":206,"81":21504,"24":29,"16":406589689030508544,"45":4186095882695012352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282074368001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:23:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406589689030508544,"km_value":406589689030508.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4186095882695012352,"description":"Unknown IO ID 45"} 
[2026-09-23 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282074368001,"power":27767,"unknown_79":206,"unknown_81":21504,"ignition":29,"odometer":null,"unknown_45":4186095882695012352}} 
[2026-09-23 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":193450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:23:37] local.INFO: GPS data processed {"connection_id":193450,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:23:37] local.INFO: Acknowledgment sent {"connection_id":193450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:23:41] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1c6ae0012d3a2d8006c3ac180013007d29..."} 
[2026-09-23 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1c6ae0012d3a2d8006c3ac180013007d29..."} 
[2026-09-23 17:23:41] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1c6ae0012d3a2d8006c3ac180013007d29..."} 
[2026-09-23 17:23:41] local.INFO: Packet analysis {"connection_id":193450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:23:41] local.INFO: Extracted packet for processing {"connection_id":193450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758787456,"raw_latitude":113486872,"longitude_deg":75.8787456,"latitude_deg":11.3486872,"altitude":19,"angle":125,"satellites":41,"speed":29,"hex_longitude":"2d3a2d80","hex_latitude":"06c3ac18","is_valid_coordinates":true} 
[2026-09-23 17:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282075136001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406589976793317376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4187432888833953792,"note":"Value kept but may cause issues"} 
[2026-09-23 17:23:41] 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-09-23 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790164364000,"timestamp_ms":1790164364000,"timestamp_seconds":1790164364,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1c6ae0"} 
[2026-09-23 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:23: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-09-23 17:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282075136001,"66":27876,"79":206,"81":21504,"24":29,"16":406589976793317376,"45":4187432888833953792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282075136001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:23:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406589976793317376,"km_value":406589976793317.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4187432888833953792,"description":"Unknown IO ID 45"} 
[2026-09-23 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282075136001,"power":27876,"unknown_79":206,"unknown_81":21504,"ignition":29,"odometer":null,"unknown_45":4187432888833953792}} 
[2026-09-23 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":193450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:23:41] local.INFO: GPS data processed {"connection_id":193450,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:23:41] local.INFO: Acknowledgment sent {"connection_id":193450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:23:56] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:56] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:56] local.INFO: IMEI packet received {"connection_id":190574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":190574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:23:59] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:59] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:23:59] local.INFO: IMEI packet received {"connection_id":190574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":190574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:24:01] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:01] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:01] local.INFO: IMEI packet received {"connection_id":190574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":190574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:24:02] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1b3648012d1828c007219eb8004f008726..."} 
[2026-09-23 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1b3648012d1828c007219eb8004f008726..."} 
[2026-09-23 17:24:02] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1b3648012d1828c007219eb8004f008726..."} 
[2026-09-23 17:24:02] local.INFO: Packet analysis {"connection_id":190574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:24:02] local.INFO: Extracted packet for processing {"connection_id":190574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643832,"longitude_deg":75.6558016,"latitude_deg":11.9643832,"altitude":79,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219eb8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282051584001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774583778082816,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095901696,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164285000,"timestamp_ms":1790164285000,"timestamp_seconds":1790164285,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1b3648"} 
[2026-09-23 17:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:24: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-09-23 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-23 17:24: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-09-23 17: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-09-23 17:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282051584001,"66":12863,"105":206,"83":41984,"24":0,"16":22774583778082816,"45":1740782024095901696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282051584001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774583778082816,"km_value":22774583778082.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095901696,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282051584001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740782024095901696}} 
[2026-09-23 17:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":190574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:02] local.INFO: GPS data processed {"connection_id":190574,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:02] local.INFO: Acknowledgment sent {"connection_id":190574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:12] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1c8a20012d3a3e4006c3a2d80011006e2b..."} 
[2026-09-23 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1c8a20012d3a3e4006c3a2d80011006e2b..."} 
[2026-09-23 17:24:12] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1c8a20012d3a3e4006c3a2d80011006e2b..."} 
[2026-09-23 17:24:12] local.INFO: Packet analysis {"connection_id":193450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:12] local.INFO: Extracted packet for processing {"connection_id":193450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758791744,"raw_latitude":113484504,"longitude_deg":75.8791744,"latitude_deg":11.3484504,"altitude":17,"angle":110,"satellites":43,"speed":21,"hex_longitude":"2d3a3e40","hex_latitude":"06c3a2d8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282077184001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406590208721551360,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4192147594692794368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:12] 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-09-23 17:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790164372000,"timestamp_ms":1790164372000,"timestamp_seconds":1790164372,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1c8a20"} 
[2026-09-23 17:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:24: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-09-23 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282077184001,"66":27865,"79":206,"81":21504,"24":21,"16":406590208721551360,"45":4192147594692794368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282077184001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:24:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406590208721551360,"km_value":406590208721551.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4192147594692794368,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282077184001,"power":27865,"unknown_79":206,"unknown_81":21504,"ignition":21,"odometer":null,"unknown_45":4192147594692794368}} 
[2026-09-23 17:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":193450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:12] local.INFO: GPS data processed {"connection_id":193450,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:12] local.INFO: Acknowledgment sent {"connection_id":193450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:33] local.INFO: TCP Data received {"connection_id":190574,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1b8850012d1828c007219eb8004f008729..."} 
[2026-09-23 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1b8850012d1828c007219eb8004f008729..."} 
[2026-09-23 17:24:33] local.INFO: Processing buffer {"connection_id":190574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1b8850012d1828c007219eb8004f008729..."} 
[2026-09-23 17:24:33] local.INFO: Packet analysis {"connection_id":190574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:24:33] local.INFO: Extracted packet for processing {"connection_id":190574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1b"} 
[2026-09-23 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643832,"longitude_deg":75.6558016,"latitude_deg":11.9643832,"altitude":79,"angle":135,"satellites":41,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219eb8","is_valid_coordinates":true} 
[2026-09-23 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282056960001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22774583778082816,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392840050688,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164306000,"timestamp_ms":1790164306000,"timestamp_seconds":1790164306,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1b8850"} 
[2026-09-23 17:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:24: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-09-23 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 17:24:33] 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-09-23 17:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282056960001,"66":12863,"105":206,"83":41984,"24":0,"16":22774583778082816,"45":1740852392840050688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 17:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282056960001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 17:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22774583778082816,"km_value":22774583778082.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392840050688,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282056960001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392840050688}} 
[2026-09-23 17:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":190574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:33] local.INFO: GPS data processed {"connection_id":190574,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:33] local.INFO: Acknowledgment sent {"connection_id":190574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:33] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:33] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:33] local.INFO: IMEI packet received {"connection_id":192110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:24:37] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:37] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:37] local.INFO: IMEI packet received {"connection_id":192110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":192110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:24:40] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:40] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:24:40] local.INFO: IMEI packet received {"connection_id":192110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":192110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:24:43] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":1348,"data_hex":"000000000000030f8e0a000001a0ce1cb900012d3a604006c397b8001300622b..."} 
[2026-09-23 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0ce1cb900012d3a604006c397b8001300622b..."} 
[2026-09-23 17:24:43] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0ce1cb900012d3a604006c397b8001300622b..."} 
[2026-09-23 17:24:43] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:43] local.INFO: Extracted packet for processing {"connection_id":192110,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758800448,"raw_latitude":113481656,"longitude_deg":75.8800448,"latitude_deg":11.3481656,"altitude":19,"angle":98,"satellites":43,"speed":30,"hex_longitude":"2d3a6040","hex_latitude":"06c397b8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282079232001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406590646808215552,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4196862300552091648,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790164384000,"timestamp_ms":1790164384000,"timestamp_seconds":1790164384,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1cb900"} 
[2026-09-23 17:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:24: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-09-23 17: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-09-23 17:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282079232001,"66":26604,"79":206,"81":21504,"24":30,"16":406590646808215552,"45":4196862300552091648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282079232001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406590646808215552,"km_value":406590646808215.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4196862300552091648,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282079232001,"power":26604,"unknown_79":206,"unknown_81":21504,"ignition":30,"odometer":null,"unknown_45":4196862300552091648}} 
[2026-09-23 17:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":192110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:43] local.INFO: GPS data processed {"connection_id":192110,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:43] local.INFO: Acknowledgment sent {"connection_id":192110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:43] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:43] local.INFO: Incomplete packet, waiting for more data {"connection_id":192110,"needed":795,"available":553} 
[2026-09-23 17:24:44] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":242,"data_hex":"000000000001a0ce1c0550012d39f20006c3dd50001600732b00200000000a00..."} 
[2026-09-23 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":242,"packet_hex":"000000000001a0ce1c0550012d39f20006c3dd50001600732b00200000000a00..."} 
[2026-09-23 17:24:44] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1cb900012d3a604006c397b8001300622b..."} 
[2026-09-23 17:24:44] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:44] local.INFO: Extracted packet for processing {"connection_id":192110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758800448,"raw_latitude":113481656,"longitude_deg":75.8800448,"latitude_deg":11.3481656,"altitude":19,"angle":98,"satellites":43,"speed":30,"hex_longitude":"2d3a6040","hex_latitude":"06c397b8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282082304001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406590646808215552,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4206432449759524864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:44] 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-09-23 17:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790164384000,"timestamp_ms":1790164384000,"timestamp_seconds":1790164384,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1cb900"} 
[2026-09-23 17:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 17:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282082304001,"66":26604,"79":206,"81":21504,"24":30,"16":406590646808215552,"45":4206432449759524864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282082304001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406590646808215552,"km_value":406590646808215.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4206432449759524864,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282082304001,"power":26604,"unknown_79":206,"unknown_81":21504,"ignition":30,"odometer":null,"unknown_45":4206432449759524864}} 
[2026-09-23 17:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":192110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:44] local.INFO: GPS data processed {"connection_id":192110,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:44] local.INFO: Acknowledgment sent {"connection_id":192110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:46] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1cc8a0012d3a6c8006c394600015006d2a..."} 
[2026-09-23 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1cc8a0012d3a6c8006c394600015006d2a..."} 
[2026-09-23 17:24:46] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1cc8a0012d3a6c8006c394600015006d2a..."} 
[2026-09-23 17:24:46] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:46] local.INFO: Extracted packet for processing {"connection_id":192110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758803584,"raw_latitude":113480800,"longitude_deg":75.8803584,"latitude_deg":11.34808,"altitude":21,"angle":109,"satellites":42,"speed":31,"hex_longitude":"2d3a6c80","hex_latitude":"06c39460","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282082304001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406590801427038208,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4206432449759524864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:24:46] 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-09-23 17:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790164388000,"timestamp_ms":1790164388000,"timestamp_seconds":1790164388,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1cc8a0"} 
[2026-09-23 17:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:24: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-09-23 17: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-23 17:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282082304001,"66":27865,"79":206,"81":21504,"24":31,"16":406590801427038208,"45":4206432449759524864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282082304001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:24:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406590801427038208,"km_value":406590801427038.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4206432449759524864,"description":"Unknown IO ID 45"} 
[2026-09-23 17:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282082304001,"power":27865,"unknown_79":206,"unknown_81":21504,"ignition":31,"odometer":null,"unknown_45":4206432449759524864}} 
[2026-09-23 17:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":192110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:24:46] local.INFO: GPS data processed {"connection_id":192110,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:24:46] local.INFO: Acknowledgment sent {"connection_id":192110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:24:57] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:57] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:57] local.INFO: IMEI packet received {"connection_id":190575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":190575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:24:59] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:59] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:24:59] local.INFO: IMEI packet received {"connection_id":190575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":190575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:01] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:01] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:01] local.INFO: IMEI packet received {"connection_id":190575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":190575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:02] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:02] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:02] local.INFO: IMEI packet received {"connection_id":190575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":190575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:03] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1d8808012d18ac80072172e8004d007923..."} 
[2026-09-23 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1d8808012d18ac80072172e8004d007923..."} 
[2026-09-23 17:25:03] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1d8808012d18ac80072172e8004d007923..."} 
[2026-09-23 17:25:03] local.INFO: Packet analysis {"connection_id":190575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1d"} 
[2026-09-23 17:25:03] local.INFO: Extracted packet for processing {"connection_id":190575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1d"} 
[2026-09-23 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632616,"longitude_deg":75.6591744,"latitude_deg":11.9632616,"altitude":77,"angle":121,"satellites":35,"speed":37,"hex_longitude":"2d18ac80","hex_latitude":"072172e8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282093568001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22776323239837696,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767944359346485248,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790164437000,"timestamp_ms":1790164437000,"timestamp_seconds":1790164437,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1d8808"} 
[2026-09-23 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:25: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-09-23 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-23 17:25:03] 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-09-23 17: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-09-23 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282093568001,"66":14233,"106":206,"83":41984,"24":37,"16":22776323239837696,"45":1767944359346485248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282093568001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22776323239837696,"km_value":22776323239837.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767944359346485248,"description":"Unknown IO ID 45"} 
[2026-09-23 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282093568001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1767944359346485248}} 
[2026-09-23 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":190575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:25:03] local.INFO: GPS data processed {"connection_id":190575,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:25:03] local.INFO: Acknowledgment sent {"connection_id":190575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:25:29] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:29] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:29] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:25:31] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:31] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:31] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:34] local.INFO: TCP Data received {"connection_id":190575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1e3fa0012d18f1000720ddc8003b008c23..."} 
[2026-09-23 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1e3fa0012d18f1000720ddc8003b008c23..."} 
[2026-09-23 17:25:34] local.INFO: Processing buffer {"connection_id":190575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1e3fa0012d18f1000720ddc8003b008c23..."} 
[2026-09-23 17:25:34] local.INFO: Packet analysis {"connection_id":190575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:25:34] local.INFO: Extracted packet for processing {"connection_id":190575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119594440,"longitude_deg":75.660928,"latitude_deg":11.959444,"altitude":59,"angle":140,"satellites":35,"speed":47,"hex_longitude":"2d18f100","hex_latitude":"0720ddc8","is_valid_coordinates":true} 
[2026-09-23 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282105088001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22778423478845440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790673463707176960,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790164484000,"timestamp_ms":1790164484000,"timestamp_seconds":1790164484,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1e3fa0"} 
[2026-09-23 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 17:25:34] 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-09-23 17:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282105088001,"66":14243,"103":206,"83":41984,"24":47,"16":22778423478845440,"45":1790673463707176960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282105088001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:25:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22778423478845440,"km_value":22778423478845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790673463707176960,"description":"Unknown IO ID 45"} 
[2026-09-23 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282105088001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1790673463707176960}} 
[2026-09-23 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":190575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:25:34] local.INFO: GPS data processed {"connection_id":190575,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:25:34] local.INFO: Acknowledgment sent {"connection_id":190575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:25:36] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:36] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:25:36] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:37] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1cf780012d3a8e4006c386a00018006e29..."} 
[2026-09-23 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1cf780012d3a8e4006c386a00018006e29..."} 
[2026-09-23 17:25:37] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1cf780012d3a8e4006c386a00018006e29..."} 
[2026-09-23 17:25:37] local.INFO: Packet analysis {"connection_id":193451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:25:37] local.INFO: Extracted packet for processing {"connection_id":193451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1c"} 
[2026-09-23 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758812224,"raw_latitude":113477280,"longitude_deg":75.8812224,"latitude_deg":11.347728,"altitude":24,"angle":110,"satellites":41,"speed":30,"hex_longitude":"2d3a8e40","hex_latitude":"06c386a0","is_valid_coordinates":true} 
[2026-09-23 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282083328001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406591248103636992,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4209880518224011264,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790164400000,"timestamp_ms":1790164400000,"timestamp_seconds":1790164400,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1cf780"} 
[2026-09-23 17:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:25: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-09-23 17:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:25: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-09-23 17: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-09-23 17:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282083328001,"66":27876,"79":206,"81":21504,"24":30,"16":406591248103636992,"45":4209880518224011264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-23 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282083328001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:25:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-23 17:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406591248103636992,"km_value":406591248103637.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4209880518224011264,"description":"Unknown IO ID 45"} 
[2026-09-23 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282083328001,"power":27876,"unknown_79":206,"unknown_81":21504,"ignition":30,"odometer":null,"unknown_45":4209880518224011264}} 
[2026-09-23 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":193451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:25:37] local.INFO: GPS data processed {"connection_id":193451,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:25:37] local.INFO: Acknowledgment sent {"connection_id":193451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:25:53] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:53] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:53] local.INFO: IMEI packet received {"connection_id":190576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":190576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:25:56] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:56] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:56] local.INFO: IMEI packet received {"connection_id":190576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":190576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:58] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:58] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:25:58] local.INFO: IMEI packet received {"connection_id":190576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":190576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:25:59] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1e4b58012d18fb000720d450003a007f23..."} 
[2026-09-23 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1e4b58012d18fb000720d450003a007f23..."} 
[2026-09-23 17:25:59] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1e4b58012d18fb000720d450003a007f23..."} 
[2026-09-23 17:25:59] local.INFO: Packet analysis {"connection_id":190576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:25:59] local.INFO: Extracted packet for processing {"connection_id":190576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119592016,"longitude_deg":75.661184,"latitude_deg":11.9592016,"altitude":58,"angle":127,"satellites":35,"speed":46,"hex_longitude":"2d18fb00","hex_latitude":"0720d450","is_valid_coordinates":true} 
[2026-09-23 17:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282107904001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22778595277537280,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756913715200,"note":"Value kept but may cause issues"} 
[2026-09-23 17:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790164487000,"timestamp_ms":1790164487000,"timestamp_seconds":1790164487,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1e4b58"} 
[2026-09-23 17:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 17:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282107904001,"66":14243,"103":206,"83":41984,"24":46,"16":22778595277537280,"45":1797217756913715200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282107904001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:25:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22778595277537280,"km_value":22778595277537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756913715200,"description":"Unknown IO ID 45"} 
[2026-09-23 17:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282107904001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1797217756913715200}} 
[2026-09-23 17:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":190576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:25:59] local.INFO: GPS data processed {"connection_id":190576,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:25:59] local.INFO: Acknowledgment sent {"connection_id":190576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:26:09] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1eb4d0012d3b9cc006c2a1100019008d2a..."} 
[2026-09-23 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1eb4d0012d3b9cc006c2a1100019008d2a..."} 
[2026-09-23 17:26:09] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1eb4d0012d3b9cc006c2a1100019008d2a..."} 
[2026-09-23 17:26:09] local.INFO: Packet analysis {"connection_id":193451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:09] local.INFO: Extracted packet for processing {"connection_id":193451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758881472,"raw_latitude":113418512,"longitude_deg":75.8881472,"latitude_deg":11.3418512,"altitude":25,"angle":141,"satellites":42,"speed":39,"hex_longitude":"2d3b9cc0","hex_latitude":"06c2a110","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282114560001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406595762114265088,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4292141580152496128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790164514000,"timestamp_ms":1790164514000,"timestamp_seconds":1790164514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1eb4d0"} 
[2026-09-23 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-09-23 17: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-09-23 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282114560001,"66":27865,"103":206,"81":21504,"24":39,"16":406595762114265088,"45":4292141580152496128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,81,24,16,45]} 
[2026-09-23 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282114560001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:26:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406595762114265088,"km_value":406595762114265.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4292141580152496128,"description":"Unknown IO ID 45"} 
[2026-09-23 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282114560001,"power":27865,"unknown_103":206,"unknown_81":21504,"ignition":39,"odometer":null,"unknown_45":4292141580152496128}} 
[2026-09-23 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":193451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:26:09] local.INFO: GPS data processed {"connection_id":193451,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:26:09] local.INFO: Acknowledgment sent {"connection_id":193451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:26:30] local.INFO: TCP Data received {"connection_id":190576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1e62c8012d1914800720c5300033007323..."} 
[2026-09-23 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1e62c8012d1914800720c5300033007323..."} 
[2026-09-23 17:26:30] local.INFO: Processing buffer {"connection_id":190576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1e62c8012d1914800720c5300033007323..."} 
[2026-09-23 17:26:30] local.INFO: Packet analysis {"connection_id":190576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:30] local.INFO: Extracted packet for processing {"connection_id":190576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756618368,"raw_latitude":119588144,"longitude_deg":75.6618368,"latitude_deg":11.9588144,"altitude":51,"angle":115,"satellites":35,"speed":54,"hex_longitude":"2d191480","hex_latitude":"0720c530","is_valid_coordinates":true} 
[2026-09-23 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282108672001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22778956054790144,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506680201216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790164493000,"timestamp_ms":1790164493000,"timestamp_seconds":1790164493,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1e62c8"} 
[2026-09-23 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:26: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-09-23 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-23 17:26:30] 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-09-23 17:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282108672001,"66":14157,"103":206,"83":41984,"24":54,"16":22778956054790144,"45":1800032506680201216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282108672001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22778956054790144,"km_value":22778956054790.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506680201216,"description":"Unknown IO ID 45"} 
[2026-09-23 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282108672001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1800032506680201216}} 
[2026-09-23 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":190576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:26:30] local.INFO: GPS data processed {"connection_id":190576,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:26:30] local.INFO: Acknowledgment sent {"connection_id":190576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:26:31] local.INFO: TCP Data received {"connection_id":192111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:31] local.INFO: Processing buffer {"connection_id":192111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:31] local.INFO: IMEI packet received {"connection_id":192111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":192111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:26:33] local.INFO: TCP Data received {"connection_id":192111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:33] local.INFO: Processing buffer {"connection_id":192111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:26:33] local.INFO: IMEI packet received {"connection_id":192111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":192111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:26:33] local.INFO: TCP Data received {"connection_id":192111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:26:33] local.INFO: Processing buffer {"connection_id":192111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:26:33] local.INFO: Packet analysis {"connection_id":192111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:33] local.INFO: Extracted packet for processing {"connection_id":192111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":758886592,"raw_latitude":113410832,"longitude_deg":75.8886592,"latitude_deg":11.3410832,"altitude":23,"angle":154,"satellites":44,"speed":22,"hex_longitude":"2d3bb0c0","hex_latitude":"06c28310","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282115584001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406596204495896576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4295519279872282624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164525000,"timestamp_ms":1790164525000,"timestamp_seconds":1790164525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1edfc8"} 
[2026-09-23 17:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:26: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-09-23 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282115584001,"66":27669,"103":206,"81":21504,"24":22,"16":406596204495896576,"45":4295519279872282624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,81,24,16,45]} 
[2026-09-23 17:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282115584001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:26:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406596204495896576,"km_value":406596204495896.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4295519279872282624,"description":"Unknown IO ID 45"} 
[2026-09-23 17:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282115584001,"power":27669,"unknown_103":206,"unknown_81":21504,"ignition":22,"odometer":null,"unknown_45":4295519279872282624}} 
[2026-09-23 17:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":192111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:26:33] local.INFO: GPS data processed {"connection_id":192111,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:26:33] local.INFO: Acknowledgment sent {"connection_id":192111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:26:56] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: IMEI packet received {"connection_id":190577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":190577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:26:56] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:26:56] local.INFO: IMEI packet received {"connection_id":190577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":190577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:27:01] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:01] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:01] local.INFO: IMEI packet received {"connection_id":190577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":190577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:27:02] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1f60b0012d19bc000720a3a8002100b022..."} 
[2026-09-23 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1f60b0012d19bc000720a3a8002100b022..."} 
[2026-09-23 17:27:02] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1f60b0012d19bc000720a3a8002100b022..."} 
[2026-09-23 17:27:02] local.INFO: Packet analysis {"connection_id":190577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:27:02] local.INFO: Extracted packet for processing {"connection_id":190577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119579560,"longitude_deg":75.6661248,"latitude_deg":11.957956,"altitude":33,"angle":176,"satellites":34,"speed":21,"hex_longitude":"2d19bc00","hex_latitude":"0720a3a8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282126592001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22781202322685952,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926490112,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164558000,"timestamp_ms":1790164558000,"timestamp_seconds":1790164558,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1f60b0"} 
[2026-09-23 17:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:27: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-09-23 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-23 17:27: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-09-23 17: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-09-23 17:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282126592001,"66":13820,"103":206,"83":41984,"24":21,"16":22781202322685952,"45":1854427545926490112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282126592001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:27:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22781202322685952,"km_value":22781202322685.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926490112,"description":"Unknown IO ID 45"} 
[2026-09-23 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282126592001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854427545926490112}} 
[2026-09-23 17:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":190577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:27:02] local.INFO: GPS data processed {"connection_id":190577,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:27:02] local.INFO: Acknowledgment sent {"connection_id":190577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:27:04] local.INFO: TCP Data received {"connection_id":192111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:27:04] local.INFO: Processing buffer {"connection_id":192111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1edfc8012d3bb0c006c283100017009a2c..."} 
[2026-09-23 17:27:04] local.INFO: Packet analysis {"connection_id":192111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:27:04] local.INFO: Extracted packet for processing {"connection_id":192111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1e"} 
[2026-09-23 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758886592,"raw_latitude":113410832,"longitude_deg":75.8886592,"latitude_deg":11.3410832,"altitude":23,"angle":154,"satellites":44,"speed":22,"hex_longitude":"2d3bb0c0","hex_latitude":"06c28310","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282118400001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406596204495896576,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4301148779404529664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790164525000,"timestamp_ms":1790164525000,"timestamp_seconds":1790164525,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1edfc8"} 
[2026-09-23 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-09-23 17: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-09-23 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":21,"data_length":795,"current_offset":136} 
[2026-09-23 17:27:04] 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-09-23 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-09-23 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-09-23 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282118400001,"66":27669,"103":206,"81":21504,"24":22,"16":406596204495896576,"45":4301148779404529664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,81,24,16,45]} 
[2026-09-23 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282118400001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:27:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406596204495896576,"km_value":406596204495896.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4301148779404529664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282118400001,"power":27669,"unknown_103":206,"unknown_81":21504,"ignition":22,"odometer":null,"unknown_45":4301148779404529664}} 
[2026-09-23 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":192111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:27:04] local.INFO: GPS data processed {"connection_id":192111,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:27:04] local.INFO: Acknowledgment sent {"connection_id":192111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:27:31] local.INFO: TCP Data received {"connection_id":190578,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:31] local.INFO: Processing buffer {"connection_id":190578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:31] local.INFO: IMEI packet received {"connection_id":190578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":190578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:27:33] local.INFO: TCP Data received {"connection_id":190577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce202bd0012d19d380071ffbf8002800ef21..."} 
[2026-09-23 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce202bd0012d19d380071ffbf8002800ef21..."} 
[2026-09-23 17:27:33] local.INFO: Processing buffer {"connection_id":190577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce202bd0012d19d380071ffbf8002800ef21..."} 
[2026-09-23 17:27:33] local.INFO: Packet analysis {"connection_id":190577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:27:33] local.INFO: Extracted packet for processing {"connection_id":190577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119536632,"longitude_deg":75.6667264,"latitude_deg":11.9536632,"altitude":40,"angle":239,"satellites":33,"speed":30,"hex_longitude":"2d19d380","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282139648001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22783581734567936,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582751836160,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164610000,"timestamp_ms":1790164610000,"timestamp_seconds":1790164610,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce202bd0"} 
[2026-09-23 17:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:27: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-09-23 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 17:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282139648001,"66":14211,"101":206,"83":41984,"24":30,"16":22783581734567936,"45":1862449582751836160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 17:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282139648001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:27:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 17:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22783581734567936,"km_value":22783581734567.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582751836160,"description":"Unknown IO ID 45"} 
[2026-09-23 17:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282139648001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1862449582751836160}} 
[2026-09-23 17:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":190577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:27:33] local.INFO: GPS data processed {"connection_id":190577,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:27:33] local.INFO: Acknowledgment sent {"connection_id":190577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:27:36] local.INFO: TCP Data received {"connection_id":190578,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:36] local.INFO: Processing buffer {"connection_id":190578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:27:36] local.INFO: IMEI packet received {"connection_id":190578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":190578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:27:37] local.INFO: TCP Data received {"connection_id":190578,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1f2618012d3bbf8006c263880016009f2c..."} 
[2026-09-23 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1f2618012d3bbf8006c263880016009f2c..."} 
[2026-09-23 17:27:37] local.INFO: Processing buffer {"connection_id":190578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1f2618012d3bbf8006c263880016009f2c..."} 
[2026-09-23 17:27:37] local.INFO: Packet analysis {"connection_id":190578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:27:37] local.INFO: Extracted packet for processing {"connection_id":190578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758890368,"raw_latitude":113402760,"longitude_deg":75.8890368,"latitude_deg":11.340276,"altitude":22,"angle":159,"satellites":44,"speed":22,"hex_longitude":"2d3bbf80","hex_latitude":"06c26388","is_valid_coordinates":true} 
[2026-09-23 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282118400001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406596638287593472,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4301148779404529664,"note":"Value kept but may cause issues"} 
[2026-09-23 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790164543000,"timestamp_ms":1790164543000,"timestamp_seconds":1790164543,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1f2618"} 
[2026-09-23 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:27: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-09-23 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-23 17:27:37] 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-09-23 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282118400001,"66":27908,"103":206,"81":21504,"24":22,"16":406596638287593472,"45":4301148779404529664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,81,24,16,45]} 
[2026-09-23 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282118400001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:27:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406596638287593472,"km_value":406596638287593.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4301148779404529664,"description":"Unknown IO ID 45"} 
[2026-09-23 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282118400001,"power":27908,"unknown_103":206,"unknown_81":21504,"ignition":22,"odometer":null,"unknown_45":4301148779404529664}} 
[2026-09-23 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":190578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:27:37] local.INFO: GPS data processed {"connection_id":190578,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:27:37] local.INFO: Acknowledgment sent {"connection_id":190578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:27:54] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:54] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:54] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:27:56] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:56] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:56] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:27:57] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:57] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:27:57] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:28:01] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:01] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:01] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:28:02] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce203788012d19cd00071ff750002700d923..."} 
[2026-09-23 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce203788012d19cd00071ff750002700d923..."} 
[2026-09-23 17:28:02] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce203788012d19cd00071ff750002700d923..."} 
[2026-09-23 17:28:02] local.INFO: Packet analysis {"connection_id":192113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:28:02] local.INFO: Extracted packet for processing {"connection_id":192113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119535440,"longitude_deg":75.66656,"latitude_deg":11.953544,"altitude":39,"angle":217,"satellites":35,"speed":23,"hex_longitude":"2d19cd00","hex_latitude":"071ff750","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282140160001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22783680518815744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839123879936,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164613000,"timestamp_ms":1790164613000,"timestamp_seconds":1790164613,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce203788"} 
[2026-09-23 17:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:28: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-09-23 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-23 17:28:02] 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-09-23 17: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-09-23 17:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282140160001,"66":14341,"101":206,"83":41984,"24":23,"16":22783680518815744,"45":1860971839123879936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 17:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282140160001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:28:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 17:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22783680518815744,"km_value":22783680518815.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839123879936,"description":"Unknown IO ID 45"} 
[2026-09-23 17:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282140160001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1860971839123879936}} 
[2026-09-23 17:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":192113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:28:02] local.INFO: GPS data processed {"connection_id":192113,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:28:02] local.INFO: Acknowledgment sent {"connection_id":192113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:28:08] local.INFO: TCP Data received {"connection_id":190578,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce1f54f8012d3bc80006c24138001600a52b..."} 
[2026-09-23 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce1f54f8012d3bc80006c24138001600a52b..."} 
[2026-09-23 17:28:08] local.INFO: Processing buffer {"connection_id":190578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce1f54f8012d3bc80006c24138001600a52b..."} 
[2026-09-23 17:28:08] local.INFO: Packet analysis {"connection_id":190578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:28:08] local.INFO: Extracted packet for processing {"connection_id":190578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce1f"} 
[2026-09-23 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758892544,"raw_latitude":113393976,"longitude_deg":75.8892544,"latitude_deg":11.3393976,"altitude":22,"angle":165,"satellites":43,"speed":33,"hex_longitude":"2d3bc800","hex_latitude":"06c24138","is_valid_coordinates":true} 
[2026-09-23 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282123008001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406597080669224960,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4305300535308945408,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790164555000,"timestamp_ms":1790164555000,"timestamp_seconds":1790164555,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce1f54f8"} 
[2026-09-23 17:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:28: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-09-23 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:28: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-09-23 17:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282123008001,"66":27908,"103":206,"81":21504,"24":33,"16":406597080669224960,"45":4305300535308945408},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,81,24,16,45]} 
[2026-09-23 17:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282123008001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:28:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406597080669224960,"km_value":406597080669224.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4305300535308945408,"description":"Unknown IO ID 45"} 
[2026-09-23 17:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282123008001,"power":27908,"unknown_103":206,"unknown_81":21504,"ignition":33,"odometer":null,"unknown_45":4305300535308945408}} 
[2026-09-23 17:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":190578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:28:08] local.INFO: GPS data processed {"connection_id":190578,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:28:08] local.INFO: Acknowledgment sent {"connection_id":190578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:28:31] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:28:31] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:31] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:28:32] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:32] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:32] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:28:33] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce20e368012d197b00071feb58002b010122..."} 
[2026-09-23 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce20e368012d197b00071feb58002b010122..."} 
[2026-09-23 17:28:33] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce20e368012d197b00071feb58002b010122..."} 
[2026-09-23 17:28:33] local.INFO: Packet analysis {"connection_id":192113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:28:33] local.INFO: Extracted packet for processing {"connection_id":192113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756644608,"raw_latitude":119532376,"longitude_deg":75.6644608,"latitude_deg":11.9532376,"altitude":43,"angle":257,"satellites":34,"speed":23,"hex_longitude":"2d197b00","hex_latitude":"071feb58","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282151424001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784745670705152,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837820522288545792,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164657000,"timestamp_ms":1790164657000,"timestamp_seconds":1790164657,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce20e368"} 
[2026-09-23 17:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:28: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-09-23 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 17:28: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-09-23 17: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-09-23 17:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282151424001,"66":12841,"102":206,"83":41984,"24":23,"16":22784745670705152,"45":1837820522288545792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 17:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282151424001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784745670705152,"km_value":22784745670705.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837820522288545792,"description":"Unknown IO ID 45"} 
[2026-09-23 17:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282151424001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1837820522288545792}} 
[2026-09-23 17:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":192113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:28:33] local.INFO: GPS data processed {"connection_id":192113,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:28:33] local.INFO: Acknowledgment sent {"connection_id":192113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:28:34] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:34] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:28:34] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:28:35] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce210e60012d3c4d0006c16e400017008b2a..."} 
[2026-09-23 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce210e60012d3c4d0006c16e400017008b2a..."} 
[2026-09-23 17:28:35] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce210e60012d3c4d0006c16e400017008b2a..."} 
[2026-09-23 17:28:35] local.INFO: Packet analysis {"connection_id":193452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:28:35] local.INFO: Extracted packet for processing {"connection_id":193452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758926592,"raw_latitude":113339968,"longitude_deg":75.8926592,"latitude_deg":11.3339968,"altitude":23,"angle":139,"satellites":42,"speed":11,"hex_longitude":"2d3c4d00","hex_latitude":"06c16e40","is_valid_coordinates":true} 
[2026-09-23 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282153984001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406600263239991296,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343792238358331392,"note":"Value kept but may cause issues"} 
[2026-09-23 17:28:35] 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-09-23 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790164668000,"timestamp_ms":1790164668000,"timestamp_seconds":1790164668,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce210e60"} 
[2026-09-23 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-09-23 17:28: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-09-23 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":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:28: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-09-23 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-09-23 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-09-23 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282153984001,"66":27647,"102":206,"81":21504,"24":11,"16":406600263239991296,"45":4343792238358331392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282153984001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406600263239991296,"km_value":406600263239991.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343792238358331392,"description":"Unknown IO ID 45"} 
[2026-09-23 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282153984001,"power":27647,"unknown_102":206,"unknown_81":21504,"ignition":11,"odometer":null,"unknown_45":4343792238358331392}} 
[2026-09-23 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":193452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:28:35] local.INFO: GPS data processed {"connection_id":193452,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:28:35] local.INFO: Acknowledgment sent {"connection_id":193452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:28:57] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:57] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:28:57] local.INFO: IMEI packet received {"connection_id":190579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":190579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:29:01] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:01] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:01] local.INFO: IMEI packet received {"connection_id":190579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":190579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:29:02] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce20ef20012d197480071feb30002b011022..."} 
[2026-09-23 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce20ef20012d197480071feb30002b011022..."} 
[2026-09-23 17:29:02] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce20ef20012d197480071feb30002b011022..."} 
[2026-09-23 17:29:02] local.INFO: Packet analysis {"connection_id":190579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:29:02] local.INFO: Extracted packet for processing {"connection_id":190579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce20"} 
[2026-09-23 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":756642944,"raw_latitude":119532336,"longitude_deg":75.6642944,"latitude_deg":11.9532336,"altitude":43,"angle":272,"satellites":34,"speed":19,"hex_longitude":"2d197480","hex_latitude":"071feb30","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282152192001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784827275083776,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303683897344,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164660000,"timestamp_ms":1790164660000,"timestamp_seconds":1790164660,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce20ef20"} 
[2026-09-23 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:29: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-09-23 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282152192001,"66":12798,"103":206,"83":41984,"24":19,"16":22784827275083776,"45":1836061303683897344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282152192001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784827275083776,"km_value":22784827275083.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303683897344,"description":"Unknown IO ID 45"} 
[2026-09-23 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282152192001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836061303683897344}} 
[2026-09-23 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":190579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:29:02] local.INFO: GPS data processed {"connection_id":190579,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:29:02] local.INFO: Acknowledgment sent {"connection_id":190579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:29:04] local.INFO: TCP Data received {"connection_id":190580,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:29:04] local.INFO: Processing buffer {"connection_id":190580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:29:04] local.INFO: IMEI packet received {"connection_id":190580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":190580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:29:06] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce211630012d3c4e4006c16cd8001700972a..."} 
[2026-09-23 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce211630012d3c4e4006c16cd8001700972a..."} 
[2026-09-23 17:29:06] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce211630012d3c4e4006c16cd8001700972a..."} 
[2026-09-23 17:29:06] local.INFO: Packet analysis {"connection_id":193452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:29:06] local.INFO: Extracted packet for processing {"connection_id":193452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758926912,"raw_latitude":113339608,"longitude_deg":75.8926912,"latitude_deg":11.3339608,"altitude":23,"angle":151,"satellites":42,"speed":6,"hex_longitude":"2d3c4e40","hex_latitude":"06c16cd8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282155008001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406600284714827776,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4345129244497428480,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:06] 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-09-23 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790164670000,"timestamp_ms":1790164670000,"timestamp_seconds":1790164670,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce211630"} 
[2026-09-23 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:29: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-09-23 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 17:29:06] 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-09-23 17: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-09-23 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282155008001,"66":27821,"102":206,"81":21504,"24":6,"16":406600284714827776,"45":4345129244497428480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282155008001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":21504,"description":"Unknown IO ID 81"} 
[2026-09-23 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406600284714827776,"km_value":406600284714827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4345129244497428480,"description":"Unknown IO ID 45"} 
[2026-09-23 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282155008001,"power":27821,"unknown_102":206,"unknown_81":21504,"ignition":6,"odometer":null,"unknown_45":4345129244497428480}} 
[2026-09-23 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":193452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:29:06] local.INFO: GPS data processed {"connection_id":193452,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:29:06] local.INFO: Acknowledgment sent {"connection_id":193452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:29:30] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:30] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:30] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:29:31] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:31] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:31] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:29:32] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:32] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:32] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:29:33] local.INFO: TCP Data received {"connection_id":190579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce210a78012d1969c0071feb50002b010021..."} 
[2026-09-23 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce210a78012d1969c0071feb50002b010021..."} 
[2026-09-23 17:29:33] local.INFO: Processing buffer {"connection_id":190579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce210a78012d1969c0071feb50002b010021..."} 
[2026-09-23 17:29:33] local.INFO: Packet analysis {"connection_id":190579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:29:33] local.INFO: Extracted packet for processing {"connection_id":190579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532368,"longitude_deg":75.6640192,"latitude_deg":11.9532368,"altitude":43,"angle":256,"satellites":33,"speed":11,"hex_longitude":"2d1969c0","hex_latitude":"071feb50","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282152960001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784956124102656,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834231716335267840,"note":"Value kept but may cause issues"} 
[2026-09-23 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164667000,"timestamp_ms":1790164667000,"timestamp_seconds":1790164667,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce210a78"} 
[2026-09-23 17:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:29: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-09-23 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 17:29: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-09-23 17: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-09-23 17:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282152960001,"66":12852,"103":206,"83":41984,"24":11,"16":22784956124102656,"45":1834231716335267840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282152960001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:29:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784956124102656,"km_value":22784956124102.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834231716335267840,"description":"Unknown IO ID 45"} 
[2026-09-23 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282152960001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1834231716335267840}} 
[2026-09-23 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":190579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:29:33] local.INFO: GPS data processed {"connection_id":190579,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:29:33] local.INFO: Acknowledgment sent {"connection_id":190579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:29:34] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:34] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:29:34] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:29:56] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:56] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:29:56] local.INFO: IMEI packet received {"connection_id":193453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":193453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:30:01] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:30:01] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:30:01] local.INFO: IMEI packet received {"connection_id":193453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":193453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:30:02] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce215c80012d1967c0071feb88002d010726..."} 
[2026-09-23 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce215c80012d1967c0071feb88002d010726..."} 
[2026-09-23 17:30:02] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce215c80012d1967c0071feb88002d010726..."} 
[2026-09-23 17:30:02] local.INFO: Packet analysis {"connection_id":193453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:30:02] local.INFO: Extracted packet for processing {"connection_id":193453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282154752001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335636480,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164688000,"timestamp_ms":1790164688000,"timestamp_seconds":1790164688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce215c80"} 
[2026-09-23 17:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:30: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-09-23 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-23 17:30:02] 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-09-23 17: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-09-23 17:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282154752001,"66":12841,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1831205860335636480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282154752001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:30:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335636480,"description":"Unknown IO ID 45"} 
[2026-09-23 17:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282154752001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335636480}} 
[2026-09-23 17:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":193453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:30:02] local.INFO: GPS data processed {"connection_id":193453,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:30:02] local.INFO: Acknowledgment sent {"connection_id":193453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:30:33] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce21ae88012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce21ae88012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:30:33] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce21ae88012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:30:33] local.INFO: Packet analysis {"connection_id":193453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:30:33] local.INFO: Extracted packet for processing {"connection_id":193453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce21"} 
[2026-09-23 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282160128001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164709000,"timestamp_ms":1790164709000,"timestamp_seconds":1790164709,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce21ae88"} 
[2026-09-23 17:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:30: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-09-23 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:30: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-09-23 17: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-09-23 17:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282160128001,"66":12841,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282160128001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:30:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282160128001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":193453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:30:33] local.INFO: GPS data processed {"connection_id":193453,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:30:33] local.INFO: Acknowledgment sent {"connection_id":193453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:30:34] local.INFO: TCP Data received {"connection_id":190773,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:30:34] local.INFO: Processing buffer {"connection_id":190773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:30:34] local.INFO: IMEI packet received {"connection_id":190773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":190773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:31:01] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:01] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:01] local.INFO: IMEI packet received {"connection_id":190581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":190581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:31:06] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:06] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:06] local.INFO: IMEI packet received {"connection_id":190581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":190581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:31:07] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce220090012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce220090012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:31:07] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce220090012d1967c0071feb88002d01072a..."} 
[2026-09-23 17:31:07] local.INFO: Packet analysis {"connection_id":190581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:31:07] local.INFO: Extracted packet for processing {"connection_id":190581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282165504001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790164730000,"timestamp_ms":1790164730000,"timestamp_seconds":1790164730,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce220090"} 
[2026-09-23 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:31: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-09-23 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:31:07] 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-09-23 17:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282165504001,"66":12809,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282165504001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282165504001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":190581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:31:07] local.INFO: GPS data processed {"connection_id":190581,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:31:07] local.INFO: Acknowledgment sent {"connection_id":190581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:31:11] local.INFO: TCP Data received {"connection_id":190581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce225298012d1967c0071feb88002d010728..."} 
[2026-09-23 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce225298012d1967c0071feb88002d010728..."} 
[2026-09-23 17:31:11] local.INFO: Processing buffer {"connection_id":190581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce225298012d1967c0071feb88002d010728..."} 
[2026-09-23 17:31:11] local.INFO: Packet analysis {"connection_id":190581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:31:11] local.INFO: Extracted packet for processing {"connection_id":190581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282170880001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790164751000,"timestamp_ms":1790164751000,"timestamp_seconds":1790164751,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce225298"} 
[2026-09-23 17:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1801439851115971584,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3458258864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2364354625049036096,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3945791531,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4070244352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301515332168253221,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889271084757421,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-23 17:31:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,242,160,174,45,192,235,42,10,66,92,38,1,240,52,227,206,31,4,113,205,19,123,88,34,239,50,102,2,80,7,43,23,49,164,135],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-23 17:31:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242881083653488640,"timestamp_seconds":3242881083653488.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282170880001,"66":12809,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282170880001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282170880001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":190581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:31:11] local.INFO: GPS data processed {"connection_id":190581,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:31:11] local.INFO: Acknowledgment sent {"connection_id":190581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:31:48] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:31:48] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:31:48] local.INFO: IMEI packet received {"connection_id":192116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":192116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:31:55] local.INFO: TCP Data received {"connection_id":190774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:55] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:55] local.INFO: IMEI packet received {"connection_id":190774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":190774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:31:56] local.INFO: TCP Data received {"connection_id":190774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:56] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:31:56] local.INFO: IMEI packet received {"connection_id":190774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":190774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:32:01] local.INFO: TCP Data received {"connection_id":190774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:01] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:01] local.INFO: IMEI packet received {"connection_id":190774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":190774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:32:02] local.INFO: TCP Data received {"connection_id":190774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce22a4a0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce22a4a0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:32:02] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce22a4a0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:32:02] local.INFO: Packet analysis {"connection_id":190774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:32:02] local.INFO: Extracted packet for processing {"connection_id":190774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282176256001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164772000,"timestamp_ms":1790164772000,"timestamp_seconds":1790164772,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce22a4a0"} 
[2026-09-23 17:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:32: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-09-23 17: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":9,"data_length":795,"current_offset":136} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3458261864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2366553648304587072,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3947888683,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147950571,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465464,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4071489536,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300917197842738470,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587272546143827,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,242,160,45,192,235,42,10,66,174,92,1,240,41,227,206,31,4,113,205,11,239,116,48,34,49,2,80,7,43,23,50,164,155],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-23 17:32:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242881075063554048,"timestamp_seconds":3242881075063554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282176256001,"66":12809,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282176256001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:32:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282176256001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":190774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:32:02] local.INFO: GPS data processed {"connection_id":190774,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:32:02] local.INFO: Acknowledgment sent {"connection_id":190774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:32:33] local.INFO: TCP Data received {"connection_id":190774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce22f6a8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce22f6a8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:32:33] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce22f6a8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:32:33] local.INFO: Packet analysis {"connection_id":190774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:32:33] local.INFO: Extracted packet for processing {"connection_id":190774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce22"} 
[2026-09-23 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17:32: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-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282181632001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164793000,"timestamp_ms":1790164793000,"timestamp_seconds":1790164793,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce22f6a8"} 
[2026-09-23 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:32: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-09-23 17:32: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":9,"data_length":795,"current_offset":136} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3458264864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2369852183187913472,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3951558701,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692395,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4073455616,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300028792447500578,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889271067980205,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-09-23 17:32:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,242,160,82,45,192,235,40,10,66,42,174,1,240,41,227,206,31,4,113,205,105,80,33,239,50,2,7,43,19,49,164],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-23 17:32:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242881070768586752,"timestamp_seconds":3242881070768587.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282181632001,"66":12385,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282181632001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:32:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282181632001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":190774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:32:33] local.INFO: GPS data processed {"connection_id":190774,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:32:33] local.INFO: Acknowledgment sent {"connection_id":190774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:32:56] local.INFO: TCP Data received {"connection_id":190582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:56] local.INFO: Processing buffer {"connection_id":190582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:56] local.INFO: IMEI packet received {"connection_id":190582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":190582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:32:59] local.INFO: TCP Data received {"connection_id":190582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:59] local.INFO: Processing buffer {"connection_id":190582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:32:59] local.INFO: IMEI packet received {"connection_id":190582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":190582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:33:00] local.INFO: TCP Data received {"connection_id":190582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2348b0012d1967c0071feb88002d010729..."} 
[2026-09-23 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2348b0012d1967c0071feb88002d010729..."} 
[2026-09-23 17:33:00] local.INFO: Processing buffer {"connection_id":190582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2348b0012d1967c0071feb88002d010729..."} 
[2026-09-23 17:33:00] local.INFO: Packet analysis {"connection_id":190582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:33:00] local.INFO: Extracted packet for processing {"connection_id":190582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282187008001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790164814000,"timestamp_ms":1790164814000,"timestamp_seconds":1790164814,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2348b0"} 
[2026-09-23 17:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":190582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":190582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":190582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282187008001,"66":12722,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282187008001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:33:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282187008001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":190582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:33:00] local.INFO: GPS data processed {"connection_id":190582,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:33:00] local.INFO: Acknowledgment sent {"connection_id":190582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:33:30] local.INFO: TCP Data received {"connection_id":190582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce239ab8012d1967c0071feb88002d010728..."} 
[2026-09-23 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce239ab8012d1967c0071feb88002d010728..."} 
[2026-09-23 17:33:30] local.INFO: Processing buffer {"connection_id":190582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce239ab8012d1967c0071feb88002d010728..."} 
[2026-09-23 17:33:30] local.INFO: Packet analysis {"connection_id":190582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:33:30] local.INFO: Extracted packet for processing {"connection_id":190582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282192384001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790164835000,"timestamp_ms":1790164835000,"timestamp_seconds":1790164835,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce239ab8"} 
[2026-09-23 17:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:33: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-09-23 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 17:33:30] 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-09-23 17: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-09-23 17:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282192384001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282192384001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:33:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282192384001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":190582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:33:31] local.INFO: GPS data processed {"connection_id":190582,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:33:31] local.INFO: Acknowledgment sent {"connection_id":190582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:33:56] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:33:56] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:33:56] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:34:01] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:01] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:01] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:34:02] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce23ecc0012d1967c0071feb88002d010724..."} 
[2026-09-23 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce23ecc0012d1967c0071feb88002d010724..."} 
[2026-09-23 17:34:02] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce23ecc0012d1967c0071feb88002d010724..."} 
[2026-09-23 17:34:02] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:34:02] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce23"} 
[2026-09-23 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282197760001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164856000,"timestamp_ms":1790164856000,"timestamp_seconds":1790164856,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce23ecc0"} 
[2026-09-23 17:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:34: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-09-23 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:34:02] 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-09-23 17: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-09-23 17:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282197760001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282197760001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:34:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282197760001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:34:02] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:34:02] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:34:33] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce243ec8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce243ec8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:34:33] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce243ec8012d1967c0071feb88002d010726..."} 
[2026-09-23 17:34:33] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:34:33] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282203136001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164877000,"timestamp_ms":1790164877000,"timestamp_seconds":1790164877,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce243ec8"} 
[2026-09-23 17:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:34: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:34: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-09-23 17: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-09-23 17:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282203136001,"66":12722,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282203136001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:34:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282203136001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:34:33] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:34:33] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:34:57] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:57] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:34:57] local.INFO: IMEI packet received {"connection_id":193455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":193455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:35:01] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:35:01] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:35:01] local.INFO: IMEI packet received {"connection_id":193455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":193455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:35:02] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2490d0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2490d0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:35:02] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2490d0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:35:02] local.INFO: Packet analysis {"connection_id":193455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:35:02] local.INFO: Extracted packet for processing {"connection_id":193455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:35:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282208512001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164898000,"timestamp_ms":1790164898000,"timestamp_seconds":1790164898,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2490d0"} 
[2026-09-23 17:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:35: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-09-23 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 17:35: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-09-23 17: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-09-23 17:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282208512001,"66":12711,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282208512001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:35:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282208512001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":193455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:35:02] local.INFO: GPS data processed {"connection_id":193455,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:35:02] local.INFO: Acknowledgment sent {"connection_id":193455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:35:06] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:06] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:06] local.INFO: IMEI packet received {"connection_id":190583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":190583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:35:10] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:10] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:10] local.INFO: IMEI packet received {"connection_id":190583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":190583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:35:12] local.INFO: TCP Data received {"connection_id":190583,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2661a8012d3aa08006bdb948001d00c32b..."} 
[2026-09-23 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2661a8012d3aa08006bdb948001d00c32b..."} 
[2026-09-23 17:35:12] local.INFO: Processing buffer {"connection_id":190583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2661a8012d3aa08006bdb948001d00c32b..."} 
[2026-09-23 17:35:12] local.INFO: Packet analysis {"connection_id":190583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:35:12] local.INFO: Extracted packet for processing {"connection_id":190583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758816896,"raw_latitude":113097032,"longitude_deg":75.8816896,"latitude_deg":11.3097032,"altitude":29,"angle":195,"satellites":43,"speed":35,"hex_longitude":"2d3aa080","hex_latitude":"06bdb948","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282241280001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406614917668405248,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4228317129102528512,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790165017000,"timestamp_ms":1790165017000,"timestamp_seconds":1790165017,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2661a8"} 
[2026-09-23 17:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 17:35: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-09-23 17: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-09-23 17:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282241280001,"66":27865,"138":206,"81":21760,"24":35,"16":406614917668405248,"45":4228317129102528512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,81,24,16,45]} 
[2026-09-23 17:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282241280001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:35:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-23 17:35:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406614917668405248,"km_value":406614917668405.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4228317129102528512,"description":"Unknown IO ID 45"} 
[2026-09-23 17:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282241280001,"power":27865,"unknown_138":206,"unknown_81":21760,"ignition":35,"odometer":null,"unknown_45":4228317129102528512}} 
[2026-09-23 17:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":190583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:35:12] local.INFO: GPS data processed {"connection_id":190583,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:35:12] local.INFO: Acknowledgment sent {"connection_id":190583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:35:33] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce24e2d8012d1967c0071feb88002d010729..."} 
[2026-09-23 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce24e2d8012d1967c0071feb88002d010729..."} 
[2026-09-23 17:35:33] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce24e2d8012d1967c0071feb88002d010729..."} 
[2026-09-23 17:35:33] local.INFO: Packet analysis {"connection_id":193455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:35:33] local.INFO: Extracted packet for processing {"connection_id":193455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce24"} 
[2026-09-23 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282213888001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790164919000,"timestamp_ms":1790164919000,"timestamp_seconds":1790164919,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce24e2d8"} 
[2026-09-23 17:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:35: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-09-23 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 17:35:33] 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-09-23 17:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282213888001,"66":12722,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282213888001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:35:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282213888001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":193455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:35:33] local.INFO: GPS data processed {"connection_id":193455,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:35:33] local.INFO: Acknowledgment sent {"connection_id":193455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:35:36] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:36] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:36] local.INFO: IMEI packet received {"connection_id":190776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:35:41] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:41] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:35:41] local.INFO: IMEI packet received {"connection_id":190776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":190776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:35:42] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:35:42] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:35:42] local.INFO: Packet analysis {"connection_id":190776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:35:42] local.INFO: Extracted packet for processing {"connection_id":190776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758814208,"raw_latitude":113087696,"longitude_deg":75.8814208,"latitude_deg":11.3087696,"altitude":31,"angle":207,"satellites":43,"speed":34,"hex_longitude":"2d3a9600","hex_latitude":"06bd94d0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282244352001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406615390114807808,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4224517216914720768,"note":"Value kept but may cause issues"} 
[2026-09-23 17:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790165028000,"timestamp_ms":1790165028000,"timestamp_seconds":1790165028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce268ca0"} 
[2026-09-23 17:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:35: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-09-23 17: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-09-23 17:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282244352001,"66":27930,"126":206,"81":21760,"24":34,"16":406615390114807808,"45":4224517216914720768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 17:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282244352001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:35:42] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 17:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406615390114807808,"km_value":406615390114807.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4224517216914720768,"description":"Unknown IO ID 45"} 
[2026-09-23 17:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282244352001,"power":27930,"unknown_126":206,"unknown_81":21760,"ignition":34,"odometer":null,"unknown_45":4224517216914720768}} 
[2026-09-23 17:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":190776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:35:42] local.INFO: GPS data processed {"connection_id":190776,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:35:42] local.INFO: Acknowledgment sent {"connection_id":190776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:36:06] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:06] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:06] local.INFO: IMEI packet received {"connection_id":192118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":192118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:36:11] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:11] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:11] local.INFO: IMEI packet received {"connection_id":192118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":192118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:36:12] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2534e0012d1967c0071feb88002d010728..."} 
[2026-09-23 17:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2534e0012d1967c0071feb88002d010728..."} 
[2026-09-23 17:36:12] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2534e0012d1967c0071feb88002d010728..."} 
[2026-09-23 17:36:12] local.INFO: Packet analysis {"connection_id":192118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:36:12] local.INFO: Extracted packet for processing {"connection_id":192118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282219264001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790164940000,"timestamp_ms":1790164940000,"timestamp_seconds":1790164940,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2534e0"} 
[2026-09-23 17:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 17:36: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-09-23 17: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-09-23 17:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282219264001,"66":12667,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282219264001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:36:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282219264001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":192118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:36:12] local.INFO: GPS data processed {"connection_id":192118,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:36:12] local.INFO: Acknowledgment sent {"connection_id":192118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:36:13] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:36:13] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce268ca0012d3a960006bd94d0001f00cf2b..."} 
[2026-09-23 17:36:13] local.INFO: Packet analysis {"connection_id":190776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:36:13] local.INFO: Extracted packet for processing {"connection_id":190776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758814208,"raw_latitude":113087696,"longitude_deg":75.8814208,"latitude_deg":11.3087696,"altitude":31,"angle":207,"satellites":43,"speed":34,"hex_longitude":"2d3a9600","hex_latitude":"06bd94d0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282247168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406615390114807808,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4221561729656868864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790165028000,"timestamp_ms":1790165028000,"timestamp_seconds":1790165028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce268ca0"} 
[2026-09-23 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-09-23 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 17:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282247168001,"66":27930,"126":206,"81":21760,"24":34,"16":406615390114807808,"45":4221561729656868864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282247168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:36:13] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 17:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406615390114807808,"km_value":406615390114807.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4221561729656868864,"description":"Unknown IO ID 45"} 
[2026-09-23 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282247168001,"power":27930,"unknown_126":206,"unknown_81":21760,"ignition":34,"odometer":null,"unknown_45":4221561729656868864}} 
[2026-09-23 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":190776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:36:13] local.INFO: GPS data processed {"connection_id":190776,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:36:13] local.INFO: Acknowledgment sent {"connection_id":190776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:36:17] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2586e8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2586e8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:36:17] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2586e8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:36:17] local.INFO: Packet analysis {"connection_id":192118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:36:17] local.INFO: Extracted packet for processing {"connection_id":192118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282224640001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790164961000,"timestamp_ms":1790164961000,"timestamp_seconds":1790164961,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2586e8"} 
[2026-09-23 17:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 17:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282224640001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282224640001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:36:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282224640001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":192118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:36:17] local.INFO: GPS data processed {"connection_id":192118,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:36:17] local.INFO: Acknowledgment sent {"connection_id":192118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:36:31] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:31] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:31] local.INFO: IMEI packet received {"connection_id":192119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":192119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:36:36] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:36] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:36:36] local.INFO: IMEI packet received {"connection_id":192119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":192119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:36:37] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce26b798012d3a81c006bd7888001d00d82a..."} 
[2026-09-23 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce26b798012d3a81c006bd7888001d00d82a..."} 
[2026-09-23 17:36:37] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce26b798012d3a81c006bd7888001d00d82a..."} 
[2026-09-23 17:36:37] local.INFO: Packet analysis {"connection_id":192119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:36:37] local.INFO: Extracted packet for processing {"connection_id":192119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758809024,"raw_latitude":113080456,"longitude_deg":75.8809024,"latitude_deg":11.3080456,"altitude":29,"angle":216,"satellites":42,"speed":29,"hex_longitude":"2d3a81c0","hex_latitude":"06bd7888","is_valid_coordinates":true} 
[2026-09-23 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282247168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406615819611537408,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4221561729656868864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165039000,"timestamp_ms":1790165039000,"timestamp_seconds":1790165039,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce26b798"} 
[2026-09-23 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 17:36: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-09-23 17:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282247168001,"66":27865,"126":206,"81":21760,"24":29,"16":406615819611537408,"45":4221561729656868864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282247168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:36:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 17:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406615819611537408,"km_value":406615819611537.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4221561729656868864,"description":"Unknown IO ID 45"} 
[2026-09-23 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282247168001,"power":27865,"unknown_126":206,"unknown_81":21760,"ignition":29,"odometer":null,"unknown_45":4221561729656868864}} 
[2026-09-23 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":192119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:36:37] local.INFO: GPS data processed {"connection_id":192119,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:36:37] local.INFO: Acknowledgment sent {"connection_id":192119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:36:56] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:56] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:36:56] local.INFO: IMEI packet received {"connection_id":192120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":192120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:37:01] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:01] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:01] local.INFO: IMEI packet received {"connection_id":192120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":192120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:37:02] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce25d8f0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce25d8f0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:02] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce25d8f0012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:02] local.INFO: Packet analysis {"connection_id":192120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:37:02] local.INFO: Extracted packet for processing {"connection_id":192120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce25"} 
[2026-09-23 17:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282230016001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790164982000,"timestamp_ms":1790164982000,"timestamp_seconds":1790164982,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce25d8f0"} 
[2026-09-23 17:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:37: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:37:02] 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-09-23 17: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-09-23 17:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282230016001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282230016001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:37:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282230016001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":192120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:37:02] local.INFO: GPS data processed {"connection_id":192120,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:37:02] local.INFO: Acknowledgment sent {"connection_id":192120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:37:09] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce26e678012d3a6a0006bd5d28001f00e224..."} 
[2026-09-23 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce26e678012d3a6a0006bd5d28001f00e224..."} 
[2026-09-23 17:37:09] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce26e678012d3a6a0006bd5d28001f00e224..."} 
[2026-09-23 17:37:09] local.INFO: Packet analysis {"connection_id":192119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:37:09] local.INFO: Extracted packet for processing {"connection_id":192119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758802944,"raw_latitude":113073448,"longitude_deg":75.8802944,"latitude_deg":11.3073448,"altitude":31,"angle":226,"satellites":36,"speed":26,"hex_longitude":"2d3a6a00","hex_latitude":"06bd5d28","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282249984001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406616266288136192,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4215861861376624640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790165051000,"timestamp_ms":1790165051000,"timestamp_seconds":1790165051,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce26e678"} 
[2026-09-23 17:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:37: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-09-23 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:37: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-09-23 17:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282249984001,"66":27745,"126":206,"81":21760,"24":26,"16":406616266288136192,"45":4215861861376624640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,81,24,16,45]} 
[2026-09-23 17:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282249984001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:37:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-23 17:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406616266288136192,"km_value":406616266288136.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4215861861376624640,"description":"Unknown IO ID 45"} 
[2026-09-23 17:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282249984001,"power":27745,"unknown_126":206,"unknown_81":21760,"ignition":26,"odometer":null,"unknown_45":4215861861376624640}} 
[2026-09-23 17:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":192119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:37:09] local.INFO: GPS data processed {"connection_id":192119,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:37:09] local.INFO: Acknowledgment sent {"connection_id":192119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:37:25] local.INFO: TCP Data received {"connection_id":192121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:37:25] local.INFO: Processing buffer {"connection_id":192121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:37:25] local.INFO: IMEI packet received {"connection_id":192121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":192121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:37:31] local.INFO: TCP Data received {"connection_id":190777,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:31] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:31] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:37:33] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce262af8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce262af8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:33] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce262af8012d1967c0071feb88002d010727..."} 
[2026-09-23 17:37:33] local.INFO: Packet analysis {"connection_id":192120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:37:33] local.INFO: Extracted packet for processing {"connection_id":192120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282235392001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790165003000,"timestamp_ms":1790165003000,"timestamp_seconds":1790165003,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce262af8"} 
[2026-09-23 17:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:37: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:37: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-09-23 17: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-09-23 17:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282235392001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282235392001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:37:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282235392001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":192120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:37:34] local.INFO: GPS data processed {"connection_id":192120,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:37:34] local.INFO: Acknowledgment sent {"connection_id":192120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:37:36] local.INFO: TCP Data received {"connection_id":190777,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:36] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:37:36] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:37:38] local.INFO: TCP Data received {"connection_id":190777,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce273880012d3a528006bd4b88002500e52c..."} 
[2026-09-23 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce273880012d3a528006bd4b88002500e52c..."} 
[2026-09-23 17:37:38] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce273880012d3a528006bd4b88002500e52c..."} 
[2026-09-23 17:37:38] local.INFO: Packet analysis {"connection_id":190777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:37:38] local.INFO: Extracted packet for processing {"connection_id":190777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758796928,"raw_latitude":113068936,"longitude_deg":75.8796928,"latitude_deg":11.3068936,"altitude":37,"angle":229,"satellites":44,"speed":0,"hex_longitude":"2d3a5280","hex_latitude":"06bd4b88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282253056001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406616627065389056,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4209176830677952512,"note":"Value kept but may cause issues"} 
[2026-09-23 17:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790165072000,"timestamp_ms":1790165072000,"timestamp_seconds":1790165072,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce273880"} 
[2026-09-23 17:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:37: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-09-23 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:37: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-09-23 17: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-09-23 17:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282253056001,"66":27832,"106":206,"81":21760,"24":0,"16":406616627065389056,"45":4209176830677952512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,81,24,16,45]} 
[2026-09-23 17:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282253056001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 17:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406616627065389056,"km_value":406616627065389.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4209176830677952512,"description":"Unknown IO ID 45"} 
[2026-09-23 17:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282253056001,"power":27832,"unknown_106":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4209176830677952512}} 
[2026-09-23 17:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":190777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:37:38] local.INFO: GPS data processed {"connection_id":190777,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:37:38] local.INFO: Acknowledgment sent {"connection_id":190777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:37:56] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:56] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:37:56] local.INFO: IMEI packet received {"connection_id":190584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":190584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:38:01] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:01] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:01] local.INFO: IMEI packet received {"connection_id":190584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":190584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:38:02] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce267d00012d1967c0071feb88002d010729..."} 
[2026-09-23 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce267d00012d1967c0071feb88002d010729..."} 
[2026-09-23 17:38:02] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce267d00012d1967c0071feb88002d010729..."} 
[2026-09-23 17:38:02] local.INFO: Packet analysis {"connection_id":190584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:38:02] local.INFO: Extracted packet for processing {"connection_id":190584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282240768001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165024000,"timestamp_ms":1790165024000,"timestamp_seconds":1790165024,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce267d00"} 
[2026-09-23 17:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:38: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:38:02] 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-09-23 17: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-09-23 17:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282240768001,"66":12689,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282240768001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:38:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282240768001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":190584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:38:02] local.INFO: GPS data processed {"connection_id":190584,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:38:02] local.INFO: Acknowledgment sent {"connection_id":190584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:38:15] local.INFO: TCP Data received {"connection_id":190777,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce298270012d397c4006bcd4f8001d01142b..."} 
[2026-09-23 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce298270012d397c4006bcd4f8001d01142b..."} 
[2026-09-23 17:38:15] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce298270012d397c4006bcd4f8001d01142b..."} 
[2026-09-23 17:38:15] local.INFO: Packet analysis {"connection_id":190777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:38:15] local.INFO: Extracted packet for processing {"connection_id":190777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758742080,"raw_latitude":113038584,"longitude_deg":75.874208,"latitude_deg":11.3038584,"altitude":29,"angle":276,"satellites":43,"speed":27,"hex_longitude":"2d397c40","hex_latitude":"06bcd4f8","is_valid_coordinates":true} 
[2026-09-23 17:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282293760001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406619766686482432,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151967041652617216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790165222000,"timestamp_ms":1790165222000,"timestamp_seconds":1790165222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce298270"} 
[2026-09-23 17:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:38: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-09-23 17:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282293760001,"66":27767,"220":206,"81":21760,"24":27,"16":406619766686482432,"45":4151967041652617216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 17:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282293760001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:38:15] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 17:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406619766686482432,"km_value":406619766686482.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151967041652617216,"description":"Unknown IO ID 45"} 
[2026-09-23 17:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282293760001,"power":27767,"unknown_220":206,"unknown_81":21760,"ignition":27,"odometer":null,"unknown_45":4151967041652617216}} 
[2026-09-23 17:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":190777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:38:15] local.INFO: GPS data processed {"connection_id":190777,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:38:15] local.INFO: Acknowledgment sent {"connection_id":190777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:38:24] local.INFO: TCP Data received {"connection_id":192122,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:38:24] local.INFO: Processing buffer {"connection_id":192122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:38:24] local.INFO: IMEI packet received {"connection_id":192122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":192122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:38:31] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: IMEI packet received {"connection_id":193456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:38:31] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:31] local.INFO: IMEI packet received {"connection_id":193456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:38:33] local.INFO: TCP Data received {"connection_id":190584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce26cf08012d1967c0071feb88002d010728..."} 
[2026-09-23 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce26cf08012d1967c0071feb88002d010728..."} 
[2026-09-23 17:38:33] local.INFO: Processing buffer {"connection_id":190584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce26cf08012d1967c0071feb88002d010728..."} 
[2026-09-23 17:38:33] local.INFO: Packet analysis {"connection_id":190584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:38:33] local.INFO: Extracted packet for processing {"connection_id":190584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce26"} 
[2026-09-23 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282246144001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790165045000,"timestamp_ms":1790165045000,"timestamp_seconds":1790165045,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce26cf08"} 
[2026-09-23 17:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:38: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-09-23 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:38: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-09-23 17: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-09-23 17:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282246144001,"66":12580,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282246144001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:38:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282246144001,"power":12580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":190584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:38:33] local.INFO: GPS data processed {"connection_id":190584,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:38:33] local.INFO: Acknowledgment sent {"connection_id":190584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:38:36] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:36] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:38:36] local.INFO: IMEI packet received {"connection_id":193456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":193456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:38:37] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:38:37] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:38:37] local.INFO: Packet analysis {"connection_id":193456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:38:37] local.INFO: Extracted packet for processing {"connection_id":193456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758733120,"raw_latitude":113040288,"longitude_deg":75.873312,"latitude_deg":11.3040288,"altitude":33,"angle":281,"satellites":45,"speed":24,"hex_longitude":"2d395940","hex_latitude":"06bcdba0","is_valid_coordinates":true} 
[2026-09-23 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282296832001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406620200478179328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4142256154956068864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165243000,"timestamp_ms":1790165243000,"timestamp_seconds":1790165243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce29d478"} 
[2026-09-23 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:38: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-09-23 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282296832001,"66":27919,"220":206,"81":21760,"24":24,"16":406620200478179328,"45":4142256154956068864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282296832001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:38:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 17:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406620200478179328,"km_value":406620200478179.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4142256154956068864,"description":"Unknown IO ID 45"} 
[2026-09-23 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282296832001,"power":27919,"unknown_220":206,"unknown_81":21760,"ignition":24,"odometer":null,"unknown_45":4142256154956068864}} 
[2026-09-23 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":193456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:38:37] local.INFO: GPS data processed {"connection_id":193456,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:38:37] local.INFO: Acknowledgment sent {"connection_id":193456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:38:56] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:56] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:56] local.INFO: IMEI packet received {"connection_id":190585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":190585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:38:59] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:59] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:38:59] local.INFO: IMEI packet received {"connection_id":190585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":190585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:39:00] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:00] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:00] local.INFO: Packet analysis {"connection_id":190585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:39:00] local.INFO: Extracted packet for processing {"connection_id":190585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282251520001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790165066000,"timestamp_ms":1790165066000,"timestamp_seconds":1790165066,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce272110"} 
[2026-09-23 17:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-23 17:39:00] 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-09-23 17: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-09-23 17:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":190585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":190585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":190585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282251520001,"66":12113,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282251520001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:39:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282251520001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":190585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:39:00] local.INFO: GPS data processed {"connection_id":190585,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:39:00] local.INFO: Acknowledgment sent {"connection_id":190585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:39:09] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:39:09] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce29d478012d39594006bcdba0002101192d..."} 
[2026-09-23 17:39:09] local.INFO: Packet analysis {"connection_id":193456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:39:09] local.INFO: Extracted packet for processing {"connection_id":193456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce29"} 
[2026-09-23 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758733120,"raw_latitude":113040288,"longitude_deg":75.873312,"latitude_deg":11.3040288,"altitude":33,"angle":281,"satellites":45,"speed":24,"hex_longitude":"2d395940","hex_latitude":"06bcdba0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282302208001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406620200478179328,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4132404530771632128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790165243000,"timestamp_ms":1790165243000,"timestamp_seconds":1790165243,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce29d478"} 
[2026-09-23 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:39: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-09-23 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 17:39: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-09-23 17: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-09-23 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282302208001,"66":27919,"220":206,"81":21760,"24":24,"16":406620200478179328,"45":4132404530771632128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282302208001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:39:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 17:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406620200478179328,"km_value":406620200478179.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4132404530771632128,"description":"Unknown IO ID 45"} 
[2026-09-23 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282302208001,"power":27919,"unknown_220":206,"unknown_81":21760,"ignition":24,"odometer":null,"unknown_45":4132404530771632128}} 
[2026-09-23 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":193456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:39:09] local.INFO: GPS data processed {"connection_id":193456,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:39:09] local.INFO: Acknowledgment sent {"connection_id":193456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:39:31] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:31] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:31] local.INFO: IMEI packet received {"connection_id":192123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":192123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:39:31] local.INFO: TCP Data received {"connection_id":190585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:31] local.INFO: Processing buffer {"connection_id":190585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce272110012d1967c0071feb88002d010728..."} 
[2026-09-23 17:39:31] local.INFO: Packet analysis {"connection_id":190585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:39:31] local.INFO: Extracted packet for processing {"connection_id":190585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce27"} 
[2026-09-23 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532424,"longitude_deg":75.663968,"latitude_deg":11.9532424,"altitude":45,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feb88","is_valid_coordinates":true} 
[2026-09-23 17:39: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-09-23 17:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282256896001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22784990483841024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790165066000,"timestamp_ms":1790165066000,"timestamp_seconds":1790165066,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce272110"} 
[2026-09-23 17:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-23 17:39:31] 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-09-23 17: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-09-23 17:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":190585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":190585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":190585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282256896001,"66":12113,"103":206,"83":41984,"24":0,"16":22784990483841024,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282256896001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:39:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22784990483841024,"km_value":22784990483841.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282256896001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":190585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:39:31] local.INFO: GPS data processed {"connection_id":190585,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:39:31] local.INFO: Acknowledgment sent {"connection_id":190585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:39:36] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:36] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:39:36] local.INFO: IMEI packet received {"connection_id":192123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":192123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:39:37] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a0740012d3934c006bce318002201192a..."} 
[2026-09-23 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a0740012d3934c006bce318002201192a..."} 
[2026-09-23 17:39:37] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a0740012d3934c006bce318002201192a..."} 
[2026-09-23 17:39:37] local.INFO: Packet analysis {"connection_id":192123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:39:37] local.INFO: Extracted packet for processing {"connection_id":192123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758723776,"raw_latitude":113042200,"longitude_deg":75.8723776,"latitude_deg":11.30422,"altitude":34,"angle":281,"satellites":42,"speed":31,"hex_longitude":"2d3934c0","hex_latitude":"06bce318","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282302208001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406620655744712704,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4132404530771632128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165256000,"timestamp_ms":1790165256000,"timestamp_seconds":1790165256,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a0740"} 
[2026-09-23 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:39: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-09-23 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 17:39: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-09-23 17: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-09-23 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282302208001,"66":27865,"220":206,"81":21760,"24":31,"16":406620655744712704,"45":4132404530771632128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282302208001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:39:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 17:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406620655744712704,"km_value":406620655744712.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4132404530771632128,"description":"Unknown IO ID 45"} 
[2026-09-23 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282302208001,"power":27865,"unknown_220":206,"unknown_81":21760,"ignition":31,"odometer":null,"unknown_45":4132404530771632128}} 
[2026-09-23 17:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":192123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:39:37] local.INFO: GPS data processed {"connection_id":192123,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:39:37] local.INFO: Acknowledgment sent {"connection_id":192123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:39:57] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: IMEI packet received {"connection_id":190779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":190779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:39:57] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:39:57] local.INFO: IMEI packet received {"connection_id":190779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":190779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:40:01] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:01] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:01] local.INFO: IMEI packet received {"connection_id":190779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:40:02] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2b8228012d196740071fed200041013524..."} 
[2026-09-23 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2b8228012d196740071fed200041013524..."} 
[2026-09-23 17:40:02] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2b8228012d196740071fed200041013524..."} 
[2026-09-23 17:40:02] local.INFO: Packet analysis {"connection_id":190779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:40:02] local.INFO: Extracted packet for processing {"connection_id":190779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":65,"angle":309,"satellites":36,"speed":4,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282327808001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22785011958677504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382229504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165353000,"timestamp_ms":1790165353000,"timestamp_seconds":1790165353,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2b8228"} 
[2026-09-23 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:40: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-09-23 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 17:40:02] 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-09-23 17: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-09-23 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282327808001,"66":13972,"103":206,"83":41984,"24":4,"16":22785011958677504,"45":1830642910382229504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282327808001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22785011958677504,"km_value":22785011958677.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382229504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282327808001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830642910382229504}} 
[2026-09-23 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":190779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:40:02] local.INFO: GPS data processed {"connection_id":190779,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:40:02] local.INFO: Acknowledgment sent {"connection_id":190779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:40:09] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a2e50012d39114006bcea580025011c2c..."} 
[2026-09-23 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a2e50012d39114006bcea580025011c2c..."} 
[2026-09-23 17:40:09] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a2e50012d39114006bcea580025011c2c..."} 
[2026-09-23 17:40:09] local.INFO: Packet analysis {"connection_id":192123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:09] local.INFO: Extracted packet for processing {"connection_id":192123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758714688,"raw_latitude":113044056,"longitude_deg":75.8714688,"latitude_deg":11.3044056,"altitude":37,"angle":284,"satellites":44,"speed":40,"hex_longitude":"2d391140","hex_latitude":"06bcea58","is_valid_coordinates":true} 
[2026-09-23 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282305536001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406621093831376896,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122130694122182656,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790165266000,"timestamp_ms":1790165266000,"timestamp_seconds":1790165266,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a2e50"} 
[2026-09-23 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:40: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-09-23 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:40: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-09-23 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282305536001,"66":27865,"220":206,"81":21760,"24":40,"16":406621093831376896,"45":4122130694122182656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-23 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282305536001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:40:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-23 17:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406621093831376896,"km_value":406621093831376.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122130694122182656,"description":"Unknown IO ID 45"} 
[2026-09-23 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282305536001,"power":27865,"unknown_220":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":4122130694122182656}} 
[2026-09-23 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":192123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:40:09] local.INFO: GPS data processed {"connection_id":192123,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:40:09] local.INFO: Acknowledgment sent {"connection_id":192123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:40:32] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:32] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:32] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:40:33] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2bf370012d198540071ff0e80041005329..."} 
[2026-09-23 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2bf370012d198540071ff0e80041005329..."} 
[2026-09-23 17:40:33] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2bf370012d198540071ff0e80041005329..."} 
[2026-09-23 17:40:33] local.INFO: Packet analysis {"connection_id":190779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:40:33] local.INFO: Extracted packet for processing {"connection_id":190779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533800,"longitude_deg":75.6647232,"latitude_deg":11.95338,"altitude":65,"angle":83,"satellites":41,"speed":22,"hex_longitude":"2d198540","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282337536001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22785428570505216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242092032,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790165382000,"timestamp_ms":1790165382000,"timestamp_seconds":1790165382,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2bf370"} 
[2026-09-23 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:40: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-09-23 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-23 17:40:33] 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-09-23 17: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-09-23 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282337536001,"66":13820,"101":206,"83":41984,"24":22,"16":22785428570505216,"45":1838383472242092032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282337536001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22785428570505216,"km_value":22785428570505.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242092032,"description":"Unknown IO ID 45"} 
[2026-09-23 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282337536001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1838383472242092032}} 
[2026-09-23 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":190779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:40:33] local.INFO: GPS data processed {"connection_id":190779,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:40:33] local.INFO: Acknowledgment sent {"connection_id":190779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:40:36] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:36] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:36] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:40:41] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:41] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:40:41] local.INFO: IMEI packet received {"connection_id":190586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":190586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:40:42] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a3a08012d39054006bcec30002601102b..."} 
[2026-09-23 17:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a3a08012d39054006bcec30002601102b..."} 
[2026-09-23 17:40:42] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a3a08012d39054006bcec30002601102b..."} 
[2026-09-23 17:40:42] local.INFO: Packet analysis {"connection_id":190586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:42] local.INFO: Extracted packet for processing {"connection_id":190586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758711616,"raw_latitude":113044528,"longitude_deg":75.8711616,"latitude_deg":11.3044528,"altitude":38,"angle":272,"satellites":43,"speed":40,"hex_longitude":"2d390540","hex_latitude":"06bcec30","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282308096001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406621244155232256,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112138332449429504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:42] 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-09-23 17:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790165269000,"timestamp_ms":1790165269000,"timestamp_seconds":1790165269,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a3a08"} 
[2026-09-23 17:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:40: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-09-23 17:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282308096001,"66":27745,"221":206,"81":21760,"24":40,"16":406621244155232256,"45":4112138332449429504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282308096001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406621244155232256,"km_value":406621244155232.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112138332449429504,"description":"Unknown IO ID 45"} 
[2026-09-23 17:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282308096001,"power":27745,"unknown_221":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":4112138332449429504}} 
[2026-09-23 17:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":190586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:40:42] local.INFO: GPS data processed {"connection_id":190586,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:40:42] local.INFO: Acknowledgment sent {"connection_id":190586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:40:46] local.INFO: TCP Data received {"connection_id":190586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a49a8012d38f58006bceb70002701052a..."} 
[2026-09-23 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a49a8012d38f58006bceb70002701052a..."} 
[2026-09-23 17:40:46] local.INFO: Processing buffer {"connection_id":190586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a49a8012d38f58006bceb70002701052a..."} 
[2026-09-23 17:40:46] local.INFO: Packet analysis {"connection_id":190586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:46] local.INFO: Extracted packet for processing {"connection_id":190586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758707584,"raw_latitude":113044336,"longitude_deg":75.8707584,"latitude_deg":11.3044336,"altitude":39,"angle":261,"satellites":42,"speed":38,"hex_longitude":"2d38f580","hex_latitude":"06bceb70","is_valid_coordinates":true} 
[2026-09-23 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282308864001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406621433133793280,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108760632729022464,"note":"Value kept but may cause issues"} 
[2026-09-23 17:40:46] 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-09-23 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790165273000,"timestamp_ms":1790165273000,"timestamp_seconds":1790165273,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a49a8"} 
[2026-09-23 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:40:46] 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-09-23 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282308864001,"66":27767,"221":206,"81":21760,"24":38,"16":406621433133793280,"45":4108760632729022464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282308864001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:40:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406621433133793280,"km_value":406621433133793.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108760632729022464,"description":"Unknown IO ID 45"} 
[2026-09-23 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282308864001,"power":27767,"unknown_221":206,"unknown_81":21760,"ignition":38,"odometer":null,"unknown_45":4108760632729022464}} 
[2026-09-23 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":190586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:40:46] local.INFO: GPS data processed {"connection_id":190586,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:40:46] local.INFO: Acknowledgment sent {"connection_id":190586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:40:56] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: IMEI packet received {"connection_id":192124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":192124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:40:56] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:40:56] local.INFO: IMEI packet received {"connection_id":192124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":192124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:41:02] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:02] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:02] local.INFO: IMEI packet received {"connection_id":192124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":192124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:41:02] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2c0ec8012d199640071ff030003e00602a..."} 
[2026-09-23 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2c0ec8012d199640071ff030003e00602a..."} 
[2026-09-23 17:41:02] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2c0ec8012d199640071ff030003e00602a..."} 
[2026-09-23 17:41:02] local.INFO: Packet analysis {"connection_id":192124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2c"} 
[2026-09-23 17:41:02] local.INFO: Extracted packet for processing {"connection_id":192124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2c"} 
[2026-09-23 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756651584,"raw_latitude":119533616,"longitude_deg":75.6651584,"latitude_deg":11.9533616,"altitude":62,"angle":96,"satellites":42,"speed":28,"hex_longitude":"2d199640","hex_latitude":"071ff030","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282337792001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22785639023902720,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838946422195546112,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165389000,"timestamp_ms":1790165389000,"timestamp_seconds":1790165389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2c0ec8"} 
[2026-09-23 17:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:41: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-09-23 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-23 17:41: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-09-23 17: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-09-23 17:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282337792001,"66":14265,"101":206,"83":41984,"24":28,"16":22785639023902720,"45":1838946422195546112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 17:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282337792001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22785639023902720,"km_value":22785639023902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838946422195546112,"description":"Unknown IO ID 45"} 
[2026-09-23 17:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282337792001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1838946422195546112}} 
[2026-09-23 17:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:41:03] local.INFO: GPS data processed {"connection_id":192124,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:41:03] local.INFO: Acknowledgment sent {"connection_id":192124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:41:31] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:31] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:31] local.INFO: IMEI packet received {"connection_id":190587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:41:34] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2cd600012d19c74007202148002d014b29..."} 
[2026-09-23 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2cd600012d19c74007202148002d014b29..."} 
[2026-09-23 17:41:34] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2cd600012d19c74007202148002d014b29..."} 
[2026-09-23 17:41:34] local.INFO: Packet analysis {"connection_id":192124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2c"} 
[2026-09-23 17:41:34] local.INFO: Extracted packet for processing {"connection_id":192124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2c"} 
[2026-09-23 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119546184,"longitude_deg":75.6664128,"latitude_deg":11.9546184,"altitude":45,"angle":331,"satellites":41,"speed":35,"hex_longitude":"2d19c740","hex_latitude":"07202148","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282351104001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22787077837946880,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660308992,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790165440000,"timestamp_ms":1790165440000,"timestamp_seconds":1790165440,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2cd600"} 
[2026-09-23 17:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-23 17:41:34] 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-09-23 17: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-09-23 17:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282351104001,"66":14363,"103":206,"83":41984,"24":35,"16":22787077837946880,"45":1860549626660308992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 17:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282351104001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:41:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 17:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22787077837946880,"km_value":22787077837946.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660308992,"description":"Unknown IO ID 45"} 
[2026-09-23 17:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282351104001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1860549626660308992}} 
[2026-09-23 17:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":192124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:41:34] local.INFO: GPS data processed {"connection_id":192124,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:41:34] local.INFO: Acknowledgment sent {"connection_id":192124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:41:35] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:35] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:41:35] local.INFO: IMEI packet received {"connection_id":190587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":190587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:41:36] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a6cd0012d38d94006bce8b00027011529..."} 
[2026-09-23 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a6cd0012d38d94006bce8b00027011529..."} 
[2026-09-23 17:41:36] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a6cd0012d38d94006bce8b00027011529..."} 
[2026-09-23 17:41:36] local.INFO: Packet analysis {"connection_id":190587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:41:36] local.INFO: Extracted packet for processing {"connection_id":190587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758700352,"raw_latitude":113043632,"longitude_deg":75.8700352,"latitude_deg":11.3043632,"altitude":39,"angle":277,"satellites":41,"speed":10,"hex_longitude":"2d38d940","hex_latitude":"06bce8b0","is_valid_coordinates":true} 
[2026-09-23 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282309888001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406621781026144256,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104327401845780480,"note":"Value kept but may cause issues"} 
[2026-09-23 17:41:36] 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-09-23 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790165282000,"timestamp_ms":1790165282000,"timestamp_seconds":1790165282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a6cd0"} 
[2026-09-23 17:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:41: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-09-23 17:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282309888001,"66":27691,"221":206,"81":21760,"24":10,"16":406621781026144256,"45":4104327401845780480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282309888001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:41:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406621781026144256,"km_value":406621781026144.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104327401845780480,"description":"Unknown IO ID 45"} 
[2026-09-23 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282309888001,"power":27691,"unknown_221":206,"unknown_81":21760,"ignition":10,"odometer":null,"unknown_45":4104327401845780480}} 
[2026-09-23 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":190587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:41:36] local.INFO: GPS data processed {"connection_id":190587,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:41:36] local.INFO: Acknowledgment sent {"connection_id":190587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:41:56] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:41:56] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:56] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:41:57] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:57] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:57] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:41:58] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:58] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:41:58] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:42:08] local.INFO: TCP Data received {"connection_id":190587,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2a8828012d38cd8006bce8e80024010529..."} 
[2026-09-23 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2a8828012d38cd8006bce8e80024010529..."} 
[2026-09-23 17:42:08] local.INFO: Processing buffer {"connection_id":190587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2a8828012d38cd8006bce8e80024010529..."} 
[2026-09-23 17:42:08] local.INFO: Packet analysis {"connection_id":190587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:42:08] local.INFO: Extracted packet for processing {"connection_id":190587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758697344,"raw_latitude":113043688,"longitude_deg":75.8697344,"latitude_deg":11.3043688,"altitude":36,"angle":261,"satellites":41,"speed":18,"hex_longitude":"2d38cd80","hex_latitude":"06bce8e8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282312192001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406621922760065024,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096375733753524224,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:08] 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-09-23 17:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790165289000,"timestamp_ms":1790165289000,"timestamp_seconds":1790165289,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2a8828"} 
[2026-09-23 17:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:42: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-09-23 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 17:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282312192001,"66":27745,"221":206,"81":21760,"24":18,"16":406621922760065024,"45":4096375733753524224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282312192001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:42:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406621922760065024,"km_value":406621922760065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096375733753524224,"description":"Unknown IO ID 45"} 
[2026-09-23 17:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282312192001,"power":27745,"unknown_221":206,"unknown_81":21760,"ignition":18,"odometer":null,"unknown_45":4096375733753524224}} 
[2026-09-23 17:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":190587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:42:08] local.INFO: GPS data processed {"connection_id":190587,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:42:08] local.INFO: Acknowledgment sent {"connection_id":190587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:42:31] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:31] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:31] local.INFO: IMEI packet received {"connection_id":190780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":190780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:42:36] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:36] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:42:36] local.INFO: IMEI packet received {"connection_id":190780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":190780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:42:37] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2ada30012d38c1c006bce8b80024010d2b..."} 
[2026-09-23 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2ada30012d38c1c006bce8b80024010d2b..."} 
[2026-09-23 17:42:37] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2ada30012d38c1c006bce8b80024010d2b..."} 
[2026-09-23 17:42:37] local.INFO: Packet analysis {"connection_id":190780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:42:37] local.INFO: Extracted packet for processing {"connection_id":190780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2a"} 
[2026-09-23 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758694336,"raw_latitude":113043640,"longitude_deg":75.8694336,"latitude_deg":11.304364,"altitude":36,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d38c1c0","hex_latitude":"06bce8b8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282313984001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622073083920384,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4093068402777188352,"note":"Value kept but may cause issues"} 
[2026-09-23 17:42:37] 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-09-23 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165310000,"timestamp_ms":1790165310000,"timestamp_seconds":1790165310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2ada30"} 
[2026-09-23 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:42: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-09-23 17: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-09-23 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282313984001,"66":27767,"221":206,"81":21760,"24":0,"16":406622073083920384,"45":4093068402777188352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282313984001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:42:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622073083920384,"km_value":406622073083920.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4093068402777188352,"description":"Unknown IO ID 45"} 
[2026-09-23 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282313984001,"power":27767,"unknown_221":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4093068402777188352}} 
[2026-09-23 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":190780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:42:37] local.INFO: GPS data processed {"connection_id":190780,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:42:37] local.INFO: Acknowledgment sent {"connection_id":190780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:43:09] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2b2c38012d38c08006bce9a80026010d2e..."} 
[2026-09-23 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2b2c38012d38c08006bce9a80026010d2e..."} 
[2026-09-23 17:43:09] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2b2c38012d38c08006bce9a80026010d2e..."} 
[2026-09-23 17:43:09] local.INFO: Packet analysis {"connection_id":190780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:43:09] local.INFO: Extracted packet for processing {"connection_id":190780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2b"} 
[2026-09-23 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758694016,"raw_latitude":113043880,"longitude_deg":75.8694016,"latitude_deg":11.304388,"altitude":38,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d38c080","hex_latitude":"06bce9a8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282319360001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622090263789568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4089761071800825856,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:09] 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-09-23 17:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790165331000,"timestamp_ms":1790165331000,"timestamp_seconds":1790165331,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2b2c38"} 
[2026-09-23 17:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:43: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-09-23 17: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-09-23 17:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282319360001,"66":27745,"221":206,"81":21760,"24":0,"16":406622090263789568,"45":4089761071800825856},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282319360001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:43:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622090263789568,"km_value":406622090263789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4089761071800825856,"description":"Unknown IO ID 45"} 
[2026-09-23 17:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282319360001,"power":27745,"unknown_221":206,"unknown_81":21760,"ignition":0,"odometer":null,"unknown_45":4089761071800825856}} 
[2026-09-23 17:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":190780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:43:09] local.INFO: GPS data processed {"connection_id":190780,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:43:09] local.INFO: Acknowledgment sent {"connection_id":190780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:43:31] local.INFO: TCP Data received {"connection_id":193458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: Processing buffer {"connection_id":193458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: IMEI packet received {"connection_id":193458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:43:31] local.INFO: TCP Data received {"connection_id":193458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: Processing buffer {"connection_id":193458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:31] local.INFO: IMEI packet received {"connection_id":193458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:43:33] local.INFO: TCP Data received {"connection_id":190588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:43:33] local.INFO: Processing buffer {"connection_id":190588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:43:33] local.INFO: IMEI packet received {"connection_id":190588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":190588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:43:36] local.INFO: TCP Data received {"connection_id":193458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:36] local.INFO: Processing buffer {"connection_id":193458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:43:36] local.INFO: IMEI packet received {"connection_id":193458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":193458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:43:37] local.INFO: TCP Data received {"connection_id":193458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2e6088012d389c0006bce748001e00fd2b..."} 
[2026-09-23 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2e6088012d389c0006bce748001e00fd2b..."} 
[2026-09-23 17:43:37] local.INFO: Processing buffer {"connection_id":193458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2e6088012d389c0006bce748001e00fd2b..."} 
[2026-09-23 17:43:37] local.INFO: Packet analysis {"connection_id":193458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:43:37] local.INFO: Extracted packet for processing {"connection_id":193458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758684672,"raw_latitude":113043272,"longitude_deg":75.8684672,"latitude_deg":11.3043272,"altitude":30,"angle":253,"satellites":43,"speed":2,"hex_longitude":"2d389c00","hex_latitude":"06bce748","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282378496001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622571300126720,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4079135391429904384,"note":"Value kept but may cause issues"} 
[2026-09-23 17:43:37] 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-09-23 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165541000,"timestamp_ms":1790165541000,"timestamp_seconds":1790165541,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2e6088"} 
[2026-09-23 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:43: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-09-23 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 17:43: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-09-23 17: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-09-23 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282378496001,"66":27919,"221":206,"81":21760,"24":2,"16":406622571300126720,"45":4079135391429904384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282378496001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:43:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622571300126720,"km_value":406622571300126.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4079135391429904384,"description":"Unknown IO ID 45"} 
[2026-09-23 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282378496001,"power":27919,"unknown_221":206,"unknown_81":21760,"ignition":2,"odometer":null,"unknown_45":4079135391429904384}} 
[2026-09-23 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":193458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:43:37] local.INFO: GPS data processed {"connection_id":193458,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:43:37] local.INFO: Acknowledgment sent {"connection_id":193458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:44:08] local.INFO: TCP Data received {"connection_id":193458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2eaea8012d38968006bce510001d00f12c..."} 
[2026-09-23 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2eaea8012d38968006bce510001d00f12c..."} 
[2026-09-23 17:44:08] local.INFO: Processing buffer {"connection_id":193458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2eaea8012d38968006bce510001d00f12c..."} 
[2026-09-23 17:44:08] local.INFO: Packet analysis {"connection_id":193458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:44:08] local.INFO: Extracted packet for processing {"connection_id":193458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758683264,"raw_latitude":113042704,"longitude_deg":75.8683264,"latitude_deg":11.3042704,"altitude":29,"angle":241,"satellites":44,"speed":3,"hex_longitude":"2d389680","hex_latitude":"06bce510","is_valid_coordinates":true} 
[2026-09-23 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282378496001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622648609538048,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4079135391429904384,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:08] 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-09-23 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790165561000,"timestamp_ms":1790165561000,"timestamp_seconds":1790165561,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2eaea8"} 
[2026-09-23 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:44: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-09-23 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 17:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282378496001,"66":27593,"221":206,"81":21760,"24":3,"16":406622648609538048,"45":4079135391429904384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282378496001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:44:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622648609538048,"km_value":406622648609538.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4079135391429904384,"description":"Unknown IO ID 45"} 
[2026-09-23 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282378496001,"power":27593,"unknown_221":206,"unknown_81":21760,"ignition":3,"odometer":null,"unknown_45":4079135391429904384}} 
[2026-09-23 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:44:08] local.INFO: GPS data processed {"connection_id":193458,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:44:08] local.INFO: Acknowledgment sent {"connection_id":193458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:44:14] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:44:14] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:44:14] local.INFO: IMEI packet received {"connection_id":192128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":192128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:44:31] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:31] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:31] local.INFO: IMEI packet received {"connection_id":190589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":190589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:44:36] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:36] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:44:36] local.INFO: IMEI packet received {"connection_id":190589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":190589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:44:37] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2edd88012d3890c006bce270001b00ff2d..."} 
[2026-09-23 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2edd88012d3890c006bce270001b00ff2d..."} 
[2026-09-23 17:44:37] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2edd88012d3890c006bce270001b00ff2d..."} 
[2026-09-23 17:44:37] local.INFO: Packet analysis {"connection_id":190589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:44:37] local.INFO: Extracted packet for processing {"connection_id":190589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2e"} 
[2026-09-23 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758681792,"raw_latitude":113042032,"longitude_deg":75.8681792,"latitude_deg":11.3042032,"altitude":27,"angle":255,"satellites":45,"speed":3,"hex_longitude":"2d3890c0","hex_latitude":"06bce270","is_valid_coordinates":true} 
[2026-09-23 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282383616001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622721623982080,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4077587279057850368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:44:37] 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-09-23 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165573000,"timestamp_ms":1790165573000,"timestamp_seconds":1790165573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2edd88"} 
[2026-09-23 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:44: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-09-23 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 17:44:37] 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-09-23 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282383616001,"66":27691,"221":206,"81":21760,"24":3,"16":406622721623982080,"45":4077587279057850368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282383616001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:44:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622721623982080,"km_value":406622721623982.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4077587279057850368,"description":"Unknown IO ID 45"} 
[2026-09-23 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282383616001,"power":27691,"unknown_221":206,"unknown_81":21760,"ignition":3,"odometer":null,"unknown_45":4077587279057850368}} 
[2026-09-23 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":190589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:44:37] local.INFO: GPS data processed {"connection_id":190589,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:44:37] local.INFO: Acknowledgment sent {"connection_id":190589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:45:10] local.INFO: TCP Data received {"connection_id":190589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2f00b0012d388b8006bce068001900f02d..."} 
[2026-09-23 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2f00b0012d388b8006bce068001900f02d..."} 
[2026-09-23 17:45:10] local.INFO: Processing buffer {"connection_id":190589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2f00b0012d388b8006bce068001900f02d..."} 
[2026-09-23 17:45:10] local.INFO: Packet analysis {"connection_id":190589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2f"} 
[2026-09-23 17:45:10] local.INFO: Extracted packet for processing {"connection_id":190589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2f"} 
[2026-09-23 17:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758680448,"raw_latitude":113041512,"longitude_deg":75.8680448,"latitude_deg":11.3041512,"altitude":25,"angle":240,"satellites":45,"speed":5,"hex_longitude":"2d388b80","hex_latitude":"06bce068","is_valid_coordinates":true} 
[2026-09-23 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282386688001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622794638426112,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4075968797941592064,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:10] 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-09-23 17:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790165582000,"timestamp_ms":1790165582000,"timestamp_seconds":1790165582,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2f00b0"} 
[2026-09-23 17:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:45: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-09-23 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 17:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282386688001,"66":27865,"221":206,"81":21760,"24":5,"16":406622794638426112,"45":4075968797941592064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282386688001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:45:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622794638426112,"km_value":406622794638426.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4075968797941592064,"description":"Unknown IO ID 45"} 
[2026-09-23 17:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282386688001,"power":27865,"unknown_221":206,"unknown_81":21760,"ignition":5,"odometer":null,"unknown_45":4075968797941592064}} 
[2026-09-23 17:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":190589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:45:10] local.INFO: GPS data processed {"connection_id":190589,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:45:10] local.INFO: Acknowledgment sent {"connection_id":190589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:45:31] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:31] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:31] local.INFO: IMEI packet received {"connection_id":190783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":190783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:45:32] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:32] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:32] local.INFO: IMEI packet received {"connection_id":190783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":190783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:45:36] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:36] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:45:36] local.INFO: IMEI packet received {"connection_id":190783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:45:37] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce2f0c68012d38898006bcdfc0001800fc2c..."} 
[2026-09-23 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce2f0c68012d38898006bcdfc0001800fc2c..."} 
[2026-09-23 17:45:37] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce2f0c68012d38898006bcdfc0001800fc2c..."} 
[2026-09-23 17:45:37] local.INFO: Packet analysis {"connection_id":190783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce2f"} 
[2026-09-23 17:45:37] local.INFO: Extracted packet for processing {"connection_id":190783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce2f"} 
[2026-09-23 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758679936,"raw_latitude":113041344,"longitude_deg":75.8679936,"latitude_deg":11.3041344,"altitude":24,"angle":252,"satellites":44,"speed":7,"hex_longitude":"2d388980","hex_latitude":"06bcdfc0","is_valid_coordinates":true} 
[2026-09-23 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282388992001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406622816113262592,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4074491054313728000,"note":"Value kept but may cause issues"} 
[2026-09-23 17:45:37] 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-09-23 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165585000,"timestamp_ms":1790165585000,"timestamp_seconds":1790165585,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce2f0c68"} 
[2026-09-23 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:45: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-09-23 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17: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-09-23 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282388992001,"66":27821,"221":206,"81":21760,"24":7,"16":406622816113262592,"45":4074491054313728000},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-23 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282388992001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:45:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-23 17:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406622816113262592,"km_value":406622816113262.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4074491054313728000,"description":"Unknown IO ID 45"} 
[2026-09-23 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282388992001,"power":27821,"unknown_221":206,"unknown_81":21760,"ignition":7,"odometer":null,"unknown_45":4074491054313728000}} 
[2026-09-23 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":190783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:45:37] local.INFO: GPS data processed {"connection_id":190783,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:45:37] local.INFO: Acknowledgment sent {"connection_id":190783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:46:20] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce310068012d378d8006bc78c8001c00bd29..."} 
[2026-09-23 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce310068012d378d8006bc78c8001c00bd29..."} 
[2026-09-23 17:46:20] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce310068012d378d8006bc78c8001c00bd29..."} 
[2026-09-23 17:46:20] local.INFO: Packet analysis {"connection_id":190783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:46:20] local.INFO: Extracted packet for processing {"connection_id":190783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758615424,"raw_latitude":113014984,"longitude_deg":75.8615424,"latitude_deg":11.3014984,"altitude":28,"angle":189,"satellites":41,"speed":6,"hex_longitude":"2d378d80","hex_latitude":"06bc78c8","is_valid_coordinates":true} 
[2026-09-23 17:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282422016001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406626153302851584,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003207516455051264,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790165713000,"timestamp_ms":1790165713000,"timestamp_seconds":1790165713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce310068"} 
[2026-09-23 17:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282422016001,"66":27843,"123":206,"81":21760,"24":6,"16":406626153302851584,"45":4003207516455051264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 17:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282422016001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:46:20] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 17:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406626153302851584,"km_value":406626153302851.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003207516455051264,"description":"Unknown IO ID 45"} 
[2026-09-23 17:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282422016001,"power":27843,"unknown_123":206,"unknown_81":21760,"ignition":6,"odometer":null,"unknown_45":4003207516455051264}} 
[2026-09-23 17:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":190783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:46:20] local.INFO: GPS data processed {"connection_id":190783,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:46:20] local.INFO: Acknowledgment sent {"connection_id":190783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:46:31] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:31] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:31] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:46:33] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:33] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:33] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:46:36] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:36] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:36] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:46:37] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:37] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:46:37] local.INFO: IMEI packet received {"connection_id":190591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":190591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:46:41] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce310450012d378d8006bc7828001c00af2a..."} 
[2026-09-23 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce310450012d378d8006bc7828001c00af2a..."} 
[2026-09-23 17:46:41] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce310450012d378d8006bc7828001c00af2a..."} 
[2026-09-23 17:46:41] local.INFO: Packet analysis {"connection_id":190591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:46:41] local.INFO: Extracted packet for processing {"connection_id":190591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758615424,"raw_latitude":113014824,"longitude_deg":75.8615424,"latitude_deg":11.3014824,"altitude":28,"angle":175,"satellites":42,"speed":6,"hex_longitude":"2d378d80","hex_latitude":"06bc7828","is_valid_coordinates":true} 
[2026-09-23 17:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282422528001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406626157597818880,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002996410222430208,"note":"Value kept but may cause issues"} 
[2026-09-23 17:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790165714000,"timestamp_ms":1790165714000,"timestamp_seconds":1790165714,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce310450"} 
[2026-09-23 17:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:46: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-09-23 17:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282422528001,"66":27517,"123":206,"81":21760,"24":6,"16":406626157597818880,"45":4002996410222430208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 17:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282422528001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:46:41] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 17:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406626157597818880,"km_value":406626157597818.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002996410222430208,"description":"Unknown IO ID 45"} 
[2026-09-23 17:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282422528001,"power":27517,"unknown_123":206,"unknown_81":21760,"ignition":6,"odometer":null,"unknown_45":4002996410222430208}} 
[2026-09-23 17:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":190591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:46:41] local.INFO: GPS data processed {"connection_id":190591,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:46:41] local.INFO: Acknowledgment sent {"connection_id":190591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:01] local.INFO: TCP Data received {"connection_id":190591,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3117d8012d378e0006bc75b0001c00a129..."} 
[2026-09-23 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3117d8012d378e0006bc75b0001c00a129..."} 
[2026-09-23 17:47:01] local.INFO: Processing buffer {"connection_id":190591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3117d8012d378e0006bc75b0001c00a129..."} 
[2026-09-23 17:47:01] local.INFO: Packet analysis {"connection_id":190591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:01] local.INFO: Extracted packet for processing {"connection_id":190591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758615552,"raw_latitude":113014192,"longitude_deg":75.8615552,"latitude_deg":11.3014192,"altitude":28,"angle":161,"satellites":41,"speed":8,"hex_longitude":"2d378e00","hex_latitude":"06bc75b0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282422784001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406626191957557248,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002996410222389248,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790165719000,"timestamp_ms":1790165719000,"timestamp_seconds":1790165719,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3117d8"} 
[2026-09-23 17:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 17:47:01] 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-09-23 17: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-09-23 17:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282422784001,"66":27908,"123":206,"81":21760,"24":8,"16":406626191957557248,"45":4002996410222389248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,81,24,16,45]} 
[2026-09-23 17:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282422784001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:47:01] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 17:47:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406626191957557248,"km_value":406626191957557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002996410222389248,"description":"Unknown IO ID 45"} 
[2026-09-23 17:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282422784001,"power":27908,"unknown_123":206,"unknown_81":21760,"ignition":8,"odometer":null,"unknown_45":4002996410222389248}} 
[2026-09-23 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":190591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:47:01] local.INFO: GPS data processed {"connection_id":190591,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:47:01] local.INFO: Acknowledgment sent {"connection_id":190591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:02] local.INFO: TCP Data received {"connection_id":190592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:02] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:02] local.INFO: IMEI packet received {"connection_id":190592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":190592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:47:02] local.INFO: TCP Data received {"connection_id":190592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce315658012d179d4007210938004000d528..."} 
[2026-09-23 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce315658012d179d4007210938004000d528..."} 
[2026-09-23 17:47:02] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce315658012d179d4007210938004000d528..."} 
[2026-09-23 17:47:02] local.INFO: Packet analysis {"connection_id":190592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:02] local.INFO: Extracted packet for processing {"connection_id":190592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282422784001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701375527346509824,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165735000,"timestamp_ms":1790165735000,"timestamp_seconds":1790165735,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce315658"} 
[2026-09-23 17:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:47: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-09-23 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-23 17:47: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-09-23 17: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-09-23 17:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282422784001,"66":13048,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701375527346509824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282422784001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:47:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701375527346509824,"description":"Unknown IO ID 45"} 
[2026-09-23 17:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282422784001,"power":13048,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701375527346509824}} 
[2026-09-23 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":190592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:47:03] local.INFO: GPS data processed {"connection_id":190592,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:47:03] local.INFO: Acknowledgment sent {"connection_id":190592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:34] local.INFO: TCP Data received {"connection_id":190592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce31a860012d179d4007210938004000d527..."} 
[2026-09-23 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce31a860012d179d4007210938004000d527..."} 
[2026-09-23 17:47:34] local.INFO: Processing buffer {"connection_id":190592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce31a860012d179d4007210938004000d527..."} 
[2026-09-23 17:47:34] local.INFO: Packet analysis {"connection_id":190592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:34] local.INFO: Extracted packet for processing {"connection_id":190592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282428160001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790165756000,"timestamp_ms":1790165756000,"timestamp_seconds":1790165756,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce31a860"} 
[2026-09-23 17:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":248,"data_length":795,"current_offset":136} 
[2026-09-23 17:47: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-09-23 17: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-09-23 17:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282428160001,"66":13048,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282428160001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:47:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282428160001,"power":13048,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":190592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:47:34] local.INFO: GPS data processed {"connection_id":190592,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:47:34] local.INFO: Acknowledgment sent {"connection_id":190592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:36] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:36] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:36] local.INFO: IMEI packet received {"connection_id":190784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":190784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:47:40] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:40] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:47:40] local.INFO: IMEI packet received {"connection_id":190784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":190784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:47:42] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3238e8012d37bf8006bb5ba0000e00a52a..."} 
[2026-09-23 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3238e8012d37bf8006bb5ba0000e00a52a..."} 
[2026-09-23 17:47:42] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3238e8012d37bf8006bb5ba0000e00a52a..."} 
[2026-09-23 17:47:42] local.INFO: Packet analysis {"connection_id":190784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:47:42] local.INFO: Extracted packet for processing {"connection_id":190784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758628224,"raw_latitude":112941984,"longitude_deg":75.8628224,"latitude_deg":11.2941984,"altitude":14,"angle":165,"satellites":42,"speed":49,"hex_longitude":"2d37bf80","hex_latitude":"06bb5ba0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282440960001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406629786845184000,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4014818359227971584,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790165793000,"timestamp_ms":1790165793000,"timestamp_seconds":1790165793,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3238e8"} 
[2026-09-23 17:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 17:47:42] 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-09-23 17: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-09-23 17:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282440960001,"66":27843,"114":206,"81":21760,"24":49,"16":406629786845184000,"45":4014818359227971584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,81,24,16,45]} 
[2026-09-23 17:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282440960001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:47:42] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-23 17:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406629786845184000,"km_value":406629786845184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4014818359227971584,"description":"Unknown IO ID 45"} 
[2026-09-23 17:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282440960001,"power":27843,"unknown_114":206,"unknown_81":21760,"ignition":49,"odometer":null,"unknown_45":4014818359227971584}} 
[2026-09-23 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":190784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:47:42] local.INFO: GPS data processed {"connection_id":190784,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:47:42] local.INFO: Acknowledgment sent {"connection_id":190784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:43] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:47:43] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:47:43] local.INFO: Packet analysis {"connection_id":190784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:47:43] local.INFO: Extracted packet for processing {"connection_id":190784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758630400,"raw_latitude":112932336,"longitude_deg":75.86304,"latitude_deg":11.2932336,"altitude":15,"angle":177,"satellites":38,"speed":43,"hex_longitude":"2d37c800","hex_latitude":"06bb35f0","is_valid_coordinates":true} 
[2026-09-23 17:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282443008001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406630263586553856,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4017070159039275008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790165801000,"timestamp_ms":1790165801000,"timestamp_seconds":1790165801,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce325828"} 
[2026-09-23 17:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:47: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-09-23 17:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282443008001,"66":27843,"216":206,"81":21760,"24":43,"16":406630263586553856,"45":4017070159039275008},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282443008001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:47:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406630263586553856,"km_value":406630263586553.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4017070159039275008,"description":"Unknown IO ID 45"} 
[2026-09-23 17:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282443008001,"power":27843,"unknown_216":206,"unknown_81":21760,"ignition":43,"odometer":null,"unknown_45":4017070159039275008}} 
[2026-09-23 17:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":190784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:47:43] local.INFO: GPS data processed {"connection_id":190784,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:47:43] local.INFO: Acknowledgment sent {"connection_id":190784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:47:56] local.INFO: TCP Data received {"connection_id":193462,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:56] local.INFO: Processing buffer {"connection_id":193462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:56] local.INFO: IMEI packet received {"connection_id":193462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":193462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:47:59] local.INFO: TCP Data received {"connection_id":193462,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:59] local.INFO: Processing buffer {"connection_id":193462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:47:59] local.INFO: IMEI packet received {"connection_id":193462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":193462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:48:02] local.INFO: TCP Data received {"connection_id":193462,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:02] local.INFO: Processing buffer {"connection_id":193462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:02] local.INFO: IMEI packet received {"connection_id":193462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":193462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:48:03] local.INFO: TCP Data received {"connection_id":193462,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce31fa68012d179d4007210938004000d524..."} 
[2026-09-23 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce31fa68012d179d4007210938004000d524..."} 
[2026-09-23 17:48:03] local.INFO: Processing buffer {"connection_id":193462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce31fa68012d179d4007210938004000d524..."} 
[2026-09-23 17:48:03] local.INFO: Packet analysis {"connection_id":193462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:48:03] local.INFO: Extracted packet for processing {"connection_id":193462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce31"} 
[2026-09-23 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282433536001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790165777000,"timestamp_ms":1790165777000,"timestamp_seconds":1790165777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce31fa68"} 
[2026-09-23 17:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:48: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-09-23 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-23 17:48: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-09-23 17: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-09-23 17:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282433536001,"66":12993,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282433536001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:48:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282433536001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":193462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:48:03] local.INFO: GPS data processed {"connection_id":193462,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:48:03] local.INFO: Acknowledgment sent {"connection_id":193462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:48:14] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:48:14] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce325828012d37c80006bb35f0000f00b126..."} 
[2026-09-23 17:48:14] local.INFO: Packet analysis {"connection_id":190784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:14] local.INFO: Extracted packet for processing {"connection_id":190784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758630400,"raw_latitude":112932336,"longitude_deg":75.86304,"latitude_deg":11.2932336,"altitude":15,"angle":177,"satellites":38,"speed":43,"hex_longitude":"2d37c800","hex_latitude":"06bb35f0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282445056001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406630263586553856,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019462696338845696,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790165801000,"timestamp_ms":1790165801000,"timestamp_seconds":1790165801,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce325828"} 
[2026-09-23 17:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:48: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-09-23 17: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-09-23 17:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282445056001,"66":27843,"216":206,"81":21760,"24":43,"16":406630263586553856,"45":4019462696338845696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282445056001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:48:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406630263586553856,"km_value":406630263586553.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019462696338845696,"description":"Unknown IO ID 45"} 
[2026-09-23 17:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282445056001,"power":27843,"unknown_216":206,"unknown_81":21760,"ignition":43,"odometer":null,"unknown_45":4019462696338845696}} 
[2026-09-23 17:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":190784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:48:14] local.INFO: GPS data processed {"connection_id":190784,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:48:14] local.INFO: Acknowledgment sent {"connection_id":190784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:48:31] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:31] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:31] local.INFO: IMEI packet received {"connection_id":192129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":192129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:48:35] local.INFO: TCP Data received {"connection_id":193462,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce324c70012d179d4007210938004000d526..."} 
[2026-09-23 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce324c70012d179d4007210938004000d526..."} 
[2026-09-23 17:48:35] local.INFO: Processing buffer {"connection_id":193462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce324c70012d179d4007210938004000d526..."} 
[2026-09-23 17:48:35] local.INFO: Packet analysis {"connection_id":193462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:35] local.INFO: Extracted packet for processing {"connection_id":193462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282438912001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790165798000,"timestamp_ms":1790165798000,"timestamp_seconds":1790165798,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce324c70"} 
[2026-09-23 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-09-23 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-23 17:48:35] 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-09-23 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-09-23 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-09-23 17:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282438912001,"66":12993,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282438912001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:48:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282438912001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":193462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:48:35] local.INFO: GPS data processed {"connection_id":193462,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:48:35] local.INFO: Acknowledgment sent {"connection_id":193462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:48:36] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:36] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:48:36] local.INFO: IMEI packet received {"connection_id":192129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":192129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:48:37] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce326f98012d37c68006bb20c0000f00c229..."} 
[2026-09-23 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce326f98012d37c68006bb20c0000f00c229..."} 
[2026-09-23 17:48:37] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce326f98012d37c68006bb20c0000f00c229..."} 
[2026-09-23 17:48:37] local.INFO: Packet analysis {"connection_id":192129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:37] local.INFO: Extracted packet for processing {"connection_id":192129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758630016,"raw_latitude":112926912,"longitude_deg":75.8630016,"latitude_deg":11.2926912,"altitude":15,"angle":194,"satellites":41,"speed":18,"hex_longitude":"2d37c680","hex_latitude":"06bb20c0","is_valid_coordinates":true} 
[2026-09-23 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282445056001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406630529874526208,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019462696338845696,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165807000,"timestamp_ms":1790165807000,"timestamp_seconds":1790165807,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce326f98"} 
[2026-09-23 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 17:48: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-09-23 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282445056001,"66":27865,"216":206,"81":21760,"24":18,"16":406630529874526208,"45":4019462696338845696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282445056001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:48:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406630529874526208,"km_value":406630529874526.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019462696338845696,"description":"Unknown IO ID 45"} 
[2026-09-23 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282445056001,"power":27865,"unknown_216":206,"unknown_81":21760,"ignition":18,"odometer":null,"unknown_45":4019462696338845696}} 
[2026-09-23 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":192129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:48:37] local.INFO: GPS data processed {"connection_id":192129,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:48:37] local.INFO: Acknowledgment sent {"connection_id":192129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:48:39] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce32aa30012d37bc0006bafdb0000b00cc2b..."} 
[2026-09-23 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce32aa30012d37bc0006bafdb0000b00cc2b..."} 
[2026-09-23 17:48:39] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce32aa30012d37bc0006bafdb0000b00cc2b..."} 
[2026-09-23 17:48:39] local.INFO: Packet analysis {"connection_id":192129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:39] local.INFO: Extracted packet for processing {"connection_id":192129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758627328,"raw_latitude":112917936,"longitude_deg":75.8627328,"latitude_deg":11.2917936,"altitude":11,"angle":204,"satellites":43,"speed":35,"hex_longitude":"2d37bc00","hex_latitude":"06bafdb0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282446592001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406630985141059584,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019040483872391168,"note":"Value kept but may cause issues"} 
[2026-09-23 17:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790165822000,"timestamp_ms":1790165822000,"timestamp_seconds":1790165822,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce32aa30"} 
[2026-09-23 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-09-23 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:48: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-09-23 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-09-23 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-09-23 17:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282446592001,"66":27865,"216":206,"81":21760,"24":35,"16":406630985141059584,"45":4019040483872391168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282446592001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:48:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406630985141059584,"km_value":406630985141059.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019040483872391168,"description":"Unknown IO ID 45"} 
[2026-09-23 17:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282446592001,"power":27865,"unknown_216":206,"unknown_81":21760,"ignition":35,"odometer":null,"unknown_45":4019040483872391168}} 
[2026-09-23 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":192129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:48:39] local.INFO: GPS data processed {"connection_id":192129,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:48:39] local.INFO: Acknowledgment sent {"connection_id":192129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:48:56] local.INFO: TCP Data received {"connection_id":190593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:56] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:48:56] local.INFO: IMEI packet received {"connection_id":190593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":190593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:49:02] local.INFO: TCP Data received {"connection_id":190593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:49:02] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:49:02] local.INFO: IMEI packet received {"connection_id":190593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:49:02] local.INFO: TCP Data received {"connection_id":190593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce329e78012d179d4007210938004000d525..."} 
[2026-09-23 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce329e78012d179d4007210938004000d525..."} 
[2026-09-23 17:49:02] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce329e78012d179d4007210938004000d525..."} 
[2026-09-23 17:49:02] local.INFO: Packet analysis {"connection_id":190593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:02] local.INFO: Extracted packet for processing {"connection_id":190593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282444288001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165819000,"timestamp_ms":1790165819000,"timestamp_seconds":1790165819,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce329e78"} 
[2026-09-23 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-09-23 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":193,"data_length":795,"current_offset":136} 
[2026-09-23 17:49: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-09-23 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-09-23 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-09-23 17:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282444288001,"66":12961,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282444288001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282444288001,"power":12961,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":190593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:49:03] local.INFO: GPS data processed {"connection_id":190593,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:49:03] local.INFO: Acknowledgment sent {"connection_id":190593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:49:10] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce32cd58012d37acc006badde8000b00cd2a..."} 
[2026-09-23 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce32cd58012d37acc006badde8000b00cd2a..."} 
[2026-09-23 17:49:10] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce32cd58012d37acc006badde8000b00cd2a..."} 
[2026-09-23 17:49:10] local.INFO: Packet analysis {"connection_id":192129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:10] local.INFO: Extracted packet for processing {"connection_id":192129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758623424,"raw_latitude":112909800,"longitude_deg":75.8623424,"latitude_deg":11.29098,"altitude":11,"angle":205,"satellites":42,"speed":42,"hex_longitude":"2d37acc0","hex_latitude":"06badde8","is_valid_coordinates":true} 
[2026-09-23 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282450432001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406631418932756480,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4016084996614631424,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790165831000,"timestamp_ms":1790165831000,"timestamp_seconds":1790165831,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce32cd58"} 
[2026-09-23 17:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:49: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-09-23 17:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282450432001,"66":27908,"216":206,"81":21760,"24":42,"16":406631418932756480,"45":4016084996614631424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282450432001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:49:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406631418932756480,"km_value":406631418932756.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4016084996614631424,"description":"Unknown IO ID 45"} 
[2026-09-23 17:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282450432001,"power":27908,"unknown_216":206,"unknown_81":21760,"ignition":42,"odometer":null,"unknown_45":4016084996614631424}} 
[2026-09-23 17:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":192129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:49:10] local.INFO: GPS data processed {"connection_id":192129,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:49:10] local.INFO: Acknowledgment sent {"connection_id":192129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:49:31] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:31] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:31] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:49:34] local.INFO: TCP Data received {"connection_id":190593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce32f080012d179d4007210938004000d526..."} 
[2026-09-23 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce32f080012d179d4007210938004000d526..."} 
[2026-09-23 17:49:34] local.INFO: Processing buffer {"connection_id":190593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce32f080012d179d4007210938004000d526..."} 
[2026-09-23 17:49:34] local.INFO: Packet analysis {"connection_id":190593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:34] local.INFO: Extracted packet for processing {"connection_id":190593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282449664001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790165840000,"timestamp_ms":1790165840000,"timestamp_seconds":1790165840,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce32f080"} 
[2026-09-23 17:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":161,"data_length":795,"current_offset":136} 
[2026-09-23 17:49: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-09-23 17: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-09-23 17:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282449664001,"66":12917,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282449664001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:49:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282449664001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":190593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:49:34] local.INFO: GPS data processed {"connection_id":190593,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:49:34] local.INFO: Acknowledgment sent {"connection_id":190593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:49:36] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:36] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:49:36] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:49:37] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce32f080012d379c8006babbe8000b00cb25..."} 
[2026-09-23 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce32f080012d379c8006babbe8000b00cb25..."} 
[2026-09-23 17:49:37] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce32f080012d379c8006babbe8000b00cb25..."} 
[2026-09-23 17:49:37] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:37] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce32"} 
[2026-09-23 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758619264,"raw_latitude":112901096,"longitude_deg":75.8619264,"latitude_deg":11.2901096,"altitude":11,"angle":203,"satellites":37,"speed":42,"hex_longitude":"2d379c80","hex_latitude":"06babbe8","is_valid_coordinates":true} 
[2026-09-23 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282452736001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406631887084191744,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4011792503217711104,"note":"Value kept but may cause issues"} 
[2026-09-23 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790165840000,"timestamp_ms":1790165840000,"timestamp_seconds":1790165840,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce32f080"} 
[2026-09-23 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 17:49: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-09-23 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282452736001,"66":27745,"216":206,"81":21760,"24":42,"16":406631887084191744,"45":4011792503217711104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,81,24,16,45]} 
[2026-09-23 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282452736001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:49:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-23 17:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406631887084191744,"km_value":406631887084191.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4011792503217711104,"description":"Unknown IO ID 45"} 
[2026-09-23 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282452736001,"power":27745,"unknown_216":206,"unknown_81":21760,"ignition":42,"odometer":null,"unknown_45":4011792503217711104}} 
[2026-09-23 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:49:37] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:49:37] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:49:40] local.INFO: TCP Data received {"connection_id":190786,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:49:40] local.INFO: Processing buffer {"connection_id":190786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:49:40] local.INFO: IMEI packet received {"connection_id":190786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":190786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:50:01] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:01] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:01] local.INFO: IMEI packet received {"connection_id":192131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":192131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:50:04] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:04] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:04] local.INFO: IMEI packet received {"connection_id":192131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":192131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:50:05] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce334288012d179d4007210938004000d523..."} 
[2026-09-23 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce334288012d179d4007210938004000d523..."} 
[2026-09-23 17:50:05] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce334288012d179d4007210938004000d523..."} 
[2026-09-23 17:50:05] local.INFO: Packet analysis {"connection_id":192131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:05] local.INFO: Extracted packet for processing {"connection_id":192131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282455040001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790165861000,"timestamp_ms":1790165861000,"timestamp_seconds":1790165861,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce334288"} 
[2026-09-23 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-23 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282455040001,"66":12863,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282455040001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:50:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282455040001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":192131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:50:05] local.INFO: GPS data processed {"connection_id":192131,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:50:05] local.INFO: Acknowledgment sent {"connection_id":192131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:50:06] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce339490012d179d4007210938004000d527..."} 
[2026-09-23 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce339490012d179d4007210938004000d527..."} 
[2026-09-23 17:50:06] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce339490012d179d4007210938004000d527..."} 
[2026-09-23 17:50:06] local.INFO: Packet analysis {"connection_id":192131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:06] local.INFO: Extracted packet for processing {"connection_id":192131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282460416001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790165882000,"timestamp_ms":1790165882000,"timestamp_seconds":1790165882,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce339490"} 
[2026-09-23 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 17:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282460416001,"66":12841,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282460416001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:50:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282460416001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":192131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:50:06] local.INFO: GPS data processed {"connection_id":192131,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:50:06] local.INFO: Acknowledgment sent {"connection_id":192131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:50:08] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce34add0012d36e40006ba1200000a01232b..."} 
[2026-09-23 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce34add0012d36e40006ba1200000a01232b..."} 
[2026-09-23 17:50:08] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce34add0012d36e40006ba1200000a01232b..."} 
[2026-09-23 17:50:08] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:50:08] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758572032,"raw_latitude":112857600,"longitude_deg":75.8572032,"latitude_deg":11.28576,"altitude":10,"angle":291,"satellites":43,"speed":32,"hex_longitude":"2d36e400","hex_latitude":"06ba1200","is_valid_coordinates":true} 
[2026-09-23 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282483200001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406635177029140480,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3958523363861628928,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790165954000,"timestamp_ms":1790165954000,"timestamp_seconds":1790165954,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce34add0"} 
[2026-09-23 17:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:50: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-09-23 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:50: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-09-23 17:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282483200001,"66":27800,"183":206,"81":21760,"24":32,"16":406635177029140480,"45":3958523363861628928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-23 17:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282483200001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:50:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-23 17:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406635177029140480,"km_value":406635177029140.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3958523363861628928,"description":"Unknown IO ID 45"} 
[2026-09-23 17:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282483200001,"power":27800,"unknown_183":206,"unknown_81":21760,"ignition":32,"odometer":null,"unknown_45":3958523363861628928}} 
[2026-09-23 17:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:50:08] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:50:08] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:50:14] local.INFO: TCP Data received {"connection_id":193463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:50:14] local.INFO: Processing buffer {"connection_id":193463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:50:14] local.INFO: IMEI packet received {"connection_id":193463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":193463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:50:31] local.INFO: TCP Data received {"connection_id":190594,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:31] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:31] local.INFO: IMEI packet received {"connection_id":190594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":190594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:50:34] local.INFO: TCP Data received {"connection_id":190594,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:34] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:50:34] local.INFO: IMEI packet received {"connection_id":190594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":190594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:50:35] local.INFO: TCP Data received {"connection_id":190594,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce34d0f8012d36c88006ba1d38000d01172a..."} 
[2026-09-23 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce34d0f8012d36c88006ba1d38000d01172a..."} 
[2026-09-23 17:50:35] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce34d0f8012d36c88006ba1d38000d01172a..."} 
[2026-09-23 17:50:35] local.INFO: Packet analysis {"connection_id":190594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:50:35] local.INFO: Extracted packet for processing {"connection_id":190594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758564992,"raw_latitude":112860472,"longitude_deg":75.8564992,"latitude_deg":11.2860472,"altitude":13,"angle":279,"satellites":42,"speed":36,"hex_longitude":"2d36c880","hex_latitude":"06ba1d38","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282484224001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406635542101360640,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3955286401629683712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:35] 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-09-23 17:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790165963000,"timestamp_ms":1790165963000,"timestamp_seconds":1790165963,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce34d0f8"} 
[2026-09-23 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-09-23 17:50: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-09-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:50: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-09-23 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-09-23 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-09-23 17:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282484224001,"66":27821,"183":206,"81":21760,"24":36,"16":406635542101360640,"45":3955286401629683712},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-23 17:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282484224001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:50:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-23 17:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406635542101360640,"km_value":406635542101360.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3955286401629683712,"description":"Unknown IO ID 45"} 
[2026-09-23 17:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282484224001,"power":27821,"unknown_183":206,"unknown_81":21760,"ignition":36,"odometer":null,"unknown_45":3955286401629683712}} 
[2026-09-23 17:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":190594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:50:35] local.INFO: GPS data processed {"connection_id":190594,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:50:35] local.INFO: Acknowledgment sent {"connection_id":190594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:50:38] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce33e698012d179d4007210938004000d525..."} 
[2026-09-23 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce33e698012d179d4007210938004000d525..."} 
[2026-09-23 17:50:38] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce33e698012d179d4007210938004000d525..."} 
[2026-09-23 17:50:38] local.INFO: Packet analysis {"connection_id":192131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:38] local.INFO: Extracted packet for processing {"connection_id":192131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce33"} 
[2026-09-23 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282465792001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790165903000,"timestamp_ms":1790165903000,"timestamp_seconds":1790165903,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce33e698"} 
[2026-09-23 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282465792001,"66":12863,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282465792001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:50:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282465792001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":192131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:50:38] local.INFO: GPS data processed {"connection_id":192131,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:50:38] local.INFO: Acknowledgment sent {"connection_id":192131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:50:56] local.INFO: TCP Data received {"connection_id":190787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:56] local.INFO: Processing buffer {"connection_id":190787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:50:56] local.INFO: IMEI packet received {"connection_id":190787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":190787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:51:01] local.INFO: TCP Data received {"connection_id":190787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:01] local.INFO: Processing buffer {"connection_id":190787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:01] local.INFO: IMEI packet received {"connection_id":190787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":190787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:51:02] local.INFO: TCP Data received {"connection_id":190787,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3438a0012d179d4007210938004000d524..."} 
[2026-09-23 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3438a0012d179d4007210938004000d524..."} 
[2026-09-23 17:51:02] local.INFO: Processing buffer {"connection_id":190787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3438a0012d179d4007210938004000d524..."} 
[2026-09-23 17:51:02] local.INFO: Packet analysis {"connection_id":190787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:02] local.INFO: Extracted packet for processing {"connection_id":190787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282471168001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165924000,"timestamp_ms":1790165924000,"timestamp_seconds":1790165924,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3438a0"} 
[2026-09-23 17:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:51: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-09-23 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 17:51: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-09-23 17: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-09-23 17:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282471168001,"66":12841,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282471168001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:51:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282471168001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":190787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:51:02] local.INFO: GPS data processed {"connection_id":190787,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:51:02] local.INFO: Acknowledgment sent {"connection_id":190787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:51:06] local.INFO: TCP Data received {"connection_id":190594,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce34dcb0012d36be0006ba1d78000c01092c..."} 
[2026-09-23 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce34dcb0012d36be0006ba1d78000c01092c..."} 
[2026-09-23 17:51:06] local.INFO: Processing buffer {"connection_id":190594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce34dcb0012d36be0006ba1d78000c01092c..."} 
[2026-09-23 17:51:06] local.INFO: Packet analysis {"connection_id":190594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:06] local.INFO: Extracted packet for processing {"connection_id":190594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758562304,"raw_latitude":112860536,"longitude_deg":75.8562304,"latitude_deg":11.2860536,"altitude":12,"angle":265,"satellites":44,"speed":35,"hex_longitude":"2d36be00","hex_latitude":"06ba1d78","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282486528001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406635666655412224,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3947545839770875904,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790165966000,"timestamp_ms":1790165966000,"timestamp_seconds":1790165966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce34dcb0"} 
[2026-09-23 17:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 17:51: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-09-23 17: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-09-23 17:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282486528001,"66":27745,"183":206,"81":21760,"24":35,"16":406635666655412224,"45":3947545839770875904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-23 17:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282486528001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:51:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-23 17:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406635666655412224,"km_value":406635666655412.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3947545839770875904,"description":"Unknown IO ID 45"} 
[2026-09-23 17:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282486528001,"power":27745,"unknown_183":206,"unknown_81":21760,"ignition":35,"odometer":null,"unknown_45":3947545839770875904}} 
[2026-09-23 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":190594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:51:06] local.INFO: GPS data processed {"connection_id":190594,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:51:06] local.INFO: Acknowledgment sent {"connection_id":190594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:51:31] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:31] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:31] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:51:32] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:32] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:32] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:51:33] local.INFO: TCP Data received {"connection_id":190787,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce348aa8012d179d4007210938004000d528..."} 
[2026-09-23 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce348aa8012d179d4007210938004000d528..."} 
[2026-09-23 17:51:33] local.INFO: Processing buffer {"connection_id":190787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce348aa8012d179d4007210938004000d528..."} 
[2026-09-23 17:51:33] local.INFO: Packet analysis {"connection_id":190787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:33] local.INFO: Extracted packet for processing {"connection_id":190787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282476544001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790165945000,"timestamp_ms":1790165945000,"timestamp_seconds":1790165945,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce348aa8"} 
[2026-09-23 17:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:51: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-09-23 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 17:51: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-09-23 17: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-09-23 17:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282476544001,"66":12819,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282476544001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:51:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282476544001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":190787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:51:33] local.INFO: GPS data processed {"connection_id":190787,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:51:33] local.INFO: Acknowledgment sent {"connection_id":190787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:51:36] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:36] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:51:36] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:51:38] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce34ec50012d36afc006ba1a88000c00fd2c..."} 
[2026-09-23 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce34ec50012d36afc006ba1a88000c00fd2c..."} 
[2026-09-23 17:51:38] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce34ec50012d36afc006ba1a88000c00fd2c..."} 
[2026-09-23 17:51:38] local.INFO: Packet analysis {"connection_id":192132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:38] local.INFO: Extracted packet for processing {"connection_id":192132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758558656,"raw_latitude":112859784,"longitude_deg":75.8558656,"latitude_deg":11.2859784,"altitude":12,"angle":253,"satellites":44,"speed":37,"hex_longitude":"2d36afc0","hex_latitude":"06ba1a88","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282487296001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406635847044038656,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3944590352515430400,"note":"Value kept but may cause issues"} 
[2026-09-23 17:51:38] 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-09-23 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790165970000,"timestamp_ms":1790165970000,"timestamp_seconds":1790165970,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce34ec50"} 
[2026-09-23 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:51: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-09-23 17: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-09-23 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282487296001,"66":27821,"183":206,"81":21760,"24":37,"16":406635847044038656,"45":3944590352515430400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-23 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282487296001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:51:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-23 17:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406635847044038656,"km_value":406635847044038.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3944590352515430400,"description":"Unknown IO ID 45"} 
[2026-09-23 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282487296001,"power":27821,"unknown_183":206,"unknown_81":21760,"ignition":37,"odometer":null,"unknown_45":3944590352515430400}} 
[2026-09-23 17:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":192132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:51:38] local.INFO: GPS data processed {"connection_id":192132,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:51:38] local.INFO: Acknowledgment sent {"connection_id":192132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:51:56] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:56] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:51:56] local.INFO: IMEI packet received {"connection_id":190595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":190595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:52:01] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:01] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:01] local.INFO: IMEI packet received {"connection_id":190595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:52:02] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce34dcb0012d179d4007210938004000d529..."} 
[2026-09-23 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce34dcb0012d179d4007210938004000d529..."} 
[2026-09-23 17:52:02] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce34dcb0012d179d4007210938004000d529..."} 
[2026-09-23 17:52:02] local.INFO: Packet analysis {"connection_id":190595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:52:02] local.INFO: Extracted packet for processing {"connection_id":190595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce34"} 
[2026-09-23 17:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282481920001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790165966000,"timestamp_ms":1790165966000,"timestamp_seconds":1790165966,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce34dcb0"} 
[2026-09-23 17:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:52: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-09-23 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3459423864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":56,"raw_value":18015313941495808,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503947498815488,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3624394950480207168,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7668223676694921240,"corrected_to":0} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576657711533,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2380495451766969638,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195061504,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84749932141420809,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,254,160,56,45,64,9,36,10,66,230,37,148,1,240,41,227,206,33,4,113,205,38,239,50,2,80,7,164,193,69,104],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7668223676694921240,"validated":0}]} 
[2026-09-23 17:52:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920386202796032,"timestamp_seconds":4611920386202796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282481920001,"66":12809,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282481920001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:52:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282481920001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":190595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:52:02] local.INFO: GPS data processed {"connection_id":190595,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:52:02] local.INFO: Acknowledgment sent {"connection_id":190595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:52:09] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce363088012d357dc006ba22800011010f27..."} 
[2026-09-23 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce363088012d357dc006ba22800011010f27..."} 
[2026-09-23 17:52:09] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce363088012d357dc006ba22800011010f27..."} 
[2026-09-23 17:52:09] local.INFO: Packet analysis {"connection_id":192132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:52:09] local.INFO: Extracted packet for processing {"connection_id":192132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758480320,"raw_latitude":112861824,"longitude_deg":75.848032,"latitude_deg":11.2861824,"altitude":17,"angle":271,"satellites":39,"speed":40,"hex_longitude":"2d357dc0","hex_latitude":"06ba2280","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282508544001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406639768349179904,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3859021959595581440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790166053000,"timestamp_ms":1790166053000,"timestamp_seconds":1790166053,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce363088"} 
[2026-09-23 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-09-23 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:52: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-09-23 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-09-23 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-09-23 17:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282508544001,"66":27767,"182":206,"81":21760,"24":40,"16":406639768349179904,"45":3859021959595581440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,81,24,16,45]} 
[2026-09-23 17:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282508544001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:52:09] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-23 17:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406639768349179904,"km_value":406639768349179.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3859021959595581440,"description":"Unknown IO ID 45"} 
[2026-09-23 17:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282508544001,"power":27767,"unknown_182":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":3859021959595581440}} 
[2026-09-23 17:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":192132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:52:09] local.INFO: GPS data processed {"connection_id":192132,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:52:09] local.INFO: Acknowledgment sent {"connection_id":192132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:52:31] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:31] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:31] local.INFO: IMEI packet received {"connection_id":192133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":192133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:52:33] local.INFO: TCP Data received {"connection_id":190595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce352eb8012d179d4007210938004000d528..."} 
[2026-09-23 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce352eb8012d179d4007210938004000d528..."} 
[2026-09-23 17:52:33] local.INFO: Processing buffer {"connection_id":190595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce352eb8012d179d4007210938004000d528..."} 
[2026-09-23 17:52:33] local.INFO: Packet analysis {"connection_id":190595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:52:33] local.INFO: Extracted packet for processing {"connection_id":190595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282487296001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790165987000,"timestamp_ms":1790165987000,"timestamp_seconds":1790165987,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce352eb8"} 
[2026-09-23 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:52: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-09-23 17: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":9,"data_length":795,"current_offset":136} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3459444864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3647484694663503168,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359383010899,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2380495451766969637,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,138,45,64,9,40,10,66,56,36,230,1,240,63,227,206,33,4,113,205,35,239,50,2,80,7,164,193],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 17:52:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920390497763328,"timestamp_seconds":4611920390497763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282487296001,"66":12809,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282487296001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:52:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282487296001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":190595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:52:33] local.INFO: GPS data processed {"connection_id":190595,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:52:33] local.INFO: Acknowledgment sent {"connection_id":190595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:52:37] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:37] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:52:37] local.INFO: IMEI packet received {"connection_id":192133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":192133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:52:38] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce368290012d35650006ba22500010010c2a..."} 
[2026-09-23 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce368290012d35650006ba22500010010c2a..."} 
[2026-09-23 17:52:38] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce368290012d35650006ba22500010010c2a..."} 
[2026-09-23 17:52:38] local.INFO: Packet analysis {"connection_id":192133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:52:38] local.INFO: Extracted packet for processing {"connection_id":192133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758473984,"raw_latitude":112861776,"longitude_deg":75.8473984,"latitude_deg":11.2861776,"altitude":16,"angle":268,"satellites":42,"speed":14,"hex_longitude":"2d356500","hex_latitude":"06ba2250","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282509568001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406640068996890624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3854447991224172544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790166074000,"timestamp_ms":1790166074000,"timestamp_seconds":1790166074,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce368290"} 
[2026-09-23 17:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:52: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-09-23 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:52: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-09-23 17: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-09-23 17:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282509568001,"66":27800,"182":206,"81":21760,"24":14,"16":406640068996890624,"45":3854447991224172544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,81,24,16,45]} 
[2026-09-23 17:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282509568001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:52:38] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-23 17:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406640068996890624,"km_value":406640068996890.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3854447991224172544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282509568001,"power":27800,"unknown_182":206,"unknown_81":21760,"ignition":14,"odometer":null,"unknown_45":3854447991224172544}} 
[2026-09-23 17:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":192133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:52:38] local.INFO: GPS data processed {"connection_id":192133,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:52:38] local.INFO: Acknowledgment sent {"connection_id":192133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:52:56] local.INFO: TCP Data received {"connection_id":193465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:56] local.INFO: Processing buffer {"connection_id":193465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:52:56] local.INFO: IMEI packet received {"connection_id":193465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":193465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:53:01] local.INFO: TCP Data received {"connection_id":193465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:01] local.INFO: Processing buffer {"connection_id":193465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:01] local.INFO: IMEI packet received {"connection_id":193465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":193465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:53:02] local.INFO: TCP Data received {"connection_id":193465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3580c0012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3580c0012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:02] local.INFO: Processing buffer {"connection_id":193465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3580c0012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:02] local.INFO: Packet analysis {"connection_id":193465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:53:02] local.INFO: Extracted packet for processing {"connection_id":193465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282492672001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166008000,"timestamp_ms":1790166008000,"timestamp_seconds":1790166008,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3580c0"} 
[2026-09-23 17:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":9,"data_length":795,"current_offset":136} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3459465864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3670574438846799168,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281334902355,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2380495451766969638,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,220,45,64,9,41,10,66,138,40,56,1,240,227,206,33,4,113,205,148,39,239,50,2,80,7,164,193],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 17:53:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920386202796032,"timestamp_seconds":4611920386202796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282492672001,"66":12776,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282492672001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:53:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282492672001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":193465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:53:02] local.INFO: GPS data processed {"connection_id":193465,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:53:02] local.INFO: Acknowledgment sent {"connection_id":193465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:53:10] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce36b940012d35414006ba21e8001201102a..."} 
[2026-09-23 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce36b940012d35414006ba21e8001201102a..."} 
[2026-09-23 17:53:10] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce36b940012d35414006ba21e8001201102a..."} 
[2026-09-23 17:53:10] local.INFO: Packet analysis {"connection_id":192133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:53:10] local.INFO: Extracted packet for processing {"connection_id":192133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758464832,"raw_latitude":112861672,"longitude_deg":75.8464832,"latitude_deg":11.2861672,"altitude":18,"angle":272,"satellites":42,"speed":35,"hex_longitude":"2d354140","hex_latitude":"06ba21e8","is_valid_coordinates":true} 
[2026-09-23 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282514944001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406640507083554816,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3847481485550571520,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:10] 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-09-23 17:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790166088000,"timestamp_ms":1790166088000,"timestamp_seconds":1790166088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce36b940"} 
[2026-09-23 17:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:53: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-09-23 17:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282514944001,"66":27800,"184":206,"81":21760,"24":35,"16":406640507083554816,"45":3847481485550571520},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-23 17:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282514944001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:53:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-23 17:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406640507083554816,"km_value":406640507083554.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3847481485550571520,"description":"Unknown IO ID 45"} 
[2026-09-23 17:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282514944001,"power":27800,"unknown_184":206,"unknown_81":21760,"ignition":35,"odometer":null,"unknown_45":3847481485550571520}} 
[2026-09-23 17:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":192133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:53:10] local.INFO: GPS data processed {"connection_id":192133,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:53:10] local.INFO: Acknowledgment sent {"connection_id":192133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:53:31] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:31] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:31] local.INFO: IMEI packet received {"connection_id":193466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:53:33] local.INFO: TCP Data received {"connection_id":193465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce35d2c8012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce35d2c8012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:33] local.INFO: Processing buffer {"connection_id":193465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce35d2c8012d179d4007210938004000d52a..."} 
[2026-09-23 17:53:33] local.INFO: Packet analysis {"connection_id":193465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:53:33] local.INFO: Extracted packet for processing {"connection_id":193465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce35"} 
[2026-09-23 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282498048001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166029000,"timestamp_ms":1790166029000,"timestamp_seconds":1790166029,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce35d2c8"} 
[2026-09-23 17:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:53: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-09-23 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 17:53:33] 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-09-23 17: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-09-23 17:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282498048001,"66":12798,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282498048001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:53:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282498048001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":193465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:53:33] local.INFO: GPS data processed {"connection_id":193465,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:53:33] local.INFO: Acknowledgment sent {"connection_id":193465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:53:36] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:36] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:53:36] local.INFO: IMEI packet received {"connection_id":193466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":193466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:53:37] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce36e438012d351a4006ba24a0001401122b..."} 
[2026-09-23 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce36e438012d351a4006ba24a0001401122b..."} 
[2026-09-23 17:53:37] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce36e438012d351a4006ba24a0001401122b..."} 
[2026-09-23 17:53:37] local.INFO: Packet analysis {"connection_id":193466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:53:37] local.INFO: Extracted packet for processing {"connection_id":193466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758454848,"raw_latitude":112862368,"longitude_deg":75.8454848,"latitude_deg":11.2862368,"altitude":20,"angle":274,"satellites":43,"speed":38,"hex_longitude":"2d351a40","hex_latitude":"06ba24a0","is_valid_coordinates":true} 
[2026-09-23 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282518528001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406640979529957376,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3837418755133138944,"note":"Value kept but may cause issues"} 
[2026-09-23 17:53:37] 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-09-23 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166099000,"timestamp_ms":1790166099000,"timestamp_seconds":1790166099,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce36e438"} 
[2026-09-23 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:53: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-09-23 17:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282518528001,"66":27865,"184":206,"81":21760,"24":38,"16":406640979529957376,"45":3837418755133138944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-23 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282518528001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:53:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-23 17:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406640979529957376,"km_value":406640979529957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3837418755133138944,"description":"Unknown IO ID 45"} 
[2026-09-23 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282518528001,"power":27865,"unknown_184":206,"unknown_81":21760,"ignition":38,"odometer":null,"unknown_45":3837418755133138944}} 
[2026-09-23 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":193466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:53:37] local.INFO: GPS data processed {"connection_id":193466,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:53:37] local.INFO: Acknowledgment sent {"connection_id":193466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:53:55] local.INFO: TCP Data received {"connection_id":190596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:55] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:55] local.INFO: IMEI packet received {"connection_id":190596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":190596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:53:56] local.INFO: TCP Data received {"connection_id":190596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:56] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:53:56] local.INFO: IMEI packet received {"connection_id":190596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":190596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:54:01] local.INFO: TCP Data received {"connection_id":190596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:01] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:01] local.INFO: IMEI packet received {"connection_id":190596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":190596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:54:02] local.INFO: TCP Data received {"connection_id":190596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3624d0012d179d4007210938004000d528..."} 
[2026-09-23 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3624d0012d179d4007210938004000d528..."} 
[2026-09-23 17:54:02] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3624d0012d179d4007210938004000d528..."} 
[2026-09-23 17:54:02] local.INFO: Packet analysis {"connection_id":190596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:54:02] local.INFO: Extracted packet for processing {"connection_id":190596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282503424001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166050000,"timestamp_ms":1790166050000,"timestamp_seconds":1790166050,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3624d0"} 
[2026-09-23 17:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:54: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-09-23 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 17:54: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-09-23 17: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-09-23 17:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282503424001,"66":12776,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282503424001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282503424001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":190596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:54:02] local.INFO: GPS data processed {"connection_id":190596,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:54:02] local.INFO: Acknowledgment sent {"connection_id":190596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:54:08] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce370760012d34f58006ba25780016010d27..."} 
[2026-09-23 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce370760012d34f58006ba25780016010d27..."} 
[2026-09-23 17:54:08] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce370760012d34f58006ba25780016010d27..."} 
[2026-09-23 17:54:08] local.INFO: Packet analysis {"connection_id":193466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:54:08] local.INFO: Extracted packet for processing {"connection_id":193466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758445440,"raw_latitude":112862584,"longitude_deg":75.844544,"latitude_deg":11.2862584,"altitude":22,"angle":269,"satellites":39,"speed":42,"hex_longitude":"2d34f580","hex_latitude":"06ba2578","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282521344001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406641426206556160,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3826441231041601536,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:08] 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-09-23 17:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790166108000,"timestamp_ms":1790166108000,"timestamp_seconds":1790166108,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce370760"} 
[2026-09-23 17:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:54: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-09-23 17: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:54: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-09-23 17: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-09-23 17:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282521344001,"66":27832,"184":206,"81":21760,"24":42,"16":406641426206556160,"45":3826441231041601536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-23 17:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282521344001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:54:08] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-23 17:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-23 17:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406641426206556160,"km_value":406641426206556.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3826441231041601536,"description":"Unknown IO ID 45"} 
[2026-09-23 17:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282521344001,"power":27832,"unknown_184":206,"unknown_81":21760,"ignition":42,"odometer":null,"unknown_45":3826441231041601536}} 
[2026-09-23 17:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:54:08] local.INFO: GPS data processed {"connection_id":193466,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:54:08] local.INFO: Acknowledgment sent {"connection_id":193466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:54:31] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:31] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:31] local.INFO: IMEI packet received {"connection_id":190790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":190790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:54:33] local.INFO: TCP Data received {"connection_id":190596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3676d8012d179d4007210938004000d528..."} 
[2026-09-23 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3676d8012d179d4007210938004000d528..."} 
[2026-09-23 17:54:33] local.INFO: Processing buffer {"connection_id":190596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3676d8012d179d4007210938004000d528..."} 
[2026-09-23 17:54:33] local.INFO: Packet analysis {"connection_id":190596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:54:33] local.INFO: Extracted packet for processing {"connection_id":190596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282508800001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166071000,"timestamp_ms":1790166071000,"timestamp_seconds":1790166071,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3676d8"} 
[2026-09-23 17:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:54: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-09-23 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 17:54:33] 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-09-23 17:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282508800001,"66":12765,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282508800001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:54:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282508800001,"power":12765,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":190596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:54:33] local.INFO: GPS data processed {"connection_id":190596,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:54:33] local.INFO: Acknowledgment sent {"connection_id":190596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:54:36] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:36] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:54:36] local.INFO: IMEI packet received {"connection_id":190790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:54:37] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce388a18012d338fc006b9c130001400ff29..."} 
[2026-09-23 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce388a18012d338fc006b9c130001400ff29..."} 
[2026-09-23 17:54:37] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce388a18012d338fc006b9c130001400ff29..."} 
[2026-09-23 17:54:37] local.INFO: Packet analysis {"connection_id":190790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:54:37] local.INFO: Extracted packet for processing {"connection_id":190790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758353856,"raw_latitude":112836912,"longitude_deg":75.8353856,"latitude_deg":11.2836912,"altitude":20,"angle":255,"satellites":41,"speed":48,"hex_longitude":"2d338fc0","hex_latitude":"06b9c130","is_valid_coordinates":true} 
[2026-09-23 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282547200001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406646008936660992,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723984339513221120,"note":"Value kept but may cause issues"} 
[2026-09-23 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166207000,"timestamp_ms":1790166207000,"timestamp_seconds":1790166207,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce388a18"} 
[2026-09-23 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:54: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-09-23 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282547200001,"66":27745,"50":206,"81":23552,"24":48,"16":406646008936660992,"45":3723984339513221120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-23 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282547200001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406646008936660992,"km_value":406646008936661.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723984339513221120,"description":"Unknown IO ID 45"} 
[2026-09-23 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282547200001,"power":27745,"unknown_50":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3723984339513221120}} 
[2026-09-23 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":190790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:54:37] local.INFO: GPS data processed {"connection_id":190790,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:54:37] local.INFO: Acknowledgment sent {"connection_id":190790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:54:56] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:56] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:56] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:54:58] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:58] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:54:58] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:55:01] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:55:01] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:55:01] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:55:02] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce36c8e0012d179d4007210938004000d529..."} 
[2026-09-23 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce36c8e0012d179d4007210938004000d529..."} 
[2026-09-23 17:55:02] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce36c8e0012d179d4007210938004000d529..."} 
[2026-09-23 17:55:02] local.INFO: Packet analysis {"connection_id":192135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:55:02] local.INFO: Extracted packet for processing {"connection_id":192135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce36"} 
[2026-09-23 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282514176001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166092000,"timestamp_ms":1790166092000,"timestamp_seconds":1790166092,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce36c8e0"} 
[2026-09-23 17:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:55: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-09-23 17: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":221,"data_length":795,"current_offset":136} 
[2026-09-23 17:55: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-09-23 17: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-09-23 17:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282514176001,"66":12743,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282514176001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282514176001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":192135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:55:02] local.INFO: GPS data processed {"connection_id":192135,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:55:02] local.INFO: Acknowledgment sent {"connection_id":192135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:55:25] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce38a958012d336b4006b9bb58000f01082a..."} 
[2026-09-23 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce38a958012d336b4006b9bb58000f01082a..."} 
[2026-09-23 17:55:25] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce38a958012d336b4006b9bb58000f01082a..."} 
[2026-09-23 17:55:25] local.INFO: Packet analysis {"connection_id":190790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:55:25] local.INFO: Extracted packet for processing {"connection_id":190790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758344512,"raw_latitude":112835416,"longitude_deg":75.8344512,"latitude_deg":11.2835416,"altitude":15,"angle":264,"satellites":42,"speed":41,"hex_longitude":"2d336b40","hex_latitude":"06b9bb58","is_valid_coordinates":true} 
[2026-09-23 17:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282548992001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406646464203194368,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3715399352722731008,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790166215000,"timestamp_ms":1790166215000,"timestamp_seconds":1790166215,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce38a958"} 
[2026-09-23 17:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:55:25] 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-09-23 17:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":190790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282548992001,"66":27865,"50":206,"81":23552,"24":41,"16":406646464203194368,"45":3715399352722731008},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-23 17:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282548992001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:55:25] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-23 17:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406646464203194368,"km_value":406646464203194.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3715399352722731008,"description":"Unknown IO ID 45"} 
[2026-09-23 17:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282548992001,"power":27865,"unknown_50":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3715399352722731008}} 
[2026-09-23 17:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":190790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:55:25] local.INFO: GPS data processed {"connection_id":190790,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:55:25] local.INFO: Acknowledgment sent {"connection_id":190790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:55:33] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce371ae8012d179d4007210938004000d529..."} 
[2026-09-23 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce371ae8012d179d4007210938004000d529..."} 
[2026-09-23 17:55:33] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce371ae8012d179d4007210938004000d529..."} 
[2026-09-23 17:55:33] local.INFO: Packet analysis {"connection_id":192135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:55:33] local.INFO: Extracted packet for processing {"connection_id":192135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282519552001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166113000,"timestamp_ms":1790166113000,"timestamp_seconds":1790166113,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce371ae8"} 
[2026-09-23 17:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:55: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-09-23 17: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":199,"data_length":795,"current_offset":136} 
[2026-09-23 17:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282519552001,"66":12722,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282519552001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:55:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282519552001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":192135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:55:33] local.INFO: GPS data processed {"connection_id":192135,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:55:33] local.INFO: Acknowledgment sent {"connection_id":192135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:55:37] local.INFO: TCP Data received {"connection_id":190598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: IMEI packet received {"connection_id":190598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":190598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:55:37] local.INFO: TCP Data received {"connection_id":190598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:55:37] local.INFO: IMEI packet received {"connection_id":190598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":190598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:55:41] local.INFO: TCP Data received {"connection_id":190598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce38ebc0012d3347c006b9b748000b01052c..."} 
[2026-09-23 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce38ebc0012d3347c006b9b748000b01052c..."} 
[2026-09-23 17:55:41] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce38ebc0012d3347c006b9b748000b01052c..."} 
[2026-09-23 17:55:41] local.INFO: Packet analysis {"connection_id":190598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:55:41] local.INFO: Extracted packet for processing {"connection_id":190598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758335424,"raw_latitude":112834376,"longitude_deg":75.8335424,"latitude_deg":11.2834376,"altitude":11,"angle":261,"satellites":44,"speed":20,"hex_longitude":"2d3347c0","hex_latitude":"06b9b748","is_valid_coordinates":true} 
[2026-09-23 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406646897994891264,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3705125516072409088,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790166232000,"timestamp_ms":1790166232000,"timestamp_seconds":1790166232,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce38ebc0"} 
[2026-09-23 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17: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-09-23 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282551040001,"66":27767,"50":206,"81":23552,"24":20,"16":406646897994891264,"45":3705125516072409088},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-23 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:55:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-23 17:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406646897994891264,"km_value":406646897994891.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3705125516072409088,"description":"Unknown IO ID 45"} 
[2026-09-23 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282551040001,"power":27767,"unknown_50":206,"unknown_81":23552,"ignition":20,"odometer":null,"unknown_45":3705125516072409088}} 
[2026-09-23 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":190598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:55:41] local.INFO: GPS data processed {"connection_id":190598,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:55:41] local.INFO: Acknowledgment sent {"connection_id":190598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:55:43] local.INFO: TCP Data received {"connection_id":190598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce392658012d33234006b9b2b8000c01052b..."} 
[2026-09-23 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce392658012d33234006b9b2b8000c01052b..."} 
[2026-09-23 17:55:43] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce392658012d33234006b9b2b8000c01052b..."} 
[2026-09-23 17:55:43] local.INFO: Packet analysis {"connection_id":190598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:55:43] local.INFO: Extracted packet for processing {"connection_id":190598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758326080,"raw_latitude":112833208,"longitude_deg":75.832608,"latitude_deg":11.2833208,"altitude":12,"angle":261,"satellites":43,"speed":32,"hex_longitude":"2d332340","hex_latitude":"06b9b2b8","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282555392001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406647344671490048,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3695133154398914560,"note":"Value kept but may cause issues"} 
[2026-09-23 17:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790166247000,"timestamp_ms":1790166247000,"timestamp_seconds":1790166247,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce392658"} 
[2026-09-23 17:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 17:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282555392001,"66":27876,"52":206,"81":23552,"24":32,"16":406647344671490048,"45":3695133154398914560},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282555392001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:55:43] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 17:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406647344671490048,"km_value":406647344671490.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3695133154398914560,"description":"Unknown IO ID 45"} 
[2026-09-23 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282555392001,"power":27876,"unknown_52":206,"unknown_81":23552,"ignition":32,"odometer":null,"unknown_45":3695133154398914560}} 
[2026-09-23 17:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":190598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:55:43] local.INFO: GPS data processed {"connection_id":190598,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:55:43] local.INFO: Acknowledgment sent {"connection_id":190598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:55:49] local.INFO: TCP Data received {"connection_id":190597,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:55:49] local.INFO: Processing buffer {"connection_id":190597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:55:49] local.INFO: IMEI packet received {"connection_id":190597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":190597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:56:01] local.INFO: TCP Data received {"connection_id":190599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:01] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:01] local.INFO: IMEI packet received {"connection_id":190599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":190599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:56:02] local.INFO: TCP Data received {"connection_id":190599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:02] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:02] local.INFO: IMEI packet received {"connection_id":190599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":190599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:56:03] local.INFO: TCP Data received {"connection_id":190599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce376cf0012d179d4007210938004000d528..."} 
[2026-09-23 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce376cf0012d179d4007210938004000d528..."} 
[2026-09-23 17:56:03] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce376cf0012d179d4007210938004000d528..."} 
[2026-09-23 17:56:03] local.INFO: Packet analysis {"connection_id":190599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:56:03] local.INFO: Extracted packet for processing {"connection_id":190599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282524928001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790166134000,"timestamp_ms":1790166134000,"timestamp_seconds":1790166134,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce376cf0"} 
[2026-09-23 17:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:56: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-09-23 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 17:56:03] 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-09-23 17: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-09-23 17:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":190599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282524928001,"66":12711,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282524928001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282524928001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":190599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:03] local.INFO: GPS data processed {"connection_id":190599,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:03] local.INFO: Acknowledgment sent {"connection_id":190599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:06] local.INFO: TCP Data received {"connection_id":190599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce37bef8012d179d4007210938004000d527..."} 
[2026-09-23 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce37bef8012d179d4007210938004000d527..."} 
[2026-09-23 17:56:06] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce37bef8012d179d4007210938004000d527..."} 
[2026-09-23 17:56:06] local.INFO: Packet analysis {"connection_id":190599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:56:06] local.INFO: Extracted packet for processing {"connection_id":190599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce37"} 
[2026-09-23 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282530304001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790166155000,"timestamp_ms":1790166155000,"timestamp_seconds":1790166155,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce37bef8"} 
[2026-09-23 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 17:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282530304001,"66":12711,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282530304001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282530304001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":190599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:07] local.INFO: GPS data processed {"connection_id":190599,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:07] local.INFO: Acknowledgment sent {"connection_id":190599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:09] local.INFO: TCP Data received {"connection_id":190791,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:56:09] local.INFO: Processing buffer {"connection_id":190791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 17:56:09] local.INFO: IMEI packet received {"connection_id":190791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":190791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:56:16] local.INFO: TCP Data received {"connection_id":190598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce394d68012d33000006b9ac38000e01002d..."} 
[2026-09-23 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce394d68012d33000006b9ac38000e01002d..."} 
[2026-09-23 17:56:16] local.INFO: Processing buffer {"connection_id":190598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce394d68012d33000006b9ac38000e01002d..."} 
[2026-09-23 17:56:16] local.INFO: Packet analysis {"connection_id":190598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:56:16] local.INFO: Extracted packet for processing {"connection_id":190598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758317056,"raw_latitude":112831544,"longitude_deg":75.8317056,"latitude_deg":11.2831544,"altitude":14,"angle":256,"satellites":45,"speed":24,"hex_longitude":"2d330000","hex_latitude":"06b9ac38","is_valid_coordinates":true} 
[2026-09-23 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-09-23 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282559232001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406647782758154240,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3684859317748676608,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790166257000,"timestamp_ms":1790166257000,"timestamp_seconds":1790166257,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce394d68"} 
[2026-09-23 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-09-23 17:56: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-09-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:56: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-09-23 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-09-23 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-09-23 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282559232001,"66":27865,"52":206,"81":23552,"24":24,"16":406647782758154240,"45":3684859317748676608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-23 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282559232001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:16] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-23 17:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406647782758154240,"km_value":406647782758154.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3684859317748676608,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282559232001,"power":27865,"unknown_52":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3684859317748676608}} 
[2026-09-23 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":190598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:16] local.INFO: GPS data processed {"connection_id":190598,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:16] local.INFO: Acknowledgment sent {"connection_id":190598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:27] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:27] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:27] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:56:31] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:31] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:31] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:56:36] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:36] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:56:36] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:56:37] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3a8200012d321f4006b94fd8000800c826..."} 
[2026-09-23 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3a8200012d321f4006b94fd8000800c826..."} 
[2026-09-23 17:56:37] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3a8200012d321f4006b94fd8000800c826..."} 
[2026-09-23 17:56:37] local.INFO: Packet analysis {"connection_id":192136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:56:37] local.INFO: Extracted packet for processing {"connection_id":192136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758259520,"raw_latitude":112807896,"longitude_deg":75.825952,"latitude_deg":11.2807896,"altitude":8,"angle":200,"satellites":38,"speed":14,"hex_longitude":"2d321f40","hex_latitude":"06b94fd8","is_valid_coordinates":true} 
[2026-09-23 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406650784940294144,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611886930030041088,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:37] 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-09-23 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166336000,"timestamp_ms":1790166336000,"timestamp_seconds":1790166336,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3a8200"} 
[2026-09-23 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 17:56: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-09-23 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282581760001,"66":27821,"102":206,"81":23552,"24":14,"16":406650784940294144,"45":3611886930030041088},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406650784940294144,"km_value":406650784940294.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611886930030041088,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282581760001,"power":27821,"unknown_102":206,"unknown_81":23552,"ignition":14,"odometer":null,"unknown_45":3611886930030041088}} 
[2026-09-23 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":192136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:37] local.INFO: GPS data processed {"connection_id":192136,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:37] local.INFO: Acknowledgment sent {"connection_id":192136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:38] local.INFO: TCP Data received {"connection_id":190599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce381100012d179d4007210938004000d524..."} 
[2026-09-23 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce381100012d179d4007210938004000d524..."} 
[2026-09-23 17:56:38] local.INFO: Processing buffer {"connection_id":190599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce381100012d179d4007210938004000d524..."} 
[2026-09-23 17:56:38] local.INFO: Packet analysis {"connection_id":190599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:56:38] local.INFO: Extracted packet for processing {"connection_id":190599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282535680001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790166176000,"timestamp_ms":1790166176000,"timestamp_seconds":1790166176,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce381100"} 
[2026-09-23 17:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:56: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-09-23 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 17:56: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-09-23 17: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-09-23 17:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282535680001,"66":12689,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282535680001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282535680001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":190599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:38] local.INFO: GPS data processed {"connection_id":190599,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:38] local.INFO: Acknowledgment sent {"connection_id":190599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:39] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3a85e8012d321f4006b94e88000800b227..."} 
[2026-09-23 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3a85e8012d321f4006b94e88000800b227..."} 
[2026-09-23 17:56:39] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3a85e8012d321f4006b94e88000800b227..."} 
[2026-09-23 17:56:39] local.INFO: Packet analysis {"connection_id":192136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:56:39] local.INFO: Extracted packet for processing {"connection_id":192136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758259520,"raw_latitude":112807560,"longitude_deg":75.825952,"latitude_deg":11.280756,"altitude":8,"angle":178,"satellites":39,"speed":13,"hex_longitude":"2d321f40","hex_latitude":"06b94e88","is_valid_coordinates":true} 
[2026-09-23 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282582016001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406650797825196032,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611675823797426176,"note":"Value kept but may cause issues"} 
[2026-09-23 17:56:39] 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-09-23 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790166337000,"timestamp_ms":1790166337000,"timestamp_seconds":1790166337,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3a85e8"} 
[2026-09-23 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 17:56: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-09-23 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282582016001,"66":27821,"102":206,"81":23552,"24":13,"16":406650797825196032,"45":3611675823797426176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282582016001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:56:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406650797825196032,"km_value":406650797825196.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611675823797426176,"description":"Unknown IO ID 45"} 
[2026-09-23 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282582016001,"power":27821,"unknown_102":206,"unknown_81":23552,"ignition":13,"odometer":null,"unknown_45":3611675823797426176}} 
[2026-09-23 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":192136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:56:39] local.INFO: GPS data processed {"connection_id":192136,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:56:39] local.INFO: Acknowledgment sent {"connection_id":192136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:56:56] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:56] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:56:56] local.INFO: IMEI packet received {"connection_id":190600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":190600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:57:01] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:01] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:01] local.INFO: IMEI packet received {"connection_id":190600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":190600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:57:02] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce386308012d179d4007210938004000d528..."} 
[2026-09-23 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce386308012d179d4007210938004000d528..."} 
[2026-09-23 17:57:02] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce386308012d179d4007210938004000d528..."} 
[2026-09-23 17:57:02] local.INFO: Packet analysis {"connection_id":190600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:57:02] local.INFO: Extracted packet for processing {"connection_id":190600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282541056001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166197000,"timestamp_ms":1790166197000,"timestamp_seconds":1790166197,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce386308"} 
[2026-09-23 17:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:57: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-09-23 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:57:02] 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-09-23 17: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-09-23 17:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282541056001,"66":12645,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282541056001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:57:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282541056001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":190600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:57:02] local.INFO: GPS data processed {"connection_id":190600,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:57:02] local.INFO: Acknowledgment sent {"connection_id":190600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:57:10] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3a89d0012d321f4006b94d40000700a028..."} 
[2026-09-23 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3a89d0012d321f4006b94d40000700a028..."} 
[2026-09-23 17:57:10] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3a89d0012d321f4006b94d40000700a028..."} 
[2026-09-23 17:57:10] local.INFO: Packet analysis {"connection_id":192136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:57:10] local.INFO: Extracted packet for processing {"connection_id":192136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758259520,"raw_latitude":112807232,"longitude_deg":75.825952,"latitude_deg":11.2807232,"altitude":7,"angle":160,"satellites":40,"speed":12,"hex_longitude":"2d321f40","hex_latitude":"06b94d40","is_valid_coordinates":true} 
[2026-09-23 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282582272001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406650815005065216,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611675823797340160,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:10] 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-09-23 17:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790166338000,"timestamp_ms":1790166338000,"timestamp_seconds":1790166338,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3a89d0"} 
[2026-09-23 17:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 17:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282582272001,"66":27745,"102":206,"81":23552,"24":12,"16":406650815005065216,"45":3611675823797340160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282582272001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406650815005065216,"km_value":406650815005065.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611675823797340160,"description":"Unknown IO ID 45"} 
[2026-09-23 17:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282582272001,"power":27745,"unknown_102":206,"unknown_81":23552,"ignition":12,"odometer":null,"unknown_45":3611675823797340160}} 
[2026-09-23 17:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":192136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:57:10] local.INFO: GPS data processed {"connection_id":192136,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:57:10] local.INFO: Acknowledgment sent {"connection_id":192136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:57:31] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:31] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:31] local.INFO: IMEI packet received {"connection_id":190792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":190792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:57:33] local.INFO: TCP Data received {"connection_id":190600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce38b510012d179d4007210938004000d527..."} 
[2026-09-23 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce38b510012d179d4007210938004000d527..."} 
[2026-09-23 17:57:33] local.INFO: Processing buffer {"connection_id":190600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce38b510012d179d4007210938004000d527..."} 
[2026-09-23 17:57:33] local.INFO: Packet analysis {"connection_id":190600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:57:33] local.INFO: Extracted packet for processing {"connection_id":190600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce38"} 
[2026-09-23 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282546432001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166218000,"timestamp_ms":1790166218000,"timestamp_seconds":1790166218,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce38b510"} 
[2026-09-23 17:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:57: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-09-23 17: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":101,"data_length":795,"current_offset":136} 
[2026-09-23 17:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 17: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-09-23 17:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282546432001,"66":12689,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282546432001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:57:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282546432001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":190600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:57:33] local.INFO: GPS data processed {"connection_id":190600,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:57:33] local.INFO: Acknowledgment sent {"connection_id":190600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:57:36] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:36] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:57:36] local.INFO: IMEI packet received {"connection_id":190792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":190792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:57:37] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3a9970012d32218006b947b0000800952a..."} 
[2026-09-23 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3a9970012d32218006b947b0000800952a..."} 
[2026-09-23 17:57:37] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3a9970012d32218006b947b0000800952a..."} 
[2026-09-23 17:57:37] local.INFO: Packet analysis {"connection_id":190792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:57:37] local.INFO: Extracted packet for processing {"connection_id":190792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758260096,"raw_latitude":112805808,"longitude_deg":75.8260096,"latitude_deg":11.2805808,"altitude":8,"angle":149,"satellites":42,"speed":19,"hex_longitude":"2d322180","hex_latitude":"06b947b0","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282582528001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406650892314476544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611675823797256192,"note":"Value kept but may cause issues"} 
[2026-09-23 17:57:37] 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-09-23 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166342000,"timestamp_ms":1790166342000,"timestamp_seconds":1790166342,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3a9970"} 
[2026-09-23 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:57: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-09-23 17: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-09-23 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282582528001,"66":27745,"102":206,"81":23552,"24":19,"16":406650892314476544,"45":3611675823797256192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282582528001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406650892314476544,"km_value":406650892314476.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611675823797256192,"description":"Unknown IO ID 45"} 
[2026-09-23 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282582528001,"power":27745,"unknown_102":206,"unknown_81":23552,"ignition":19,"odometer":null,"unknown_45":3611675823797256192}} 
[2026-09-23 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":190792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:57:37] local.INFO: GPS data processed {"connection_id":190792,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:57:37] local.INFO: Acknowledgment sent {"connection_id":190792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:57:56] local.INFO: TCP Data received {"connection_id":190793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:56] local.INFO: Processing buffer {"connection_id":190793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:57:56] local.INFO: IMEI packet received {"connection_id":190793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":190793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:58:01] local.INFO: TCP Data received {"connection_id":190793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:01] local.INFO: Processing buffer {"connection_id":190793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:01] local.INFO: IMEI packet received {"connection_id":190793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":190793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:58:02] local.INFO: TCP Data received {"connection_id":190793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce390718012d179d4007210938004000d527..."} 
[2026-09-23 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce390718012d179d4007210938004000d527..."} 
[2026-09-23 17:58:02] local.INFO: Processing buffer {"connection_id":190793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce390718012d179d4007210938004000d527..."} 
[2026-09-23 17:58:02] local.INFO: Packet analysis {"connection_id":190793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:58:02] local.INFO: Extracted packet for processing {"connection_id":190793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282551808001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166239000,"timestamp_ms":1790166239000,"timestamp_seconds":1790166239,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce390718"} 
[2026-09-23 17:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:58: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-09-23 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 17:58:02] 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-09-23 17: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-09-23 17:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282551808001,"66":12678,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282551808001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:58:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282551808001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":190793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:58:02] local.INFO: GPS data processed {"connection_id":190793,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:58:02] local.INFO: Acknowledgment sent {"connection_id":190793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:58:08] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3ab4c8012d32288006b93830000900a12b..."} 
[2026-09-23 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3ab4c8012d32288006b93830000900a12b..."} 
[2026-09-23 17:58:08] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3ab4c8012d32288006b93830000900a12b..."} 
[2026-09-23 17:58:08] local.INFO: Packet analysis {"connection_id":190792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:58:08] local.INFO: Extracted packet for processing {"connection_id":190792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758261888,"raw_latitude":112801840,"longitude_deg":75.8261888,"latitude_deg":11.280184,"altitude":9,"angle":161,"satellites":43,"speed":29,"hex_longitude":"2d322880","hex_latitude":"06b93830","is_valid_coordinates":true} 
[2026-09-23 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282583552001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406651102767874048,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3612309142494490624,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:08] 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-09-23 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790166349000,"timestamp_ms":1790166349000,"timestamp_seconds":1790166349,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3ab4c8"} 
[2026-09-23 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:58: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-09-23 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 17:58:08] 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-09-23 17:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282583552001,"66":27800,"102":206,"81":23552,"24":29,"16":406651102767874048,"45":3612309142494490624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282583552001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:58:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406651102767874048,"km_value":406651102767874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3612309142494490624,"description":"Unknown IO ID 45"} 
[2026-09-23 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282583552001,"power":27800,"unknown_102":206,"unknown_81":23552,"ignition":29,"odometer":null,"unknown_45":3612309142494490624}} 
[2026-09-23 17:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":190792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:58:09] local.INFO: GPS data processed {"connection_id":190792,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:58:09] local.INFO: Acknowledgment sent {"connection_id":190792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:58:31] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:31] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:31] local.INFO: IMEI packet received {"connection_id":190601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":190601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:58:33] local.INFO: TCP Data received {"connection_id":190793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce395920012d179d4007210938004000d526..."} 
[2026-09-23 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce395920012d179d4007210938004000d526..."} 
[2026-09-23 17:58:33] local.INFO: Processing buffer {"connection_id":190793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce395920012d179d4007210938004000d526..."} 
[2026-09-23 17:58:33] local.INFO: Packet analysis {"connection_id":190793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:58:33] local.INFO: Extracted packet for processing {"connection_id":190793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282557184001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166260000,"timestamp_ms":1790166260000,"timestamp_seconds":1790166260,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce395920"} 
[2026-09-23 17:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:58: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-09-23 17: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 17:58:33] 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-09-23 17: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-09-23 17:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282557184001,"66":12602,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282557184001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:58:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282557184001,"power":12602,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":190793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:58:33] local.INFO: GPS data processed {"connection_id":190793,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:58:33] local.INFO: Acknowledgment sent {"connection_id":190793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:58:36] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:36] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:58:36] local.INFO: IMEI packet received {"connection_id":190601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":190601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:58:37] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3adfc0012d32324006b91388000a00a62b..."} 
[2026-09-23 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3adfc0012d32324006b91388000a00a62b..."} 
[2026-09-23 17:58:37] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3adfc0012d32324006b91388000a00a62b..."} 
[2026-09-23 17:58:37] local.INFO: Packet analysis {"connection_id":190601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:58:37] local.INFO: Extracted packet for processing {"connection_id":190601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758264384,"raw_latitude":112792456,"longitude_deg":75.8264384,"latitude_deg":11.2792456,"altitude":10,"angle":166,"satellites":43,"speed":38,"hex_longitude":"2d323240","hex_latitude":"06b91388","is_valid_coordinates":true} 
[2026-09-23 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282585344001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406651570919309312,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3614279467330449408,"note":"Value kept but may cause issues"} 
[2026-09-23 17:58:37] 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-09-23 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166360000,"timestamp_ms":1790166360000,"timestamp_seconds":1790166360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3adfc0"} 
[2026-09-23 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 17:58: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-09-23 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282585344001,"66":27767,"102":206,"81":23552,"24":38,"16":406651570919309312,"45":3614279467330449408},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-23 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282585344001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:58:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 17:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406651570919309312,"km_value":406651570919309.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3614279467330449408,"description":"Unknown IO ID 45"} 
[2026-09-23 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282585344001,"power":27767,"unknown_102":206,"unknown_81":23552,"ignition":38,"odometer":null,"unknown_45":3614279467330449408}} 
[2026-09-23 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":190601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:58:37] local.INFO: GPS data processed {"connection_id":190601,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:58:37] local.INFO: Acknowledgment sent {"connection_id":190601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:58:56] local.INFO: TCP Data received {"connection_id":190794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:56] local.INFO: Processing buffer {"connection_id":190794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:58:56] local.INFO: IMEI packet received {"connection_id":190794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":190794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:59:01] local.INFO: TCP Data received {"connection_id":190794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:01] local.INFO: Processing buffer {"connection_id":190794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:01] local.INFO: IMEI packet received {"connection_id":190794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 17:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":190794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:59:02] local.INFO: TCP Data received {"connection_id":190794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce39ab28012d179d4007210938004000d526..."} 
[2026-09-23 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce39ab28012d179d4007210938004000d526..."} 
[2026-09-23 17:59:02] local.INFO: Processing buffer {"connection_id":190794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce39ab28012d179d4007210938004000d526..."} 
[2026-09-23 17:59:02] local.INFO: Packet analysis {"connection_id":190794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:59:02] local.INFO: Extracted packet for processing {"connection_id":190794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282562560001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166281000,"timestamp_ms":1790166281000,"timestamp_seconds":1790166281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce39ab28"} 
[2026-09-23 17:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17: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-09-23 17: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 17:59:02] 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-09-23 17: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-09-23 17:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282562560001,"66":12558,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282562560001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:59:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282562560001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":190794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:59:02] local.INFO: GPS data processed {"connection_id":190794,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:59:02] local.INFO: Acknowledgment sent {"connection_id":190794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:59:08] local.INFO: TCP Data received {"connection_id":190601,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3c8988012d32d70006b804300011009729..."} 
[2026-09-23 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3c8988012d32d70006b804300011009729..."} 
[2026-09-23 17:59:08] local.INFO: Processing buffer {"connection_id":190601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3c8988012d32d70006b804300011009729..."} 
[2026-09-23 17:59:08] local.INFO: Packet analysis {"connection_id":190601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3c"} 
[2026-09-23 17:59:08] local.INFO: Extracted packet for processing {"connection_id":190601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3c"} 
[2026-09-23 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758306560,"raw_latitude":112722992,"longitude_deg":75.830656,"latitude_deg":11.2722992,"altitude":17,"angle":151,"satellites":41,"speed":34,"hex_longitude":"2d32d700","hex_latitude":"06b80430","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282612992001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406655539469090816,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3658611776144379904,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:08] 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-09-23 17:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790166469000,"timestamp_ms":1790166469000,"timestamp_seconds":1790166469,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3c8988"} 
[2026-09-23 17:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:59: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-09-23 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 17:59: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-09-23 17: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-09-23 17:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282612992001,"66":27691,"100":206,"81":23552,"24":34,"16":406655539469090816,"45":3658611776144379904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 17:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282612992001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:59:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 17:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406655539469090816,"km_value":406655539469090.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3658611776144379904,"description":"Unknown IO ID 45"} 
[2026-09-23 17:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282612992001,"power":27691,"unknown_100":206,"unknown_81":23552,"ignition":34,"odometer":null,"unknown_45":3658611776144379904}} 
[2026-09-23 17:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":190601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:59:08] local.INFO: GPS data processed {"connection_id":190601,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:59:08] local.INFO: Acknowledgment sent {"connection_id":190601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:59:31] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:31] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:31] local.INFO: IMEI packet received {"connection_id":193469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 17:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":193469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 17:59:33] local.INFO: TCP Data received {"connection_id":190794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce39fd30012d179d4007210938004000d526..."} 
[2026-09-23 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce39fd30012d179d4007210938004000d526..."} 
[2026-09-23 17:59:33] local.INFO: Processing buffer {"connection_id":190794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce39fd30012d179d4007210938004000d526..."} 
[2026-09-23 17:59:33] local.INFO: Packet analysis {"connection_id":190794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:59:33] local.INFO: Extracted packet for processing {"connection_id":190794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce39"} 
[2026-09-23 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282567936001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166302000,"timestamp_ms":1790166302000,"timestamp_seconds":1790166302,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce39fd30"} 
[2026-09-23 17:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:59: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-09-23 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3459759864,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249238554494175544,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,254,160,89,45,64,9,38,10,66,7,39,181,1,240,145,227,206,33,4,113,205,17,56,36,239,49,2,80,106,87],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 17:59:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920377612861440,"timestamp_seconds":4611920377612861.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 17:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 17:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282567936001,"66":12591,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282567936001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:59:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 17:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282567936001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":190794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:59:33] local.INFO: GPS data processed {"connection_id":190794,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:59:33] local.INFO: Acknowledgment sent {"connection_id":190794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:59:36] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:36] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 17:59:36] local.INFO: IMEI packet received {"connection_id":193469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 17:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":193469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 17:59:37] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3cc808012d32e6c006b7e418001400972a..."} 
[2026-09-23 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3cc808012d32e6c006b7e418001400972a..."} 
[2026-09-23 17:59:37] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3cc808012d32e6c006b7e418001400972a..."} 
[2026-09-23 17:59:37] local.INFO: Packet analysis {"connection_id":193469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3c"} 
[2026-09-23 17:59:37] local.INFO: Extracted packet for processing {"connection_id":193469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3c"} 
[2026-09-23 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758310592,"raw_latitude":112714776,"longitude_deg":75.8310592,"latitude_deg":11.2714776,"altitude":20,"angle":151,"satellites":42,"speed":13,"hex_longitude":"2d32e6c0","hex_latitude":"06b7e418","is_valid_coordinates":true} 
[2026-09-23 17: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-09-23 17:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282616064001,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406655981850722304,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3663396850746273792,"note":"Value kept but may cause issues"} 
[2026-09-23 17:59:37] 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-09-23 17:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166485000,"timestamp_ms":1790166485000,"timestamp_seconds":1790166485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3cc808"} 
[2026-09-23 17:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-23 17:59: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-09-23 17: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-09-23 17:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 17:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 17:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 17:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 17:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 17:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 17:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 17:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282616064001,"66":27658,"100":206,"81":23552,"24":13,"16":406655981850722304,"45":3663396850746273792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 17:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 17:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 17:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282616064001,"description":"Unknown IO ID 0"} 
[2026-09-23 17:59:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 17:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 17:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406655981850722304,"km_value":406655981850722.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 17:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3663396850746273792,"description":"Unknown IO ID 45"} 
[2026-09-23 17:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282616064001,"power":27658,"unknown_100":206,"unknown_81":23552,"ignition":13,"odometer":null,"unknown_45":3663396850746273792}} 
[2026-09-23 17:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":193469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 17:59:37] local.INFO: GPS data processed {"connection_id":193469,"processed":1,"errors":0,"total":1} 
[2026-09-23 17:59:37] local.INFO: Acknowledgment sent {"connection_id":193469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 17:59:56] local.INFO: TCP Data received {"connection_id":190602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:56] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 17:59:56] local.INFO: IMEI packet received {"connection_id":190602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 17:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":190602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:00:01] local.INFO: TCP Data received {"connection_id":190602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:01] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:01] local.INFO: IMEI packet received {"connection_id":190602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":190602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:00:02] local.INFO: TCP Data received {"connection_id":190602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3a4f38012d179d4007210938004000d527..."} 
[2026-09-23 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3a4f38012d179d4007210938004000d527..."} 
[2026-09-23 18:00:02] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3a4f38012d179d4007210938004000d527..."} 
[2026-09-23 18:00:02] local.INFO: Packet analysis {"connection_id":190602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 18:00:02] local.INFO: Extracted packet for processing {"connection_id":190602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282573312001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166323000,"timestamp_ms":1790166323000,"timestamp_seconds":1790166323,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3a4f38"} 
[2026-09-23 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:00: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-09-23 18: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 18:00:02] 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-09-23 18: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-09-23 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282573312001,"66":12667,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282573312001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:00:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282573312001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":190602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:00:02] local.INFO: GPS data processed {"connection_id":190602,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:00:02] local.INFO: Acknowledgment sent {"connection_id":190602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:00:09] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3d1a10012d32f00006b7cf78001c009d2a..."} 
[2026-09-23 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3d1a10012d32f00006b7cf78001c009d2a..."} 
[2026-09-23 18:00:09] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3d1a10012d32f00006b7cf78001c009d2a..."} 
[2026-09-23 18:00:09] local.INFO: Packet analysis {"connection_id":193469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:00:09] local.INFO: Extracted packet for processing {"connection_id":193469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758312960,"raw_latitude":112709496,"longitude_deg":75.831296,"latitude_deg":11.2709496,"altitude":28,"angle":157,"satellites":42,"speed":0,"hex_longitude":"2d32f000","hex_latitude":"06b7cf78","is_valid_coordinates":true} 
[2026-09-23 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282620160001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406656265318563840,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3667830081627363328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790166506000,"timestamp_ms":1790166506000,"timestamp_seconds":1790166506,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3d1a10"} 
[2026-09-23 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 18:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282620160001,"66":27658,"100":206,"81":23552,"24":0,"16":406656265318563840,"45":3667830081627363328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282620160001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:00:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 18:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406656265318563840,"km_value":406656265318563.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3667830081627363328,"description":"Unknown IO ID 45"} 
[2026-09-23 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282620160001,"power":27658,"unknown_100":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3667830081627363328}} 
[2026-09-23 18:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":193469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:00:09] local.INFO: GPS data processed {"connection_id":193469,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:00:09] local.INFO: Acknowledgment sent {"connection_id":193469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:00:31] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:31] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:31] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:00:33] local.INFO: TCP Data received {"connection_id":190602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3aa140012d179d4007210938004000d528..."} 
[2026-09-23 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3aa140012d179d4007210938004000d528..."} 
[2026-09-23 18:00:33] local.INFO: Processing buffer {"connection_id":190602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3aa140012d179d4007210938004000d528..."} 
[2026-09-23 18:00:33] local.INFO: Packet analysis {"connection_id":190602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 18:00:33] local.INFO: Extracted packet for processing {"connection_id":190602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3a"} 
[2026-09-23 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282578688001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166344000,"timestamp_ms":1790166344000,"timestamp_seconds":1790166344,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3aa140"} 
[2026-09-23 18:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:00: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-09-23 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 18:00: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-09-23 18: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-09-23 18:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282578688001,"66":12645,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282578688001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:00:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282578688001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":190602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:00:33] local.INFO: GPS data processed {"connection_id":190602,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:00:33] local.INFO: Acknowledgment sent {"connection_id":190602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:00:35] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:35] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:00:35] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:00:36] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3d6c18012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3d6c18012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:00:36] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3d6c18012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:00:36] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:00:36] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758312960,"raw_latitude":112709488,"longitude_deg":75.831296,"latitude_deg":11.2709488,"altitude":28,"angle":157,"satellites":43,"speed":0,"hex_longitude":"2d32f000","hex_latitude":"06b7cf70","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282625536001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406656265318563840,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3670433725160585216,"note":"Value kept but may cause issues"} 
[2026-09-23 18:00:36] 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-09-23 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790166527000,"timestamp_ms":1790166527000,"timestamp_seconds":1790166527,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3d6c18"} 
[2026-09-23 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":10,"data_length":795,"current_offset":136} 
[2026-09-23 18:00: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-09-23 18: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-09-23 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282625536001,"66":27767,"100":206,"81":23552,"24":0,"16":406656265318563840,"45":3670433725160585216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282625536001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:00:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 18:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406656265318563840,"km_value":406656265318563.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3670433725160585216,"description":"Unknown IO ID 45"} 
[2026-09-23 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282625536001,"power":27767,"unknown_100":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3670433725160585216}} 
[2026-09-23 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:00:36] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:00:36] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:00:55] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:55] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:55] local.INFO: IMEI packet received {"connection_id":190603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":190603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:00:56] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:56] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:00:56] local.INFO: IMEI packet received {"connection_id":190603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":190603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:01:01] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:01] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:01] local.INFO: IMEI packet received {"connection_id":190603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":190603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:01:02] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3e2798012d179d4007210938004000d528..."} 
[2026-09-23 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3e2798012d179d4007210938004000d528..."} 
[2026-09-23 18:01:02] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3e2798012d179d4007210938004000d528..."} 
[2026-09-23 18:01:02] local.INFO: Packet analysis {"connection_id":190603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:02] local.INFO: Extracted packet for processing {"connection_id":190603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282637824001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166575000,"timestamp_ms":1790166575000,"timestamp_seconds":1790166575,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3e2798"} 
[2026-09-23 18:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:01: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-09-23 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 18:01:02] 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-09-23 18: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-09-23 18:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282637824001,"66":12558,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282637824001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:01:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282637824001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":190603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:01:02] local.INFO: GPS data processed {"connection_id":190603,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:01:02] local.INFO: Acknowledgment sent {"connection_id":190603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:01:07] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3dbe20012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3dbe20012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:01:07] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3dbe20012d32f00006b7cf70001c009d2b..."} 
[2026-09-23 18:01:07] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:01:07] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3d"} 
[2026-09-23 18:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758312960,"raw_latitude":112709488,"longitude_deg":75.831296,"latitude_deg":11.2709488,"altitude":28,"angle":157,"satellites":43,"speed":0,"hex_longitude":"2d32f000","hex_latitude":"06b7cf70","is_valid_coordinates":true} 
[2026-09-23 18:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282630912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406656265318563840,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3670433725160583168,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:07] 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-09-23 18:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790166548000,"timestamp_ms":1790166548000,"timestamp_seconds":1790166548,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3dbe20"} 
[2026-09-23 18:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:01: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-09-23 18:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:01: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-09-23 18:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282630912001,"66":27865,"100":206,"81":23552,"24":0,"16":406656265318563840,"45":3670433725160583168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 18:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282630912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:01:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 18:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406656265318563840,"km_value":406656265318563.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3670433725160583168,"description":"Unknown IO ID 45"} 
[2026-09-23 18:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282630912001,"power":27865,"unknown_100":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3670433725160583168}} 
[2026-09-23 18:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:01:07] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:01:07] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:01:31] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:31] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:31] local.INFO: IMEI packet received {"connection_id":190604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":190604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:01:33] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:33] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:33] local.INFO: IMEI packet received {"connection_id":190604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":190604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:01:33] local.INFO: TCP Data received {"connection_id":190603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3e79a0012d179d4007210938004000d526..."} 
[2026-09-23 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3e79a0012d179d4007210938004000d526..."} 
[2026-09-23 18:01:33] local.INFO: Processing buffer {"connection_id":190603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3e79a0012d179d4007210938004000d526..."} 
[2026-09-23 18:01:33] local.INFO: Packet analysis {"connection_id":190603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:33] local.INFO: Extracted packet for processing {"connection_id":190603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282643200001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166596000,"timestamp_ms":1790166596000,"timestamp_seconds":1790166596,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3e79a0"} 
[2026-09-23 18:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:01: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-09-23 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460053864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249238554494175544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,213,45,64,9,40,10,66,131,49,1,240,69,227,206,33,4,113,205,141,56,38,239,2,80,7,106,86],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:01:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920386202796032,"timestamp_seconds":4611920386202796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282643200001,"66":12591,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282643200001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:01:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282643200001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":190603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:01:33] local.INFO: GPS data processed {"connection_id":190603,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:01:33] local.INFO: Acknowledgment sent {"connection_id":190603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:01:36] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:36] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:01:36] local.INFO: IMEI packet received {"connection_id":190604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:01:37] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3e1028012d32f38006b7c608001c009e2e..."} 
[2026-09-23 18:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3e1028012d32f38006b7c608001c009e2e..."} 
[2026-09-23 18:01:37] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3e1028012d32f38006b7c608001c009e2e..."} 
[2026-09-23 18:01:37] local.INFO: Packet analysis {"connection_id":190604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:37] local.INFO: Extracted packet for processing {"connection_id":190604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758313856,"raw_latitude":112707080,"longitude_deg":75.8313856,"latitude_deg":11.270708,"altitude":28,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d32f380","hex_latitude":"06b7c608","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282636288001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406656394167582720,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3670433725160583168,"note":"Value kept but may cause issues"} 
[2026-09-23 18:01:37] 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-09-23 18:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166569000,"timestamp_ms":1790166569000,"timestamp_seconds":1790166569,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3e1028"} 
[2026-09-23 18:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282636288001,"66":27865,"100":206,"81":23552,"24":0,"16":406656394167582720,"45":3670433725160583168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-23 18:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282636288001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:01:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-23 18:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406656394167582720,"km_value":406656394167582.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3670433725160583168,"description":"Unknown IO ID 45"} 
[2026-09-23 18:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282636288001,"power":27865,"unknown_100":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3670433725160583168}} 
[2026-09-23 18:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:01:37] local.INFO: GPS data processed {"connection_id":190604,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:01:37] local.INFO: Acknowledgment sent {"connection_id":190604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:01:56] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:56] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:56] local.INFO: IMEI packet received {"connection_id":190796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":190796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:01:58] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:58] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:01:58] local.INFO: IMEI packet received {"connection_id":190796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":190796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:02:01] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:02:01] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:02:01] local.INFO: IMEI packet received {"connection_id":190796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":190796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:02:02] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3ecba8012d179d4007210938004000d527..."} 
[2026-09-23 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3ecba8012d179d4007210938004000d527..."} 
[2026-09-23 18:02:02] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3ecba8012d179d4007210938004000d527..."} 
[2026-09-23 18:02:02] local.INFO: Packet analysis {"connection_id":190796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:02:02] local.INFO: Extracted packet for processing {"connection_id":190796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3e"} 
[2026-09-23 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282648576001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166617000,"timestamp_ms":1790166617000,"timestamp_seconds":1790166617,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3ecba8"} 
[2026-09-23 18:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:02: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-09-23 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 18:02:02] 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-09-23 18: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-09-23 18:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282648576001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282648576001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:02:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282648576001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":190796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:02:02] local.INFO: GPS data processed {"connection_id":190796,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:02:02] local.INFO: Acknowledgment sent {"connection_id":190796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:02:08] local.INFO: TCP Data received {"connection_id":190604,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3f92e0012d31f38006b79100002900f82d..."} 
[2026-09-23 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3f92e0012d31f38006b79100002900f82d..."} 
[2026-09-23 18:02:08] local.INFO: Processing buffer {"connection_id":190604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3f92e0012d31f38006b79100002900f82d..."} 
[2026-09-23 18:02:08] local.INFO: Packet analysis {"connection_id":190604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:08] local.INFO: Extracted packet for processing {"connection_id":190604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758248320,"raw_latitude":112693504,"longitude_deg":75.824832,"latitude_deg":11.2693504,"altitude":41,"angle":248,"satellites":45,"speed":41,"hex_longitude":"2d31f380","hex_latitude":"06b79100","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282663680001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406659632572923904,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3609072180234440704,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790166668000,"timestamp_ms":1790166668000,"timestamp_seconds":1790166668,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3f92e0"} 
[2026-09-23 18:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:02: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-09-23 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 18:02: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-09-23 18: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-09-23 18:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282663680001,"66":27865,"21":206,"81":23552,"24":41,"16":406659632572923904,"45":3609072180234440704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,81,24,16,45]} 
[2026-09-23 18:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282663680001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:02:08] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-23 18:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406659632572923904,"km_value":406659632572923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3609072180234440704,"description":"Unknown IO ID 45"} 
[2026-09-23 18:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282663680001,"power":27865,"unknown_21":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3609072180234440704}} 
[2026-09-23 18:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:02:08] local.INFO: GPS data processed {"connection_id":190604,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:02:08] local.INFO: Acknowledgment sent {"connection_id":190604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:02:10] local.INFO: TCP Data received {"connection_id":193471,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:02:10] local.INFO: Processing buffer {"connection_id":193471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:02:10] local.INFO: IMEI packet received {"connection_id":193471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":193471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:02:31] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:31] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:31] local.INFO: IMEI packet received {"connection_id":190605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":190605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:02:33] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3f1db0012d179d4007210938004000d528..."} 
[2026-09-23 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3f1db0012d179d4007210938004000d528..."} 
[2026-09-23 18:02:33] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3f1db0012d179d4007210938004000d528..."} 
[2026-09-23 18:02:33] local.INFO: Packet analysis {"connection_id":190796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:33] local.INFO: Extracted packet for processing {"connection_id":190796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282653952001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166638000,"timestamp_ms":1790166638000,"timestamp_seconds":1790166638,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3f1db0"} 
[2026-09-23 18:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:02: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-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460095864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,254,160,121,45,64,9,38,10,66,39,40,213,1,240,47,227,206,33,4,113,205,49,56,239,2,80,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:02:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920381907828736,"timestamp_seconds":4611920381907829.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282653952001,"66":12558,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282653952001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:02:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282653952001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":190796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:02:33] local.INFO: GPS data processed {"connection_id":190796,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:02:33] local.INFO: Acknowledgment sent {"connection_id":190796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:02:37] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:37] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:02:37] local.INFO: IMEI packet received {"connection_id":190605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":190605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:02:46] local.INFO: TCP Data received {"connection_id":190605,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3fbdd8012d31d08006b78510002701032b..."} 
[2026-09-23 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3fbdd8012d31d08006b78510002701032b..."} 
[2026-09-23 18:02:46] local.INFO: Processing buffer {"connection_id":190605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3fbdd8012d31d08006b78510002701032b..."} 
[2026-09-23 18:02:46] local.INFO: Packet analysis {"connection_id":190605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:46] local.INFO: Extracted packet for processing {"connection_id":190605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758239360,"raw_latitude":112690448,"longitude_deg":75.823936,"latitude_deg":11.2690448,"altitude":39,"angle":259,"satellites":43,"speed":25,"hex_longitude":"2d31d080","hex_latitude":"06b78510","is_valid_coordinates":true} 
[2026-09-23 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282667008001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406660083544489984,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3599361293537050624,"note":"Value kept but may cause issues"} 
[2026-09-23 18:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790166679000,"timestamp_ms":1790166679000,"timestamp_seconds":1790166679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3fbdd8"} 
[2026-09-23 18:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282667008001,"66":27767,"21":206,"81":23552,"24":25,"16":406660083544489984,"45":3599361293537050624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,81,24,16,45]} 
[2026-09-23 18:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282667008001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:02:46] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-23 18:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406660083544489984,"km_value":406660083544490.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3599361293537050624,"description":"Unknown IO ID 45"} 
[2026-09-23 18:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282667008001,"power":27767,"unknown_21":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3599361293537050624}} 
[2026-09-23 18:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":190605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:02:46] local.INFO: GPS data processed {"connection_id":190605,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:02:46] local.INFO: Acknowledgment sent {"connection_id":190605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:03:01] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:01] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:01] local.INFO: IMEI packet received {"connection_id":190606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":190606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:03:02] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:02] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:02] local.INFO: IMEI packet received {"connection_id":190606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":190606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:03:06] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:06] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:06] local.INFO: IMEI packet received {"connection_id":190606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":190606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:03:07] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3f6fb8012d179d4007210938004000d529..."} 
[2026-09-23 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3f6fb8012d179d4007210938004000d529..."} 
[2026-09-23 18:03:07] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3f6fb8012d179d4007210938004000d529..."} 
[2026-09-23 18:03:07] local.INFO: Packet analysis {"connection_id":190606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:03:07] local.INFO: Extracted packet for processing {"connection_id":190606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282659328001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790166659000,"timestamp_ms":1790166659000,"timestamp_seconds":1790166659,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3f6fb8"} 
[2026-09-23 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460116864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":43009,"corrected_to":0} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249238554494175544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,254,160,203,45,64,9,39,10,66,121,38,1,240,14,227,206,33,4,113,205,131,56,40,239,49,2,80,7,106,86],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":203,"original":43009,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:03:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920386202796032,"timestamp_seconds":4611920386202796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282659328001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282659328001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:03:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282659328001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":190606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:03:07] local.INFO: GPS data processed {"connection_id":190606,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:03:07] local.INFO: Acknowledgment sent {"connection_id":190606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:03:12] local.INFO: TCP Data received {"connection_id":190606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce3fc1c0012d179d4007210938004000d529..."} 
[2026-09-23 18:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce3fc1c0012d179d4007210938004000d529..."} 
[2026-09-23 18:03:12] local.INFO: Processing buffer {"connection_id":190606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce3fc1c0012d179d4007210938004000d529..."} 
[2026-09-23 18:03:12] local.INFO: Packet analysis {"connection_id":190606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:03:12] local.INFO: Extracted packet for processing {"connection_id":190606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce3f"} 
[2026-09-23 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282664704001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790166680000,"timestamp_ms":1790166680000,"timestamp_seconds":1790166680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce3fc1c0"} 
[2026-09-23 18:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460137864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":43009,"corrected_to":0} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,29,45,64,9,40,10,66,203,39,121,1,240,47,227,206,33,4,113,205,213,56,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":203,"original":43009,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:03:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920390497763328,"timestamp_seconds":4611920390497763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282664704001,"66":12558,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282664704001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:03:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282664704001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":190606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:03:12] local.INFO: GPS data processed {"connection_id":190606,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:03:12] local.INFO: Acknowledgment sent {"connection_id":190606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:03:35] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:35] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:35] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:03:36] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:36] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:36] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:03:41] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:41] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:03:41] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:03:42] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce40f658012d30aac006b718a0002200fb2d..."} 
[2026-09-23 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce40f658012d30aac006b718a0002200fb2d..."} 
[2026-09-23 18:03:42] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce40f658012d30aac006b718a0002200fb2d..."} 
[2026-09-23 18:03:42] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:03:42] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758164160,"raw_latitude":112662688,"longitude_deg":75.816416,"latitude_deg":11.2662688,"altitude":34,"angle":251,"satellites":45,"speed":39,"hex_longitude":"2d30aac0","hex_latitude":"06b718a0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282689024001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406663944720089088,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3511892944516888576,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790166759000,"timestamp_ms":1790166759000,"timestamp_seconds":1790166759,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce40f658"} 
[2026-09-23 18:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282689024001,"66":27745,"51":206,"81":23552,"24":39,"16":406663944720089088,"45":3511892944516888576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-23 18:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282689024001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:03:42] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-23 18:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406663944720089088,"km_value":406663944720089.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3511892944516888576,"description":"Unknown IO ID 45"} 
[2026-09-23 18:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282689024001,"power":27745,"unknown_51":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3511892944516888576}} 
[2026-09-23 18:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:03:42] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:03:42] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:03:44] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":171,"data_hex":"000000000000009f8e02000001a0ce411d68012d3084c006b71108001f01032a..."} 
[2026-09-23 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":171,"packet_hex":"000000000000009f8e02000001a0ce411d68012d3084c006b71108001f01032a..."} 
[2026-09-23 18:03:44] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a0ce411d68012d3084c006b71108001f01032a..."} 
[2026-09-23 18:03:44] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a0ce41"} 
[2026-09-23 18:03:44] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a0ce41"} 
[2026-09-23 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758154432,"raw_latitude":112660744,"longitude_deg":75.8154432,"latitude_deg":11.2660744,"altitude":31,"angle":259,"satellites":42,"speed":43,"hex_longitude":"2d3084c0","hex_latitude":"06b71108","is_valid_coordinates":true} 
[2026-09-23 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-09-23 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282690304001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406664412871524352,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3506826394935533568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:03:44] 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-09-23 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790166769000,"timestamp_ms":1790166769000,"timestamp_seconds":1790166769,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce411d68"} 
[2026-09-23 18:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":171,"current_offset":136} 
[2026-09-23 18:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:03:44] 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-09-23 18:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-23 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282690304001,"66":27908,"128":206,"81":23552,"24":43,"16":406664412871524352,"45":3506826394935533568},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282690304001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:03:44] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406664412871524352,"km_value":406664412871524.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3506826394935533568,"description":"Unknown IO ID 45"} 
[2026-09-23 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282690304001,"power":27908,"unknown_128":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3506826394935533568}} 
[2026-09-23 18:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:03:44] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:03:44] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:03:56] local.INFO: TCP Data received {"connection_id":190797,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:56] local.INFO: Processing buffer {"connection_id":190797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:03:56] local.INFO: IMEI packet received {"connection_id":190797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":190797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:04:01] local.INFO: TCP Data received {"connection_id":190797,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:01] local.INFO: Processing buffer {"connection_id":190797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:01] local.INFO: IMEI packet received {"connection_id":190797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":190797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:04:02] local.INFO: TCP Data received {"connection_id":190797,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4013c8012d179d4007210938004000d529..."} 
[2026-09-23 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4013c8012d179d4007210938004000d529..."} 
[2026-09-23 18:04:02] local.INFO: Processing buffer {"connection_id":190797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4013c8012d179d4007210938004000d529..."} 
[2026-09-23 18:04:02] local.INFO: Packet analysis {"connection_id":190797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:04:02] local.INFO: Extracted packet for processing {"connection_id":190797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282670080001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166701000,"timestamp_ms":1790166701000,"timestamp_seconds":1790166701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4013c8"} 
[2026-09-23 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:04: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-09-23 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460158864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":43009,"corrected_to":0} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249238554494175544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2550213911,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,111,45,64,9,41,10,66,29,40,203,1,240,4,227,206,33,113,205,39,56,239,49,2,80,7,106,87],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":203,"original":43009,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:04:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920390497763328,"timestamp_seconds":4611920390497763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282670080001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282670080001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:04:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282670080001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":190797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:04:02] local.INFO: GPS data processed {"connection_id":190797,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:04:02] local.INFO: Acknowledgment sent {"connection_id":190797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:04:15] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce413ca8012d30628006b707c0001b00fb2a..."} 
[2026-09-23 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce413ca8012d30628006b707c0001b00fb2a..."} 
[2026-09-23 18:04:15] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce413ca8012d30628006b707c0001b00fb2a..."} 
[2026-09-23 18:04:15] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:15] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758145664,"raw_latitude":112658368,"longitude_deg":75.8145664,"latitude_deg":11.2658368,"altitude":27,"angle":251,"satellites":42,"speed":47,"hex_longitude":"2d306280","hex_latitude":"06b707c0","is_valid_coordinates":true} 
[2026-09-23 18:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282692864001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406664846663221248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3496130345820030976,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:15] 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-09-23 18:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790166777000,"timestamp_ms":1790166777000,"timestamp_seconds":1790166777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce413ca8"} 
[2026-09-23 18:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:04: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-09-23 18:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:04: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-09-23 18:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282692864001,"66":27908,"128":206,"81":23552,"24":47,"16":406664846663221248,"45":3496130345820030976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282692864001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:04:15] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406664846663221248,"km_value":406664846663221.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3496130345820030976,"description":"Unknown IO ID 45"} 
[2026-09-23 18:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282692864001,"power":27908,"unknown_128":206,"unknown_81":23552,"ignition":47,"odometer":null,"unknown_45":3496130345820030976}} 
[2026-09-23 18:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:04:15] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:04:15] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:04:31] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: IMEI packet received {"connection_id":193473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":193473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:04:31] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:31] local.INFO: IMEI packet received {"connection_id":193473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":193473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:04:33] local.INFO: TCP Data received {"connection_id":190797,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4065d0012d179d4007210938004000d528..."} 
[2026-09-23 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4065d0012d179d4007210938004000d528..."} 
[2026-09-23 18:04:33] local.INFO: Processing buffer {"connection_id":190797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4065d0012d179d4007210938004000d528..."} 
[2026-09-23 18:04:33] local.INFO: Packet analysis {"connection_id":190797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:04:33] local.INFO: Extracted packet for processing {"connection_id":190797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282675456001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166722000,"timestamp_ms":1790166722000,"timestamp_seconds":1790166722,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4065d0"} 
[2026-09-23 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-09-23 18:04: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-09-23 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:04:33] 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-09-23 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-09-23 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-09-23 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282675456001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282675456001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:04:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282675456001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":190797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:04:33] local.INFO: GPS data processed {"connection_id":190797,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:04:33] local.INFO: Acknowledgment sent {"connection_id":190797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:04:36] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:36] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:04:36] local.INFO: IMEI packet received {"connection_id":193473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":193473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:04:36] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce415fd0012d30400006b6f9a0001500f528..."} 
[2026-09-23 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce415fd0012d30400006b6f9a0001500f528..."} 
[2026-09-23 18:04:36] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce415fd0012d30400006b6f9a0001500f528..."} 
[2026-09-23 18:04:36] local.INFO: Packet analysis {"connection_id":193473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:36] local.INFO: Extracted packet for processing {"connection_id":193473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758136832,"raw_latitude":112654752,"longitude_deg":75.8136832,"latitude_deg":11.2654752,"altitude":21,"angle":245,"satellites":40,"speed":43,"hex_longitude":"2d304000","hex_latitude":"06b6f9a0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282694912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406665301929754624,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3486489827867082752,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:36] 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-09-23 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790166786000,"timestamp_ms":1790166786000,"timestamp_seconds":1790166786,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce415fd0"} 
[2026-09-23 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-09-23 18:04: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-09-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282694912001,"66":27767,"128":206,"81":23552,"24":43,"16":406665301929754624,"45":3486489827867082752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282694912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:04:36] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406665301929754624,"km_value":406665301929754.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3486489827867082752,"description":"Unknown IO ID 45"} 
[2026-09-23 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282694912001,"power":27767,"unknown_128":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3486489827867082752}} 
[2026-09-23 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":193473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:04:37] local.INFO: GPS data processed {"connection_id":193473,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:04:37] local.INFO: Acknowledgment sent {"connection_id":193473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:04:37] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4186e0012d301d0006b6ecf8001000ff2b..."} 
[2026-09-23 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4186e0012d301d0006b6ecf8001000ff2b..."} 
[2026-09-23 18:04:37] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4186e0012d301d0006b6ecf8001000ff2b..."} 
[2026-09-23 18:04:37] local.INFO: Packet analysis {"connection_id":193473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:37] local.INFO: Extracted packet for processing {"connection_id":193473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758127872,"raw_latitude":112651512,"longitude_deg":75.8127872,"latitude_deg":11.2651512,"altitude":16,"angle":255,"satellites":43,"speed":30,"hex_longitude":"2d301d00","hex_latitude":"06b6ecf8","is_valid_coordinates":true} 
[2026-09-23 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282697216001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406665757196288000,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3476778941169639424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:04:37] 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-09-23 18:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166796000,"timestamp_ms":1790166796000,"timestamp_seconds":1790166796,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4186e0"} 
[2026-09-23 18:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:04: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-09-23 18:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282697216001,"66":27767,"128":206,"81":23552,"24":30,"16":406665757196288000,"45":3476778941169639424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282697216001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:04:37] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406665757196288000,"km_value":406665757196288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3476778941169639424,"description":"Unknown IO ID 45"} 
[2026-09-23 18:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282697216001,"power":27767,"unknown_128":206,"unknown_81":23552,"ignition":30,"odometer":null,"unknown_45":3476778941169639424}} 
[2026-09-23 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":193473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:04:37] local.INFO: GPS data processed {"connection_id":193473,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:04:37] local.INFO: Acknowledgment sent {"connection_id":193473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:04:56] local.INFO: TCP Data received {"connection_id":193474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:56] local.INFO: Processing buffer {"connection_id":193474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:04:56] local.INFO: IMEI packet received {"connection_id":193474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":193474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:05:01] local.INFO: TCP Data received {"connection_id":193474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:01] local.INFO: Processing buffer {"connection_id":193474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:01] local.INFO: IMEI packet received {"connection_id":193474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":193474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:05:02] local.INFO: TCP Data received {"connection_id":193474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce40b7d8012d179d4007210938004000d527..."} 
[2026-09-23 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce40b7d8012d179d4007210938004000d527..."} 
[2026-09-23 18:05:02] local.INFO: Processing buffer {"connection_id":193474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce40b7d8012d179d4007210938004000d527..."} 
[2026-09-23 18:05:02] local.INFO: Packet analysis {"connection_id":193474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:05:02] local.INFO: Extracted packet for processing {"connection_id":193474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce40"} 
[2026-09-23 18:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282680832001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166743000,"timestamp_ms":1790166743000,"timestamp_seconds":1790166743,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce40b7d8"} 
[2026-09-23 18:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:05: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-09-23 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282680832001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282680832001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:05:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282680832001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":193474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:05:02] local.INFO: GPS data processed {"connection_id":193474,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:05:02] local.INFO: Acknowledgment sent {"connection_id":193474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:05:08] local.INFO: TCP Data received {"connection_id":193473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce41b9a8012d2ffc8006b6e2d8000f00f02b..."} 
[2026-09-23 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce41b9a8012d2ffc8006b6e2d8000f00f02b..."} 
[2026-09-23 18:05:08] local.INFO: Processing buffer {"connection_id":193473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce41b9a8012d2ffc8006b6e2d8000f00f02b..."} 
[2026-09-23 18:05:08] local.INFO: Packet analysis {"connection_id":193473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:08] local.INFO: Extracted packet for processing {"connection_id":193473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758119552,"raw_latitude":112648920,"longitude_deg":75.8119552,"latitude_deg":11.264892,"altitude":15,"angle":240,"satellites":43,"speed":19,"hex_longitude":"2d2ffc80","hex_latitude":"06b6e2d8","is_valid_coordinates":true} 
[2026-09-23 18:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282699776001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406666173808115712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3466927316983937024,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:08] 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-09-23 18:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790166809000,"timestamp_ms":1790166809000,"timestamp_seconds":1790166809,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce41b9a8"} 
[2026-09-23 18:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:05: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-09-23 18:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:05: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-09-23 18:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282699776001,"66":27930,"128":206,"81":23552,"24":19,"16":406666173808115712,"45":3466927316983937024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282699776001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:05:08] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406666173808115712,"km_value":406666173808115.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3466927316983937024,"description":"Unknown IO ID 45"} 
[2026-09-23 18:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282699776001,"power":27930,"unknown_128":206,"unknown_81":23552,"ignition":19,"odometer":null,"unknown_45":3466927316983937024}} 
[2026-09-23 18:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":193473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:05:08] local.INFO: GPS data processed {"connection_id":193473,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:05:08] local.INFO: Acknowledgment sent {"connection_id":193473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:05:31] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:31] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:31] local.INFO: IMEI packet received {"connection_id":190609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":190609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:05:32] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:32] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:32] local.INFO: IMEI packet received {"connection_id":190609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":190609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:05:33] local.INFO: TCP Data received {"connection_id":193474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4109e0012d179d4007210938004000d529..."} 
[2026-09-23 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4109e0012d179d4007210938004000d529..."} 
[2026-09-23 18:05:33] local.INFO: Processing buffer {"connection_id":193474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4109e0012d179d4007210938004000d529..."} 
[2026-09-23 18:05:33] local.INFO: Packet analysis {"connection_id":193474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:33] local.INFO: Extracted packet for processing {"connection_id":193474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282686208001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166764000,"timestamp_ms":1790166764000,"timestamp_seconds":1790166764,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4109e0"} 
[2026-09-23 18:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:05: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-09-23 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:05:33] 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-09-23 18:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282686208001,"66":12504,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282686208001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:05:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282686208001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":193474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:05:33] local.INFO: GPS data processed {"connection_id":193474,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:05:33] local.INFO: Acknowledgment sent {"connection_id":193474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:05:36] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:36] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:05:36] local.INFO: IMEI packet received {"connection_id":190609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":190609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:05:37] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce41bd90012d2ffb4006b6e1d0000f00e32c..."} 
[2026-09-23 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce41bd90012d2ffb4006b6e1d0000f00e32c..."} 
[2026-09-23 18:05:37] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce41bd90012d2ffb4006b6e1d0000f00e32c..."} 
[2026-09-23 18:05:37] local.INFO: Packet analysis {"connection_id":190609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:37] local.INFO: Extracted packet for processing {"connection_id":190609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758119232,"raw_latitude":112648656,"longitude_deg":75.8119232,"latitude_deg":11.2648656,"altitude":15,"angle":227,"satellites":44,"speed":15,"hex_longitude":"2d2ffb40","hex_latitude":"06b6e1d0","is_valid_coordinates":true} 
[2026-09-23 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282703104001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406666195282952192,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3457779380240177152,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:37] 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-09-23 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166810000,"timestamp_ms":1790166810000,"timestamp_seconds":1790166810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce41bd90"} 
[2026-09-23 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 18:05: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-09-23 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282703104001,"66":27647,"128":206,"81":23552,"24":15,"16":406666195282952192,"45":3457779380240177152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282703104001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:05:37] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406666195282952192,"km_value":406666195282952.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3457779380240177152,"description":"Unknown IO ID 45"} 
[2026-09-23 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282703104001,"power":27647,"unknown_128":206,"unknown_81":23552,"ignition":15,"odometer":null,"unknown_45":3457779380240177152}} 
[2026-09-23 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":190609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:05:37] local.INFO: GPS data processed {"connection_id":190609,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:05:37] local.INFO: Acknowledgment sent {"connection_id":190609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:05:41] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce41c178012d2ffa4006b6e0d8000f00cf2b..."} 
[2026-09-23 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce41c178012d2ffa4006b6e0d8000f00cf2b..."} 
[2026-09-23 18:05:41] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce41c178012d2ffa4006b6e0d8000f00cf2b..."} 
[2026-09-23 18:05:41] local.INFO: Packet analysis {"connection_id":190609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:41] local.INFO: Extracted packet for processing {"connection_id":190609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758118976,"raw_latitude":112648408,"longitude_deg":75.8118976,"latitude_deg":11.2648408,"altitude":15,"angle":207,"satellites":43,"speed":9,"hex_longitude":"2d2ffa40","hex_latitude":"06b6e0d8","is_valid_coordinates":true} 
[2026-09-23 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282703360001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406666212462821376,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3457427536519221248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:05:41] 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-09-23 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790166811000,"timestamp_ms":1790166811000,"timestamp_seconds":1790166811,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce41c178"} 
[2026-09-23 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-23 18:05:41] 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-09-23 18:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282703360001,"66":27647,"128":206,"81":23552,"24":9,"16":406666212462821376,"45":3457427536519221248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-23 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282703360001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:05:41] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-23 18:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406666212462821376,"km_value":406666212462821.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3457427536519221248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282703360001,"power":27647,"unknown_128":206,"unknown_81":23552,"ignition":9,"odometer":null,"unknown_45":3457427536519221248}} 
[2026-09-23 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":190609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:05:41] local.INFO: GPS data processed {"connection_id":190609,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:05:41] local.INFO: Acknowledgment sent {"connection_id":190609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:05:56] local.INFO: TCP Data received {"connection_id":193475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:56] local.INFO: Processing buffer {"connection_id":193475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:05:56] local.INFO: IMEI packet received {"connection_id":193475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":193475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:06:01] local.INFO: TCP Data received {"connection_id":193475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:01] local.INFO: Processing buffer {"connection_id":193475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:01] local.INFO: IMEI packet received {"connection_id":193475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":193475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:06:02] local.INFO: TCP Data received {"connection_id":193475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce415be8012d179d4007210938004000d528..."} 
[2026-09-23 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce415be8012d179d4007210938004000d528..."} 
[2026-09-23 18:06:02] local.INFO: Processing buffer {"connection_id":193475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce415be8012d179d4007210938004000d528..."} 
[2026-09-23 18:06:02] local.INFO: Packet analysis {"connection_id":193475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:06:02] local.INFO: Extracted packet for processing {"connection_id":193475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282691584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166785000,"timestamp_ms":1790166785000,"timestamp_seconds":1790166785,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce415be8"} 
[2026-09-23 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-09-23 18:06: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-09-23 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 18:06: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-09-23 18: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-09-23 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-09-23 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282691584001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282691584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:06:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282691584001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":193475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:06:02] local.INFO: GPS data processed {"connection_id":193475,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:06:02] local.INFO: Acknowledgment sent {"connection_id":193475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:06:24] local.INFO: TCP Data received {"connection_id":190609,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce435f88012d30f2c006b68f38000f00702e..."} 
[2026-09-23 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce435f88012d30f2c006b68f38000f00702e..."} 
[2026-09-23 18:06:24] local.INFO: Processing buffer {"connection_id":190609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce435f88012d30f2c006b68f38000f00702e..."} 
[2026-09-23 18:06:24] local.INFO: Packet analysis {"connection_id":190609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:06:24] local.INFO: Extracted packet for processing {"connection_id":190609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758182592,"raw_latitude":112627512,"longitude_deg":75.8182592,"latitude_deg":11.2627512,"altitude":15,"angle":112,"satellites":46,"speed":39,"hex_longitude":"2d30f2c0","hex_latitude":"06b68f38","is_valid_coordinates":true} 
[2026-09-23 18:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282728192001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406669476637966336,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3516889125344720896,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790166917000,"timestamp_ms":1790166917000,"timestamp_seconds":1790166917,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce435f88"} 
[2026-09-23 18:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 18:06:24] 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-09-23 18:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282728192001,"66":27767,"199":206,"81":23552,"24":39,"16":406669476637966336,"45":3516889125344720896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-23 18:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282728192001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:06:24] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-23 18:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406669476637966336,"km_value":406669476637966.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3516889125344720896,"description":"Unknown IO ID 45"} 
[2026-09-23 18:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282728192001,"power":27767,"trip_odometer":0.206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3516889125344720896}} 
[2026-09-23 18:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":190609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:06:24] local.INFO: GPS data processed {"connection_id":190609,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:06:24] local.INFO: Acknowledgment sent {"connection_id":190609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:06:28] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:28] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:28] local.INFO: IMEI packet received {"connection_id":190610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":190610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:06:30] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:30] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:30] local.INFO: IMEI packet received {"connection_id":190610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":190610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:06:32] local.INFO: TCP Data received {"connection_id":193475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce41adf0012d179d4007210938004000d529..."} 
[2026-09-23 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce41adf0012d179d4007210938004000d529..."} 
[2026-09-23 18:06:32] local.INFO: Processing buffer {"connection_id":193475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce41adf0012d179d4007210938004000d529..."} 
[2026-09-23 18:06:32] local.INFO: Packet analysis {"connection_id":193475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:06:32] local.INFO: Extracted packet for processing {"connection_id":193475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282696960001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790166806000,"timestamp_ms":1790166806000,"timestamp_seconds":1790166806,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce41adf0"} 
[2026-09-23 18:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:06: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-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460263864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3221302551,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,254,160,9,45,64,41,10,66,183,39,101,1,240,238,227,206,33,4,113,205,193,56,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:06:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920386202796032,"timestamp_seconds":4611920386202796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282696960001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282696960001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:06:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282696960001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:06:33] local.INFO: GPS data processed {"connection_id":193475,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:06:33] local.INFO: Acknowledgment sent {"connection_id":193475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:06:36] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:36] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:06:36] local.INFO: IMEI packet received {"connection_id":190610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":190610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:06:37] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:06:38] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:06:38] local.INFO: Packet analysis {"connection_id":190610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:06:38] local.INFO: Extracted packet for processing {"connection_id":190610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758190976,"raw_latitude":112622888,"longitude_deg":75.8190976,"latitude_deg":11.2622888,"altitude":17,"angle":124,"satellites":44,"speed":42,"hex_longitude":"2d311380","hex_latitude":"06b67d28","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282730752001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406669931904499712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3527092593249695744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790166926000,"timestamp_ms":1790166926000,"timestamp_seconds":1790166926,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4382b0"} 
[2026-09-23 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:06: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-09-23 18: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":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:06: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-09-23 18: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-09-23 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282730752001,"66":27767,"199":206,"81":23552,"24":42,"16":406669931904499712,"45":3527092593249695744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-23 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282730752001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:06:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-23 18:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406669931904499712,"km_value":406669931904499.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3527092593249695744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282730752001,"power":27767,"trip_odometer":0.206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3527092593249695744}} 
[2026-09-23 18:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":190610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:06:38] local.INFO: GPS data processed {"connection_id":190610,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:06:38] local.INFO: Acknowledgment sent {"connection_id":190610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:06:56] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:56] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:06:56] local.INFO: IMEI packet received {"connection_id":193476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":193476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:07:01] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:01] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:01] local.INFO: IMEI packet received {"connection_id":193476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":193476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:07:02] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce41fff8012d179d4007210938004000d529..."} 
[2026-09-23 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce41fff8012d179d4007210938004000d529..."} 
[2026-09-23 18:07:02] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce41fff8012d179d4007210938004000d529..."} 
[2026-09-23 18:07:02] local.INFO: Packet analysis {"connection_id":193476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:07:02] local.INFO: Extracted packet for processing {"connection_id":193476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce41"} 
[2026-09-23 18:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282702336001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166827000,"timestamp_ms":1790166827000,"timestamp_seconds":1790166827,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce41fff8"} 
[2026-09-23 18:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:07: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-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460284864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3355520279,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,254,160,91,45,64,9,40,10,66,41,183,1,240,238,227,206,33,4,113,205,19,56,239,48,2,80,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:07:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920390497763328,"timestamp_seconds":4611920390497763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282702336001,"66":12537,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282702336001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:07:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282702336001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":193476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:07:02] local.INFO: GPS data processed {"connection_id":193476,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:07:02] local.INFO: Acknowledgment sent {"connection_id":193476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:07:09] local.INFO: TCP Data received {"connection_id":190610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:07:09] local.INFO: Processing buffer {"connection_id":190610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4382b0012d31138006b67d280011007c2c..."} 
[2026-09-23 18:07:09] local.INFO: Packet analysis {"connection_id":190610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:07:09] local.INFO: Extracted packet for processing {"connection_id":190610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758190976,"raw_latitude":112622888,"longitude_deg":75.8190976,"latitude_deg":11.2622888,"altitude":17,"angle":124,"satellites":44,"speed":42,"hex_longitude":"2d311380","hex_latitude":"06b67d28","is_valid_coordinates":true} 
[2026-09-23 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282733056001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406669931904499712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3536310898735785984,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790166926000,"timestamp_ms":1790166926000,"timestamp_seconds":1790166926,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4382b0"} 
[2026-09-23 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:07: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-09-23 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:07: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-09-23 18:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282733056001,"66":27767,"199":206,"81":23552,"24":42,"16":406669931904499712,"45":3536310898735785984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-23 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282733056001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:07:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-23 18:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406669931904499712,"km_value":406669931904499.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3536310898735785984,"description":"Unknown IO ID 45"} 
[2026-09-23 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282733056001,"power":27767,"trip_odometer":0.206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3536310898735785984}} 
[2026-09-23 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":190610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:07:09] local.INFO: GPS data processed {"connection_id":190610,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:07:09] local.INFO: Acknowledgment sent {"connection_id":190610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:07:31] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:31] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:31] local.INFO: IMEI packet received {"connection_id":190799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":190799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:07:32] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:32] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:32] local.INFO: IMEI packet received {"connection_id":190799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":190799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:07:33] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce425200012d179d4007210938004000d528..."} 
[2026-09-23 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce425200012d179d4007210938004000d528..."} 
[2026-09-23 18:07:33] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce425200012d179d4007210938004000d528..."} 
[2026-09-23 18:07:33] local.INFO: Packet analysis {"connection_id":193476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:07:33] local.INFO: Extracted packet for processing {"connection_id":193476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282707712001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166848000,"timestamp_ms":1790166848000,"timestamp_seconds":1790166848,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce425200"} 
[2026-09-23 18:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:07: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-09-23 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 18:07: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-09-23 18:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282707712001,"66":12537,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282707712001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:07:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282707712001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":193476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:07:33] local.INFO: GPS data processed {"connection_id":193476,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:07:33] local.INFO: Acknowledgment sent {"connection_id":193476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:07:36] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:36] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:07:36] local.INFO: IMEI packet received {"connection_id":190799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:07:37] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce449420012d31edc006b55628000b00842a..."} 
[2026-09-23 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce449420012d31edc006b55628000b00842a..."} 
[2026-09-23 18:07:37] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce449420012d31edc006b55628000b00842a..."} 
[2026-09-23 18:07:37] local.INFO: Packet analysis {"connection_id":190799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:07:37] local.INFO: Extracted packet for processing {"connection_id":190799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758246848,"raw_latitude":112547368,"longitude_deg":75.8246848,"latitude_deg":11.2547368,"altitude":11,"angle":132,"satellites":42,"speed":58,"hex_longitude":"2d31edc0","hex_latitude":"06b55628","is_valid_coordinates":true} 
[2026-09-23 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282749184001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406674484569833472,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3589791144293345280,"note":"Value kept but may cause issues"} 
[2026-09-23 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790166996000,"timestamp_ms":1790166996000,"timestamp_seconds":1790166996,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce449420"} 
[2026-09-23 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:07: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-09-23 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282749184001,"66":27767,"170":206,"81":23552,"24":58,"16":406674484569833472,"45":3589791144293345280},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282749184001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:07:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 18:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406674484569833472,"km_value":406674484569833.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3589791144293345280,"description":"Unknown IO ID 45"} 
[2026-09-23 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282749184001,"power":27767,"unknown_170":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3589791144293345280}} 
[2026-09-23 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:07:37] local.INFO: GPS data processed {"connection_id":190799,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:07:37] local.INFO: Acknowledgment sent {"connection_id":190799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:07:56] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:56] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:07:56] local.INFO: IMEI packet received {"connection_id":192140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":192140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:07:56] local.INFO: TCP Data received {"connection_id":193477,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:07:56] local.INFO: Processing buffer {"connection_id":193477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:07:56] local.INFO: IMEI packet received {"connection_id":193477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":193477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:08:01] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:01] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:01] local.INFO: IMEI packet received {"connection_id":192140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":192140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:08:02] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce42a408012d179d4007210938004000d528..."} 
[2026-09-23 18:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce42a408012d179d4007210938004000d528..."} 
[2026-09-23 18:08:02] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce42a408012d179d4007210938004000d528..."} 
[2026-09-23 18:08:02] local.INFO: Packet analysis {"connection_id":192140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:08:02] local.INFO: Extracted packet for processing {"connection_id":192140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282713088001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166869000,"timestamp_ms":1790166869000,"timestamp_seconds":1790166869,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce42a408"} 
[2026-09-23 18:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:08: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-09-23 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 18:08:02] 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-09-23 18: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-09-23 18:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282713088001,"66":12537,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282713088001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:08:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282713088001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":192140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:08:02] local.INFO: GPS data processed {"connection_id":192140,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:08:02] local.INFO: Acknowledgment sent {"connection_id":192140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:08:09] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce44ab90012d3208c006b53f000009008029..."} 
[2026-09-23 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce44ab90012d3208c006b53f000009008029..."} 
[2026-09-23 18:08:09] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce44ab90012d3208c006b53f000009008029..."} 
[2026-09-23 18:08:09] local.INFO: Packet analysis {"connection_id":190799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:08:09] local.INFO: Extracted packet for processing {"connection_id":190799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758253760,"raw_latitude":112541440,"longitude_deg":75.825376,"latitude_deg":11.254144,"altitude":9,"angle":128,"satellites":41,"speed":59,"hex_longitude":"2d3208c0","hex_latitude":"06b53f00","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282750976001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406674922656497664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3597742812383553536,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:09] 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-09-23 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790167002000,"timestamp_ms":1790167002000,"timestamp_seconds":1790167002,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce44ab90"} 
[2026-09-23 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-09-23 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:08: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-09-23 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-09-23 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-09-23 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282750976001,"66":27865,"170":206,"81":23552,"24":59,"16":406674922656497664,"45":3597742812383553536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282750976001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:08:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 18:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406674922656497664,"km_value":406674922656497.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3597742812383553536,"description":"Unknown IO ID 45"} 
[2026-09-23 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282750976001,"power":27865,"unknown_170":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3597742812383553536}} 
[2026-09-23 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":190799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:08:09] local.INFO: GPS data processed {"connection_id":190799,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:08:09] local.INFO: Acknowledgment sent {"connection_id":190799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:08:14] local.INFO: TCP Data received {"connection_id":193478,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:08:14] local.INFO: Processing buffer {"connection_id":193478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:08:14] local.INFO: IMEI packet received {"connection_id":193478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":193478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:08:31] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:31] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:31] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:08:32] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:08:32] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:32] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:08:33] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce42f610012d179d4007210938004000d52a..."} 
[2026-09-23 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce42f610012d179d4007210938004000d52a..."} 
[2026-09-23 18:08:33] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce42f610012d179d4007210938004000d52a..."} 
[2026-09-23 18:08:33] local.INFO: Packet analysis {"connection_id":192140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:08:33] local.INFO: Extracted packet for processing {"connection_id":192140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce42"} 
[2026-09-23 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282718464001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166890000,"timestamp_ms":1790166890000,"timestamp_seconds":1790166890,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce42f610"} 
[2026-09-23 18:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:08: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-09-23 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 18:08: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-09-23 18: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-09-23 18:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282718464001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282718464001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:08:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282718464001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":192140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:08:33] local.INFO: GPS data processed {"connection_id":192140,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:08:33] local.INFO: Acknowledgment sent {"connection_id":192140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:08:35] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:35] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:08:35] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:08:36] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce44c300012d32258006b52a600009007c27..."} 
[2026-09-23 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce44c300012d32258006b52a600009007c27..."} 
[2026-09-23 18:08:36] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce44c300012d32258006b52a600009007c27..."} 
[2026-09-23 18:08:36] local.INFO: Packet analysis {"connection_id":192141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:08:36] local.INFO: Extracted packet for processing {"connection_id":192141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758261120,"raw_latitude":112536160,"longitude_deg":75.826112,"latitude_deg":11.253616,"altitude":9,"angle":124,"satellites":39,"speed":59,"hex_longitude":"2d322580","hex_latitude":"06b52a60","is_valid_coordinates":true} 
[2026-09-23 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282752512001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406675352153227264,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3605342636753223680,"note":"Value kept but may cause issues"} 
[2026-09-23 18:08:36] 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-09-23 18:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790167008000,"timestamp_ms":1790167008000,"timestamp_seconds":1790167008,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce44c300"} 
[2026-09-23 18:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18: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-09-23 18:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282752512001,"66":27843,"170":206,"81":23552,"24":59,"16":406675352153227264,"45":3605342636753223680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-23 18:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282752512001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:08:36] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-23 18:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406675352153227264,"km_value":406675352153227.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3605342636753223680,"description":"Unknown IO ID 45"} 
[2026-09-23 18:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282752512001,"power":27843,"unknown_170":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3605342636753223680}} 
[2026-09-23 18:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:08:36] local.INFO: GPS data processed {"connection_id":192141,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:08:36] local.INFO: Acknowledgment sent {"connection_id":192141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:08:58] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:58] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:08:58] local.INFO: IMEI packet received {"connection_id":190611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":190611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:09:01] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:01] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:01] local.INFO: IMEI packet received {"connection_id":190611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":190611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:09:06] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:06] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:06] local.INFO: IMEI packet received {"connection_id":190611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":190611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:09:07] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce434818012d179d4007210938004000d529..."} 
[2026-09-23 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce434818012d179d4007210938004000d529..."} 
[2026-09-23 18:09:07] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce434818012d179d4007210938004000d529..."} 
[2026-09-23 18:09:07] local.INFO: Packet analysis {"connection_id":190611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:09:07] local.INFO: Extracted packet for processing {"connection_id":190611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282723840001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790166911000,"timestamp_ms":1790166911000,"timestamp_seconds":1790166911,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce434818"} 
[2026-09-23 18:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460368864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3892391191,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,254,160,164,45,64,9,40,10,66,82,255,1,240,249,227,206,33,4,113,205,91,56,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:09:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920394792730624,"timestamp_seconds":4611920394792731.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282723840001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282723840001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:09:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282723840001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":190611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:09:07] local.INFO: GPS data processed {"connection_id":190611,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:09:07] local.INFO: Acknowledgment sent {"connection_id":190611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:09:08] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce460f08012d33b50006b422e0001200a22d..."} 
[2026-09-23 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce460f08012d33b50006b422e0001200a22d..."} 
[2026-09-23 18:09:08] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce460f08012d33b50006b422e0001200a22d..."} 
[2026-09-23 18:09:08] local.INFO: Packet analysis {"connection_id":192141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:08] local.INFO: Extracted packet for processing {"connection_id":192141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758363392,"raw_latitude":112468704,"longitude_deg":75.8363392,"latitude_deg":11.2468704,"altitude":18,"angle":162,"satellites":45,"speed":56,"hex_longitude":"2d33b500","hex_latitude":"06b422e0","is_valid_coordinates":true} 
[2026-09-23 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282774016001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406681373697376256,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3721099220909180928,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167093000,"timestamp_ms":1790167093000,"timestamp_seconds":1790167093,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce460f08"} 
[2026-09-23 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:09: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-09-23 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 18:09: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-09-23 18:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282774016001,"66":27821,"227":206,"81":23552,"24":56,"16":406681373697376256,"45":3721099220909180928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282774016001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:09:08] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 18:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406681373697376256,"km_value":406681373697376.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3721099220909180928,"description":"Unknown IO ID 45"} 
[2026-09-23 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282774016001,"power":27821,"unknown_227":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3721099220909180928}} 
[2026-09-23 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":192141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:09:08] local.INFO: GPS data processed {"connection_id":192141,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:09:08] local.INFO: Acknowledgment sent {"connection_id":192141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:09:12] local.INFO: TCP Data received {"connection_id":190611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce439a20012d179d4007210938004000d52a..."} 
[2026-09-23 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce439a20012d179d4007210938004000d52a..."} 
[2026-09-23 18:09:12] local.INFO: Processing buffer {"connection_id":190611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce439a20012d179d4007210938004000d52a..."} 
[2026-09-23 18:09:12] local.INFO: Packet analysis {"connection_id":190611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:09:12] local.INFO: Extracted packet for processing {"connection_id":190611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282729216001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790166932000,"timestamp_ms":1790166932000,"timestamp_seconds":1790166932,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce439a20"} 
[2026-09-23 18:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:09:12] 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-09-23 18: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-09-23 18:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282729216001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282729216001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:09:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282729216001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":190611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:09:12] local.INFO: GPS data processed {"connection_id":190611,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:09:12] local.INFO: Acknowledgment sent {"connection_id":190611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:09:31] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:31] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:31] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:09:35] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:35] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:35] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:09:36] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:36] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:09:36] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:09:37] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce462290012d33bac006b40870001300af2c..."} 
[2026-09-23 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce462290012d33bac006b40870001300af2c..."} 
[2026-09-23 18:09:37] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce462290012d33bac006b40870001300af2c..."} 
[2026-09-23 18:09:37] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:37] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758364864,"raw_latitude":112461936,"longitude_deg":75.8364864,"latitude_deg":11.2461936,"altitude":19,"angle":175,"satellites":44,"speed":51,"hex_longitude":"2d33bac0","hex_latitude":"06b40870","is_valid_coordinates":true} 
[2026-09-23 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282775808001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406681708704825344,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725884295510941696,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167098000,"timestamp_ms":1790167098000,"timestamp_seconds":1790167098,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce462290"} 
[2026-09-23 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:09: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-09-23 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282775808001,"66":27821,"227":206,"81":23552,"24":51,"16":406681708704825344,"45":3725884295510941696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282775808001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406681708704825344,"km_value":406681708704825.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725884295510941696,"description":"Unknown IO ID 45"} 
[2026-09-23 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282775808001,"power":27821,"unknown_227":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3725884295510941696}} 
[2026-09-23 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:09:37] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:09:37] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:09:42] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce463de8012d33b98006b3e350001100b729..."} 
[2026-09-23 18:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce463de8012d33b98006b3e350001100b729..."} 
[2026-09-23 18:09:42] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce463de8012d33b98006b3e350001100b729..."} 
[2026-09-23 18:09:42] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:42] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758364544,"raw_latitude":112452432,"longitude_deg":75.8364544,"latitude_deg":11.2452432,"altitude":17,"angle":183,"satellites":41,"speed":57,"hex_longitude":"2d33b980","hex_latitude":"06b3e350","is_valid_coordinates":true} 
[2026-09-23 18:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282777088001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406682172561293312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727502776625295360,"note":"Value kept but may cause issues"} 
[2026-09-23 18:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790167105000,"timestamp_ms":1790167105000,"timestamp_seconds":1790167105,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce463de8"} 
[2026-09-23 18:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282777088001,"66":27832,"227":206,"81":23552,"24":57,"16":406682172561293312,"45":3727502776625295360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 18:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282777088001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:09:42] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 18:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406682172561293312,"km_value":406682172561293.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727502776625295360,"description":"Unknown IO ID 45"} 
[2026-09-23 18:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282777088001,"power":27832,"unknown_227":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3727502776625295360}} 
[2026-09-23 18:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:09:42] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:09:42] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:09:56] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:56] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:09:56] local.INFO: IMEI packet received {"connection_id":190612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":190612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:10:01] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:01] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:01] local.INFO: IMEI packet received {"connection_id":190612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":190612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:10:02] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce43ec28012d179d4007210938004000d528..."} 
[2026-09-23 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce43ec28012d179d4007210938004000d528..."} 
[2026-09-23 18:10:02] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce43ec28012d179d4007210938004000d528..."} 
[2026-09-23 18:10:02] local.INFO: Packet analysis {"connection_id":190612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:10:02] local.INFO: Extracted packet for processing {"connection_id":190612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce43"} 
[2026-09-23 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 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":795,"current_offset":40} 
[2026-09-23 18:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282734592001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166953000,"timestamp_ms":1790166953000,"timestamp_seconds":1790166953,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce43ec28"} 
[2026-09-23 18:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:10: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-09-23 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282734592001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282734592001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:10:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282734592001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":190612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:10:02] local.INFO: GPS data processed {"connection_id":190612,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:10:02] local.INFO: Acknowledgment sent {"connection_id":190612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:10:17] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce465558012d33b68006b3c070001100b82a..."} 
[2026-09-23 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce465558012d33b68006b3c070001100b82a..."} 
[2026-09-23 18:10:17] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce465558012d33b68006b3c070001100b82a..."} 
[2026-09-23 18:10:17] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:10:17] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758363776,"raw_latitude":112443504,"longitude_deg":75.8363776,"latitude_deg":11.2443504,"altitude":17,"angle":184,"satellites":42,"speed":59,"hex_longitude":"2d33b680","hex_latitude":"06b3c070","is_valid_coordinates":true} 
[2026-09-23 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282778880001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406682606352990208,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727150932901974016,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790167111000,"timestamp_ms":1790167111000,"timestamp_seconds":1790167111,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce465558"} 
[2026-09-23 18:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 18:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282778880001,"66":27658,"227":206,"81":23552,"24":59,"16":406682606352990208,"45":3727150932901974016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-23 18:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282778880001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:10:17] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-23 18:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406682606352990208,"km_value":406682606352990.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727150932901974016,"description":"Unknown IO ID 45"} 
[2026-09-23 18:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282778880001,"power":27658,"unknown_227":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3727150932901974016}} 
[2026-09-23 18:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:10:17] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:10:17] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:10:33] local.INFO: TCP Data received {"connection_id":190612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce443e30012d179d4007210938004000d52b..."} 
[2026-09-23 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce443e30012d179d4007210938004000d52b..."} 
[2026-09-23 18:10:33] local.INFO: Processing buffer {"connection_id":190612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce443e30012d179d4007210938004000d52b..."} 
[2026-09-23 18:10:33] local.INFO: Packet analysis {"connection_id":190612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:10:33] local.INFO: Extracted packet for processing {"connection_id":190612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282739968001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790166974000,"timestamp_ms":1790166974000,"timestamp_seconds":1790166974,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce443e30"} 
[2026-09-23 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:10: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-09-23 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:10:33] 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-09-23 18:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282739968001,"66":12548,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282739968001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:10:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282739968001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":190612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:10:33] local.INFO: GPS data processed {"connection_id":190612,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:10:33] local.INFO: Acknowledgment sent {"connection_id":190612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:10:36] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:36] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:36] local.INFO: IMEI packet received {"connection_id":190801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:10:40] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:40] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:10:40] local.INFO: IMEI packet received {"connection_id":190801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":190801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:10:41] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce466cc8012d33b60006b39d00001000b02b..."} 
[2026-09-23 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce466cc8012d33b60006b39d00001000b02b..."} 
[2026-09-23 18:10:41] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce466cc8012d33b60006b39d00001000b02b..."} 
[2026-09-23 18:10:41] local.INFO: Packet analysis {"connection_id":190801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:10:41] local.INFO: Extracted packet for processing {"connection_id":190801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758363648,"raw_latitude":112434432,"longitude_deg":75.8363648,"latitude_deg":11.2434432,"altitude":16,"angle":176,"satellites":43,"speed":59,"hex_longitude":"2d33b600","hex_latitude":"06b39d00","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282780416001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406683044439654400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726306507969556480,"note":"Value kept but may cause issues"} 
[2026-09-23 18:10: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-09-23 18:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790167117000,"timestamp_ms":1790167117000,"timestamp_seconds":1790167117,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce466cc8"} 
[2026-09-23 18:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":10,"data_length":795,"current_offset":136} 
[2026-09-23 18:10: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-09-23 18: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-09-23 18:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282780416001,"66":27876,"82":206,"81":23552,"24":59,"16":406683044439654400,"45":3726306507969556480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 18:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282780416001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:10:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 18:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406683044439654400,"km_value":406683044439654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726306507969556480,"description":"Unknown IO ID 45"} 
[2026-09-23 18:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282780416001,"power":27876,"unknown_82":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3726306507969556480}} 
[2026-09-23 18:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":190801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:10:41] local.INFO: GPS data processed {"connection_id":190801,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:10:41] local.INFO: Acknowledgment sent {"connection_id":190801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:10:56] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:56] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:10:56] local.INFO: IMEI packet received {"connection_id":193479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":193479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:11:01] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:01] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:01] local.INFO: IMEI packet received {"connection_id":193479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":193479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:11:02] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce449038012d179d4007210938004000d52b..."} 
[2026-09-23 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce449038012d179d4007210938004000d52b..."} 
[2026-09-23 18:11:02] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce449038012d179d4007210938004000d52b..."} 
[2026-09-23 18:11:02] local.INFO: Packet analysis {"connection_id":193479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:11:02] local.INFO: Extracted packet for processing {"connection_id":193479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282745344001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790166995000,"timestamp_ms":1790166995000,"timestamp_seconds":1790166995,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce449038"} 
[2026-09-23 18:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:11: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-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3460452864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4274061312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,254,160,236,45,64,9,40,10,66,154,42,72,1,240,238,227,206,33,4,113,205,164,56,239,48,2,80,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-23 18:11:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611920399087697920,"timestamp_seconds":4611920399087698.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282745344001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282745344001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:11:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282745344001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":193479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:11:02] local.INFO: GPS data processed {"connection_id":193479,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:11:02] local.INFO: Acknowledgment sent {"connection_id":193479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:11:12] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:12] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:12] local.INFO: Packet analysis {"connection_id":190801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:11:12] local.INFO: Extracted packet for processing {"connection_id":190801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758365376,"raw_latitude":112424496,"longitude_deg":75.8365376,"latitude_deg":11.2424496,"altitude":16,"angle":164,"satellites":43,"speed":56,"hex_longitude":"2d33bcc0","hex_latitude":"06b37630","is_valid_coordinates":true} 
[2026-09-23 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282781952001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406683534065926144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726165770478878720,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:12] 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-09-23 18:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790167124000,"timestamp_ms":1790167124000,"timestamp_seconds":1790167124,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce468820"} 
[2026-09-23 18:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 18:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282781952001,"66":27832,"82":206,"81":23552,"24":56,"16":406683534065926144,"45":3726165770478878720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 18:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282781952001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:11:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 18:11:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406683534065926144,"km_value":406683534065926.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726165770478878720,"description":"Unknown IO ID 45"} 
[2026-09-23 18:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282781952001,"power":27832,"unknown_82":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3726165770478878720}} 
[2026-09-23 18:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":190801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:11:12] local.INFO: GPS data processed {"connection_id":190801,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:11:12] local.INFO: Acknowledgment sent {"connection_id":190801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:11:31] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:31] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:31] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:11:33] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce44e240012d179d4007210938004000d52a..."} 
[2026-09-23 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce44e240012d179d4007210938004000d52a..."} 
[2026-09-23 18:11:33] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce44e240012d179d4007210938004000d52a..."} 
[2026-09-23 18:11:33] local.INFO: Packet analysis {"connection_id":193479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:11:33] local.INFO: Extracted packet for processing {"connection_id":193479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce44"} 
[2026-09-23 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282750720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167016000,"timestamp_ms":1790167016000,"timestamp_seconds":1790167016,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce44e240"} 
[2026-09-23 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:11: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-09-23 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:11:33] 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-09-23 18: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-09-23 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282750720001,"66":12537,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282750720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:11:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282750720001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":193479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:11:33] local.INFO: GPS data processed {"connection_id":193479,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:11:33] local.INFO: Acknowledgment sent {"connection_id":193479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:11:36] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:36] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:11:36] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:11:37] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:37] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce468820012d33bcc006b37630001000a42b..."} 
[2026-09-23 18:11:37] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:11:37] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce46"} 
[2026-09-23 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758365376,"raw_latitude":112424496,"longitude_deg":75.8365376,"latitude_deg":11.2424496,"altitude":16,"angle":164,"satellites":43,"speed":56,"hex_longitude":"2d33bcc0","hex_latitude":"06b37630","is_valid_coordinates":true} 
[2026-09-23 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282783744001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406683534065926144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728065726569132032,"note":"Value kept but may cause issues"} 
[2026-09-23 18:11:37] 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-09-23 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167124000,"timestamp_ms":1790167124000,"timestamp_seconds":1790167124,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce468820"} 
[2026-09-23 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 18:11: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-09-23 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282783744001,"66":27832,"82":206,"81":23552,"24":56,"16":406683534065926144,"45":3728065726569132032},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-23 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282783744001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:11:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-23 18:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406683534065926144,"km_value":406683534065926.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728065726569132032,"description":"Unknown IO ID 45"} 
[2026-09-23 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282783744001,"power":27832,"unknown_82":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3728065726569132032}} 
[2026-09-23 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:11:37] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:11:37] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:11:56] local.INFO: TCP Data received {"connection_id":190802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:56] local.INFO: Processing buffer {"connection_id":190802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:11:56] local.INFO: IMEI packet received {"connection_id":190802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:12:01] local.INFO: TCP Data received {"connection_id":190802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:01] local.INFO: Processing buffer {"connection_id":190802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:01] local.INFO: IMEI packet received {"connection_id":190802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":190802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:12:02] local.INFO: TCP Data received {"connection_id":190802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce453448012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce453448012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:02] local.INFO: Processing buffer {"connection_id":190802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce453448012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:02] local.INFO: Packet analysis {"connection_id":190802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce45"} 
[2026-09-23 18:12:02] local.INFO: Extracted packet for processing {"connection_id":190802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce45"} 
[2026-09-23 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282756096001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167037000,"timestamp_ms":1790167037000,"timestamp_seconds":1790167037,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce453448"} 
[2026-09-23 18:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:12: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-09-23 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-23 18:12:02] 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-09-23 18: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-09-23 18:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282756096001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282756096001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:12:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282756096001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":190802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:12:02] local.INFO: GPS data processed {"connection_id":190802,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:12:02] local.INFO: Acknowledgment sent {"connection_id":190802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:12:08] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce48b6b8012d349e4006b2b2f00005007d2d..."} 
[2026-09-23 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce48b6b8012d349e4006b2b2f00005007d2d..."} 
[2026-09-23 18:12:08] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce48b6b8012d349e4006b2b2f00005007d2d..."} 
[2026-09-23 18:12:08] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:08] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758423104,"raw_latitude":112374512,"longitude_deg":75.8423104,"latitude_deg":11.2374512,"altitude":5,"angle":125,"satellites":45,"speed":42,"hex_longitude":"2d349e40","hex_latitude":"06b2b2f0","is_valid_coordinates":true} 
[2026-09-23 18:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282818048001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406687283572375552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3782601503295422464,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167267000,"timestamp_ms":1790167267000,"timestamp_seconds":1790167267,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce48b6b8"} 
[2026-09-23 18:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:12: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-09-23 18:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 18:12: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-09-23 18:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282818048001,"66":27843,"224":206,"81":23552,"24":42,"16":406687283572375552,"45":3782601503295422464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-23 18:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282818048001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:12:08] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-23 18:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406687283572375552,"km_value":406687283572375.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3782601503295422464,"description":"Unknown IO ID 45"} 
[2026-09-23 18:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282818048001,"power":27843,"unknown_224":206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3782601503295422464}} 
[2026-09-23 18:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:12:08] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:12:08] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:12:30] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:30] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:30] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:12:32] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:32] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:32] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:12:33] local.INFO: TCP Data received {"connection_id":190802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce48baa0012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce48baa0012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:33] local.INFO: Processing buffer {"connection_id":190802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce48baa0012d179d4007210938004000d52b..."} 
[2026-09-23 18:12:33] local.INFO: Packet analysis {"connection_id":190802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:33] local.INFO: Extracted packet for processing {"connection_id":190802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282815232001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167268000,"timestamp_ms":1790167268000,"timestamp_seconds":1790167268,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce48baa0"} 
[2026-09-23 18:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:12: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-09-23 18: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":216,"data_length":795,"current_offset":136} 
[2026-09-23 18:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282815232001,"66":12526,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282815232001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:12:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282815232001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":190802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:12:33] local.INFO: GPS data processed {"connection_id":190802,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:12:33] local.INFO: Acknowledgment sent {"connection_id":190802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:12:38] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:38] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:12:38] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:12:40] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce48d9e0012d34be0006b29e78000600772d..."} 
[2026-09-23 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce48d9e0012d34be0006b29e78000600772d..."} 
[2026-09-23 18:12:40] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce48d9e0012d34be0006b29e78000600772d..."} 
[2026-09-23 18:12:40] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:40] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce48"} 
[2026-09-23 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758431232,"raw_latitude":112369272,"longitude_deg":75.8431232,"latitude_deg":11.2369272,"altitude":6,"angle":119,"satellites":45,"speed":40,"hex_longitude":"2d34be00","hex_latitude":"06b29e78","is_valid_coordinates":true} 
[2026-09-23 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282820352001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406687747428843520,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791538333804589056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790167276000,"timestamp_ms":1790167276000,"timestamp_seconds":1790167276,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce48d9e0"} 
[2026-09-23 18:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 18:12: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-09-23 18:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282820352001,"66":27908,"224":206,"81":23552,"24":40,"16":406687747428843520,"45":3791538333804589056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-23 18:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282820352001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:12:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-23 18:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406687747428843520,"km_value":406687747428843.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791538333804589056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282820352001,"power":27908,"unknown_224":206,"unknown_81":23552,"ignition":40,"odometer":null,"unknown_45":3791538333804589056}} 
[2026-09-23 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:12:40] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:12:40] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:12:56] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:56] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:56] local.INFO: IMEI packet received {"connection_id":192147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":192147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:12:59] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:59] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:12:59] local.INFO: IMEI packet received {"connection_id":192147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":192147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:13:01] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:01] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:01] local.INFO: IMEI packet received {"connection_id":192147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":192147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:13:02] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce490ca8012d179d4007210938004000d52d..."} 
[2026-09-23 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce490ca8012d179d4007210938004000d52d..."} 
[2026-09-23 18:13:02] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce490ca8012d179d4007210938004000d52d..."} 
[2026-09-23 18:13:02] local.INFO: Packet analysis {"connection_id":192147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:02] local.INFO: Extracted packet for processing {"connection_id":192147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282820608001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167289000,"timestamp_ms":1790167289000,"timestamp_seconds":1790167289,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce490ca8"} 
[2026-09-23 18:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13: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-09-23 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-23 18:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282820608001,"66":12743,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282820608001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282820608001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":192147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:02] local.INFO: GPS data processed {"connection_id":192147,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:02] local.INFO: Acknowledgment sent {"connection_id":192147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:07] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce495eb0012d179d4007210938004000d52e..."} 
[2026-09-23 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce495eb0012d179d4007210938004000d52e..."} 
[2026-09-23 18:13:07] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce495eb0012d179d4007210938004000d52e..."} 
[2026-09-23 18:13:07] local.INFO: Packet analysis {"connection_id":192147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:07] local.INFO: Extracted packet for processing {"connection_id":192147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756522304,"raw_latitude":119605560,"longitude_deg":75.6522304,"latitude_deg":11.960556,"altitude":64,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d179d40","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-09-23 18:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282825984001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798103018995712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790167310000,"timestamp_ms":1790167310000,"timestamp_seconds":1790167310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce495eb0"} 
[2026-09-23 18:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-23 18:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282825984001,"66":13820,"107":206,"83":41984,"24":0,"16":22798103018995712,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282825984001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798103018995712,"km_value":22798103018995.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282825984001,"power":13820,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":192147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:07] local.INFO: GPS data processed {"connection_id":192147,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:07] local.INFO: Acknowledgment sent {"connection_id":192147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:11] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4900f0012d34dcc006b28d000007007930..."} 
[2026-09-23 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4900f0012d34dcc006b28d000007007930..."} 
[2026-09-23 18:13:11] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4900f0012d34dcc006b28d000007007930..."} 
[2026-09-23 18:13:11] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:11] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758439104,"raw_latitude":112364800,"longitude_deg":75.8439104,"latitude_deg":11.23648,"altitude":7,"angle":121,"satellites":48,"speed":36,"hex_longitude":"2d34dcc0","hex_latitude":"06b28d00","is_valid_coordinates":true} 
[2026-09-23 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282822656001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406688176925573120,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800475164313810944,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790167286000,"timestamp_ms":1790167286000,"timestamp_seconds":1790167286,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4900f0"} 
[2026-09-23 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13: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-09-23 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:13: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-09-23 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282822656001,"66":27843,"224":206,"81":23552,"24":36,"16":406688176925573120,"45":3800475164313810944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-23 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282822656001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:11] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-23 18:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406688176925573120,"km_value":406688176925573.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800475164313810944,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282822656001,"power":27843,"unknown_224":206,"unknown_81":23552,"ignition":36,"odometer":null,"unknown_45":3800475164313810944}} 
[2026-09-23 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:11] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:11] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:38] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce49a8e8012d179e00072109f00041003529..."} 
[2026-09-23 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce49a8e8012d179e00072109f00041003529..."} 
[2026-09-23 18:13:38] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce49a8e8012d179e00072109f00041003529..."} 
[2026-09-23 18:13:38] local.INFO: Packet analysis {"connection_id":192147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:38] local.INFO: Extracted packet for processing {"connection_id":192147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756522496,"raw_latitude":119605744,"longitude_deg":75.6522496,"latitude_deg":11.9605744,"altitude":65,"angle":53,"satellites":41,"speed":7,"hex_longitude":"2d179e00","hex_latitude":"072109f0","is_valid_coordinates":true} 
[2026-09-23 18:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282831360001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798115903897600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701586633579116544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790167329000,"timestamp_ms":1790167329000,"timestamp_seconds":1790167329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce49a8e8"} 
[2026-09-23 18:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13: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-09-23 18:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-23 18:13:38] 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-09-23 18:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282831360001,"66":14102,"107":206,"83":41984,"24":7,"16":22798115903897600,"45":1701586633579116544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282831360001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798115903897600,"km_value":22798115903897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701586633579116544,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282831360001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1701586633579116544}} 
[2026-09-23 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":192147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:38] local.INFO: GPS data processed {"connection_id":192147,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:38] local.INFO: Acknowledgment sent {"connection_id":192147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:39] local.INFO: TCP Data received {"connection_id":193481,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:13:39] local.INFO: Processing buffer {"connection_id":193481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:13:39] local.INFO: IMEI packet received {"connection_id":193481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":193481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:13:41] local.INFO: TCP Data received {"connection_id":193482,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:41] local.INFO: Processing buffer {"connection_id":193482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:41] local.INFO: IMEI packet received {"connection_id":193482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":193482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:13:42] local.INFO: TCP Data received {"connection_id":193482,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:42] local.INFO: Processing buffer {"connection_id":193482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:42] local.INFO: IMEI packet received {"connection_id":193482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":193482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:13:46] local.INFO: TCP Data received {"connection_id":193482,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:46] local.INFO: Processing buffer {"connection_id":193482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:13:46] local.INFO: IMEI packet received {"connection_id":193482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":193482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:13:47] local.INFO: TCP Data received {"connection_id":193482,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a31a0012d360c4006b1b1700012009631..."} 
[2026-09-23 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a31a0012d360c4006b1b1700012009631..."} 
[2026-09-23 18:13:47] local.INFO: Processing buffer {"connection_id":193482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a31a0012d360c4006b1b1700012009631..."} 
[2026-09-23 18:13:47] local.INFO: Packet analysis {"connection_id":193482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:13:47] local.INFO: Extracted packet for processing {"connection_id":193482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758516800,"raw_latitude":112308592,"longitude_deg":75.85168,"latitude_deg":11.2308592,"altitude":18,"angle":150,"satellites":49,"speed":50,"hex_longitude":"2d360c40","hex_latitude":"06b1b170","is_valid_coordinates":true} 
[2026-09-23 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282843648001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406692794015416320,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889632363172935680,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:47] 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-09-23 18:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790167364000,"timestamp_ms":1790167364000,"timestamp_seconds":1790167364,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a31a0"} 
[2026-09-23 18:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 18:13:47] 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-09-23 18:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282843648001,"66":27821,"222":206,"81":23552,"24":50,"16":406692794015416320,"45":3889632363172935680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-23 18:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282843648001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:47] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-23 18:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406692794015416320,"km_value":406692794015416.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889632363172935680,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282843648001,"power":27821,"unknown_222":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3889632363172935680}} 
[2026-09-23 18:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":193482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:47] local.INFO: GPS data processed {"connection_id":193482,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:47] local.INFO: Acknowledgment sent {"connection_id":193482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:48] local.INFO: TCP Data received {"connection_id":193482,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a4cf8012d361b4006b18fe80011009e31..."} 
[2026-09-23 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a4cf8012d361b4006b18fe80011009e31..."} 
[2026-09-23 18:13:48] local.INFO: Processing buffer {"connection_id":193482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a4cf8012d361b4006b18fe80011009e31..."} 
[2026-09-23 18:13:48] local.INFO: Packet analysis {"connection_id":193482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:13:48] local.INFO: Extracted packet for processing {"connection_id":193482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758520640,"raw_latitude":112300008,"longitude_deg":75.852064,"latitude_deg":11.2300008,"altitude":17,"angle":158,"satellites":49,"speed":56,"hex_longitude":"2d361b40","hex_latitude":"06b18fe8","is_valid_coordinates":true} 
[2026-09-23 18:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282845184001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406693249281949696,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3894558175263813632,"note":"Value kept but may cause issues"} 
[2026-09-23 18:13:48] 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-09-23 18:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790167371000,"timestamp_ms":1790167371000,"timestamp_seconds":1790167371,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a4cf8"} 
[2026-09-23 18:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282845184001,"66":27821,"222":206,"81":23552,"24":56,"16":406693249281949696,"45":3894558175263813632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-23 18:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282845184001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:13:48] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-23 18:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406693249281949696,"km_value":406693249281949.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3894558175263813632,"description":"Unknown IO ID 45"} 
[2026-09-23 18:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282845184001,"power":27821,"unknown_222":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3894558175263813632}} 
[2026-09-23 18:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":193482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:13:48] local.INFO: GPS data processed {"connection_id":193482,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:13:48] local.INFO: Acknowledgment sent {"connection_id":193482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:13:56] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:56] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:13:56] local.INFO: IMEI packet received {"connection_id":192148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":192148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:14:00] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:00] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:00] local.INFO: IMEI packet received {"connection_id":192148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":192148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:14:01] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:01] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:14:01] local.INFO: IMEI packet received {"connection_id":192148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":192148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:14:02] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce49d7c8012d17a580072110300040002a2b..."} 
[2026-09-23 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce49d7c8012d17a580072110300040002a2b..."} 
[2026-09-23 18:14:02] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce49d7c8012d17a580072110300040002a2b..."} 
[2026-09-23 18:14:02] local.INFO: Packet analysis {"connection_id":192148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:14:02] local.INFO: Extracted packet for processing {"connection_id":192148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce49"} 
[2026-09-23 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756524416,"raw_latitude":119607344,"longitude_deg":75.6524416,"latitude_deg":11.9607344,"altitude":64,"angle":42,"satellites":43,"speed":11,"hex_longitude":"2d17a580","hex_latitude":"07211030","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282836224001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798236162981888,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701797739811696640,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167341000,"timestamp_ms":1790167341000,"timestamp_seconds":1790167341,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce49d7c8"} 
[2026-09-23 18:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:14: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-09-23 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 18:14:02] 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-09-23 18: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-09-23 18:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282836224001,"66":14189,"107":206,"83":41984,"24":11,"16":22798236162981888,"45":1701797739811696640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282836224001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798236162981888,"km_value":22798236162981.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701797739811696640,"description":"Unknown IO ID 45"} 
[2026-09-23 18:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282836224001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1701797739811696640}} 
[2026-09-23 18:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":192148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:14:02] local.INFO: GPS data processed {"connection_id":192148,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:14:02] local.INFO: Acknowledgment sent {"connection_id":192148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:14:03] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a0a90012d17bf4007212ac0003d00262d..."} 
[2026-09-23 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a0a90012d17bf4007212ac0003d00262d..."} 
[2026-09-23 18:14:03] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a0a90012d17bf4007212ac0003d00262d..."} 
[2026-09-23 18:14:03] local.INFO: Packet analysis {"connection_id":192148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:03] local.INFO: Extracted packet for processing {"connection_id":192148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756531008,"raw_latitude":119614144,"longitude_deg":75.6531008,"latitude_deg":11.9614144,"altitude":61,"angle":38,"satellites":45,"speed":40,"hex_longitude":"2d17bf40","hex_latitude":"07212ac0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282839296001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22798691429515264,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703908802137436160,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790167354000,"timestamp_ms":1790167354000,"timestamp_seconds":1790167354,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a0a90"} 
[2026-09-23 18:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:14: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-09-23 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-23 18:14:03] 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-09-23 18: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-09-23 18:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282839296001,"66":14157,"107":206,"83":41984,"24":40,"16":22798691429515264,"45":1703908802137436160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282839296001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:14:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22798691429515264,"km_value":22798691429515.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703908802137436160,"description":"Unknown IO ID 45"} 
[2026-09-23 18:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282839296001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1703908802137436160}} 
[2026-09-23 18:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":192148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:14:03] local.INFO: GPS data processed {"connection_id":192148,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:14:03] local.INFO: Acknowledgment sent {"connection_id":192148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:14:09] local.INFO: TCP Data received {"connection_id":190613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:14:09] local.INFO: Processing buffer {"connection_id":190613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:14:09] local.INFO: IMEI packet received {"connection_id":190613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":190613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:14:31] local.INFO: TCP Data received {"connection_id":193483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:31] local.INFO: Processing buffer {"connection_id":193483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:31] local.INFO: IMEI packet received {"connection_id":193483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":193483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:14:34] local.INFO: TCP Data received {"connection_id":193483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:34] local.INFO: Processing buffer {"connection_id":193483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:14:34] local.INFO: IMEI packet received {"connection_id":193483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":193483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:14:34] local.INFO: TCP Data received {"connection_id":192148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a2db8012d17d380072149980041001d2c..."} 
[2026-09-23 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a2db8012d17d380072149980041001d2c..."} 
[2026-09-23 18:14:34] local.INFO: Processing buffer {"connection_id":192148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a2db8012d17d380072149980041001d2c..."} 
[2026-09-23 18:14:34] local.INFO: Packet analysis {"connection_id":192148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:34] local.INFO: Extracted packet for processing {"connection_id":192148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756536192,"raw_latitude":119622040,"longitude_deg":75.6536192,"latitude_deg":11.962204,"altitude":65,"angle":29,"satellites":44,"speed":40,"hex_longitude":"2d17d380","hex_latitude":"07214998","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282842624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22799146696048640,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711156782789476352,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790167363000,"timestamp_ms":1790167363000,"timestamp_seconds":1790167363,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a2db8"} 
[2026-09-23 18:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:14: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-09-23 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:14:34] 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-09-23 18: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-09-23 18:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282842624001,"66":13972,"107":206,"83":41984,"24":40,"16":22799146696048640,"45":1711156782789476352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282842624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:14:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22799146696048640,"km_value":22799146696048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711156782789476352,"description":"Unknown IO ID 45"} 
[2026-09-23 18:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282842624001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1711156782789476352}} 
[2026-09-23 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":192148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:14:35] local.INFO: GPS data processed {"connection_id":192148,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:14:35] local.INFO: Acknowledgment sent {"connection_id":192148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:14:35] local.INFO: TCP Data received {"connection_id":193483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a6850012d3629c006b16bc0000f009f31..."} 
[2026-09-23 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a6850012d3629c006b16bc0000f009f31..."} 
[2026-09-23 18:14:35] local.INFO: Processing buffer {"connection_id":193483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a6850012d3629c006b16bc0000f009f31..."} 
[2026-09-23 18:14:35] local.INFO: Packet analysis {"connection_id":193483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:35] local.INFO: Extracted packet for processing {"connection_id":193483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758524352,"raw_latitude":112290752,"longitude_deg":75.8524352,"latitude_deg":11.2290752,"altitude":15,"angle":159,"satellites":49,"speed":55,"hex_longitude":"2d3629c0","hex_latitude":"06b16bc0","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282846976001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406693730318286848,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3898780299912275968,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:35] 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-09-23 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790167378000,"timestamp_ms":1790167378000,"timestamp_seconds":1790167378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a6850"} 
[2026-09-23 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-09-23 18:14: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-09-23 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:14: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-09-23 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-09-23 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-09-23 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282846976001,"66":27876,"222":206,"81":23552,"24":55,"16":406693730318286848,"45":3898780299912275968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-23 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282846976001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406693730318286848,"km_value":406693730318286.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3898780299912275968,"description":"Unknown IO ID 45"} 
[2026-09-23 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282846976001,"power":27876,"unknown_222":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3898780299912275968}} 
[2026-09-23 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":193483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:14:35] local.INFO: GPS data processed {"connection_id":193483,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:14:35] local.INFO: Acknowledgment sent {"connection_id":193483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:14:36] local.INFO: TCP Data received {"connection_id":193483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a7fc0012d36368006b14a88000c009f2f..."} 
[2026-09-23 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a7fc0012d36368006b14a88000c009f2f..."} 
[2026-09-23 18:14:36] local.INFO: Processing buffer {"connection_id":193483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a7fc0012d36368006b14a88000c009f2f..."} 
[2026-09-23 18:14:36] local.INFO: Packet analysis {"connection_id":193483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:36] local.INFO: Extracted packet for processing {"connection_id":193483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758527616,"raw_latitude":112282248,"longitude_deg":75.8527616,"latitude_deg":11.2282248,"altitude":12,"angle":159,"satellites":47,"speed":62,"hex_longitude":"2d363680","hex_latitude":"06b14a88","is_valid_coordinates":true} 
[2026-09-23 18:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282848768001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406694172699918336,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902861687072210944,"note":"Value kept but may cause issues"} 
[2026-09-23 18:14:36] 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-09-23 18:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790167384000,"timestamp_ms":1790167384000,"timestamp_seconds":1790167384,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a7fc0"} 
[2026-09-23 18:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 18:14: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-09-23 18:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282848768001,"66":27865,"222":206,"81":23552,"24":62,"16":406694172699918336,"45":3902861687072210944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-23 18:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282848768001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:14:36] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-23 18:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406694172699918336,"km_value":406694172699918.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902861687072210944,"description":"Unknown IO ID 45"} 
[2026-09-23 18:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282848768001,"power":27865,"unknown_222":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3902861687072210944}} 
[2026-09-23 18:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":193483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:14:36] local.INFO: GPS data processed {"connection_id":193483,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:14:36] local.INFO: Acknowledgment sent {"connection_id":193483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:15:01] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: IMEI packet received {"connection_id":190803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":190803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:15:01] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:01] local.INFO: IMEI packet received {"connection_id":190803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":190803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:15:06] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:06] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:06] local.INFO: IMEI packet received {"connection_id":190803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":190803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:15:07] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a54c8012d17e6c007216a800047001d2d..."} 
[2026-09-23 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a54c8012d17e6c007216a800047001d2d..."} 
[2026-09-23 18:15:07] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a54c8012d17e6c007216a800047001d2d..."} 
[2026-09-23 18:15:07] local.INFO: Packet analysis {"connection_id":190803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:07] local.INFO: Extracted packet for processing {"connection_id":190803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756541120,"raw_latitude":119630464,"longitude_deg":75.654112,"latitude_deg":11.9630464,"altitude":71,"angle":29,"satellites":45,"speed":38,"hex_longitude":"2d17e6c0","hex_latitude":"07216a80","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282844928001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22799619142451200,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716856651069888512,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790167373000,"timestamp_ms":1790167373000,"timestamp_seconds":1790167373,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a54c8"} 
[2026-09-23 18:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 18:15: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-09-23 18: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-09-23 18:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282844928001,"66":14004,"107":206,"83":41984,"24":38,"16":22799619142451200,"45":1716856651069888512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-23 18:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282844928001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:15:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-23 18:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22799619142451200,"km_value":22799619142451.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716856651069888512,"description":"Unknown IO ID 45"} 
[2026-09-23 18:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282844928001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1716856651069888512}} 
[2026-09-23 18:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":190803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:15:07] local.INFO: GPS data processed {"connection_id":190803,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:15:07] local.INFO: Acknowledgment sent {"connection_id":190803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:15:11] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a6850012d17f180072179a80047002b2c..."} 
[2026-09-23 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a6850012d17f180072179a80047002b2c..."} 
[2026-09-23 18:15:11] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a6850012d17f180072179a80047002b2c..."} 
[2026-09-23 18:15:11] local.INFO: Packet analysis {"connection_id":190803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:11] local.INFO: Extracted packet for processing {"connection_id":190803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756543872,"raw_latitude":119634344,"longitude_deg":75.6543872,"latitude_deg":11.9634344,"altitude":71,"angle":43,"satellites":44,"speed":37,"hex_longitude":"2d17f180","hex_latitude":"072179a8","is_valid_coordinates":true} 
[2026-09-23 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282847488001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22799846775717888,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722275044373725184,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790167378000,"timestamp_ms":1790167378000,"timestamp_seconds":1790167378,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a6850"} 
[2026-09-23 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:15: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-09-23 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-23 18:15: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-09-23 18:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282847488001,"66":14276,"105":206,"83":41984,"24":37,"16":22799846775717888,"45":1722275044373725184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282847488001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:15:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22799846775717888,"km_value":22799846775717.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722275044373725184,"description":"Unknown IO ID 45"} 
[2026-09-23 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282847488001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1722275044373725184}} 
[2026-09-23 18:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":190803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:15:12] local.INFO: GPS data processed {"connection_id":190803,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:15:12] local.INFO: Acknowledgment sent {"connection_id":190803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:15:19] local.INFO: TCP Data received {"connection_id":193483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a9730012d36438006b12898000b009d30..."} 
[2026-09-23 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a9730012d36438006b12898000b009d30..."} 
[2026-09-23 18:15:19] local.INFO: Processing buffer {"connection_id":193483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a9730012d36438006b12898000b009d30..."} 
[2026-09-23 18:15:19] local.INFO: Packet analysis {"connection_id":193483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:19] local.INFO: Extracted packet for processing {"connection_id":193483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758530944,"raw_latitude":112273560,"longitude_deg":75.8530944,"latitude_deg":11.227356,"altitude":11,"angle":157,"satellites":48,"speed":61,"hex_longitude":"2d364380","hex_latitude":"06b12898","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282850304001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406694623671484416,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3906450493023094784,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790167390000,"timestamp_ms":1790167390000,"timestamp_seconds":1790167390,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a9730"} 
[2026-09-23 18:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:15: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-09-23 18: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-09-23 18:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282850304001,"66":27800,"119":206,"81":23552,"24":61,"16":406694623671484416,"45":3906450493023094784},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-09-23 18:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282850304001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406694623671484416,"km_value":406694623671484.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3906450493023094784,"description":"Unknown IO ID 45"} 
[2026-09-23 18:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282850304001,"power":27800,"unknown_119":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3906450493023094784}} 
[2026-09-23 18:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":193483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:15:19] local.INFO: GPS data processed {"connection_id":193483,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:15:19] local.INFO: Acknowledgment sent {"connection_id":193483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:15:31] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:31] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:31] local.INFO: IMEI packet received {"connection_id":190615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":190615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:15:34] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:34] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:15:34] local.INFO: IMEI packet received {"connection_id":190615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":190615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:15:35] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4bd780012d36e7c006afb960000d009e2d..."} 
[2026-09-23 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4bd780012d36e7c006afb960000d009e2d..."} 
[2026-09-23 18:15:35] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4bd780012d36e7c006afb960000d009e2d..."} 
[2026-09-23 18:15:35] local.INFO: Packet analysis {"connection_id":190615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4b"} 
[2026-09-23 18:15:35] local.INFO: Extracted packet for processing {"connection_id":190615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4b"} 
[2026-09-23 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758572992,"raw_latitude":112179552,"longitude_deg":75.8572992,"latitude_deg":11.2179552,"altitude":13,"angle":158,"satellites":45,"speed":55,"hex_longitude":"2d36e7c0","hex_latitude":"06afb960","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282871040001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406699601538580480,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3951979070482022400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:15:35] 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-09-23 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790167472000,"timestamp_ms":1790167472000,"timestamp_seconds":1790167472,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4bd780"} 
[2026-09-23 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-09-23 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:15: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-09-23 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-09-23 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-09-23 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282871040001,"66":27832,"85":206,"81":23552,"24":55,"16":406699601538580480,"45":3951979070482022400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-23 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282871040001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-23 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406699601538580480,"km_value":406699601538580.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3951979070482022400,"description":"Unknown IO ID 45"} 
[2026-09-23 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282871040001,"power":27832,"unknown_85":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3951979070482022400}} 
[2026-09-23 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":190615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:15:35] local.INFO: GPS data processed {"connection_id":190615,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:15:35] local.INFO: Acknowledgment sent {"connection_id":190615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:15:56] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:56] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:15:56] local.INFO: IMEI packet received {"connection_id":190804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":190804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:16:01] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:01] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:01] local.INFO: IMEI packet received {"connection_id":190804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":190804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:16:02] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4a9348012d180d8007219350004700252d..."} 
[2026-09-23 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4a9348012d180d8007219350004700252d..."} 
[2026-09-23 18:16:02] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4a9348012d180d8007219350004700252d..."} 
[2026-09-23 18:16:02] local.INFO: Packet analysis {"connection_id":190804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:16:02] local.INFO: Extracted packet for processing {"connection_id":190804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119640912,"longitude_deg":75.655104,"latitude_deg":11.9640912,"altitude":71,"angle":37,"satellites":45,"speed":33,"hex_longitude":"2d180d80","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-09-23 18:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282848768001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800314927153152,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725300900374358016,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167389000,"timestamp_ms":1790167389000,"timestamp_seconds":1790167389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4a9348"} 
[2026-09-23 18:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:16: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-09-23 18:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-23 18:16:02] 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-09-23 18:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282848768001,"66":14135,"105":206,"83":41984,"24":33,"16":22800314927153152,"45":1725300900374358016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282848768001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:16:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800314927153152,"km_value":22800314927153.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725300900374358016,"description":"Unknown IO ID 45"} 
[2026-09-23 18:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282848768001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1725300900374358016}} 
[2026-09-23 18:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":190804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:16:02] local.INFO: GPS data processed {"connection_id":190804,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:16:02] local.INFO: Acknowledgment sent {"connection_id":190804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:16:08] local.INFO: TCP Data received {"connection_id":190615,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4bf2d8012d36f5c006af9738000f009d2e..."} 
[2026-09-23 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4bf2d8012d36f5c006af9738000f009d2e..."} 
[2026-09-23 18:16:08] local.INFO: Processing buffer {"connection_id":190615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4bf2d8012d36f5c006af9738000f009d2e..."} 
[2026-09-23 18:16:08] local.INFO: Packet analysis {"connection_id":190615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4b"} 
[2026-09-23 18:16:08] local.INFO: Extracted packet for processing {"connection_id":190615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4b"} 
[2026-09-23 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758576576,"raw_latitude":112170808,"longitude_deg":75.8576576,"latitude_deg":11.2170808,"altitude":15,"angle":157,"satellites":46,"speed":50,"hex_longitude":"2d36f5c0","hex_latitude":"06af9738","is_valid_coordinates":true} 
[2026-09-23 18:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282872832001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406700056805113856,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3956341932618768384,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:08] 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-09-23 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167479000,"timestamp_ms":1790167479000,"timestamp_seconds":1790167479,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4bf2d8"} 
[2026-09-23 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:16: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-09-23 18:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 18:16: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-09-23 18:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282872832001,"66":27821,"6":206,"81":49664,"24":50,"16":406700056805113856,"45":3956341932618768384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282872832001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:16:08] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406700056805113856,"km_value":406700056805113.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3956341932618768384,"description":"Unknown IO ID 45"} 
[2026-09-23 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282872832001,"power":27821,"unknown_6":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":3956341932618768384}} 
[2026-09-23 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:16:08] local.INFO: GPS data processed {"connection_id":190615,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:16:08] local.INFO: Acknowledgment sent {"connection_id":190615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:16:31] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:31] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:31] local.INFO: IMEI packet received {"connection_id":190616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":190616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:16:33] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4ac610012d1821800721b1d0004a00232d..."} 
[2026-09-23 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4ac610012d1821800721b1d0004a00232d..."} 
[2026-09-23 18:16:33] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4ac610012d1821800721b1d0004a00232d..."} 
[2026-09-23 18:16:33] local.INFO: Packet analysis {"connection_id":190804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:16:33] local.INFO: Extracted packet for processing {"connection_id":190804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648720,"longitude_deg":75.655616,"latitude_deg":11.964872,"altitude":74,"angle":35,"satellites":45,"speed":20,"hex_longitude":"2d182180","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-23 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282851584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800765898719232,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723937792,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167402000,"timestamp_ms":1790167402000,"timestamp_seconds":1790167402,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4ac610"} 
[2026-09-23 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:16: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-09-23 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 18:16:33] 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-09-23 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282851584001,"66":14265,"105":206,"83":41984,"24":20,"16":22800765898719232,"45":1733182199723937792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282851584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800765898719232,"km_value":22800765898719.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723937792,"description":"Unknown IO ID 45"} 
[2026-09-23 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282851584001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1733182199723937792}} 
[2026-09-23 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":190804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:16:33] local.INFO: GPS data processed {"connection_id":190804,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:16:33] local.INFO: Acknowledgment sent {"connection_id":190804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:16:34] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:34] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:16:34] local.INFO: IMEI packet received {"connection_id":190616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":190616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:16:35] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4c1600012d37048006af73880010009e2e..."} 
[2026-09-23 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4c1600012d37048006af73880010009e2e..."} 
[2026-09-23 18:16:35] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4c1600012d37048006af73880010009e2e..."} 
[2026-09-23 18:16:35] local.INFO: Packet analysis {"connection_id":190616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:16:35] local.INFO: Extracted packet for processing {"connection_id":190616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758580352,"raw_latitude":112161672,"longitude_deg":75.8580352,"latitude_deg":11.2161672,"altitude":16,"angle":158,"satellites":46,"speed":42,"hex_longitude":"2d370480","hex_latitude":"06af7388","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282874624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406700533546483712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3960282582290479104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:16:35] 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-09-23 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790167488000,"timestamp_ms":1790167488000,"timestamp_seconds":1790167488,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4c1600"} 
[2026-09-23 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-09-23 18:16: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-09-23 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:16: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-09-23 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-09-23 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-09-23 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282874624001,"66":27767,"6":206,"81":49664,"24":42,"16":406700533546483712,"45":3960282582290479104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282874624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:16:35] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406700533546483712,"km_value":406700533546483.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3960282582290479104,"description":"Unknown IO ID 45"} 
[2026-09-23 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282874624001,"power":27767,"unknown_6":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":3960282582290479104}} 
[2026-09-23 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":190616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:16:35] local.INFO: GPS data processed {"connection_id":190616,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:16:35] local.INFO: Acknowledgment sent {"connection_id":190616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:16:56] local.INFO: TCP Data received {"connection_id":193485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:56] local.INFO: Processing buffer {"connection_id":193485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:16:56] local.INFO: IMEI packet received {"connection_id":193485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:17:01] local.INFO: TCP Data received {"connection_id":193485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:01] local.INFO: Processing buffer {"connection_id":193485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:01] local.INFO: IMEI packet received {"connection_id":193485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":193485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:17:01] local.INFO: TCP Data received {"connection_id":193485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4ad1c8012d1823800721b5a8004a00042d..."} 
[2026-09-23 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4ad1c8012d1823800721b5a8004a00042d..."} 
[2026-09-23 18:17:01] local.INFO: Processing buffer {"connection_id":193485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4ad1c8012d1823800721b5a8004a00042d..."} 
[2026-09-23 18:17:01] local.INFO: Packet analysis {"connection_id":193485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:17:01] local.INFO: Extracted packet for processing {"connection_id":193485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4a"} 
[2026-09-23 18:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649704,"longitude_deg":75.6556672,"latitude_deg":11.9649704,"altitude":74,"angle":4,"satellites":45,"speed":10,"hex_longitude":"2d182380","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-23 18:17: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-09-23 18:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282854912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800821733294080,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260149760,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790167405000,"timestamp_ms":1790167405000,"timestamp_seconds":1790167405,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4ad1c8"} 
[2026-09-23 18:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:17: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-09-23 18:17: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-09-23 18:17: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-09-23 18:17: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-09-23 18:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282854912001,"66":14048,"105":206,"83":41984,"24":10,"16":22800821733294080,"45":1738811699260149760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282854912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:17:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800821733294080,"km_value":22800821733294.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260149760,"description":"Unknown IO ID 45"} 
[2026-09-23 18:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282854912001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738811699260149760}} 
[2026-09-23 18:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":193485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:17:02] local.INFO: GPS data processed {"connection_id":193485,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:17:02] local.INFO: Acknowledgment sent {"connection_id":193485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:17:06] local.INFO: TCP Data received {"connection_id":190616,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4c3540012d37130006af52200011009a2f..."} 
[2026-09-23 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4c3540012d37130006af52200011009a2f..."} 
[2026-09-23 18:17:06] local.INFO: Processing buffer {"connection_id":190616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4c3540012d37130006af52200011009a2f..."} 
[2026-09-23 18:17:06] local.INFO: Packet analysis {"connection_id":190616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:17:06] local.INFO: Extracted packet for processing {"connection_id":190616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758584064,"raw_latitude":112153120,"longitude_deg":75.8584064,"latitude_deg":11.215312,"altitude":17,"angle":154,"satellites":47,"speed":49,"hex_longitude":"2d371300","hex_latitude":"06af5220","is_valid_coordinates":true} 
[2026-09-23 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282876928001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406700984518049792,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3964434338194622464,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790167496000,"timestamp_ms":1790167496000,"timestamp_seconds":1790167496,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4c3540"} 
[2026-09-23 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:17: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-09-23 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282876928001,"66":27767,"6":206,"81":49664,"24":49,"16":406700984518049792,"45":3964434338194622464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282876928001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:17:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406700984518049792,"km_value":406700984518049.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3964434338194622464,"description":"Unknown IO ID 45"} 
[2026-09-23 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282876928001,"power":27767,"unknown_6":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":3964434338194622464}} 
[2026-09-23 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":190616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:17:06] local.INFO: GPS data processed {"connection_id":190616,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:17:06] local.INFO: Acknowledgment sent {"connection_id":190616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:17:30] local.INFO: TCP Data received {"connection_id":193486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:30] local.INFO: Processing buffer {"connection_id":193486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:30] local.INFO: IMEI packet received {"connection_id":193486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":193486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:17:33] local.INFO: TCP Data received {"connection_id":193485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4d4e80012d1821800721b468004d00c32d..."} 
[2026-09-23 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4d4e80012d1821800721b468004d00c32d..."} 
[2026-09-23 18:17:33] local.INFO: Processing buffer {"connection_id":193485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4d4e80012d1821800721b468004d00c32d..."} 
[2026-09-23 18:17:33] local.INFO: Packet analysis {"connection_id":193485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:17:33] local.INFO: Extracted packet for processing {"connection_id":193485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":77,"angle":195,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282892032001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800959172247552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981269504,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167568000,"timestamp_ms":1790167568000,"timestamp_seconds":1790167568,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4d4e80"} 
[2026-09-23 18:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:17: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-09-23 18: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-23 18:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282892032001,"66":12885,"105":206,"83":41984,"24":0,"16":22800959172247552,"45":1739163542981269504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282892032001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:17:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800959172247552,"km_value":22800959172247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981269504,"description":"Unknown IO ID 45"} 
[2026-09-23 18:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282892032001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981269504}} 
[2026-09-23 18:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":193485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:17:33] local.INFO: GPS data processed {"connection_id":193485,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:17:33] local.INFO: Acknowledgment sent {"connection_id":193485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:17:33] local.INFO: TCP Data received {"connection_id":193486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:33] local.INFO: Processing buffer {"connection_id":193486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:33] local.INFO: IMEI packet received {"connection_id":193486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":193486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:17:36] local.INFO: TCP Data received {"connection_id":193486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:36] local.INFO: Processing buffer {"connection_id":193486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:17:36] local.INFO: IMEI packet received {"connection_id":193486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":193486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:17:38] local.INFO: TCP Data received {"connection_id":193486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4c5098012d37228006af32a8001100992f..."} 
[2026-09-23 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4c5098012d37228006af32a8001100992f..."} 
[2026-09-23 18:17:38] local.INFO: Processing buffer {"connection_id":193486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4c5098012d37228006af32a8001100992f..."} 
[2026-09-23 18:17:38] local.INFO: Packet analysis {"connection_id":193486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:17:38] local.INFO: Extracted packet for processing {"connection_id":193486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4c"} 
[2026-09-23 18:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758588032,"raw_latitude":112145064,"longitude_deg":75.8588032,"latitude_deg":11.2145064,"altitude":17,"angle":153,"satellites":47,"speed":54,"hex_longitude":"2d372280","hex_latitude":"06af32a8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282878976001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406701418309746688,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3968515725354737664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:17:38] 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-09-23 18:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790167503000,"timestamp_ms":1790167503000,"timestamp_seconds":1790167503,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4c5098"} 
[2026-09-23 18:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:17: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-09-23 18:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:17: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-09-23 18: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-09-23 18:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282878976001,"66":27832,"6":206,"81":49664,"24":54,"16":406701418309746688,"45":3968515725354737664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282878976001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:17:38] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406701418309746688,"km_value":406701418309746.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3968515725354737664,"description":"Unknown IO ID 45"} 
[2026-09-23 18:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282878976001,"power":27832,"unknown_6":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":3968515725354737664}} 
[2026-09-23 18:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":193486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:17:38] local.INFO: GPS data processed {"connection_id":193486,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:17:38] local.INFO: Acknowledgment sent {"connection_id":193486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:17:56] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:56] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:17:56] local.INFO: IMEI packet received {"connection_id":192150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":192150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:18:01] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:01] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:01] local.INFO: IMEI packet received {"connection_id":192150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":192150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:18:01] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4da088012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4da088012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:01] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4da088012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:01] local.INFO: Packet analysis {"connection_id":192150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:18:01] local.INFO: Extracted packet for processing {"connection_id":192150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":77,"angle":195,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282897408001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800959172247552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790167589000,"timestamp_ms":1790167589000,"timestamp_seconds":1790167589,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4da088"} 
[2026-09-23 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:18: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-09-23 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-23 18:18: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-09-23 18:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282897408001,"66":12863,"105":206,"83":41984,"24":0,"16":22800959172247552,"45":1738811699260319744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282897408001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:18:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800959172247552,"km_value":22800959172247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282897408001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-09-23 18:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":192150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:18:02] local.INFO: GPS data processed {"connection_id":192150,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:18:02] local.INFO: Acknowledgment sent {"connection_id":192150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:18:11] local.INFO: TCP Data received {"connection_id":193486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e0618012d37eb0006adf350000b009531..."} 
[2026-09-23 18:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e0618012d37eb0006adf350000b009531..."} 
[2026-09-23 18:18:11] local.INFO: Processing buffer {"connection_id":193486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e0618012d37eb0006adf350000b009531..."} 
[2026-09-23 18:18:11] local.INFO: Packet analysis {"connection_id":193486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:18:11] local.INFO: Extracted packet for processing {"connection_id":193486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758639360,"raw_latitude":112063312,"longitude_deg":75.863936,"latitude_deg":11.2063312,"altitude":11,"angle":149,"satellites":49,"speed":29,"hex_longitude":"2d37eb00","hex_latitude":"06adf350","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282905088001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406706078349262848,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023614452024850432,"note":"Value kept but may cause issues"} 
[2026-09-23 18: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-09-23 18:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790167615000,"timestamp_ms":1790167615000,"timestamp_seconds":1790167615,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e0618"} 
[2026-09-23 18:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:18: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-09-23 18: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-09-23 18:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282905088001,"66":27843,"6":206,"81":49664,"24":29,"16":406706078349262848,"45":4023614452024850432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282905088001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:18:11] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406706078349262848,"km_value":406706078349262.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023614452024850432,"description":"Unknown IO ID 45"} 
[2026-09-23 18:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282905088001,"power":27843,"unknown_6":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4023614452024850432}} 
[2026-09-23 18:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":193486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:18:11] local.INFO: GPS data processed {"connection_id":193486,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:18:11] local.INFO: Acknowledgment sent {"connection_id":193486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:18:30] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:30] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:30] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:18:33] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4df290012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4df290012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:33] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4df290012d1821800721b468004d00c32c..."} 
[2026-09-23 18:18:33] local.INFO: Packet analysis {"connection_id":192150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:18:33] local.INFO: Extracted packet for processing {"connection_id":192150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4d"} 
[2026-09-23 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":77,"angle":195,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282902784001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800959172247552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167610000,"timestamp_ms":1790167610000,"timestamp_seconds":1790167610,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4df290"} 
[2026-09-23 18:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:18: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-09-23 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 18:18:33] 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-09-23 18:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282902784001,"66":12841,"105":206,"83":41984,"24":0,"16":22800959172247552,"45":1738811699260319744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282902784001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800959172247552,"km_value":22800959172247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282902784001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-09-23 18:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":192150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:18:33] local.INFO: GPS data processed {"connection_id":192150,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:18:33] local.INFO: Acknowledgment sent {"connection_id":192150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:18:36] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:36] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:18:36] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:18:37] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e4498012d37fdc006add598000b009333..."} 
[2026-09-23 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e4498012d37fdc006add598000b009333..."} 
[2026-09-23 18:18:37] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e4498012d37fdc006add598000b009333..."} 
[2026-09-23 18:18:37] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:18:37] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758644160,"raw_latitude":112055704,"longitude_deg":75.864416,"latitude_deg":11.2055704,"altitude":11,"angle":147,"satellites":51,"speed":20,"hex_longitude":"2d37fdc0","hex_latitude":"06add598","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282909440001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406706512140959744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4029314320301248512,"note":"Value kept but may cause issues"} 
[2026-09-23 18:18:37] 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-09-23 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167631000,"timestamp_ms":1790167631000,"timestamp_seconds":1790167631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e4498"} 
[2026-09-23 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-09-23 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 18:18: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-09-23 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-09-23 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-09-23 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282909440001,"66":27865,"6":206,"81":49664,"24":20,"16":406706512140959744,"45":4029314320301248512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-23 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282909440001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:18:37] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 18:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406706512140959744,"km_value":406706512140959.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4029314320301248512,"description":"Unknown IO ID 45"} 
[2026-09-23 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282909440001,"power":27865,"unknown_6":206,"unknown_81":49664,"ignition":20,"odometer":null,"unknown_45":4029314320301248512}} 
[2026-09-23 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:18:37] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:18:37] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:18:57] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:57] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:18:57] local.INFO: IMEI packet received {"connection_id":193487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":193487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:19:01] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:01] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:01] local.INFO: IMEI packet received {"connection_id":193487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":193487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:19:02] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e4498012d1821800721b468004d00c32b..."} 
[2026-09-23 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e4498012d1821800721b468004d00c32b..."} 
[2026-09-23 18:19:02] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e4498012d1821800721b468004d00c32b..."} 
[2026-09-23 18:19:02] local.INFO: Packet analysis {"connection_id":193487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:02] local.INFO: Extracted packet for processing {"connection_id":193487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":77,"angle":195,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282908160001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800959172247552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167631000,"timestamp_ms":1790167631000,"timestamp_seconds":1790167631,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e4498"} 
[2026-09-23 18:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:19: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-09-23 18: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":41,"data_length":795,"current_offset":136} 
[2026-09-23 18:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282908160001,"66":12841,"105":206,"83":41984,"24":0,"16":22800959172247552,"45":1738811699260319744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282908160001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800959172247552,"km_value":22800959172247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282908160001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-09-23 18:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":193487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:19:02] local.INFO: GPS data processed {"connection_id":193487,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:19:02] local.INFO: Acknowledgment sent {"connection_id":193487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:19:08] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e8ed0012d38114006adb7a0000b009332..."} 
[2026-09-23 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e8ed0012d38114006adb7a0000b009332..."} 
[2026-09-23 18:19:08] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e8ed0012d38114006adb7a0000b009332..."} 
[2026-09-23 18:19:08] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:08] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758649152,"raw_latitude":112048032,"longitude_deg":75.8649152,"latitude_deg":11.2048032,"altitude":11,"angle":147,"satellites":50,"speed":17,"hex_longitude":"2d381140","hex_latitude":"06adb7a0","is_valid_coordinates":true} 
[2026-09-23 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282913536001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406706954522591232,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4034591976112625664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:08] 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-09-23 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167650000,"timestamp_ms":1790167650000,"timestamp_seconds":1790167650,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e8ed0"} 
[2026-09-23 18:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:19: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-09-23 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:19: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-09-23 18:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282913536001,"66":27843,"185":206,"81":49664,"24":17,"16":406706954522591232,"45":4034591976112625664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-23 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282913536001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:19:08] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 18:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406706954522591232,"km_value":406706954522591.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4034591976112625664,"description":"Unknown IO ID 45"} 
[2026-09-23 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282913536001,"power":27843,"unknown_185":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4034591976112625664}} 
[2026-09-23 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:19:08] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:19:08] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:19:33] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e96a0012d1822400721b420004e00c32d..."} 
[2026-09-23 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e96a0012d1822400721b420004e00c32d..."} 
[2026-09-23 18:19:33] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e96a0012d1822400721b420004e00c32d..."} 
[2026-09-23 18:19:33] local.INFO: Packet analysis {"connection_id":193487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:33] local.INFO: Extracted packet for processing {"connection_id":193487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649312,"longitude_deg":75.6556352,"latitude_deg":11.9649312,"altitude":78,"angle":195,"satellites":45,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-09-23 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282913536001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800967762182144,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167652000,"timestamp_ms":1790167652000,"timestamp_seconds":1790167652,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e96a0"} 
[2026-09-23 18:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:19: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-09-23 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 18:19: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-09-23 18:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282913536001,"66":12819,"105":206,"83":41984,"24":1,"16":22800967762182144,"45":1738811699260319744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282913536001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800967762182144,"km_value":22800967762182.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282913536001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-09-23 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":193487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:19:34] local.INFO: GPS data processed {"connection_id":193487,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:19:34] local.INFO: Acknowledgment sent {"connection_id":193487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:19:36] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:36] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:36] local.INFO: IMEI packet received {"connection_id":190618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":190618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:19:38] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:38] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:19:38] local.INFO: IMEI packet received {"connection_id":190618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":190618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:19:39] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4ed520012d38254006ad9920000c00932f..."} 
[2026-09-23 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4ed520012d38254006ad9920000c00932f..."} 
[2026-09-23 18:19:39] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4ed520012d38254006ad9920000c00932f..."} 
[2026-09-23 18:19:39] local.INFO: Packet analysis {"connection_id":190618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:39] local.INFO: Extracted packet for processing {"connection_id":190618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758654272,"raw_latitude":112040224,"longitude_deg":75.8654272,"latitude_deg":11.2040224,"altitude":12,"angle":147,"satellites":47,"speed":22,"hex_longitude":"2d382540","hex_latitude":"06ad9920","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282918400001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406707405494157312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4040080738156519424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:19:39] 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-09-23 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790167668000,"timestamp_ms":1790167668000,"timestamp_seconds":1790167668,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4ed520"} 
[2026-09-23 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-09-23 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 18:19: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-09-23 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-09-23 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-09-23 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282918400001,"66":27865,"185":206,"81":49664,"24":22,"16":406707405494157312,"45":4040080738156519424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-23 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282918400001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:19:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 18:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406707405494157312,"km_value":406707405494157.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4040080738156519424,"description":"Unknown IO ID 45"} 
[2026-09-23 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282918400001,"power":27865,"unknown_185":206,"unknown_81":49664,"ignition":22,"odometer":null,"unknown_45":4040080738156519424}} 
[2026-09-23 18:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":190618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:19:39] local.INFO: GPS data processed {"connection_id":190618,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:19:39] local.INFO: Acknowledgment sent {"connection_id":190618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:19:42] local.INFO: TCP Data received {"connection_id":190617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:19:42] local.INFO: Processing buffer {"connection_id":190617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:19:42] local.INFO: IMEI packet received {"connection_id":190617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":190617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:19:56] local.INFO: TCP Data received {"connection_id":193488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:56] local.INFO: Processing buffer {"connection_id":193488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:56] local.INFO: IMEI packet received {"connection_id":193488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":193488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:19:57] local.INFO: TCP Data received {"connection_id":193488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:57] local.INFO: Processing buffer {"connection_id":193488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:19:57] local.INFO: IMEI packet received {"connection_id":193488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":193488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:20:01] local.INFO: TCP Data received {"connection_id":193488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:01] local.INFO: Processing buffer {"connection_id":193488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:01] local.INFO: IMEI packet received {"connection_id":193488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":193488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:20:02] local.INFO: TCP Data received {"connection_id":193488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4e9e70012d1821c00721b3c0004e00d62e..."} 
[2026-09-23 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4e9e70012d1821c00721b3c0004e00d62e..."} 
[2026-09-23 18:20:02] local.INFO: Processing buffer {"connection_id":193488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4e9e70012d1821c00721b3c0004e00d62e..."} 
[2026-09-23 18:20:02] local.INFO: Packet analysis {"connection_id":193488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:20:02] local.INFO: Extracted packet for processing {"connection_id":193488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649216,"longitude_deg":75.6556224,"latitude_deg":11.9649216,"altitude":78,"angle":214,"satellites":46,"speed":2,"hex_longitude":"2d1821c0","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282918912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800976352116736,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492834304,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167654000,"timestamp_ms":1790167654000,"timestamp_seconds":1790167654,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4e9e70"} 
[2026-09-23 18:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:20: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-09-23 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3461130864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503947542069248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5501261299093873344,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3026714701,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":88,"raw_value":20548511573475328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428944332284281643,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750505519554997,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,1,160,68,45,128,180,77,43,10,66,242,44,240,63,227,206,33,4,113,205,252,34,88,239,50,2,81,7,73,164,85,69,96],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-23 18:20:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620706932999389184,"timestamp_seconds":5620706932999389.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282918912001,"66":12765,"105":206,"83":41984,"24":2,"16":22800976352116736,"45":1739022805492834304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282918912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800976352116736,"km_value":22800976352116.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492834304,"description":"Unknown IO ID 45"} 
[2026-09-23 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282918912001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739022805492834304}} 
[2026-09-23 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":193488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:20:02] local.INFO: GPS data processed {"connection_id":193488,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:20:02] local.INFO: Acknowledgment sent {"connection_id":193488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:20:09] local.INFO: TCP Data received {"connection_id":190806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:20:09] local.INFO: Processing buffer {"connection_id":190806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:20:09] local.INFO: IMEI packet received {"connection_id":190806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":190806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:20:10] local.INFO: TCP Data received {"connection_id":190618,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4f07e8012d38398006ad78b0000c00952f..."} 
[2026-09-23 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4f07e8012d38398006ad78b0000c00952f..."} 
[2026-09-23 18:20:10] local.INFO: Processing buffer {"connection_id":190618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4f07e8012d38398006ad78b0000c00952f..."} 
[2026-09-23 18:20:10] local.INFO: Packet analysis {"connection_id":190618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:20:10] local.INFO: Extracted packet for processing {"connection_id":190618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758659456,"raw_latitude":112031920,"longitude_deg":75.8659456,"latitude_deg":11.203192,"altitude":12,"angle":149,"satellites":47,"speed":37,"hex_longitude":"2d383980","hex_latitude":"06ad78b0","is_valid_coordinates":true} 
[2026-09-23 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282923008001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406707877940559872,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045710237688733696,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:10] 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-09-23 18:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790167681000,"timestamp_ms":1790167681000,"timestamp_seconds":1790167681,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4f07e8"} 
[2026-09-23 18:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:20: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-09-23 18:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282923008001,"66":27691,"185":206,"81":49664,"24":37,"16":406707877940559872,"45":4045710237688733696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-23 18:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282923008001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:20:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-23 18:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406707877940559872,"km_value":406707877940559.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045710237688733696,"description":"Unknown IO ID 45"} 
[2026-09-23 18:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282923008001,"power":27691,"unknown_185":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4045710237688733696}} 
[2026-09-23 18:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":190618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:20:10] local.INFO: GPS data processed {"connection_id":190618,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:20:10] local.INFO: Acknowledgment sent {"connection_id":190618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:20:31] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:31] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:31] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:20:33] local.INFO: TCP Data received {"connection_id":193488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4ef078012d1821800721b350004e00d82c..."} 
[2026-09-23 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4ef078012d1821800721b350004e00d82c..."} 
[2026-09-23 18:20:33] local.INFO: Processing buffer {"connection_id":193488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4ef078012d1821800721b350004e00d82c..."} 
[2026-09-23 18:20:33] local.INFO: Packet analysis {"connection_id":193488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:20:33] local.INFO: Extracted packet for processing {"connection_id":193488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4e"} 
[2026-09-23 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649104,"longitude_deg":75.655616,"latitude_deg":11.9649104,"altitude":78,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282919424001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800984942051328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004454400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167675000,"timestamp_ms":1790167675000,"timestamp_seconds":1790167675,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4ef078"} 
[2026-09-23 18:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:20: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-09-23 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-23 18:20:33] 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-09-23 18: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-09-23 18:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282919424001,"66":12798,"105":206,"83":41984,"24":0,"16":22800984942051328,"45":1738882068004454400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282919424001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:20:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800984942051328,"km_value":22800984942051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004454400,"description":"Unknown IO ID 45"} 
[2026-09-23 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282919424001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004454400}} 
[2026-09-23 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":193488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:20:33] local.INFO: GPS data processed {"connection_id":193488,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:20:33] local.INFO: Acknowledgment sent {"connection_id":193488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:20:34] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:34] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:20:34] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:20:35] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce505bc0012d38ac8006abee10000800a430..."} 
[2026-09-23 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce505bc0012d38ac8006abee10000800a430..."} 
[2026-09-23 18:20:35] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce505bc0012d38ac8006abee10000800a430..."} 
[2026-09-23 18:20:35] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:20:35] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758688896,"raw_latitude":111930896,"longitude_deg":75.8688896,"latitude_deg":11.1930896,"altitude":8,"angle":164,"satellites":48,"speed":51,"hex_longitude":"2d38ac80","hex_latitude":"06abee10","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282946816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406712984656674816,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4081035347240314880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:20: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-09-23 18:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790167768000,"timestamp_ms":1790167768000,"timestamp_seconds":1790167768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce505bc0"} 
[2026-09-23 18:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:20: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-09-23 18: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-09-23 18:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282946816001,"66":27800,"164":206,"81":23296,"24":51,"16":406712984656674816,"45":4081035347240314880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-09-23 18:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282946816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:20:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-23 18:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406712984656674816,"km_value":406712984656674.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4081035347240314880,"description":"Unknown IO ID 45"} 
[2026-09-23 18:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282946816001,"power":27800,"unknown_164":206,"unknown_81":23296,"ignition":51,"odometer":null,"unknown_45":4081035347240314880}} 
[2026-09-23 18:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:20:35] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:20:35] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:20:56] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:56] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:20:56] local.INFO: IMEI packet received {"connection_id":190807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":190807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:21:00] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:00] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:00] local.INFO: IMEI packet received {"connection_id":190807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":190807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:21:01] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:01] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:01] local.INFO: IMEI packet received {"connection_id":190807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":190807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:21:02] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4f4280012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4f4280012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:02] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4f4280012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:02] local.INFO: Packet analysis {"connection_id":190807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:02] local.INFO: Extracted packet for processing {"connection_id":190807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649104,"longitude_deg":75.655616,"latitude_deg":11.9649104,"altitude":78,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282924800001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800984942051328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260248064,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167696000,"timestamp_ms":1790167696000,"timestamp_seconds":1790167696,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4f4280"} 
[2026-09-23 18:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:21: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-09-23 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 18:21: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-09-23 18: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-09-23 18:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282924800001,"66":12798,"105":206,"83":41984,"24":0,"16":22800984942051328,"45":1738811699260248064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282924800001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800984942051328,"km_value":22800984942051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260248064,"description":"Unknown IO ID 45"} 
[2026-09-23 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282924800001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260248064}} 
[2026-09-23 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":190807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:21:02] local.INFO: GPS data processed {"connection_id":190807,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:21:02] local.INFO: Acknowledgment sent {"connection_id":190807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:21:07] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4f9488012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4f9488012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:07] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4f9488012d1821800721b350004e00d82b..."} 
[2026-09-23 18:21:07] local.INFO: Packet analysis {"connection_id":190807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:07] local.INFO: Extracted packet for processing {"connection_id":190807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649104,"longitude_deg":75.655616,"latitude_deg":11.9649104,"altitude":78,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282930176001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800984942051328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260248064,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790167717000,"timestamp_ms":1790167717000,"timestamp_seconds":1790167717,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4f9488"} 
[2026-09-23 18:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-23 18:21: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-09-23 18: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-09-23 18:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282930176001,"66":12711,"105":206,"83":41984,"24":0,"16":22800984942051328,"45":1738811699260248064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282930176001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800984942051328,"km_value":22800984942051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260248064,"description":"Unknown IO ID 45"} 
[2026-09-23 18:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282930176001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260248064}} 
[2026-09-23 18:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":190807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:21:07] local.INFO: GPS data processed {"connection_id":190807,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:21:07] local.INFO: Acknowledgment sent {"connection_id":190807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:21:09] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce507718012d38b5c006abcb90000800a42e..."} 
[2026-09-23 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce507718012d38b5c006abcb90000800a42e..."} 
[2026-09-23 18:21:09] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce507718012d38b5c006abcb90000800a42e..."} 
[2026-09-23 18:21:09] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:21:09] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758691264,"raw_latitude":111922064,"longitude_deg":75.8691264,"latitude_deg":11.1922064,"altitude":8,"angle":164,"satellites":46,"speed":54,"hex_longitude":"2d38b5c0","hex_latitude":"06abcb90","is_valid_coordinates":true} 
[2026-09-23 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282948608001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406713427038306304,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4083779728260861952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790167775000,"timestamp_ms":1790167775000,"timestamp_seconds":1790167775,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce507718"} 
[2026-09-23 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 18:21: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-09-23 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282948608001,"66":27865,"163":206,"81":23296,"24":54,"16":406713427038306304,"45":4083779728260861952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-23 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282948608001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:21:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 18:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406713427038306304,"km_value":406713427038306.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4083779728260861952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282948608001,"power":27865,"unknown_163":206,"unknown_81":23296,"ignition":54,"odometer":null,"unknown_45":4083779728260861952}} 
[2026-09-23 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:21:09] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:21:09] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:21:31] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:31] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:31] local.INFO: IMEI packet received {"connection_id":190808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":190808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:21:32] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:32] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:32] local.INFO: IMEI packet received {"connection_id":190808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":190808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:21:37] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:37] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:21:37] local.INFO: IMEI packet received {"connection_id":190808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":190808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:21:38] local.INFO: TCP Data received {"connection_id":190807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce4fe690012d1821800721b350004e00d82d..."} 
[2026-09-23 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce4fe690012d1821800721b350004e00d82d..."} 
[2026-09-23 18:21:38] local.INFO: Processing buffer {"connection_id":190807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce4fe690012d1821800721b350004e00d82d..."} 
[2026-09-23 18:21:38] local.INFO: Packet analysis {"connection_id":190807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:38] local.INFO: Extracted packet for processing {"connection_id":190807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce4f"} 
[2026-09-23 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649104,"longitude_deg":75.655616,"latitude_deg":11.9649104,"altitude":78,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-09-23 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282935552001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22800984942051328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260248064,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790167738000,"timestamp_ms":1790167738000,"timestamp_seconds":1790167738,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce4fe690"} 
[2026-09-23 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 18:21: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-09-23 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282935552001,"66":12711,"105":206,"83":41984,"24":0,"16":22800984942051328,"45":1738811699260248064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282935552001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:21:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22800984942051328,"km_value":22800984942051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260248064,"description":"Unknown IO ID 45"} 
[2026-09-23 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282935552001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260248064}} 
[2026-09-23 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":190807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:21:38] local.INFO: GPS data processed {"connection_id":190807,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:21:38] local.INFO: Acknowledgment sent {"connection_id":190807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:21:40] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce509270012d38bfc006aba558000800a533..."} 
[2026-09-23 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce509270012d38bfc006aba558000800a533..."} 
[2026-09-23 18:21:40] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce509270012d38bfc006aba558000800a533..."} 
[2026-09-23 18:21:40] local.INFO: Packet analysis {"connection_id":190808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:21:40] local.INFO: Extracted packet for processing {"connection_id":190808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758693824,"raw_latitude":111912280,"longitude_deg":75.8693824,"latitude_deg":11.191228,"altitude":8,"angle":165,"satellites":51,"speed":60,"hex_longitude":"2d38bfc0","hex_latitude":"06aba558","is_valid_coordinates":true} 
[2026-09-23 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282950400001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406713916664578048,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4086383371793174528,"note":"Value kept but may cause issues"} 
[2026-09-23 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790167782000,"timestamp_ms":1790167782000,"timestamp_seconds":1790167782,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce509270"} 
[2026-09-23 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:21: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-09-23 18:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282950400001,"66":27876,"163":206,"81":23296,"24":60,"16":406713916664578048,"45":4086383371793174528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-23 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282950400001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406713916664578048,"km_value":406713916664578.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4086383371793174528,"description":"Unknown IO ID 45"} 
[2026-09-23 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282950400001,"power":27876,"unknown_163":206,"unknown_81":23296,"ignition":60,"odometer":null,"unknown_45":4086383371793174528}} 
[2026-09-23 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":190808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:21:40] local.INFO: GPS data processed {"connection_id":190808,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:21:40] local.INFO: Acknowledgment sent {"connection_id":190808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:21:56] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:56] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:21:56] local.INFO: IMEI packet received {"connection_id":190809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":190809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:22:01] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:22:01] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:22:01] local.INFO: IMEI packet received {"connection_id":190809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":190809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:22:02] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce503898012d1820400721b190004d00d12b..."} 
[2026-09-23 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce503898012d1820400721b190004d00d12b..."} 
[2026-09-23 18:22:02] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce503898012d1820400721b190004d00d12b..."} 
[2026-09-23 18:22:02] local.INFO: Packet analysis {"connection_id":190809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:22:02] local.INFO: Extracted packet for processing {"connection_id":190809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282940928001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260248064,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167759000,"timestamp_ms":1790167759000,"timestamp_seconds":1790167759,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce503898"} 
[2026-09-23 18:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:22: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-09-23 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 18:22:02] 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-09-23 18: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-09-23 18:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282940928001,"66":12722,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738811699260248064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282940928001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:22:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260248064,"description":"Unknown IO ID 45"} 
[2026-09-23 18:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282940928001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260248064}} 
[2026-09-23 18:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":190809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:22:02] local.INFO: GPS data processed {"connection_id":190809,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:22:02] local.INFO: Acknowledgment sent {"connection_id":190809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:22:30] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:30] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:30] local.INFO: IMEI packet received {"connection_id":190810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":190810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:22:33] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce508aa0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce508aa0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:22:33] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce508aa0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:22:33] local.INFO: Packet analysis {"connection_id":190809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:22:33] local.INFO: Extracted packet for processing {"connection_id":190809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282946304001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167780000,"timestamp_ms":1790167780000,"timestamp_seconds":1790167780,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce508aa0"} 
[2026-09-23 18:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:22: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-09-23 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 18:22: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-09-23 18: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-09-23 18:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282946304001,"66":12722,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282946304001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282946304001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":190809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:22:33] local.INFO: GPS data processed {"connection_id":190809,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:22:33] local.INFO: Acknowledgment sent {"connection_id":190809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:22:36] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:36] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:22:36] local.INFO: IMEI packet received {"connection_id":190810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:22:37] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce51ced8012d3929c006aa1a78000800a333..."} 
[2026-09-23 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce51ced8012d3929c006aa1a78000800a333..."} 
[2026-09-23 18:22:37] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce51ced8012d3929c006aa1a78000800a333..."} 
[2026-09-23 18:22:37] local.INFO: Packet analysis {"connection_id":190810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:22:37] local.INFO: Extracted packet for processing {"connection_id":190810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758720960,"raw_latitude":111811192,"longitude_deg":75.872096,"latitude_deg":11.1811192,"altitude":8,"angle":163,"satellites":51,"speed":31,"hex_longitude":"2d3929c0","hex_latitude":"06aa1a78","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282970624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406718984725987328,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4116149350554294272,"note":"Value kept but may cause issues"} 
[2026-09-23 18:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167863000,"timestamp_ms":1790167863000,"timestamp_seconds":1790167863,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce51ced8"} 
[2026-09-23 18:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:22: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-09-23 18: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-09-23 18:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282970624001,"66":27745,"239":206,"81":49664,"24":31,"16":406718984725987328,"45":4116149350554294272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-23 18:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282970624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:22:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-23 18:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406718984725987328,"km_value":406718984725987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4116149350554294272,"description":"Unknown IO ID 45"} 
[2026-09-23 18:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282970624001,"power":27745,"unknown_239":206,"unknown_81":49664,"ignition":31,"odometer":null,"unknown_45":4116149350554294272}} 
[2026-09-23 18:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":190810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:22:37] local.INFO: GPS data processed {"connection_id":190810,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:22:37] local.INFO: Acknowledgment sent {"connection_id":190810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:01] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:01] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:01] local.INFO: IMEI packet received {"connection_id":193489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":193489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:23:06] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:06] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:06] local.INFO: IMEI packet received {"connection_id":193489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":193489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:23:07] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce50dca8012d1820400721b190004d00d12d..."} 
[2026-09-23 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce50dca8012d1820400721b190004d00d12d..."} 
[2026-09-23 18:23:07] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce50dca8012d1820400721b190004d00d12d..."} 
[2026-09-23 18:23:07] local.INFO: Packet analysis {"connection_id":193489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:23:07] local.INFO: Extracted packet for processing {"connection_id":193489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce50"} 
[2026-09-23 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282951680001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790167801000,"timestamp_ms":1790167801000,"timestamp_seconds":1790167801,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce50dca8"} 
[2026-09-23 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-09-23 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":178,"data_length":795,"current_offset":136} 
[2026-09-23 18:23: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-09-23 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-09-23 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-09-23 18:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282951680001,"66":12722,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282951680001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282951680001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":193489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:23:07] local.INFO: GPS data processed {"connection_id":193489,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:23:07] local.INFO: Acknowledgment sent {"connection_id":193489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:08] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5220e0012d392f8006aa0588000900a734..."} 
[2026-09-23 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5220e0012d392f8006aa0588000900a734..."} 
[2026-09-23 18:23:08] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5220e0012d392f8006aa0588000900a734..."} 
[2026-09-23 18:23:08] local.INFO: Packet analysis {"connection_id":190810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:23:08] local.INFO: Extracted packet for processing {"connection_id":190810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758722432,"raw_latitude":111805832,"longitude_deg":75.8722432,"latitude_deg":11.1805832,"altitude":9,"angle":167,"satellites":52,"speed":9,"hex_longitude":"2d392f80","hex_latitude":"06aa0588","is_valid_coordinates":true} 
[2026-09-23 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282972928001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406719255308926976,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119034469063227392,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167884000,"timestamp_ms":1790167884000,"timestamp_seconds":1790167884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5220e0"} 
[2026-09-23 18:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:23: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-09-23 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:23:08] 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-09-23 18:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282972928001,"66":28006,"44":206,"81":23296,"24":9,"16":406719255308926976,"45":4119034469063227392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282972928001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406719255308926976,"km_value":406719255308927.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119034469063227392,"description":"Unknown IO ID 45"} 
[2026-09-23 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282972928001,"power":28006,"unknown_44":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":4119034469063227392}} 
[2026-09-23 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":190810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:23:08] local.INFO: GPS data processed {"connection_id":190810,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:23:08] local.INFO: Acknowledgment sent {"connection_id":190810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:08] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce512eb0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce512eb0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:23:08] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce512eb0012d1820400721b190004d00d12c..."} 
[2026-09-23 18:23:08] local.INFO: Packet analysis {"connection_id":193489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:23:08] local.INFO: Extracted packet for processing {"connection_id":193489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282957056001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167822000,"timestamp_ms":1790167822000,"timestamp_seconds":1790167822,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce512eb0"} 
[2026-09-23 18:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:23: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-09-23 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 18:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282957056001,"66":12667,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282957056001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282957056001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":193489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:23:08] local.INFO: GPS data processed {"connection_id":193489,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:23:08] local.INFO: Acknowledgment sent {"connection_id":193489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:30] local.INFO: TCP Data received {"connection_id":193490,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:30] local.INFO: Processing buffer {"connection_id":193490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:30] local.INFO: IMEI packet received {"connection_id":193490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":193490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:23:36] local.INFO: TCP Data received {"connection_id":193490,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:36] local.INFO: Processing buffer {"connection_id":193490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:23:36] local.INFO: IMEI packet received {"connection_id":193490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":193490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:23:37] local.INFO: TCP Data received {"connection_id":193490,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce525b78012d3934c006a9f6a80009009533..."} 
[2026-09-23 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce525b78012d3934c006a9f6a80009009533..."} 
[2026-09-23 18:23:37] local.INFO: Processing buffer {"connection_id":193490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce525b78012d3934c006a9f6a80009009533..."} 
[2026-09-23 18:23:37] local.INFO: Packet analysis {"connection_id":193490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:23:37] local.INFO: Extracted packet for processing {"connection_id":193490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758723776,"raw_latitude":111802024,"longitude_deg":75.8723776,"latitude_deg":11.1802024,"altitude":9,"angle":149,"satellites":51,"speed":6,"hex_longitude":"2d3934c0","hex_latitude":"06a9f6a8","is_valid_coordinates":true} 
[2026-09-23 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282978304001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406719452877422592,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120652950177941504,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167899000,"timestamp_ms":1790167899000,"timestamp_seconds":1790167899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce525b78"} 
[2026-09-23 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 18:23: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-09-23 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282978304001,"66":27995,"44":206,"81":23296,"24":6,"16":406719452877422592,"45":4120652950177941504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282978304001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406719452877422592,"km_value":406719452877422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120652950177941504,"description":"Unknown IO ID 45"} 
[2026-09-23 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282978304001,"power":27995,"unknown_44":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":4120652950177941504}} 
[2026-09-23 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":193490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:23:37] local.INFO: GPS data processed {"connection_id":193490,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:23:37] local.INFO: Acknowledgment sent {"connection_id":193490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:39] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5180b8012d1820400721b190004d00d12a..."} 
[2026-09-23 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5180b8012d1820400721b190004d00d12a..."} 
[2026-09-23 18:23:39] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5180b8012d1820400721b190004d00d12a..."} 
[2026-09-23 18:23:39] local.INFO: Packet analysis {"connection_id":193489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:23:39] local.INFO: Extracted packet for processing {"connection_id":193489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282962432001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790167843000,"timestamp_ms":1790167843000,"timestamp_seconds":1790167843,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5180b8"} 
[2026-09-23 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 18:23: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-09-23 18:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282962432001,"66":12678,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282962432001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:23:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282962432001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":193489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:23:39] local.INFO: GPS data processed {"connection_id":193489,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:23:39] local.INFO: Acknowledgment sent {"connection_id":193489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:23:56] local.INFO: TCP Data received {"connection_id":192154,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:56] local.INFO: Processing buffer {"connection_id":192154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:23:56] local.INFO: IMEI packet received {"connection_id":192154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":192154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:24:01] local.INFO: TCP Data received {"connection_id":192154,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:01] local.INFO: Processing buffer {"connection_id":192154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:01] local.INFO: IMEI packet received {"connection_id":192154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":192154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:24:02] local.INFO: TCP Data received {"connection_id":192154,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce51d2c0012d1820400721b190004d00d12b..."} 
[2026-09-23 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce51d2c0012d1820400721b190004d00d12b..."} 
[2026-09-23 18:24:02] local.INFO: Processing buffer {"connection_id":192154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce51d2c0012d1820400721b190004d00d12b..."} 
[2026-09-23 18:24:02] local.INFO: Packet analysis {"connection_id":192154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:24:02] local.INFO: Extracted packet for processing {"connection_id":192154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce51"} 
[2026-09-23 18:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282967808001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167864000,"timestamp_ms":1790167864000,"timestamp_seconds":1790167864,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce51d2c0"} 
[2026-09-23 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-09-23 18:24: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-09-23 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 18:24:02] 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-09-23 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-09-23 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-09-23 18:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282967808001,"66":12667,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282967808001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:24:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282967808001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":192154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:24:02] local.INFO: GPS data processed {"connection_id":192154,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:24:02] local.INFO: Acknowledgment sent {"connection_id":192154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:24:08] local.INFO: TCP Data received {"connection_id":193490,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce52ad80012d39370006a9f2e80008009434..."} 
[2026-09-23 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce52ad80012d39370006a9f2e80008009434..."} 
[2026-09-23 18:24:08] local.INFO: Processing buffer {"connection_id":193490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce52ad80012d39370006a9f2e80008009434..."} 
[2026-09-23 18:24:08] local.INFO: Packet analysis {"connection_id":193490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:08] local.INFO: Extracted packet for processing {"connection_id":193490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111801064,"longitude_deg":75.8724352,"latitude_deg":11.1801064,"altitude":8,"angle":148,"satellites":52,"speed":0,"hex_longitude":"2d393700","hex_latitude":"06a9f2e8","is_valid_coordinates":true} 
[2026-09-23 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282982144001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406719508711997440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122130693804697600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790167920000,"timestamp_ms":1790167920000,"timestamp_seconds":1790167920,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce52ad80"} 
[2026-09-23 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:24: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-09-23 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282982144001,"66":27843,"44":206,"81":23296,"24":0,"16":406719508711997440,"45":4122130693804697600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282982144001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406719508711997440,"km_value":406719508711997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122130693804697600,"description":"Unknown IO ID 45"} 
[2026-09-23 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282982144001,"power":27843,"unknown_44":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4122130693804697600}} 
[2026-09-23 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":193490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:24:08] local.INFO: GPS data processed {"connection_id":193490,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:24:08] local.INFO: Acknowledgment sent {"connection_id":193490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:24:33] local.INFO: TCP Data received {"connection_id":192154,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5224c8012d1820400721b190004d00d129..."} 
[2026-09-23 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5224c8012d1820400721b190004d00d129..."} 
[2026-09-23 18:24:33] local.INFO: Processing buffer {"connection_id":192154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5224c8012d1820400721b190004d00d129..."} 
[2026-09-23 18:24:33] local.INFO: Packet analysis {"connection_id":192154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:33] local.INFO: Extracted packet for processing {"connection_id":192154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648656,"longitude_deg":75.655584,"latitude_deg":11.9648656,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282973184001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801010711855104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167885000,"timestamp_ms":1790167885000,"timestamp_seconds":1790167885,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5224c8"} 
[2026-09-23 18:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":123,"data_length":795,"current_offset":136} 
[2026-09-23 18:24: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-09-23 18: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-09-23 18:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282973184001,"66":12602,"105":206,"83":41984,"24":0,"16":22801010711855104,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282973184001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:24:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801010711855104,"km_value":22801010711855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282973184001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":192154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:24:33] local.INFO: GPS data processed {"connection_id":192154,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:24:33] local.INFO: Acknowledgment sent {"connection_id":192154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:24:36] local.INFO: TCP Data received {"connection_id":192156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:36] local.INFO: Processing buffer {"connection_id":192156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:36] local.INFO: IMEI packet received {"connection_id":192156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":192156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:24:41] local.INFO: TCP Data received {"connection_id":192156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:41] local.INFO: Processing buffer {"connection_id":192156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:24:41] local.INFO: IMEI packet received {"connection_id":192156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":192156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:24:42] local.INFO: TCP Data received {"connection_id":192156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce52c8d8012d39394006a9ef48000800a033..."} 
[2026-09-23 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce52c8d8012d39394006a9ef48000800a033..."} 
[2026-09-23 18:24:42] local.INFO: Processing buffer {"connection_id":192156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce52c8d8012d39394006a9ef48000800a033..."} 
[2026-09-23 18:24:42] local.INFO: Packet analysis {"connection_id":192156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:42] local.INFO: Extracted packet for processing {"connection_id":192156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758724928,"raw_latitude":111800136,"longitude_deg":75.8724928,"latitude_deg":11.1800136,"altitude":8,"angle":160,"satellites":51,"speed":8,"hex_longitude":"2d393940","hex_latitude":"06a9ef48","is_valid_coordinates":true} 
[2026-09-23 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282987520001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406719560251604992,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122764012502050816,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24: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-09-23 18:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790167927000,"timestamp_ms":1790167927000,"timestamp_seconds":1790167927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce52c8d8"} 
[2026-09-23 18:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 18:24: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-09-23 18:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282987520001,"66":27767,"44":206,"81":23296,"24":8,"16":406719560251604992,"45":4122764012502050816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282987520001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406719560251604992,"km_value":406719560251605.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122764012502050816,"description":"Unknown IO ID 45"} 
[2026-09-23 18:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282987520001,"power":27767,"unknown_44":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":4122764012502050816}} 
[2026-09-23 18:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":192156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:24:43] local.INFO: GPS data processed {"connection_id":192156,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:24:43] local.INFO: Acknowledgment sent {"connection_id":192156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:24:47] local.INFO: TCP Data received {"connection_id":192156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce531ae0012d393e8006a9da78000900a533..."} 
[2026-09-23 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce531ae0012d393e8006a9da78000900a533..."} 
[2026-09-23 18:24:47] local.INFO: Processing buffer {"connection_id":192156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce531ae0012d393e8006a9da78000900a533..."} 
[2026-09-23 18:24:47] local.INFO: Packet analysis {"connection_id":192156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:24:47] local.INFO: Extracted packet for processing {"connection_id":192156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758726272,"raw_latitude":111794808,"longitude_deg":75.8726272,"latitude_deg":11.1794808,"altitude":9,"angle":165,"satellites":51,"speed":16,"hex_longitude":"2d393e80","hex_latitude":"06a9da78","is_valid_coordinates":true} 
[2026-09-23 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282989312001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406719830834544640,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123397331199412224,"note":"Value kept but may cause issues"} 
[2026-09-23 18:24:47] 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-09-23 18:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790167948000,"timestamp_ms":1790167948000,"timestamp_seconds":1790167948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce531ae0"} 
[2026-09-23 18:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282989312001,"66":27908,"44":206,"81":23296,"24":16,"16":406719830834544640,"45":4123397331199412224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282989312001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406719830834544640,"km_value":406719830834544.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123397331199412224,"description":"Unknown IO ID 45"} 
[2026-09-23 18:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282989312001,"power":27908,"unknown_44":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":4123397331199412224}} 
[2026-09-23 18:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":192156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:24:47] local.INFO: GPS data processed {"connection_id":192156,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:24:47] local.INFO: Acknowledgment sent {"connection_id":192156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:24:56] local.INFO: TCP Data received {"connection_id":192157,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:56] local.INFO: Processing buffer {"connection_id":192157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:24:56] local.INFO: IMEI packet received {"connection_id":192157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":192157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:25:01] local.INFO: TCP Data received {"connection_id":192157,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:01] local.INFO: Processing buffer {"connection_id":192157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:01] local.INFO: IMEI packet received {"connection_id":192157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":192157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:25:02] local.INFO: TCP Data received {"connection_id":192157,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5276d0012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5276d0012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:02] local.INFO: Processing buffer {"connection_id":192157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5276d0012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:02] local.INFO: Packet analysis {"connection_id":192157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:25:02] local.INFO: Extracted packet for processing {"connection_id":192157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648216,"longitude_deg":75.6555648,"latitude_deg":11.9648216,"altitude":73,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282978560001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801036481658880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539245056,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167906000,"timestamp_ms":1790167906000,"timestamp_seconds":1790167906,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5276d0"} 
[2026-09-23 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-09-23 18:25: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-09-23 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-23 18:25:02] 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-09-23 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-09-23 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-09-23 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282978560001,"66":12645,"105":206,"83":41984,"24":0,"16":22801036481658880,"45":1738459855539245056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282978560001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:25:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801036481658880,"km_value":22801036481658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539245056,"description":"Unknown IO ID 45"} 
[2026-09-23 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282978560001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539245056}} 
[2026-09-23 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":192157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:25:02] local.INFO: GPS data processed {"connection_id":192157,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:25:02] local.INFO: Acknowledgment sent {"connection_id":192157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:25:28] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:28] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:28] local.INFO: IMEI packet received {"connection_id":190811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":190811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:25:31] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:31] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:31] local.INFO: IMEI packet received {"connection_id":190811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":190811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:25:33] local.INFO: TCP Data received {"connection_id":192157,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce52c8d8012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce52c8d8012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:33] local.INFO: Processing buffer {"connection_id":192157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce52c8d8012d181f800721afd8004900d42a..."} 
[2026-09-23 18:25:33] local.INFO: Packet analysis {"connection_id":192157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:25:33] local.INFO: Extracted packet for processing {"connection_id":192157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce52"} 
[2026-09-23 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648216,"longitude_deg":75.6555648,"latitude_deg":11.9648216,"altitude":73,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282983936001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801036481658880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306599424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167927000,"timestamp_ms":1790167927000,"timestamp_seconds":1790167927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce52c8d8"} 
[2026-09-23 18:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:25: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-09-23 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-23 18:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282983936001,"66":12667,"105":206,"83":41984,"24":0,"16":22801036481658880,"45":1738248749306599424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282983936001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:25:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801036481658880,"km_value":22801036481658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306599424,"description":"Unknown IO ID 45"} 
[2026-09-23 18:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282983936001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306599424}} 
[2026-09-23 18:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":192157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:25:33] local.INFO: GPS data processed {"connection_id":192157,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:25:33] local.INFO: Acknowledgment sent {"connection_id":192157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:25:36] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:36] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:25:36] local.INFO: IMEI packet received {"connection_id":190811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":190811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:25:37] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce536ce8012d39468006a9be40000900ab30..."} 
[2026-09-23 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce536ce8012d39468006a9be40000900ab30..."} 
[2026-09-23 18:25:37] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce536ce8012d39468006a9be40000900ab30..."} 
[2026-09-23 18:25:37] local.INFO: Packet analysis {"connection_id":190811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:25:37] local.INFO: Extracted packet for processing {"connection_id":190811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758728320,"raw_latitude":111787584,"longitude_deg":75.872832,"latitude_deg":11.1787584,"altitude":9,"angle":171,"satellites":48,"speed":0,"hex_longitude":"2d394680","hex_latitude":"06a9be40","is_valid_coordinates":true} 
[2026-09-23 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282994688001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406720195906764800,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4124875074825779200,"note":"Value kept but may cause issues"} 
[2026-09-23 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790167969000,"timestamp_ms":1790167969000,"timestamp_seconds":1790167969,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce536ce8"} 
[2026-09-23 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:25: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-09-23 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282994688001,"66":27745,"44":206,"81":23296,"24":0,"16":406720195906764800,"45":4124875074825779200},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282994688001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406720195906764800,"km_value":406720195906764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4124875074825779200,"description":"Unknown IO ID 45"} 
[2026-09-23 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282994688001,"power":27745,"unknown_44":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4124875074825779200}} 
[2026-09-23 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":190811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:25:37] local.INFO: GPS data processed {"connection_id":190811,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:25:37] local.INFO: Acknowledgment sent {"connection_id":190811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:25:45] local.INFO: TCP Data received {"connection_id":190621,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:25:45] local.INFO: Processing buffer {"connection_id":190621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:25:45] local.INFO: IMEI packet received {"connection_id":190621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":190621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:25:54] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:54] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:54] local.INFO: IMEI packet received {"connection_id":190812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":190812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:25:56] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:56] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:25:56] local.INFO: IMEI packet received {"connection_id":190812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":190812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:26:01] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:01] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:01] local.INFO: IMEI packet received {"connection_id":190812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":190812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:26:02] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce531ae0012d181f800721afd8004900d42b..."} 
[2026-09-23 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce531ae0012d181f800721afd8004900d42b..."} 
[2026-09-23 18:26:02] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce531ae0012d181f800721afd8004900d42b..."} 
[2026-09-23 18:26:02] local.INFO: Packet analysis {"connection_id":190812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:02] local.INFO: Extracted packet for processing {"connection_id":190812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648216,"longitude_deg":75.6555648,"latitude_deg":11.9648216,"altitude":73,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282989312001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801036481658880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306599424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790167948000,"timestamp_ms":1790167948000,"timestamp_seconds":1790167948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce531ae0"} 
[2026-09-23 18:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:26: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-09-23 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-23 18:26:02] 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-09-23 18: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-09-23 18:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282989312001,"66":12613,"105":206,"83":41984,"24":0,"16":22801036481658880,"45":1738248749306599424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282989312001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:26:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801036481658880,"km_value":22801036481658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306599424,"description":"Unknown IO ID 45"} 
[2026-09-23 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282989312001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306599424}} 
[2026-09-23 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":190812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:26:02] local.INFO: GPS data processed {"connection_id":190812,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:26:02] local.INFO: Acknowledgment sent {"connection_id":190812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:26:09] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce53bef0012d39494006a9b338000900a331..."} 
[2026-09-23 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce53bef0012d39494006a9b338000900a331..."} 
[2026-09-23 18:26:09] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce53bef0012d39494006a9b338000900a331..."} 
[2026-09-23 18:26:09] local.INFO: Packet analysis {"connection_id":190811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:09] local.INFO: Extracted packet for processing {"connection_id":190811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758729024,"raw_latitude":111784760,"longitude_deg":75.8729024,"latitude_deg":11.178476,"altitude":9,"angle":163,"satellites":49,"speed":12,"hex_longitude":"2d394940","hex_latitude":"06a9b338","is_valid_coordinates":true} 
[2026-09-23 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283000064001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406720337640685568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4127126874637615104,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:09] 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-09-23 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790167990000,"timestamp_ms":1790167990000,"timestamp_seconds":1790167990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce53bef0"} 
[2026-09-23 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18: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-09-23 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283000064001,"66":27865,"44":206,"81":23296,"24":12,"16":406720337640685568,"45":4127126874637615104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283000064001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406720337640685568,"km_value":406720337640685.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4127126874637615104,"description":"Unknown IO ID 45"} 
[2026-09-23 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283000064001,"power":27865,"unknown_44":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":4127126874637615104}} 
[2026-09-23 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":190811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:26:09] local.INFO: GPS data processed {"connection_id":190811,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:26:09] local.INFO: Acknowledgment sent {"connection_id":190811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:26:11] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:26:11] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:26:11] local.INFO: IMEI packet received {"connection_id":192158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":192158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:26:31] local.INFO: TCP Data received {"connection_id":193491,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:31] local.INFO: Processing buffer {"connection_id":193491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:31] local.INFO: IMEI packet received {"connection_id":193491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":193491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:26:33] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce536ce8012d181f800721afd8004900d427..."} 
[2026-09-23 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce536ce8012d181f800721afd8004900d427..."} 
[2026-09-23 18:26:33] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce536ce8012d181f800721afd8004900d427..."} 
[2026-09-23 18:26:33] local.INFO: Packet analysis {"connection_id":190812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:33] local.INFO: Extracted packet for processing {"connection_id":190812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce53"} 
[2026-09-23 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648216,"longitude_deg":75.6555648,"latitude_deg":11.9648216,"altitude":73,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458282994688001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801036481658880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306599424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790167969000,"timestamp_ms":1790167969000,"timestamp_seconds":1790167969,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce536ce8"} 
[2026-09-23 18:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:26: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-09-23 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-23 18:26:33] 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-09-23 18: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-09-23 18:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458282994688001,"66":12613,"105":206,"83":41984,"24":0,"16":22801036481658880,"45":1738248749306599424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458282994688001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:26:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801036481658880,"km_value":22801036481658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306599424,"description":"Unknown IO ID 45"} 
[2026-09-23 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458282994688001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306599424}} 
[2026-09-23 18:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":190812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:26:33] local.INFO: GPS data processed {"connection_id":190812,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:26:33] local.INFO: Acknowledgment sent {"connection_id":190812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:26:36] local.INFO: TCP Data received {"connection_id":193491,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:36] local.INFO: Processing buffer {"connection_id":193491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:26:36] local.INFO: IMEI packet received {"connection_id":193491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":193491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:26:37] local.INFO: TCP Data received {"connection_id":193491,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5410f8012d394e0006a9a270000900a430..."} 
[2026-09-23 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5410f8012d394e0006a9a270000900a430..."} 
[2026-09-23 18:26:37] local.INFO: Processing buffer {"connection_id":193491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5410f8012d394e0006a9a270000900a430..."} 
[2026-09-23 18:26:37] local.INFO: Packet analysis {"connection_id":193491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce54"} 
[2026-09-23 18:26:37] local.INFO: Extracted packet for processing {"connection_id":193491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce54"} 
[2026-09-23 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758730240,"raw_latitude":111780464,"longitude_deg":75.873024,"latitude_deg":11.1780464,"altitude":9,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d394e00","hex_latitude":"06a9a270","is_valid_coordinates":true} 
[2026-09-23 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283005440001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406720552389050368,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4127900930822846464,"note":"Value kept but may cause issues"} 
[2026-09-23 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168011000,"timestamp_ms":1790168011000,"timestamp_seconds":1790168011,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5410f8"} 
[2026-09-23 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:26: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-09-23 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283005440001,"66":27876,"44":206,"81":23296,"24":0,"16":406720552389050368,"45":4127900930822846464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-23 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283005440001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-23 18:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406720552389050368,"km_value":406720552389050.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4127900930822846464,"description":"Unknown IO ID 45"} 
[2026-09-23 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283005440001,"power":27876,"unknown_44":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":4127900930822846464}} 
[2026-09-23 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":193491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:26:37] local.INFO: GPS data processed {"connection_id":193491,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:26:37] local.INFO: Acknowledgment sent {"connection_id":193491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:26:56] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:56] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:26:56] local.INFO: IMEI packet received {"connection_id":193492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":193492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:27:00] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:00] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:00] local.INFO: IMEI packet received {"connection_id":193492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":193492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:27:01] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce564760012d181dc00721ab68004a00a128..."} 
[2026-09-23 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce564760012d181dc00721ab68004a00a128..."} 
[2026-09-23 18:27:01] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce564760012d181dc00721ab68004a00a128..."} 
[2026-09-23 18:27:01] local.INFO: Packet analysis {"connection_id":193492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:01] local.INFO: Extracted packet for processing {"connection_id":193492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647080,"longitude_deg":75.65552,"latitude_deg":11.964708,"altitude":74,"angle":161,"satellites":40,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721ab68","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283047680001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801096611201024,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097101824,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790168156000,"timestamp_ms":1790168156000,"timestamp_seconds":1790168156,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce564760"} 
[2026-09-23 18:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:27: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-09-23 18:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283047680001,"66":14157,"105":206,"83":41984,"24":6,"16":22801096611201024,"45":1737756168097101824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283047680001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801096611201024,"km_value":22801096611201.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097101824,"description":"Unknown IO ID 45"} 
[2026-09-23 18:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283047680001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737756168097101824}} 
[2026-09-23 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":193492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:27:02] local.INFO: GPS data processed {"connection_id":193492,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:27:02] local.INFO: Acknowledgment sent {"connection_id":193492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:27:08] local.INFO: TCP Data received {"connection_id":193491,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce546300012d394e8006a9a058000a00a430..."} 
[2026-09-23 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce546300012d394e8006a9a058000a00a430..."} 
[2026-09-23 18:27:08] local.INFO: Processing buffer {"connection_id":193491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce546300012d394e8006a9a058000a00a430..."} 
[2026-09-23 18:27:08] local.INFO: Packet analysis {"connection_id":193491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce54"} 
[2026-09-23 18:27:08] local.INFO: Extracted packet for processing {"connection_id":193491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce54"} 
[2026-09-23 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758730368,"raw_latitude":111779928,"longitude_deg":75.8730368,"latitude_deg":11.1779928,"altitude":10,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2d394e80","hex_latitude":"06a9a058","is_valid_coordinates":true} 
[2026-09-23 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283010816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406720582453821440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4129237936961122304,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168032000,"timestamp_ms":1790168032000,"timestamp_seconds":1790168032,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce546300"} 
[2026-09-23 18:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:27: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-09-23 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 18:27: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-09-23 18:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283010816001,"66":27321,"239":206,"81":49664,"24":0,"16":406720582453821440,"45":4129237936961122304},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-23 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283010816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:27:08] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-23 18:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-23 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406720582453821440,"km_value":406720582453821.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4129237936961122304,"description":"Unknown IO ID 45"} 
[2026-09-23 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283010816001,"power":27321,"unknown_239":206,"unknown_81":49664,"ignition":0,"odometer":null,"unknown_45":4129237936961122304}} 
[2026-09-23 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":193491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:27:08] local.INFO: GPS data processed {"connection_id":193491,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:27:08] local.INFO: Acknowledgment sent {"connection_id":193491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:27:31] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:31] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:31] local.INFO: IMEI packet received {"connection_id":190623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":190623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:27:32] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce564b48012d181e000721aae8004a009329..."} 
[2026-09-23 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce564b48012d181e000721aae8004a009329..."} 
[2026-09-23 18:27:32] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce564b48012d181e000721aae8004a009329..."} 
[2026-09-23 18:27:32] local.INFO: Packet analysis {"connection_id":193492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:32] local.INFO: Extracted packet for processing {"connection_id":193492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646952,"longitude_deg":75.6555264,"latitude_deg":11.9646952,"altitude":74,"angle":147,"satellites":41,"speed":3,"hex_longitude":"2d181e00","hex_latitude":"0721aae8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283047936001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801105201135616,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097064960,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790168157000,"timestamp_ms":1790168157000,"timestamp_seconds":1790168157,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce564b48"} 
[2026-09-23 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-09-23 18:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:27:32] 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-09-23 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-09-23 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-09-23 18:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283047936001,"66":14135,"105":206,"83":41984,"24":3,"16":22801105201135616,"45":1737756168097064960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283047936001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:27:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801105201135616,"km_value":22801105201135.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097064960,"description":"Unknown IO ID 45"} 
[2026-09-23 18:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283047936001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737756168097064960}} 
[2026-09-23 18:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":193492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:27:32] local.INFO: GPS data processed {"connection_id":193492,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:27:32] local.INFO: Acknowledgment sent {"connection_id":193492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:27:35] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:35] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:27:35] local.INFO: IMEI packet received {"connection_id":190623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":190623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:27:36] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce56ef58012d3964c006a94e08000e00e932..."} 
[2026-09-23 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce56ef58012d3964c006a94e08000e00e932..."} 
[2026-09-23 18:27:36] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce56ef58012d3964c006a94e08000e00e932..."} 
[2026-09-23 18:27:36] local.INFO: Packet analysis {"connection_id":190623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:36] local.INFO: Extracted packet for processing {"connection_id":190623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758736064,"raw_latitude":111758856,"longitude_deg":75.8736064,"latitude_deg":11.1758856,"altitude":14,"angle":233,"satellites":50,"speed":11,"hex_longitude":"2d3964c0","hex_latitude":"06a94e08","is_valid_coordinates":true} 
[2026-09-23 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283058432001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136063705140926464,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406721677670481920,"note":"Value kept but may cause issues"} 
[2026-09-23 18:27:36] 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-09-23 18:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790168199000,"timestamp_ms":1790168199000,"timestamp_seconds":1790168199,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce56ef58"} 
[2026-09-23 18:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:27: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-09-23 18:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283058432001,"66":27365,"45":4136063705140926464,"81":23296,"24":11,"16":406721677670481920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-23 18:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283058432001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136063705140926464,"description":"Unknown IO ID 45"} 
[2026-09-23 18:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406721677670481920,"km_value":406721677670481.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:27:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458283058432001,"power":27365,"unknown_45":4136063705140926464,"unknown_81":23296,"ignition":11,"odometer":null}} 
[2026-09-23 18:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":190623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:27:36] local.INFO: GPS data processed {"connection_id":190623,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:27:36] local.INFO: Acknowledgment sent {"connection_id":190623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:27:56] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:56] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:56] local.INFO: IMEI packet received {"connection_id":192160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":192160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:27:59] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:59] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:27:59] local.INFO: IMEI packet received {"connection_id":192160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:28:01] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:01] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:01] local.INFO: IMEI packet received {"connection_id":192160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":192160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:28:02] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce567a28012d181f800721a850004a00872b..."} 
[2026-09-23 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce567a28012d181f800721a850004a00872b..."} 
[2026-09-23 18:28:02] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce567a28012d181f800721a850004a00872b..."} 
[2026-09-23 18:28:02] local.INFO: Packet analysis {"connection_id":192160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:28:02] local.INFO: Extracted packet for processing {"connection_id":192160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce56"} 
[2026-09-23 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646288,"longitude_deg":75.6555648,"latitude_deg":11.9646288,"altitude":74,"angle":135,"satellites":43,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721a850","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283048192001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22801139560873984,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841209856,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168169000,"timestamp_ms":1790168169000,"timestamp_seconds":1790168169,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce567a28"} 
[2026-09-23 18:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:28: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-09-23 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 18:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283048192001,"66":14211,"105":206,"83":41984,"24":11,"16":22801139560873984,"45":1737826536841209856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283048192001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:28:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22801139560873984,"km_value":22801139560873.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841209856,"description":"Unknown IO ID 45"} 
[2026-09-23 18:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283048192001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737826536841209856}} 
[2026-09-23 18:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":192160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:28:02] local.INFO: GPS data processed {"connection_id":192160,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:28:02] local.INFO: Acknowledgment sent {"connection_id":192160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:28:08] local.INFO: TCP Data received {"connection_id":190623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce571280012d39620006a94ce8000e01222d..."} 
[2026-09-23 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce571280012d39620006a94ce8000e01222d..."} 
[2026-09-23 18:28:08] local.INFO: Processing buffer {"connection_id":190623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce571280012d39620006a94ce8000e01222d..."} 
[2026-09-23 18:28:08] local.INFO: Packet analysis {"connection_id":190623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:08] local.INFO: Extracted packet for processing {"connection_id":190623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758735360,"raw_latitude":111758568,"longitude_deg":75.873536,"latitude_deg":11.1758568,"altitude":14,"angle":290,"satellites":45,"speed":2,"hex_longitude":"2d396200","hex_latitude":"06a94ce8","is_valid_coordinates":true} 
[2026-09-23 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283058944001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135641492675758080,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406721720620154880,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:08] 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-09-23 18:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168208000,"timestamp_ms":1790168208000,"timestamp_seconds":1790168208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce571280"} 
[2026-09-23 18:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:28: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-09-23 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-23 18:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283058944001,"66":27310,"45":4135641492675758080,"81":23296,"24":2,"16":406721720620154880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-23 18:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283058944001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135641492675758080,"description":"Unknown IO ID 45"} 
[2026-09-23 18:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406721720620154880,"km_value":406721720620154.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:28:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458283058944001,"power":27310,"unknown_45":4135641492675758080,"unknown_81":23296,"ignition":2,"odometer":null}} 
[2026-09-23 18:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":190623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:28:08] local.INFO: GPS data processed {"connection_id":190623,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:28:08] local.INFO: Acknowledgment sent {"connection_id":190623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:28:30] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:30] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:30] local.INFO: IMEI packet received {"connection_id":190813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":190813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:28:33] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:33] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:33] local.INFO: IMEI packet received {"connection_id":190813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":190813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:28:33] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce57d9b8012d18da000720fcf00039008e29..."} 
[2026-09-23 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce57d9b8012d18da000720fcf00039008e29..."} 
[2026-09-23 18:28:33] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce57d9b8012d18da000720fcf00039008e29..."} 
[2026-09-23 18:28:33] local.INFO: Packet analysis {"connection_id":192160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:33] local.INFO: Extracted packet for processing {"connection_id":192160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756603392,"raw_latitude":119602416,"longitude_deg":75.6603392,"latitude_deg":11.9602416,"altitude":57,"angle":142,"satellites":41,"speed":35,"hex_longitude":"2d18da00","hex_latitude":"0720fcf0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283073024001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22804631369285632,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613848027136,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168259000,"timestamp_ms":1790168259000,"timestamp_seconds":1790168259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce57d9b8"} 
[2026-09-23 18:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:28: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-09-23 18: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":131,"data_length":795,"current_offset":136} 
[2026-09-23 18:28: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-09-23 18: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-09-23 18:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283073024001,"66":14233,"103":206,"83":41984,"24":35,"16":22804631369285632,"45":1788984613848027136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283073024001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:28:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22804631369285632,"km_value":22804631369285.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613848027136,"description":"Unknown IO ID 45"} 
[2026-09-23 18:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283073024001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788984613848027136}} 
[2026-09-23 18:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":192160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:28:33] local.INFO: GPS data processed {"connection_id":192160,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:28:33] local.INFO: Acknowledgment sent {"connection_id":192160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:28:36] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:36] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:28:36] local.INFO: IMEI packet received {"connection_id":190813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":190813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:28:37] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce571668012d3961c006a94cf0000e01122d..."} 
[2026-09-23 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce571668012d3961c006a94cf0000e01122d..."} 
[2026-09-23 18:28:37] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce571668012d3961c006a94cf0000e01122d..."} 
[2026-09-23 18:28:37] local.INFO: Packet analysis {"connection_id":190813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:37] local.INFO: Extracted packet for processing {"connection_id":190813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758735296,"raw_latitude":111758576,"longitude_deg":75.8735296,"latitude_deg":11.1758576,"altitude":14,"angle":274,"satellites":45,"speed":3,"hex_longitude":"2d3961c0","hex_latitude":"06a94cf0","is_valid_coordinates":true} 
[2026-09-23 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283061248001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134867436489730048,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406721724915122176,"note":"Value kept but may cause issues"} 
[2026-09-23 18:28:37] 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-09-23 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168209000,"timestamp_ms":1790168209000,"timestamp_seconds":1790168209,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce571668"} 
[2026-09-23 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 18:28: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-09-23 18:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283061248001,"66":27310,"45":4134867436489730048,"81":23296,"24":3,"16":406721724915122176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-23 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283061248001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134867436489730048,"description":"Unknown IO ID 45"} 
[2026-09-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406721724915122176,"km_value":406721724915122.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458283061248001,"power":27310,"unknown_45":4134867436489730048,"unknown_81":23296,"ignition":3,"odometer":null}} 
[2026-09-23 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":190813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:28:37] local.INFO: GPS data processed {"connection_id":190813,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:28:37] local.INFO: Acknowledgment sent {"connection_id":190813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:28:56] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:56] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:28:56] local.INFO: IMEI packet received {"connection_id":193493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":193493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:29:02] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:29:02] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:29:02] local.INFO: IMEI packet received {"connection_id":193493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":193493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:29:03] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5800c8012d18eec00720e1100037009428..."} 
[2026-09-23 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5800c8012d18eec00720e1100037009428..."} 
[2026-09-23 18:29:03] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5800c8012d18eec00720e1100037009428..."} 
[2026-09-23 18:29:03] local.INFO: Packet analysis {"connection_id":193493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:29:03] local.INFO: Extracted packet for processing {"connection_id":193493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119595280,"longitude_deg":75.6608704,"latitude_deg":11.959528,"altitude":55,"angle":148,"satellites":40,"speed":35,"hex_longitude":"2d18eec0","hex_latitude":"0720e110","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283074304001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22805065160982528,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790743832451411968,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790168269000,"timestamp_ms":1790168269000,"timestamp_seconds":1790168269,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5800c8"} 
[2026-09-23 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-09-23 18:29: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-09-23 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 18:29:03] 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-09-23 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-09-23 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-09-23 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283074304001,"66":14189,"103":206,"83":41984,"24":35,"16":22805065160982528,"45":1790743832451411968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283074304001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:29:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22805065160982528,"km_value":22805065160982.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790743832451411968,"description":"Unknown IO ID 45"} 
[2026-09-23 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283074304001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1790743832451411968}} 
[2026-09-23 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":193493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:29:03] local.INFO: GPS data processed {"connection_id":193493,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:29:03] local.INFO: Acknowledgment sent {"connection_id":193493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:29:08] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5735a8012d395f0006a94d80000d012026..."} 
[2026-09-23 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5735a8012d395f0006a94d80000d012026..."} 
[2026-09-23 18:29:08] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5735a8012d395f0006a94d80000d012026..."} 
[2026-09-23 18:29:08] local.INFO: Packet analysis {"connection_id":190813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:29:08] local.INFO: Extracted packet for processing {"connection_id":190813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758734592,"raw_latitude":111758720,"longitude_deg":75.8734592,"latitude_deg":11.175872,"altitude":13,"angle":288,"satellites":38,"speed":5,"hex_longitude":"2d395f00","hex_latitude":"06a94d80","is_valid_coordinates":true} 
[2026-09-23 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283061504001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134797067745554432,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406721759274860544,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:08] 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-09-23 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168217000,"timestamp_ms":1790168217000,"timestamp_seconds":1790168217,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5735a8"} 
[2026-09-23 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:29: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-09-23 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283061504001,"66":27213,"45":4134797067745554432,"81":23296,"24":5,"16":406721759274860544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-23 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283061504001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134797067745554432,"description":"Unknown IO ID 45"} 
[2026-09-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406721759274860544,"km_value":406721759274860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458283061504001,"power":27213,"unknown_45":4134797067745554432,"unknown_81":23296,"ignition":5,"odometer":null}} 
[2026-09-23 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":190813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:29:08] local.INFO: GPS data processed {"connection_id":190813,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:29:08] local.INFO: Acknowledgment sent {"connection_id":190813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:29:30] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:30] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:30] local.INFO: IMEI packet received {"connection_id":193494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:29:34] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce580c80012d18f5400720d8e00037008828..."} 
[2026-09-23 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce580c80012d18f5400720d8e00037008828..."} 
[2026-09-23 18:29:34] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce580c80012d18f5400720d8e00037008828..."} 
[2026-09-23 18:29:34] local.INFO: Packet analysis {"connection_id":193493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:29:34] local.INFO: Extracted packet for processing {"connection_id":193493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756610368,"raw_latitude":119593184,"longitude_deg":75.6610368,"latitude_deg":11.9593184,"altitude":55,"angle":136,"satellites":40,"speed":33,"hex_longitude":"2d18f540","hex_latitude":"0720d8e0","is_valid_coordinates":true} 
[2026-09-23 18:29: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-09-23 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283076864001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22805189715034112,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438216331264,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790168272000,"timestamp_ms":1790168272000,"timestamp_seconds":1790168272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce580c80"} 
[2026-09-23 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:29: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-09-23 18:29: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":109,"data_length":795,"current_offset":136} 
[2026-09-23 18:29:34] 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-09-23 18:29: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-09-23 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283076864001,"66":13906,"103":206,"83":41984,"24":33,"16":22805189715034112,"45":1796584438216331264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283076864001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22805189715034112,"km_value":22805189715034.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438216331264,"description":"Unknown IO ID 45"} 
[2026-09-23 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283076864001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1796584438216331264}} 
[2026-09-23 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":193493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:29:34] local.INFO: GPS data processed {"connection_id":193493,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:29:34] local.INFO: Acknowledgment sent {"connection_id":193493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:29:36] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:36] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:29:36] local.INFO: IMEI packet received {"connection_id":193494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":193494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:29:37] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce574160012d395d4006a94e90000e012e2a..."} 
[2026-09-23 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce574160012d395d4006a94e90000e012e2a..."} 
[2026-09-23 18:29:37] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce574160012d395d4006a94e90000e012e2a..."} 
[2026-09-23 18:29:37] local.INFO: Packet analysis {"connection_id":193494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:29:37] local.INFO: Extracted packet for processing {"connection_id":193494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce57"} 
[2026-09-23 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758734144,"raw_latitude":111758992,"longitude_deg":75.8734144,"latitude_deg":11.1758992,"altitude":14,"angle":302,"satellites":42,"speed":5,"hex_longitude":"2d395d40","hex_latitude":"06a94e90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283063552001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134023011559636992,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406721785044664320,"note":"Value kept but may cause issues"} 
[2026-09-23 18:29:37] 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-09-23 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168220000,"timestamp_ms":1790168220000,"timestamp_seconds":1790168220,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce574160"} 
[2026-09-23 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-09-23 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:29: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-09-23 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-09-23 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-09-23 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283063552001,"66":27234,"45":4134023011559636992,"81":23296,"24":5,"16":406721785044664320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-23 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283063552001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134023011559636992,"description":"Unknown IO ID 45"} 
[2026-09-23 18:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406721785044664320,"km_value":406721785044664.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458283063552001,"power":27234,"unknown_45":4134023011559636992,"unknown_81":23296,"ignition":5,"odometer":null}} 
[2026-09-23 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":193494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:29:37] local.INFO: GPS data processed {"connection_id":193494,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:29:37] local.INFO: Acknowledgment sent {"connection_id":193494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:01] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:01] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:01] local.INFO: IMEI packet received {"connection_id":190626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":190626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:30:06] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:06] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:06] local.INFO: IMEI packet received {"connection_id":190626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":190626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:30:08] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce591a08012d19bb400720a658002e00b028..."} 
[2026-09-23 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce591a08012d19bb400720a658002e00b028..."} 
[2026-09-23 18:30:08] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce591a08012d19bb400720a658002e00b028..."} 
[2026-09-23 18:30:08] local.INFO: Packet analysis {"connection_id":190626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:08] local.INFO: Extracted packet for processing {"connection_id":190626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119580248,"longitude_deg":75.6661056,"latitude_deg":11.9580248,"altitude":46,"angle":176,"satellites":40,"speed":17,"hex_longitude":"2d19bb40","hex_latitude":"0720a658","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283095040001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22807801055150080,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205739008,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168341000,"timestamp_ms":1790168341000,"timestamp_seconds":1790168341,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce591a08"} 
[2026-09-23 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-23 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283095040001,"66":13972,"103":206,"83":41984,"24":17,"16":22807801055150080,"45":1854075702205739008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283095040001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22807801055150080,"km_value":22807801055150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205739008,"description":"Unknown IO ID 45"} 
[2026-09-23 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283095040001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1854075702205739008}} 
[2026-09-23 18:30:08] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce58df70012d38b48006a97cd8000e011c2e..."} 
[2026-09-23 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce58df70012d38b48006a97cd8000e011c2e..."} 
[2026-09-23 18:30:08] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce58df70012d38b48006a97cd8000e011c2e..."} 
[2026-09-23 18:30:08] local.INFO: Packet analysis {"connection_id":193494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:30:08] local.INFO: Extracted packet for processing {"connection_id":193494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce58"} 
[2026-09-23 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758690944,"raw_latitude":111770840,"longitude_deg":75.8690944,"latitude_deg":11.177084,"altitude":14,"angle":284,"satellites":46,"speed":13,"hex_longitude":"2d38b480","hex_latitude":"06a97cd8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283086080001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406723932528312320,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4090253652683917312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] 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-09-23 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168326000,"timestamp_ms":1790168326000,"timestamp_seconds":1790168326,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce58df70"} 
[2026-09-23 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:30: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-09-23 18: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-23 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283086080001,"66":27397,"46":206,"81":23296,"24":13,"16":406723932528312320,"45":4090253652683917312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283086080001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406723932528312320,"km_value":406723932528312.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4090253652683917312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283086080001,"power":27397,"unknown_46":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4090253652683917312}} 
[2026-09-23 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":193494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:30:08] local.INFO: GPS data processed {"connection_id":193494,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:30:08] local.INFO: Acknowledgment sent {"connection_id":193494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:30:08] local.INFO: GPS data processed {"connection_id":190626,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:30:08] local.INFO: Acknowledgment sent {"connection_id":190626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:08] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce591df0012d19bb400720a4b8002e00c12a..."} 
[2026-09-23 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce591df0012d19bb400720a4b8002e00c12a..."} 
[2026-09-23 18:30:08] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce591df0012d19bb400720a4b8002e00c12a..."} 
[2026-09-23 18:30:08] local.INFO: Packet analysis {"connection_id":190626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:08] local.INFO: Extracted packet for processing {"connection_id":190626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579832,"longitude_deg":75.6661056,"latitude_deg":11.9579832,"altitude":46,"angle":193,"satellites":42,"speed":17,"hex_longitude":"2d19bb40","hex_latitude":"0720a4b8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283095296001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22807822529986560,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949812224,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168342000,"timestamp_ms":1790168342000,"timestamp_seconds":1790168342,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce591df0"} 
[2026-09-23 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283095296001,"66":13972,"103":206,"83":41984,"24":17,"16":22807822529986560,"45":1854146070949812224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283095296001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:30:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22807822529986560,"km_value":22807822529986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949812224,"description":"Unknown IO ID 45"} 
[2026-09-23 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283095296001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1854146070949812224}} 
[2026-09-23 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":190626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:30:09] local.INFO: GPS data processed {"connection_id":190626,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:30:09] local.INFO: Acknowledgment sent {"connection_id":190626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:30] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:30] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:30] local.INFO: IMEI packet received {"connection_id":193495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":193495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:30:36] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:36] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:30:36] local.INFO: IMEI packet received {"connection_id":193495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":193495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:30:37] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce593178012d38998006a98348000f011e2e..."} 
[2026-09-23 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce593178012d38998006a98348000f011e2e..."} 
[2026-09-23 18:30:37] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce593178012d38998006a98348000f011e2e..."} 
[2026-09-23 18:30:37] local.INFO: Packet analysis {"connection_id":193495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:37] local.INFO: Extracted packet for processing {"connection_id":193495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758684032,"raw_latitude":111772488,"longitude_deg":75.8684032,"latitude_deg":11.1772488,"altitude":15,"angle":286,"satellites":46,"speed":7,"hex_longitude":"2d389980","hex_latitude":"06a98348","is_valid_coordinates":true} 
[2026-09-23 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283091456001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406724271830728704,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4086031528033572864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168347000,"timestamp_ms":1790168347000,"timestamp_seconds":1790168347,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce593178"} 
[2026-09-23 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-23 18:30: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-09-23 18:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283091456001,"66":27343,"46":206,"81":23296,"24":7,"16":406724271830728704,"45":4086031528033572864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-23 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283091456001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:30:37] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-23 18:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406724271830728704,"km_value":406724271830728.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4086031528033572864,"description":"Unknown IO ID 45"} 
[2026-09-23 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283091456001,"power":27343,"unknown_46":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":4086031528033572864}} 
[2026-09-23 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":193495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:30:37] local.INFO: GPS data processed {"connection_id":193495,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:30:37] local.INFO: Acknowledgment sent {"connection_id":193495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:40] local.INFO: TCP Data received {"connection_id":190626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5921d8012d19ba800720a320002e00d12a..."} 
[2026-09-23 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5921d8012d19ba800720a320002e00d12a..."} 
[2026-09-23 18:30:40] local.INFO: Processing buffer {"connection_id":190626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5921d8012d19ba800720a320002e00d12a..."} 
[2026-09-23 18:30:40] local.INFO: Packet analysis {"connection_id":190626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:40] local.INFO: Extracted packet for processing {"connection_id":190626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119579424,"longitude_deg":75.6660864,"latitude_deg":11.9579424,"altitude":46,"angle":209,"satellites":42,"speed":18,"hex_longitude":"2d19ba80","hex_latitude":"0720a320","is_valid_coordinates":true} 
[2026-09-23 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283095552001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22807844004823040,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949705728,"note":"Value kept but may cause issues"} 
[2026-09-23 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790168343000,"timestamp_ms":1790168343000,"timestamp_seconds":1790168343,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5921d8"} 
[2026-09-23 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-23 18:30:40] 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-09-23 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283095552001,"66":13928,"103":206,"83":41984,"24":18,"16":22807844004823040,"45":1854146070949705728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283095552001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:30:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22807844004823040,"km_value":22807844004823.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949705728,"description":"Unknown IO ID 45"} 
[2026-09-23 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283095552001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1854146070949705728}} 
[2026-09-23 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":190626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:30:40] local.INFO: GPS data processed {"connection_id":190626,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:30:40] local.INFO: Acknowledgment sent {"connection_id":190626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:30:56] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:56] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:56] local.INFO: IMEI packet received {"connection_id":190814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":190814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:30:57] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:57] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:30:57] local.INFO: IMEI packet received {"connection_id":190814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":190814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:31:01] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:01] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:01] local.INFO: IMEI packet received {"connection_id":190814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":190814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:31:02] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce594cd0012d19ad0007209068002b00bd28..."} 
[2026-09-23 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce594cd0012d19ad0007209068002b00bd28..."} 
[2026-09-23 18:31:02] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce594cd0012d19ad0007209068002b00bd28..."} 
[2026-09-23 18:31:02] local.INFO: Packet analysis {"connection_id":190814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:02] local.INFO: Extracted packet for processing {"connection_id":190814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574632,"longitude_deg":75.6657408,"latitude_deg":11.9574632,"altitude":43,"angle":189,"satellites":40,"speed":18,"hex_longitude":"2d19ad00","hex_latitude":"07209068","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283095808001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22808131767631872,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717068288,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168354000,"timestamp_ms":1790168354000,"timestamp_seconds":1790168354,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce594cd0"} 
[2026-09-23 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-09-23 18:31: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-09-23 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-23 18:31:02] 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-09-23 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-09-23 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-09-23 18:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283095808001,"66":13939,"103":206,"83":41984,"24":18,"16":22808131767631872,"45":1853934964717068288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283095808001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22808131767631872,"km_value":22808131767631.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717068288,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283095808001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853934964717068288}} 
[2026-09-23 18:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":190814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:02] local.INFO: GPS data processed {"connection_id":190814,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:02] local.INFO: Acknowledgment sent {"connection_id":190814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:07] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5950b8012d19ad4007208e98002b00ad29..."} 
[2026-09-23 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5950b8012d19ad4007208e98002b00ad29..."} 
[2026-09-23 18:31:07] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5950b8012d19ad4007208e98002b00ad29..."} 
[2026-09-23 18:31:07] local.INFO: Packet analysis {"connection_id":190814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:07] local.INFO: Extracted packet for processing {"connection_id":190814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574168,"longitude_deg":75.6657472,"latitude_deg":11.9574168,"altitude":43,"angle":173,"satellites":41,"speed":17,"hex_longitude":"2d19ad40","hex_latitude":"07208e98","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283098624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22808153242468352,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530247680,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790168355000,"timestamp_ms":1790168355000,"timestamp_seconds":1790168355,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5950b8"} 
[2026-09-23 18:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-23 18:31:07] 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-09-23 18: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-09-23 18:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283098624001,"66":13928,"103":206,"83":41984,"24":17,"16":22808153242468352,"45":1850135052530247680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283098624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22808153242468352,"km_value":22808153242468.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530247680,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283098624001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1850135052530247680}} 
[2026-09-23 18:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":190814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:07] local.INFO: GPS data processed {"connection_id":190814,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:07] local.INFO: Acknowledgment sent {"connection_id":190814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:08] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce598380012d388e4006a985d0000e011c2e..."} 
[2026-09-23 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce598380012d388e4006a985d0000e011c2e..."} 
[2026-09-23 18:31:08] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce598380012d388e4006a985d0000e011c2e..."} 
[2026-09-23 18:31:08] local.INFO: Packet analysis {"connection_id":193495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:08] local.INFO: Extracted packet for processing {"connection_id":193495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758681152,"raw_latitude":111773136,"longitude_deg":75.8681152,"latitude_deg":11.1773136,"altitude":14,"angle":284,"satellites":46,"speed":5,"hex_longitude":"2d388e40","hex_latitude":"06a985d0","is_valid_coordinates":true} 
[2026-09-23 18:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283096832001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406724413564649472,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4078431703662807040,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168368000,"timestamp_ms":1790168368000,"timestamp_seconds":1790168368,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce598380"} 
[2026-09-23 18:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:31: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-09-23 18:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-23 18:31: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-09-23 18:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283096832001,"66":27365,"49":206,"81":23296,"24":5,"16":406724413564649472,"45":4078431703662807040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-23 18:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283096832001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-23 18:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406724413564649472,"km_value":406724413564649.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4078431703662807040,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283096832001,"power":27365,"unknown_49":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":4078431703662807040}} 
[2026-09-23 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":193495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:08] local.INFO: GPS data processed {"connection_id":193495,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:08] local.INFO: Acknowledgment sent {"connection_id":193495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:14] local.INFO: TCP Data received {"connection_id":190627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:31:14] local.INFO: Processing buffer {"connection_id":190627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:31:14] local.INFO: IMEI packet received {"connection_id":190627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":190627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:31:33] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:33] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:33] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:31:36] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:36] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:36] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:31:38] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5aac60012d19b9400720a9780032013629..."} 
[2026-09-23 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5aac60012d19b9400720a9780032013629..."} 
[2026-09-23 18:31:38] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5aac60012d19b9400720a9780032013629..."} 
[2026-09-23 18:31:38] local.INFO: Packet analysis {"connection_id":190814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:31:38] local.INFO: Extracted packet for processing {"connection_id":190814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581048,"longitude_deg":75.6660544,"latitude_deg":11.9581048,"altitude":50,"angle":310,"satellites":41,"speed":19,"hex_longitude":"2d19b940","hex_latitude":"0720a978","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283121408001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22808870502006784,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717391872,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790168444000,"timestamp_ms":1790168444000,"timestamp_seconds":1790168444,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5aac60"} 
[2026-09-23 18:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 18:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283121408001,"66":14135,"103":206,"83":41984,"24":19,"16":22808870502006784,"45":1853934964717391872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283121408001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22808870502006784,"km_value":22808870502006.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717391872,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283121408001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853934964717391872}} 
[2026-09-23 18:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":190814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:38] local.INFO: GPS data processed {"connection_id":190814,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:38] local.INFO: Acknowledgment sent {"connection_id":190814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:41] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:41] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:31:41] local.INFO: IMEI packet received {"connection_id":190628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":190628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:31:42] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:42] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:42] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:42] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758672256,"raw_latitude":111775448,"longitude_deg":75.8672256,"latitude_deg":11.1775448,"altitude":12,"angle":282,"satellites":44,"speed":29,"hex_longitude":"2d386b80","hex_latitude":"06a98ed8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283102208001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406724851651313664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4075265110174978048,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790168389000,"timestamp_ms":1790168389000,"timestamp_seconds":1790168389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce59d588"} 
[2026-09-23 18:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":229,"data_length":795,"current_offset":136} 
[2026-09-23 18:31: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-09-23 18: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-09-23 18:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283102208001,"66":27376,"49":206,"81":23296,"24":29,"16":406724851651313664,"45":4075265110174978048},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-23 18:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283102208001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-23 18:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406724851651313664,"km_value":406724851651313.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4075265110174978048,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283102208001,"power":27376,"unknown_49":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":4075265110174978048}} 
[2026-09-23 18:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:42] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:42] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:43] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:43] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce59d588012d386b8006a98ed8000c011a2c..."} 
[2026-09-23 18:31:43] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:43] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce59"} 
[2026-09-23 18:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758672256,"raw_latitude":111775448,"longitude_deg":75.8672256,"latitude_deg":11.1775448,"altitude":12,"angle":282,"satellites":44,"speed":29,"hex_longitude":"2d386b80","hex_latitude":"06a98ed8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283107584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406724851651313664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065483854734874624,"note":"Value kept but may cause issues"} 
[2026-09-23 18:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790168389000,"timestamp_ms":1790168389000,"timestamp_seconds":1790168389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce59d588"} 
[2026-09-23 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-09-23 18:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-23 18:31: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-09-23 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-09-23 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-09-23 18:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283107584001,"66":27376,"49":206,"81":23296,"24":29,"16":406724851651313664,"45":4065483854734874624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-23 18:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283107584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:31:43] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-23 18:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406724851651313664,"km_value":406724851651313.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065483854734874624,"description":"Unknown IO ID 45"} 
[2026-09-23 18:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283107584001,"power":27376,"unknown_49":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":4065483854734874624}} 
[2026-09-23 18:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:31:43] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:31:43] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:31:56] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:56] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:56] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:31:59] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:59] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:31:59] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:32:00] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5ab048012d19b7800720aa900032012829..."} 
[2026-09-23 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5ab048012d19b7800720aa900032012829..."} 
[2026-09-23 18:32:00] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5ab048012d19b7800720aa900032012829..."} 
[2026-09-23 18:32:00] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:00] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581328,"longitude_deg":75.6660096,"latitude_deg":11.9581328,"altitude":50,"angle":296,"satellites":41,"speed":22,"hex_longitude":"2d19b780","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-09-23 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283121664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22808896271810560,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996595712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790168445000,"timestamp_ms":1790168445000,"timestamp_seconds":1790168445,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5ab048"} 
[2026-09-23 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-23 18:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283121664001,"66":14157,"103":206,"83":41984,"24":22,"16":22808896271810560,"45":1853583120996595712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283121664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:32:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22808896271810560,"km_value":22808896271810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996595712,"description":"Unknown IO ID 45"} 
[2026-09-23 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283121664001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853583120996595712}} 
[2026-09-23 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:32:00] local.INFO: GPS data processed {"connection_id":192162,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:32:00] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:32:14] local.INFO: TCP Data received {"connection_id":190628,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5a0080012d38548006a992c0000a010e2f..."} 
[2026-09-23 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5a0080012d38548006a992c0000a010e2f..."} 
[2026-09-23 18:32:14] local.INFO: Processing buffer {"connection_id":190628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5a0080012d38548006a992c0000a010e2f..."} 
[2026-09-23 18:32:14] local.INFO: Packet analysis {"connection_id":190628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:14] local.INFO: Extracted packet for processing {"connection_id":190628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758666368,"raw_latitude":111776448,"longitude_deg":75.8666368,"latitude_deg":11.1776448,"altitude":10,"angle":270,"satellites":47,"speed":9,"hex_longitude":"2d385480","hex_latitude":"06a992c0","is_valid_coordinates":true} 
[2026-09-23 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283107584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406725135119155200,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065483854734874624,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790168400000,"timestamp_ms":1790168400000,"timestamp_seconds":1790168400,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5a0080"} 
[2026-09-23 18:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-23 18:32: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-09-23 18:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283107584001,"66":27213,"49":206,"81":23296,"24":9,"16":406725135119155200,"45":4065483854734874624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-23 18:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283107584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:32:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-23 18:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406725135119155200,"km_value":406725135119155.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065483854734874624,"description":"Unknown IO ID 45"} 
[2026-09-23 18:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283107584001,"power":27213,"unknown_49":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":4065483854734874624}} 
[2026-09-23 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":190628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:32:14] local.INFO: GPS data processed {"connection_id":190628,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:32:14] local.INFO: Acknowledgment sent {"connection_id":190628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:32:31] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5ac7b8012d19a9800720afd80035011929..."} 
[2026-09-23 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5ac7b8012d19a9800720afd80035011929..."} 
[2026-09-23 18:32:31] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5ac7b8012d19a9800720afd80035011929..."} 
[2026-09-23 18:32:31] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:31] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582680,"longitude_deg":75.6656512,"latitude_deg":11.958268,"altitude":53,"angle":281,"satellites":41,"speed":26,"hex_longitude":"2d19a980","hex_latitude":"0720afd8","is_valid_coordinates":true} 
[2026-09-23 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283121920001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22809080955404288,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787423744,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790168451000,"timestamp_ms":1790168451000,"timestamp_seconds":1790168451,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5ac7b8"} 
[2026-09-23 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:32: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-09-23 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:32:31] 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-09-23 18:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283121920001,"66":14135,"103":206,"83":41984,"24":26,"16":22809080955404288,"45":1853090539787423744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283121920001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:32:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22809080955404288,"km_value":22809080955404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787423744,"description":"Unknown IO ID 45"} 
[2026-09-23 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283121920001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853090539787423744}} 
[2026-09-23 18:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:32:31] local.INFO: GPS data processed {"connection_id":192162,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:32:31] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:32:39] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:39] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:39] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:32:40] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:40] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:40] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:32:45] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:45] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:32:45] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:32:47] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5a42e8012d38310006a99630000801172d..."} 
[2026-09-23 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5a42e8012d38310006a99630000801172d..."} 
[2026-09-23 18:32:47] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5a42e8012d38310006a99630000801172d..."} 
[2026-09-23 18:32:47] local.INFO: Packet analysis {"connection_id":193496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:47] local.INFO: Extracted packet for processing {"connection_id":193496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5a"} 
[2026-09-23 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758657280,"raw_latitude":111777328,"longitude_deg":75.865728,"latitude_deg":11.1777328,"altitude":8,"angle":279,"satellites":45,"speed":22,"hex_longitude":"2d383100","hex_latitude":"06a99630","is_valid_coordinates":true} 
[2026-09-23 18:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283110400001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406725568910852096,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4059009930270785536,"note":"Value kept but may cause issues"} 
[2026-09-23 18:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790168417000,"timestamp_ms":1790168417000,"timestamp_seconds":1790168417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5a42e8"} 
[2026-09-23 18:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283110400001,"66":27180,"87":206,"81":23296,"24":22,"16":406725568910852096,"45":4059009930270785536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,81,24,16,45]} 
[2026-09-23 18:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283110400001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:32:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-23 18:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406725568910852096,"km_value":406725568910852.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4059009930270785536,"description":"Unknown IO ID 45"} 
[2026-09-23 18:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283110400001,"power":27180,"unknown_87":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":4059009930270785536}} 
[2026-09-23 18:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":193496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:32:47] local.INFO: GPS data processed {"connection_id":193496,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:32:47] local.INFO: Acknowledgment sent {"connection_id":193496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:32:56] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:56] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:56] local.INFO: IMEI packet received {"connection_id":192163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":192163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:32:57] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:57] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:32:57] local.INFO: IMEI packet received {"connection_id":192163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":192163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:33:01] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:01] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:01] local.INFO: IMEI packet received {"connection_id":192163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":192163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:33:04] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5bf098012d18df000720f7880036013927..."} 
[2026-09-23 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5bf098012d18df000720f7880036013927..."} 
[2026-09-23 18:33:04] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5bf098012d18df000720f7880036013927..."} 
[2026-09-23 18:33:04] local.INFO: Packet analysis {"connection_id":192163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5b"} 
[2026-09-23 18:33:04] local.INFO: Extracted packet for processing {"connection_id":192163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5b"} 
[2026-09-23 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119601032,"longitude_deg":75.6604672,"latitude_deg":11.9601032,"altitude":54,"angle":313,"satellites":39,"speed":28,"hex_longitude":"2d18df00","hex_latitude":"0720f788","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283140608001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22811898453950464,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796302963239645184,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790168527000,"timestamp_ms":1790168527000,"timestamp_seconds":1790168527,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5bf098"} 
[2026-09-23 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:33:04] 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-09-23 18: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-09-23 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283140608001,"66":14254,"103":206,"83":41984,"24":28,"16":22811898453950464,"45":1796302963239645184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283140608001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:33:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22811898453950464,"km_value":22811898453950.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796302963239645184,"description":"Unknown IO ID 45"} 
[2026-09-23 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283140608001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1796302963239645184}} 
[2026-09-23 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":192163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:33:04] local.INFO: GPS data processed {"connection_id":192163,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:33:04] local.INFO: Acknowledgment sent {"connection_id":192163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:33:35] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c0038012d18d7800720ff880037014a29..."} 
[2026-09-23 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c0038012d18d7800720ff880037014a29..."} 
[2026-09-23 18:33:35] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c0038012d18d7800720ff880037014a29..."} 
[2026-09-23 18:33:35] local.INFO: Packet analysis {"connection_id":192163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:33:35] local.INFO: Extracted packet for processing {"connection_id":192163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603080,"longitude_deg":75.6602752,"latitude_deg":11.960308,"altitude":55,"angle":330,"satellites":41,"speed":28,"hex_longitude":"2d18d780","hex_latitude":"0720ff88","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283142912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22812031597936640,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334610944,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790168531000,"timestamp_ms":1790168531000,"timestamp_seconds":1790168531,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c0038"} 
[2026-09-23 18:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-23 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283142912001,"66":14233,"103":206,"83":41984,"24":28,"16":22812031597936640,"45":1792151207334610944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283142912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:33:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22812031597936640,"km_value":22812031597936.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334610944,"description":"Unknown IO ID 45"} 
[2026-09-23 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283142912001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1792151207334610944}} 
[2026-09-23 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":192163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:33:36] local.INFO: GPS data processed {"connection_id":192163,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:33:36] local.INFO: Acknowledgment sent {"connection_id":192163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:33:36] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:36] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:36] local.INFO: IMEI packet received {"connection_id":190630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:33:41] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:41] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:33:41] local.INFO: IMEI packet received {"connection_id":190630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":190630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:33:42] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c2748012d36bb0006a9b338000b013431..."} 
[2026-09-23 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c2748012d36bb0006a9b338000b013431..."} 
[2026-09-23 18:33:42] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c2748012d36bb0006a9b338000b013431..."} 
[2026-09-23 18:33:42] local.INFO: Packet analysis {"connection_id":190630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:33:42] local.INFO: Extracted packet for processing {"connection_id":190630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758561536,"raw_latitude":111784760,"longitude_deg":75.8561536,"latitude_deg":11.178476,"altitude":11,"angle":308,"satellites":49,"speed":43,"hex_longitude":"2d36bb00","hex_latitude":"06a9b338","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283145472001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406730216065466368,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3948108789448325120,"note":"Value kept but may cause issues"} 
[2026-09-23 18:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790168541000,"timestamp_ms":1790168541000,"timestamp_seconds":1790168541,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c2748"} 
[2026-09-23 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283145472001,"66":27213,"141":206,"81":23296,"24":43,"16":406730216065466368,"45":3948108789448325120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-23 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283145472001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:33:42] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-23 18:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406730216065466368,"km_value":406730216065466.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3948108789448325120,"description":"Unknown IO ID 45"} 
[2026-09-23 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283145472001,"power":27213,"unknown_141":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3948108789448325120}} 
[2026-09-23 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":190630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:33:42] local.INFO: GPS data processed {"connection_id":190630,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:33:42] local.INFO: Acknowledgment sent {"connection_id":190630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:33:56] local.INFO: TCP Data received {"connection_id":190631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:56] local.INFO: Processing buffer {"connection_id":190631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:33:56] local.INFO: IMEI packet received {"connection_id":190631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":190631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:34:01] local.INFO: TCP Data received {"connection_id":190631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:01] local.INFO: Processing buffer {"connection_id":190631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:01] local.INFO: IMEI packet received {"connection_id":190631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":190631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:34:04] local.INFO: TCP Data received {"connection_id":190631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c0808012d18d580072104e80038015527..."} 
[2026-09-23 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c0808012d18d580072104e80038015527..."} 
[2026-09-23 18:34:04] local.INFO: Processing buffer {"connection_id":190631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c0808012d18d580072104e80038015527..."} 
[2026-09-23 18:34:04] local.INFO: Packet analysis {"connection_id":190631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:04] local.INFO: Extracted packet for processing {"connection_id":190631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604456,"longitude_deg":75.660224,"latitude_deg":11.9604456,"altitude":56,"angle":341,"satellites":39,"speed":30,"hex_longitude":"2d18d580","hex_latitude":"072104e8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283143936001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22812104612380672,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009805312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790168533000,"timestamp_ms":1790168533000,"timestamp_seconds":1790168533,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c0808"} 
[2026-09-23 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-09-23 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 18:34:04] 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-09-23 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-09-23 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-09-23 18:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283143936001,"66":14189,"103":206,"83":41984,"24":30,"16":22812104612380672,"45":1790040145009805312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283143936001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:34:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22812104612380672,"km_value":22812104612380.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009805312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283143936001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1790040145009805312}} 
[2026-09-23 18:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":190631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:34:04] local.INFO: GPS data processed {"connection_id":190631,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:34:04] local.INFO: Acknowledgment sent {"connection_id":190631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:34:13] local.INFO: TCP Data received {"connection_id":190630,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c4688012d36a08006a9cb08000901312f..."} 
[2026-09-23 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c4688012d36a08006a9cb08000901312f..."} 
[2026-09-23 18:34:13] local.INFO: Processing buffer {"connection_id":190630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c4688012d36a08006a9cb08000901312f..."} 
[2026-09-23 18:34:13] local.INFO: Packet analysis {"connection_id":190630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:13] local.INFO: Extracted packet for processing {"connection_id":190630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758554752,"raw_latitude":111790856,"longitude_deg":75.8554752,"latitude_deg":11.1790856,"altitude":9,"angle":305,"satellites":47,"speed":47,"hex_longitude":"2d36a080","hex_latitude":"06a9cb08","is_valid_coordinates":true} 
[2026-09-23 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283146496001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406730654152130560,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3943745927309899776,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790168549000,"timestamp_ms":1790168549000,"timestamp_seconds":1790168549,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c4688"} 
[2026-09-23 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283146496001,"66":27376,"141":206,"81":23296,"24":47,"16":406730654152130560,"45":3943745927309899776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-23 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283146496001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:34:13] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-23 18:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406730654152130560,"km_value":406730654152130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3943745927309899776,"description":"Unknown IO ID 45"} 
[2026-09-23 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283146496001,"power":27376,"unknown_141":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":3943745927309899776}} 
[2026-09-23 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":190630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:34:13] local.INFO: GPS data processed {"connection_id":190630,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:34:13] local.INFO: Acknowledgment sent {"connection_id":190630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:34:30] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:30] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:30] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:34:32] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:32] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:32] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:34:35] local.INFO: TCP Data received {"connection_id":190631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5d1d60012d186280072182800043011e29..."} 
[2026-09-23 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5d1d60012d186280072182800043011e29..."} 
[2026-09-23 18:34:35] local.INFO: Processing buffer {"connection_id":190631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5d1d60012d186280072182800043011e29..."} 
[2026-09-23 18:34:35] local.INFO: Packet analysis {"connection_id":190631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:34:35] local.INFO: Extracted packet for processing {"connection_id":190631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636608,"longitude_deg":75.65728,"latitude_deg":11.9636608,"altitude":67,"angle":286,"satellites":41,"speed":32,"hex_longitude":"2d186280","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283160576001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22814522678968320,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440080896,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790168604000,"timestamp_ms":1790168604000,"timestamp_seconds":1790168604,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5d1d60"} 
[2026-09-23 18:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-23 18:34: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-09-23 18: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-09-23 18:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283160576001,"66":14233,"106":206,"83":41984,"24":32,"16":22814522678968320,"45":1763792603440080896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 18:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283160576001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:34:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 18:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22814522678968320,"km_value":22814522678968.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440080896,"description":"Unknown IO ID 45"} 
[2026-09-23 18:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283160576001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1763792603440080896}} 
[2026-09-23 18:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":190631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:34:35] local.INFO: GPS data processed {"connection_id":190631,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:34:35] local.INFO: Acknowledgment sent {"connection_id":190631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:34:36] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:36] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:34:36] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:34:38] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c4e58012d36984006a9cfa80009012530..."} 
[2026-09-23 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c4e58012d36984006a9cfa80009012530..."} 
[2026-09-23 18:34:38] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c4e58012d36984006a9cfa80009012530..."} 
[2026-09-23 18:34:38] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:38] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758552640,"raw_latitude":111792040,"longitude_deg":75.855264,"latitude_deg":11.179204,"altitude":9,"angle":293,"satellites":48,"speed":47,"hex_longitude":"2d369840","hex_latitude":"06a9cfa8","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283148544001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406730770116247552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3936286840428627968,"note":"Value kept but may cause issues"} 
[2026-09-23 18:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790168551000,"timestamp_ms":1790168551000,"timestamp_seconds":1790168551,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c4e58"} 
[2026-09-23 18:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:34: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-09-23 18:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-23 18:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283148544001,"66":27267,"141":206,"81":23296,"24":47,"16":406730770116247552,"45":3936286840428627968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-23 18:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283148544001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:34:38] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-23 18:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406730770116247552,"km_value":406730770116247.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3936286840428627968,"description":"Unknown IO ID 45"} 
[2026-09-23 18:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283148544001,"power":27267,"unknown_141":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":3936286840428627968}} 
[2026-09-23 18:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:34:38] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:34:38] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:34:56] local.INFO: TCP Data received {"connection_id":193498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:56] local.INFO: Processing buffer {"connection_id":193498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:34:56] local.INFO: IMEI packet received {"connection_id":193498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":193498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:35:01] local.INFO: TCP Data received {"connection_id":193498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:35:01] local.INFO: Processing buffer {"connection_id":193498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:35:01] local.INFO: IMEI packet received {"connection_id":193498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":193498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:35:02] local.INFO: TCP Data received {"connection_id":193498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5d4c40012d184080072191580048012329..."} 
[2026-09-23 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5d4c40012d184080072191580048012329..."} 
[2026-09-23 18:35:02] local.INFO: Processing buffer {"connection_id":193498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5d4c40012d184080072191580048012329..."} 
[2026-09-23 18:35:02] local.INFO: Packet analysis {"connection_id":193498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:35:02] local.INFO: Extracted packet for processing {"connection_id":193498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:35:02] local.INFO: GPS Element Parsed {"raw_longitude":756564096,"raw_latitude":119640408,"longitude_deg":75.6564096,"latitude_deg":11.9640408,"altitude":72,"angle":291,"satellites":41,"speed":24,"hex_longitude":"2d184080","hex_latitude":"07219158","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283162624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22814973650534400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572743241728,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168616000,"timestamp_ms":1790168616000,"timestamp_seconds":1790168616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5d4c40"} 
[2026-09-23 18:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-23 18:35:02] 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-09-23 18: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-09-23 18:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283162624001,"66":13167,"105":206,"83":41984,"24":24,"16":22814973650534400,"45":1757107572743241728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283162624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:35:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22814973650534400,"km_value":22814973650534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572743241728,"description":"Unknown IO ID 45"} 
[2026-09-23 18:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283162624001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1757107572743241728}} 
[2026-09-23 18:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":193498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:35:02] local.INFO: GPS data processed {"connection_id":193498,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:35:02] local.INFO: Acknowledgment sent {"connection_id":193498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:35:09] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5c6d98012d3672c006a9db280009011e2f..."} 
[2026-09-23 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5c6d98012d3672c006a9db280009011e2f..."} 
[2026-09-23 18:35:09] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5c6d98012d3672c006a9db280009011e2f..."} 
[2026-09-23 18:35:09] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:35:09] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5c"} 
[2026-09-23 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758543040,"raw_latitude":111794984,"longitude_deg":75.854304,"latitude_deg":11.1794984,"altitude":9,"angle":286,"satellites":47,"speed":52,"hex_longitude":"2d3672c0","hex_latitude":"06a9db28","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283149056001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406731246857617408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933964671871068160,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790168559000,"timestamp_ms":1790168559000,"timestamp_seconds":1790168559,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5c6d98"} 
[2026-09-23 18:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":131,"data_length":795,"current_offset":136} 
[2026-09-23 18:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283149056001,"66":27234,"141":206,"81":23296,"24":52,"16":406731246857617408,"45":3933964671871068160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-23 18:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283149056001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:35:09] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-23 18:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406731246857617408,"km_value":406731246857617.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933964671871068160,"description":"Unknown IO ID 45"} 
[2026-09-23 18:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283149056001,"power":27234,"unknown_141":206,"unknown_81":23296,"ignition":52,"odometer":null,"unknown_45":3933964671871068160}} 
[2026-09-23 18:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:35:09] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:35:09] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:35:33] local.INFO: TCP Data received {"connection_id":193498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5d82f0012d183080072198880049013428..."} 
[2026-09-23 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5d82f0012d183080072198880049013428..."} 
[2026-09-23 18:35:33] local.INFO: Processing buffer {"connection_id":193498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5d82f0012d183080072198880049013428..."} 
[2026-09-23 18:35:33] local.INFO: Packet analysis {"connection_id":193498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:35:33] local.INFO: Extracted packet for processing {"connection_id":193498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119642248,"longitude_deg":75.656,"latitude_deg":11.9642248,"altitude":73,"angle":308,"satellites":40,"speed":12,"hex_longitude":"2d183080","hex_latitude":"07219888","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283165696001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815192693866496,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747537423536052224,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168630000,"timestamp_ms":1790168630000,"timestamp_seconds":1790168630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5d82f0"} 
[2026-09-23 18:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:35: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-09-23 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-23 18:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283165696001,"66":13135,"105":206,"83":41984,"24":12,"16":22815192693866496,"45":1747537423536052224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283165696001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:35:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815192693866496,"km_value":22815192693866.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747537423536052224,"description":"Unknown IO ID 45"} 
[2026-09-23 18:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283165696001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1747537423536052224}} 
[2026-09-23 18:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":193498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:35:33] local.INFO: GPS data processed {"connection_id":193498,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:35:33] local.INFO: Acknowledgment sent {"connection_id":193498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:35:36] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:36] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:36] local.INFO: IMEI packet received {"connection_id":190817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:35:41] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:41] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:35:41] local.INFO: IMEI packet received {"connection_id":190817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":190817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:35:42] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e2ed0012d351ac006aa6278000c01262e..."} 
[2026-09-23 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e2ed0012d351ac006aa6278000c01262e..."} 
[2026-09-23 18:35:42] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e2ed0012d351ac006aa6278000c01262e..."} 
[2026-09-23 18:35:42] local.INFO: Packet analysis {"connection_id":190817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:35:42] local.INFO: Extracted packet for processing {"connection_id":190817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758454976,"raw_latitude":111829624,"longitude_deg":75.8454976,"latitude_deg":11.1829624,"altitude":12,"angle":294,"satellites":46,"speed":23,"hex_longitude":"2d351ac0","hex_latitude":"06aa6278","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283179008001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406735765163212800,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3829396718032437248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790168674000,"timestamp_ms":1790168674000,"timestamp_seconds":1790168674,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e2ed0"} 
[2026-09-23 18:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283179008001,"66":27343,"97":206,"81":23296,"24":23,"16":406735765163212800,"45":3829396718032437248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283179008001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406735765163212800,"km_value":406735765163212.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3829396718032437248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283179008001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":3829396718032437248}} 
[2026-09-23 18:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":190817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:35:42] local.INFO: GPS data processed {"connection_id":190817,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:35:42] local.INFO: Acknowledgment sent {"connection_id":190817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:35:43] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e4258012d35130006aa65c8000d01182e..."} 
[2026-09-23 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e4258012d35130006aa65c8000d01182e..."} 
[2026-09-23 18:35:43] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e4258012d35130006aa65c8000d01182e..."} 
[2026-09-23 18:35:43] local.INFO: Packet analysis {"connection_id":190817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:35:43] local.INFO: Extracted packet for processing {"connection_id":190817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758452992,"raw_latitude":111830472,"longitude_deg":75.8452992,"latitude_deg":11.1830472,"altitude":13,"angle":280,"satellites":46,"speed":12,"hex_longitude":"2d351300","hex_latitude":"06aa65c8","is_valid_coordinates":true} 
[2026-09-23 18:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283180544001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406735868242427904,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3826581968265574400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790168679000,"timestamp_ms":1790168679000,"timestamp_seconds":1790168679,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e4258"} 
[2026-09-23 18:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-23 18:35: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-09-23 18:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283180544001,"66":27071,"97":206,"81":23296,"24":12,"16":406735868242427904,"45":3826581968265574400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283180544001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406735868242427904,"km_value":406735868242427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3826581968265574400,"description":"Unknown IO ID 45"} 
[2026-09-23 18:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283180544001,"power":27071,"unknown_97":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":3826581968265574400}} 
[2026-09-23 18:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":190817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:35:43] local.INFO: GPS data processed {"connection_id":190817,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:35:43] local.INFO: Acknowledgment sent {"connection_id":190817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:36:01] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:01] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:01] local.INFO: IMEI packet received {"connection_id":190818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":190818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:36:06] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:06] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:06] local.INFO: IMEI packet received {"connection_id":190818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":190818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:36:07] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5dd4f8012d182b0007219d58004d013b29..."} 
[2026-09-23 18:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5dd4f8012d182b0007219d58004d013b29..."} 
[2026-09-23 18:36:07] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5dd4f8012d182b0007219d58004d013b29..."} 
[2026-09-23 18:36:07] local.INFO: Packet analysis {"connection_id":190818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:36:07] local.INFO: Extracted packet for processing {"connection_id":190818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5d"} 
[2026-09-23 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283169280001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823909152768,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790168651000,"timestamp_ms":1790168651000,"timestamp_seconds":1790168651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5dd4f8"} 
[2026-09-23 18:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 18:36:07] 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-09-23 18:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283169280001,"66":13135,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1743033823909152768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283169280001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823909152768,"description":"Unknown IO ID 45"} 
[2026-09-23 18:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283169280001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1743033823909152768}} 
[2026-09-23 18:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":190818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:36:07] local.INFO: GPS data processed {"connection_id":190818,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:36:07] local.INFO: Acknowledgment sent {"connection_id":190818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:36:11] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e2700012d182b0007219d58004d013b26..."} 
[2026-09-23 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e2700012d182b0007219d58004d013b26..."} 
[2026-09-23 18:36:11] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e2700012d182b0007219d58004d013b26..."} 
[2026-09-23 18:36:11] local.INFO: Packet analysis {"connection_id":190818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:11] local.INFO: Extracted packet for processing {"connection_id":190818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283174656001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790168672000,"timestamp_ms":1790168672000,"timestamp_seconds":1790168672,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e2700"} 
[2026-09-23 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-09-23 18:36: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-09-23 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-23 18:36: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-09-23 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-09-23 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-09-23 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283174656001,"66":13080,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283174656001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283174656001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":190818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:36:12] local.INFO: GPS data processed {"connection_id":190818,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:36:12] local.INFO: Acknowledgment sent {"connection_id":190818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:36:14] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e4640012d3511c006aa65e0000d010b2e..."} 
[2026-09-23 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e4640012d3511c006aa65e0000d010b2e..."} 
[2026-09-23 18:36:14] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e4640012d3511c006aa65e0000d010b2e..."} 
[2026-09-23 18:36:14] local.INFO: Packet analysis {"connection_id":190817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:14] local.INFO: Extracted packet for processing {"connection_id":190817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758452672,"raw_latitude":111830496,"longitude_deg":75.8452672,"latitude_deg":11.1830496,"altitude":13,"angle":267,"satellites":46,"speed":10,"hex_longitude":"2d3511c0","hex_latitude":"06aa65e0","is_valid_coordinates":true} 
[2026-09-23 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283181824001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406735885422297088,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824400537196283904,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790168680000,"timestamp_ms":1790168680000,"timestamp_seconds":1790168680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e4640"} 
[2026-09-23 18:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-23 18:36:14] 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-09-23 18:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283181824001,"66":27213,"97":206,"81":23296,"24":10,"16":406735885422297088,"45":3824400537196283904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283181824001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406735885422297088,"km_value":406735885422297.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824400537196283904,"description":"Unknown IO ID 45"} 
[2026-09-23 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283181824001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3824400537196283904}} 
[2026-09-23 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":190817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:36:14] local.INFO: GPS data processed {"connection_id":190817,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:36:14] local.INFO: Acknowledgment sent {"connection_id":190817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:36:28] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:28] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:28] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:36:29] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:29] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:29] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:36:30] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:30] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:30] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:36:36] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:36] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:36:36] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:36:37] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e4e10012d35100006aa6590000d00ff2d..."} 
[2026-09-23 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e4e10012d35100006aa6590000d00ff2d..."} 
[2026-09-23 18:36:37] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e4e10012d35100006aa6590000d00ff2d..."} 
[2026-09-23 18:36:37] local.INFO: Packet analysis {"connection_id":190820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:37] local.INFO: Extracted packet for processing {"connection_id":190820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758452224,"raw_latitude":111830416,"longitude_deg":75.8452224,"latitude_deg":11.1830416,"altitude":13,"angle":255,"satellites":45,"speed":9,"hex_longitude":"2d351000","hex_latitude":"06aa6590","is_valid_coordinates":true} 
[2026-09-23 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283182080001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406735906897133568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824048693475401728,"note":"Value kept but may cause issues"} 
[2026-09-23 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168682000,"timestamp_ms":1790168682000,"timestamp_seconds":1790168682,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e4e10"} 
[2026-09-23 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:36: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-09-23 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283182080001,"66":27300,"97":206,"81":23296,"24":9,"16":406735906897133568,"45":3824048693475401728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283182080001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406735906897133568,"km_value":406735906897133.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824048693475401728,"description":"Unknown IO ID 45"} 
[2026-09-23 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283182080001,"power":27300,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3824048693475401728}} 
[2026-09-23 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":190820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:36:37] local.INFO: GPS data processed {"connection_id":190820,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:36:37] local.INFO: Acknowledgment sent {"connection_id":190820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:36:53] local.INFO: TCP Data received {"connection_id":190819,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:36:53] local.INFO: Processing buffer {"connection_id":190819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:36:53] local.INFO: IMEI packet received {"connection_id":190819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":190819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:36:55] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:55] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:55] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:36:56] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:56] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:36:56] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:37:01] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:01] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:01] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:37:02] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5e7908012d182b0007219d58004d013b27..."} 
[2026-09-23 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5e7908012d182b0007219d58004d013b27..."} 
[2026-09-23 18:37:02] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5e7908012d182b0007219d58004d013b27..."} 
[2026-09-23 18:37:02] local.INFO: Packet analysis {"connection_id":192165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:02] local.INFO: Extracted packet for processing {"connection_id":192165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283180032001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168693000,"timestamp_ms":1790168693000,"timestamp_seconds":1790168693,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5e7908"} 
[2026-09-23 18:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:37: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-09-23 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-23 18:37:02] 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-09-23 18: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-09-23 18:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283180032001,"66":13015,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283180032001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:37:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283180032001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":192165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:37:02] local.INFO: GPS data processed {"connection_id":192165,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:37:02] local.INFO: Acknowledgment sent {"connection_id":192165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:37:08] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5ea018012d34f54006aa6018000b00fd2c..."} 
[2026-09-23 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5ea018012d34f54006aa6018000b00fd2c..."} 
[2026-09-23 18:37:08] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5ea018012d34f54006aa6018000b00fd2c..."} 
[2026-09-23 18:37:08] local.INFO: Packet analysis {"connection_id":190820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:08] local.INFO: Extracted packet for processing {"connection_id":190820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758445376,"raw_latitude":111829016,"longitude_deg":75.8445376,"latitude_deg":11.1829016,"altitude":11,"angle":253,"satellites":44,"speed":5,"hex_longitude":"2d34f540","hex_latitude":"06aa6018","is_valid_coordinates":true} 
[2026-09-23 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283182592001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736241904582656,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823556112266137600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168703000,"timestamp_ms":1790168703000,"timestamp_seconds":1790168703,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5ea018"} 
[2026-09-23 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:37: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-09-23 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-23 18:37:08] 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-09-23 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283182592001,"66":27213,"97":206,"81":23296,"24":5,"16":406736241904582656,"45":3823556112266137600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283182592001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736241904582656,"km_value":406736241904582.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823556112266137600,"description":"Unknown IO ID 45"} 
[2026-09-23 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283182592001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3823556112266137600}} 
[2026-09-23 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:37:08] local.INFO: GPS data processed {"connection_id":190820,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:37:08] local.INFO: Acknowledgment sent {"connection_id":190820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:37:14] local.INFO: TCP Data received {"connection_id":190632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:37:14] local.INFO: Processing buffer {"connection_id":190632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:37:14] local.INFO: IMEI packet received {"connection_id":190632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":190632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:37:31] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:31] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:31] local.INFO: IMEI packet received {"connection_id":190821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":190821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:37:33] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5ecb10012d182b0007219d58004d013b28..."} 
[2026-09-23 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5ecb10012d182b0007219d58004d013b28..."} 
[2026-09-23 18:37:33] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5ecb10012d182b0007219d58004d013b28..."} 
[2026-09-23 18:37:33] local.INFO: Packet analysis {"connection_id":192165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:33] local.INFO: Extracted packet for processing {"connection_id":192165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283185408001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168714000,"timestamp_ms":1790168714000,"timestamp_seconds":1790168714,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5ecb10"} 
[2026-09-23 18:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:37: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-09-23 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-23 18:37: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-09-23 18: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-09-23 18:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283185408001,"66":13004,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283185408001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283185408001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":192165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:37:33] local.INFO: GPS data processed {"connection_id":192165,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:37:33] local.INFO: Acknowledgment sent {"connection_id":192165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:37:36] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:36] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:37:36] local.INFO: IMEI packet received {"connection_id":190821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":190821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:37:37] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5eea50012d34d20006aa58f0000b01012b..."} 
[2026-09-23 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5eea50012d34d20006aa58f0000b01012b..."} 
[2026-09-23 18:37:37] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5eea50012d34d20006aa58f0000b01012b..."} 
[2026-09-23 18:37:37] local.INFO: Packet analysis {"connection_id":190821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:37] local.INFO: Extracted packet for processing {"connection_id":190821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758436352,"raw_latitude":111827184,"longitude_deg":75.8436352,"latitude_deg":11.1827184,"altitude":11,"angle":257,"satellites":43,"speed":26,"hex_longitude":"2d34d200","hex_latitude":"06aa58f0","is_valid_coordinates":true} 
[2026-09-23 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283187968001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736679991246848,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816026656638769152,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168722000,"timestamp_ms":1790168722000,"timestamp_seconds":1790168722,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5eea50"} 
[2026-09-23 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:37: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-09-23 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283187968001,"66":27213,"97":206,"81":23296,"24":26,"16":406736679991246848,"45":3816026656638769152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283187968001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736679991246848,"km_value":406736679991246.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816026656638769152,"description":"Unknown IO ID 45"} 
[2026-09-23 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283187968001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":3816026656638769152}} 
[2026-09-23 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":190821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:37:37] local.INFO: GPS data processed {"connection_id":190821,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:37:37] local.INFO: Acknowledgment sent {"connection_id":190821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:37:56] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:56] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:56] local.INFO: IMEI packet received {"connection_id":190822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":190822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:37:59] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:59] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:37:59] local.INFO: IMEI packet received {"connection_id":190822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":190822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:37:59] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5f1d18012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5f1d18012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:37:59] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5f1d18012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:37:59] local.INFO: Packet analysis {"connection_id":190822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:37:59] local.INFO: Extracted packet for processing {"connection_id":190822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283190784001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790168735000,"timestamp_ms":1790168735000,"timestamp_seconds":1790168735,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5f1d18"} 
[2026-09-23 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-23 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283190784001,"66":12950,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283190784001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283190784001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":190822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:38:00] local.INFO: GPS data processed {"connection_id":190822,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:38:00] local.INFO: Acknowledgment sent {"connection_id":190822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:38:09] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5efdd8012d34c80006aa5608000a00f22c..."} 
[2026-09-23 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5efdd8012d34c80006aa5608000a00f22c..."} 
[2026-09-23 18:38:09] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5efdd8012d34c80006aa5608000a00f22c..."} 
[2026-09-23 18:38:09] local.INFO: Packet analysis {"connection_id":190821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:38:09] local.INFO: Extracted packet for processing {"connection_id":190821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5e"} 
[2026-09-23 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111826440,"longitude_deg":75.8433792,"latitude_deg":11.182644,"altitude":10,"angle":242,"satellites":44,"speed":14,"hex_longitude":"2d34c800","hex_latitude":"06aa5608","is_valid_coordinates":true} 
[2026-09-23 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283192832001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736808840265728,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3806104663709249536,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790168727000,"timestamp_ms":1790168727000,"timestamp_seconds":1790168727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5efdd8"} 
[2026-09-23 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-23 18:38: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-09-23 18:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283192832001,"66":27234,"97":206,"81":23296,"24":14,"16":406736808840265728,"45":3806104663709249536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283192832001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736808840265728,"km_value":406736808840265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3806104663709249536,"description":"Unknown IO ID 45"} 
[2026-09-23 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283192832001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3806104663709249536}} 
[2026-09-23 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":190821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:38:09] local.INFO: GPS data processed {"connection_id":190821,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:38:09] local.INFO: Acknowledgment sent {"connection_id":190821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:38:30] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5f6f20012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5f6f20012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:38:30] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5f6f20012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:38:30] local.INFO: Packet analysis {"connection_id":190822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:38:30] local.INFO: Extracted packet for processing {"connection_id":190822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283196160001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790168756000,"timestamp_ms":1790168756000,"timestamp_seconds":1790168756,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5f6f20"} 
[2026-09-23 18:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 18:38: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-09-23 18:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283196160001,"66":12939,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283196160001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:38:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283196160001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":190822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:38:31] local.INFO: GPS data processed {"connection_id":190822,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:38:31] local.INFO: Acknowledgment sent {"connection_id":190822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:38:31] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:31] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:31] local.INFO: IMEI packet received {"connection_id":190633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":190633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:38:36] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:36] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:38:36] local.INFO: IMEI packet received {"connection_id":190633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":190633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:38:37] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5f01c0012d34c6c006aa5538000a00e52c..."} 
[2026-09-23 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5f01c0012d34c6c006aa5538000a00e52c..."} 
[2026-09-23 18:38:37] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5f01c0012d34c6c006aa5538000a00e52c..."} 
[2026-09-23 18:38:37] local.INFO: Packet analysis {"connection_id":190633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:38:37] local.INFO: Extracted packet for processing {"connection_id":190633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111826232,"longitude_deg":75.8433472,"latitude_deg":11.1826232,"altitude":10,"angle":229,"satellites":44,"speed":13,"hex_longitude":"2d34c6c0","hex_latitude":"06aa5538","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283194112001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736826020134912,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913941952512,"note":"Value kept but may cause issues"} 
[2026-09-23 18:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168728000,"timestamp_ms":1790168728000,"timestamp_seconds":1790168728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5f01c0"} 
[2026-09-23 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-09-23 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-23 18:38: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-09-23 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-09-23 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-09-23 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283194112001,"66":27343,"97":206,"81":23296,"24":13,"16":406736826020134912,"45":3803289913941952512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283194112001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736826020134912,"km_value":406736826020134.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913941952512,"description":"Unknown IO ID 45"} 
[2026-09-23 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283194112001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3803289913941952512}} 
[2026-09-23 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":190633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:38:37] local.INFO: GPS data processed {"connection_id":190633,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:38:37] local.INFO: Acknowledgment sent {"connection_id":190633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:38:56] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:38:56] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:38:56] local.INFO: IMEI packet received {"connection_id":193499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":193499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:39:01] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:01] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:01] local.INFO: IMEI packet received {"connection_id":193499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":193499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:39:02] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5fc128012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5fc128012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:02] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5fc128012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:02] local.INFO: Packet analysis {"connection_id":193499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:02] local.INFO: Extracted packet for processing {"connection_id":193499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283201536001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168777000,"timestamp_ms":1790168777000,"timestamp_seconds":1790168777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5fc128"} 
[2026-09-23 18:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":139,"data_length":795,"current_offset":136} 
[2026-09-23 18:39: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-09-23 18: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-09-23 18:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283201536001,"66":12950,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283201536001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:39:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283201536001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":193499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:39:02] local.INFO: GPS data processed {"connection_id":193499,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:39:02] local.INFO: Acknowledgment sent {"connection_id":193499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:39:08] local.INFO: TCP Data received {"connection_id":190633,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5f05a8012d34c5c006aa5420000a00cd2b..."} 
[2026-09-23 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5f05a8012d34c5c006aa5420000a00cd2b..."} 
[2026-09-23 18:39:08] local.INFO: Processing buffer {"connection_id":190633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5f05a8012d34c5c006aa5420000a00cd2b..."} 
[2026-09-23 18:39:08] local.INFO: Packet analysis {"connection_id":190633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:08] local.INFO: Extracted packet for processing {"connection_id":190633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111825952,"longitude_deg":75.8433216,"latitude_deg":11.1825952,"altitude":10,"angle":205,"satellites":43,"speed":13,"hex_longitude":"2d34c5c0","hex_latitude":"06aa5420","is_valid_coordinates":true} 
[2026-09-23 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283194368001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736843200004096,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070221010944,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168729000,"timestamp_ms":1790168729000,"timestamp_seconds":1790168729,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5f05a8"} 
[2026-09-23 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-23 18:39: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-09-23 18:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283194368001,"66":27343,"97":206,"81":23296,"24":13,"16":406736843200004096,"45":3802938070221010944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283194368001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736843200004096,"km_value":406736843200004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070221010944,"description":"Unknown IO ID 45"} 
[2026-09-23 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283194368001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3802938070221010944}} 
[2026-09-23 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:39:08] local.INFO: GPS data processed {"connection_id":190633,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:39:08] local.INFO: Acknowledgment sent {"connection_id":190633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:39:30] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:30] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:30] local.INFO: IMEI packet received {"connection_id":190824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":190824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:39:33] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce601330012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce601330012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:33] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce601330012d182b0007219d58004d013b2a..."} 
[2026-09-23 18:39:33] local.INFO: Packet analysis {"connection_id":193499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce60"} 
[2026-09-23 18:39:33] local.INFO: Extracted packet for processing {"connection_id":193499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce60"} 
[2026-09-23 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283206912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168798000,"timestamp_ms":1790168798000,"timestamp_seconds":1790168798,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce601330"} 
[2026-09-23 18:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 18:39:33] 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-09-23 18: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-09-23 18:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283206912001,"66":12917,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283206912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:39:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283206912001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":193499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:39:33] local.INFO: GPS data processed {"connection_id":193499,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:39:33] local.INFO: Acknowledgment sent {"connection_id":193499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:39:36] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:36] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:39:36] local.INFO: IMEI packet received {"connection_id":190824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:39:37] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce5f0990012d34c58006aa52f8000900bd2c..."} 
[2026-09-23 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce5f0990012d34c58006aa52f8000900bd2c..."} 
[2026-09-23 18:39:37] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce5f0990012d34c58006aa52f8000900bd2c..."} 
[2026-09-23 18:39:37] local.INFO: Packet analysis {"connection_id":190824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:37] local.INFO: Extracted packet for processing {"connection_id":190824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce5f"} 
[2026-09-23 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111825656,"longitude_deg":75.8433152,"latitude_deg":11.1825656,"altitude":9,"angle":189,"satellites":44,"speed":10,"hex_longitude":"2d34c580","hex_latitude":"06aa52f8","is_valid_coordinates":true} 
[2026-09-23 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283194624001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406736856084905984,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595244228608,"note":"Value kept but may cause issues"} 
[2026-09-23 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790168730000,"timestamp_ms":1790168730000,"timestamp_seconds":1790168730,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce5f0990"} 
[2026-09-23 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-23 18:39: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-09-23 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283194624001,"66":26908,"97":206,"81":23296,"24":10,"16":406736856084905984,"45":3802656595244228608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283194624001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406736856084905984,"km_value":406736856084906.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595244228608,"description":"Unknown IO ID 45"} 
[2026-09-23 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283194624001,"power":26908,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802656595244228608}} 
[2026-09-23 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":190824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:39:37] local.INFO: GPS data processed {"connection_id":190824,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:39:37] local.INFO: Acknowledgment sent {"connection_id":190824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:39:56] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:56] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:39:56] local.INFO: IMEI packet received {"connection_id":190825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":190825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:40:01] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:01] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:01] local.INFO: IMEI packet received {"connection_id":190825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:40:02] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce606538012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce606538012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:40:02] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce606538012d182b0007219d58004d013b2b..."} 
[2026-09-23 18:40:02] local.INFO: Packet analysis {"connection_id":190825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce60"} 
[2026-09-23 18:40:02] local.INFO: Extracted packet for processing {"connection_id":190825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce60"} 
[2026-09-23 18:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643480,"longitude_deg":75.6558592,"latitude_deg":11.964348,"altitude":77,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283212288001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815282888179712,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537559552,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168819000,"timestamp_ms":1790168819000,"timestamp_seconds":1790168819,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce606538"} 
[2026-09-23 18:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:40: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-09-23 18: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":117,"data_length":795,"current_offset":136} 
[2026-09-23 18:40: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-09-23 18: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-09-23 18:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283212288001,"66":12885,"105":206,"83":41984,"24":0,"16":22815282888179712,"45":1741485711537559552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283212288001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815282888179712,"km_value":22815282888179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537559552,"description":"Unknown IO ID 45"} 
[2026-09-23 18:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283212288001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537559552}} 
[2026-09-23 18:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":190825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:40:02] local.INFO: GPS data processed {"connection_id":190825,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:40:02] local.INFO: Acknowledgment sent {"connection_id":190825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:40:08] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce620b18012d34c70006aa4750000801052a..."} 
[2026-09-23 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce620b18012d34c70006aa4750000801052a..."} 
[2026-09-23 18:40:08] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce620b18012d34c70006aa4750000801052a..."} 
[2026-09-23 18:40:08] local.INFO: Packet analysis {"connection_id":190824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:08] local.INFO: Extracted packet for processing {"connection_id":190824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283239936001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790168927000,"timestamp_ms":1790168927000,"timestamp_seconds":1790168927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce620b18"} 
[2026-09-23 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:40: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-09-23 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:40: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-09-23 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283239936001,"66":27974,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283239936001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283239936001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":190824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:40:08] local.INFO: GPS data processed {"connection_id":190824,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:40:08] local.INFO: Acknowledgment sent {"connection_id":190824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:40:30] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:30] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:30] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:40:33] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce62f190012d181cc00721a808004b016329..."} 
[2026-09-23 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce62f190012d181cc00721a808004b016329..."} 
[2026-09-23 18:40:33] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce62f190012d181cc00721a808004b016329..."} 
[2026-09-23 18:40:33] local.INFO: Packet analysis {"connection_id":190825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:33] local.INFO: Extracted packet for processing {"connection_id":190825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646216,"longitude_deg":75.6554944,"latitude_deg":11.9646216,"altitude":75,"angle":355,"satellites":41,"speed":8,"hex_longitude":"2d181cc0","hex_latitude":"0721a808","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283260160001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815514816413696,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120094208,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168986000,"timestamp_ms":1790168986000,"timestamp_seconds":1790168986,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce62f190"} 
[2026-09-23 18:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-23 18:40:33] 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-09-23 18: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-09-23 18:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283260160001,"66":13646,"105":206,"83":41984,"24":8,"16":22815514816413696,"45":1737474693120094208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283260160001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815514816413696,"km_value":22815514816413.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120094208,"description":"Unknown IO ID 45"} 
[2026-09-23 18:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283260160001,"power":13646,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737474693120094208}} 
[2026-09-23 18:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":190825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:40:33] local.INFO: GPS data processed {"connection_id":190825,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:40:33] local.INFO: Acknowledgment sent {"connection_id":190825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:40:36] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:36] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:40:36] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:40:38] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce625d20012d34c70006aa4750000801052d..."} 
[2026-09-23 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce625d20012d34c70006aa4750000801052d..."} 
[2026-09-23 18:40:38] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce625d20012d34c70006aa4750000801052d..."} 
[2026-09-23 18:40:38] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:38] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283245312001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790168948000,"timestamp_ms":1790168948000,"timestamp_seconds":1790168948,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce625d20"} 
[2026-09-23 18:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:40: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-09-23 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 18:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283245312001,"66":27908,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283245312001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283245312001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:40:38] local.INFO: GPS data processed {"connection_id":192166,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:40:38] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:40:54] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:54] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:54] local.INFO: IMEI packet received {"connection_id":192167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":192167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:40:56] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:56] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:40:56] local.INFO: IMEI packet received {"connection_id":192167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":192167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:41:01] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:01] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:01] local.INFO: IMEI packet received {"connection_id":192167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":192167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:41:02] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce62f578012d181cc00721a900004b000929..."} 
[2026-09-23 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce62f578012d181cc00721a900004b000929..."} 
[2026-09-23 18:41:02] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce62f578012d181cc00721a900004b000929..."} 
[2026-09-23 18:41:02] local.INFO: Packet analysis {"connection_id":192167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:02] local.INFO: Extracted packet for processing {"connection_id":192167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646464,"longitude_deg":75.6554944,"latitude_deg":11.9646464,"altitude":75,"angle":9,"satellites":41,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721a900","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283260416001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815523406348288,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120133120,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790168987000,"timestamp_ms":1790168987000,"timestamp_seconds":1790168987,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce62f578"} 
[2026-09-23 18:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:41: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-09-23 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-23 18:41:02] 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-09-23 18: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-09-23 18:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283260416001,"66":13656,"105":206,"83":41984,"24":11,"16":22815523406348288,"45":1737474693120133120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283260416001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:41:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815523406348288,"km_value":22815523406348.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120133120,"description":"Unknown IO ID 45"} 
[2026-09-23 18:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283260416001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737474693120133120}} 
[2026-09-23 18:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":192167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:41:02] local.INFO: GPS data processed {"connection_id":192167,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:41:02] local.INFO: Acknowledgment sent {"connection_id":192167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:41:09] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce62af28012d34c70006aa4750000801052d..."} 
[2026-09-23 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce62af28012d34c70006aa4750000801052d..."} 
[2026-09-23 18:41:09] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce62af28012d34c70006aa4750000801052d..."} 
[2026-09-23 18:41:09] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:09] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283250688001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790168969000,"timestamp_ms":1790168969000,"timestamp_seconds":1790168969,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce62af28"} 
[2026-09-23 18:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:41: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-09-23 18:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283250688001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283250688001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283250688001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:41:09] local.INFO: GPS data processed {"connection_id":192166,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:41:09] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:41:30] local.INFO: TCP Data received {"connection_id":193502,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:30] local.INFO: Processing buffer {"connection_id":193502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:30] local.INFO: IMEI packet received {"connection_id":193502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":193502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:41:33] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce62fd48012d181dc00721abb0004b001a2b..."} 
[2026-09-23 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce62fd48012d181dc00721abb0004b001a2b..."} 
[2026-09-23 18:41:33] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce62fd48012d181dc00721abb0004b001a2b..."} 
[2026-09-23 18:41:33] local.INFO: Packet analysis {"connection_id":192167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:33] local.INFO: Extracted packet for processing {"connection_id":192167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce62"} 
[2026-09-23 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647152,"longitude_deg":75.65552,"latitude_deg":11.9647152,"altitude":75,"angle":26,"satellites":43,"speed":16,"hex_longitude":"2d181dc0","hex_latitude":"0721abb0","is_valid_coordinates":true} 
[2026-09-23 18:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283260672001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815557766086656,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120196608,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790168989000,"timestamp_ms":1790168989000,"timestamp_seconds":1790168989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce62fd48"} 
[2026-09-23 18:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-23 18:41:33] 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-09-23 18:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283260672001,"66":13580,"105":206,"83":41984,"24":16,"16":22815557766086656,"45":1737474693120196608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283260672001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:41:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815557766086656,"km_value":22815557766086.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120196608,"description":"Unknown IO ID 45"} 
[2026-09-23 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283260672001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1737474693120196608}} 
[2026-09-23 18:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":192167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:41:33] local.INFO: GPS data processed {"connection_id":192167,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:41:33] local.INFO: Acknowledgment sent {"connection_id":192167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:41:36] local.INFO: TCP Data received {"connection_id":193502,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:36] local.INFO: Processing buffer {"connection_id":193502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:41:36] local.INFO: IMEI packet received {"connection_id":193502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":193502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:41:38] local.INFO: TCP Data received {"connection_id":193502,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce630130012d34c70006aa4750000801052e..."} 
[2026-09-23 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce630130012d34c70006aa4750000801052e..."} 
[2026-09-23 18:41:38] local.INFO: Processing buffer {"connection_id":193502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce630130012d34c70006aa4750000801052e..."} 
[2026-09-23 18:41:38] local.INFO: Packet analysis {"connection_id":193502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:41:38] local.INFO: Extracted packet for processing {"connection_id":193502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283256064001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790168990000,"timestamp_ms":1790168990000,"timestamp_seconds":1790168990,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce630130"} 
[2026-09-23 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:41: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-09-23 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:41: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-09-23 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283256064001,"66":27767,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283256064001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283256064001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":193502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:41:38] local.INFO: GPS data processed {"connection_id":193502,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:41:38] local.INFO: Acknowledgment sent {"connection_id":193502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:41:56] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:56] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:41:56] local.INFO: IMEI packet received {"connection_id":190826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":190826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:42:01] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:01] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:01] local.INFO: IMEI packet received {"connection_id":190826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":190826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:42:02] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce634f50012d1824c00721b698004c00222c..."} 
[2026-09-23 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce634f50012d1824c00721b698004c00222c..."} 
[2026-09-23 18:42:02] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce634f50012d1824c00721b698004c00222c..."} 
[2026-09-23 18:42:02] local.INFO: Packet analysis {"connection_id":190826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:02] local.INFO: Extracted packet for processing {"connection_id":190826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649944,"longitude_deg":75.6556992,"latitude_deg":11.9649944,"altitude":76,"angle":34,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283261184001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22815720974843904,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097083392,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169010000,"timestamp_ms":1790169010000,"timestamp_seconds":1790169010,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce634f50"} 
[2026-09-23 18:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:42: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-09-23 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534350,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3044441189055463504,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3462558864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2605613868000477194,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2783445067,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636889607989865,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692837,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004519239823789,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,14,160,245,45,192,169,75,41,10,66,168,237,1,240,78,227,206,33,4,113,205,2,163,30,40,44,239,53,81,7,79,8,164],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-23 18:42:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404348324831559680,"timestamp_seconds":5404348324831560.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283261184001,"66":13722,"105":206,"83":41984,"24":0,"16":22815720974843904,"45":1737756168097083392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283261184001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:42:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22815720974843904,"km_value":22815720974843.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097083392,"description":"Unknown IO ID 45"} 
[2026-09-23 18:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283261184001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097083392}} 
[2026-09-23 18:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":190826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:42:02] local.INFO: GPS data processed {"connection_id":190826,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:42:02] local.INFO: Acknowledgment sent {"connection_id":190826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:42:10] local.INFO: TCP Data received {"connection_id":193502,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635338012d34c70006aa4750000801052e..."} 
[2026-09-23 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635338012d34c70006aa4750000801052e..."} 
[2026-09-23 18:42:10] local.INFO: Processing buffer {"connection_id":193502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635338012d34c70006aa4750000801052e..."} 
[2026-09-23 18:42:10] local.INFO: Packet analysis {"connection_id":193502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:10] local.INFO: Extracted packet for processing {"connection_id":193502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283261440001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790169011000,"timestamp_ms":1790169011000,"timestamp_seconds":1790169011,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635338"} 
[2026-09-23 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 18:42: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-09-23 18:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283261440001,"66":27745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283261440001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283261440001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":193502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:42:10] local.INFO: GPS data processed {"connection_id":193502,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:42:10] local.INFO: Acknowledgment sent {"connection_id":193502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:42:33] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6431e0012d182f00072199c0004c007327..."} 
[2026-09-23 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6431e0012d182f00072199c0004c007327..."} 
[2026-09-23 18:42:33] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6431e0012d182f00072199c0004c007327..."} 
[2026-09-23 18:42:33] local.INFO: Packet analysis {"connection_id":190826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce64"} 
[2026-09-23 18:42:33] local.INFO: Extracted packet for processing {"connection_id":190826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce64"} 
[2026-09-23 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756559616,"raw_latitude":119642560,"longitude_deg":75.6559616,"latitude_deg":11.964256,"altitude":76,"angle":115,"satellites":39,"speed":6,"hex_longitude":"2d182f00","hex_latitude":"072199c0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283276288001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22816236370919424,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305036800,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169068000,"timestamp_ms":1790169068000,"timestamp_seconds":1790169068,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6431e0"} 
[2026-09-23 18:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:42: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-09-23 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-23 18:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283276288001,"66":13722,"105":206,"83":41984,"24":6,"16":22816236370919424,"45":1741274605305036800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283276288001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:42:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22816236370919424,"km_value":22816236370919.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305036800,"description":"Unknown IO ID 45"} 
[2026-09-23 18:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283276288001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741274605305036800}} 
[2026-09-23 18:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":190826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:42:33] local.INFO: GPS data processed {"connection_id":190826,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:42:33] local.INFO: Acknowledgment sent {"connection_id":190826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:42:36] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:36] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:36] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:42:40] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:40] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:42:40] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:42:42] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:42:42] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:42:42] local.INFO: Packet analysis {"connection_id":193503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:42] local.INFO: Extracted packet for processing {"connection_id":193503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":193503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:42:42] local.INFO: GPS data processed {"connection_id":193503,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:42:42] local.INFO: Acknowledgment sent {"connection_id":193503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:42:56] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:56] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:42:56] local.INFO: IMEI packet received {"connection_id":193504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":193504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:43:01] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:01] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:01] local.INFO: IMEI packet received {"connection_id":193504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":193504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:43:02] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6483e8012d18430007219108004c006c25..."} 
[2026-09-23 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6483e8012d18430007219108004c006c25..."} 
[2026-09-23 18:43:02] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6483e8012d18430007219108004c006c25..."} 
[2026-09-23 18:43:02] local.INFO: Packet analysis {"connection_id":193504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce64"} 
[2026-09-23 18:43:02] local.INFO: Extracted packet for processing {"connection_id":193504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce64"} 
[2026-09-23 18:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756564736,"raw_latitude":119640328,"longitude_deg":75.6564736,"latitude_deg":11.9640328,"altitude":76,"angle":108,"satellites":37,"speed":19,"hex_longitude":"2d184300","hex_latitude":"07219108","is_valid_coordinates":true} 
[2026-09-23 18:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283281408001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22816506953859072,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742611611444166656,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169089000,"timestamp_ms":1790169089000,"timestamp_seconds":1790169089,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6483e8"} 
[2026-09-23 18:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 18:43:02] 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-09-23 18:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283281408001,"66":13852,"105":206,"83":41984,"24":19,"16":22816506953859072,"45":1742611611444166656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-23 18:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283281408001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:43:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-23 18:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22816506953859072,"km_value":22816506953859.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742611611444166656,"description":"Unknown IO ID 45"} 
[2026-09-23 18:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283281408001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1742611611444166656}} 
[2026-09-23 18:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":193504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:43:02] local.INFO: GPS data processed {"connection_id":193504,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:43:02] local.INFO: Acknowledgment sent {"connection_id":193504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:43:13] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:13] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:13] local.INFO: Packet analysis {"connection_id":193503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:43:13] local.INFO: Extracted packet for processing {"connection_id":193503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:43: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-09-23 18:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":193503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:43:13] local.INFO: GPS data processed {"connection_id":193503,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:43:13] local.INFO: Acknowledgment sent {"connection_id":193503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:43:14] local.INFO: TCP Data received {"connection_id":192169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:43:14] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:43:14] local.INFO: IMEI packet received {"connection_id":192169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":192169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:43:30] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:30] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:30] local.INFO: IMEI packet received {"connection_id":192170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:43:33] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce65b498012d18c58007214518004000c124..."} 
[2026-09-23 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce65b498012d18c58007214518004000c124..."} 
[2026-09-23 18:43:33] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce65b498012d18c58007214518004000c124..."} 
[2026-09-23 18:43:33] local.INFO: Packet analysis {"connection_id":193504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:43:33] local.INFO: Extracted packet for processing {"connection_id":193504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119620888,"longitude_deg":75.6598144,"latitude_deg":11.9620888,"altitude":64,"angle":193,"satellites":36,"speed":7,"hex_longitude":"2d18c580","hex_latitude":"07214518","is_valid_coordinates":true} 
[2026-09-23 18:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283306496001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22818529883455488,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177803264,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169167000,"timestamp_ms":1790169167000,"timestamp_seconds":1790169167,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce65b498"} 
[2026-09-23 18:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:43: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-09-23 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 18:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283306496001,"66":13341,"106":206,"83":41984,"24":7,"16":22818529883455488,"45":1785043964177803264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 18:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283306496001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:43:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 18:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22818529883455488,"km_value":22818529883455.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177803264,"description":"Unknown IO ID 45"} 
[2026-09-23 18:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283306496001,"power":13341,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1785043964177803264}} 
[2026-09-23 18:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":193504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:43:33] local.INFO: GPS data processed {"connection_id":193504,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:43:33] local.INFO: Acknowledgment sent {"connection_id":193504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:43:36] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:36] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:43:36] local.INFO: IMEI packet received {"connection_id":192170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":192170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:43:37] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:37] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:43:37] local.INFO: Packet analysis {"connection_id":192170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:43:37] local.INFO: Extracted packet for processing {"connection_id":192170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:43: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-09-23 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:43: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-09-23 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":192170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:43:37] local.INFO: GPS data processed {"connection_id":192170,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:43:37] local.INFO: Acknowledgment sent {"connection_id":192170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:43:56] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:56] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:43:56] local.INFO: IMEI packet received {"connection_id":190827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":190827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:44:01] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:01] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:01] local.INFO: IMEI packet received {"connection_id":190827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":190827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:44:02] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce65bc68012d18c54007214390004000ae25..."} 
[2026-09-23 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce65bc68012d18c54007214390004000ae25..."} 
[2026-09-23 18:44:02] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce65bc68012d18c54007214390004000ae25..."} 
[2026-09-23 18:44:02] local.INFO: Packet analysis {"connection_id":190827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:44:02] local.INFO: Extracted packet for processing {"connection_id":190827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119620496,"longitude_deg":75.659808,"latitude_deg":11.9620496,"altitude":64,"angle":174,"satellites":37,"speed":9,"hex_longitude":"2d18c540","hex_latitude":"07214390","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283306752001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22818551358291968,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433572352,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169169000,"timestamp_ms":1790169169000,"timestamp_seconds":1790169169,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce65bc68"} 
[2026-09-23 18:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:44: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-09-23 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-23 18:44: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-09-23 18: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-09-23 18:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283306752001,"66":13722,"106":206,"83":41984,"24":9,"16":22818551358291968,"45":1784973595433572352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 18:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283306752001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:44:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 18:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22818551358291968,"km_value":22818551358291.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433572352,"description":"Unknown IO ID 45"} 
[2026-09-23 18:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283306752001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1784973595433572352}} 
[2026-09-23 18:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":190827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:44:02] local.INFO: GPS data processed {"connection_id":190827,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:44:02] local.INFO: Acknowledgment sent {"connection_id":190827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:44:09] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:09] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:09] local.INFO: Packet analysis {"connection_id":192170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:44:09] local.INFO: Extracted packet for processing {"connection_id":192170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:44: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-09-23 18:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 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-09-23 18:44: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-09-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:44: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-09-23 18: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-09-23 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-09-23 18:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":192170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:44:09] local.INFO: GPS data processed {"connection_id":192170,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:44:09] local.INFO: Acknowledgment sent {"connection_id":192170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:44:30] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:30] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:30] local.INFO: IMEI packet received {"connection_id":190634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":190634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:44:33] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce65cc08012d18c6c007213d20003f00a024..."} 
[2026-09-23 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce65cc08012d18c6c007213d20003f00a024..."} 
[2026-09-23 18:44:33] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce65cc08012d18c6c007213d20003f00a024..."} 
[2026-09-23 18:44:33] local.INFO: Packet analysis {"connection_id":190827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:44:33] local.INFO: Extracted packet for processing {"connection_id":190827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce65"} 
[2026-09-23 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618848,"longitude_deg":75.6598464,"latitude_deg":11.9618848,"altitude":63,"angle":160,"satellites":36,"speed":23,"hex_longitude":"2d18c6c0","hex_latitude":"07213d20","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283307264001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22818632962670592,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689294336,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169173000,"timestamp_ms":1790169173000,"timestamp_seconds":1790169173,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce65cc08"} 
[2026-09-23 18:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:44: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-09-23 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 18:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283307264001,"66":13798,"106":206,"83":41984,"24":23,"16":22818632962670592,"45":1784903226689294336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-23 18:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283307264001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:44:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-23 18:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22818632962670592,"km_value":22818632962670.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689294336,"description":"Unknown IO ID 45"} 
[2026-09-23 18:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283307264001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1784903226689294336}} 
[2026-09-23 18:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":190827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:44:33] local.INFO: GPS data processed {"connection_id":190827,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:44:33] local.INFO: Acknowledgment sent {"connection_id":190827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:44:36] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:36] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:44:36] local.INFO: IMEI packet received {"connection_id":190634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":190634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:44:37] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:37] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:44:37] local.INFO: Packet analysis {"connection_id":190634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:44:37] local.INFO: Extracted packet for processing {"connection_id":190634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:44: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-09-23 18:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:44: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-09-23 18: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-09-23 18:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":190634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:44:37] local.INFO: GPS data processed {"connection_id":190634,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:44:37] local.INFO: Acknowledgment sent {"connection_id":190634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:44:57] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:57] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:44:57] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:45:00] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:00] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:00] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:45:01] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:01] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:01] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:45:06] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:06] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:06] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:45:07] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce66c608012d190a800720c988002b007726..."} 
[2026-09-23 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce66c608012d190a800720c988002b007726..."} 
[2026-09-23 18:45:07] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce66c608012d190a800720c988002b007726..."} 
[2026-09-23 18:45:07] local.INFO: Packet analysis {"connection_id":190829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:07] local.INFO: Extracted packet for processing {"connection_id":190829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756615808,"raw_latitude":119589256,"longitude_deg":75.6615808,"latitude_deg":11.9589256,"altitude":43,"angle":119,"satellites":38,"speed":34,"hex_longitude":"2d190a80","hex_latitude":"0720c988","is_valid_coordinates":true} 
[2026-09-23 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283322880001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22820381014360064,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799328819238537216,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790169237000,"timestamp_ms":1790169237000,"timestamp_seconds":1790169237,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce66c608"} 
[2026-09-23 18:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:45: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-09-23 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-23 18:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283322880001,"66":13243,"103":206,"83":41984,"24":34,"16":22820381014360064,"45":1799328819238537216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283322880001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22820381014360064,"km_value":22820381014360.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799328819238537216,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283322880001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1799328819238537216}} 
[2026-09-23 18:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":190829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:07] local.INFO: GPS data processed {"connection_id":190829,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:07] local.INFO: Acknowledgment sent {"connection_id":190829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:08] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce66ed18012d192ec00720bb380025006f26..."} 
[2026-09-23 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce66ed18012d192ec00720bb380025006f26..."} 
[2026-09-23 18:45:08] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce66ed18012d192ec00720bb380025006f26..."} 
[2026-09-23 18:45:08] local.INFO: Packet analysis {"connection_id":190829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:08] local.INFO: Extracted packet for processing {"connection_id":190829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756625088,"raw_latitude":119585592,"longitude_deg":75.6625088,"latitude_deg":11.9585592,"altitude":37,"angle":111,"satellites":38,"speed":36,"hex_longitude":"2d192ec0","hex_latitude":"0720bb38","is_valid_coordinates":true} 
[2026-09-23 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283324672001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22820857755729920,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804395368818509824,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790169247000,"timestamp_ms":1790169247000,"timestamp_seconds":1790169247,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce66ed18"} 
[2026-09-23 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-23 18:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283324672001,"66":13906,"103":206,"83":41984,"24":36,"16":22820857755729920,"45":1804395368818509824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283324672001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22820857755729920,"km_value":22820857755729.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804395368818509824,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283324672001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1804395368818509824}} 
[2026-09-23 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":190829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:08] local.INFO: GPS data processed {"connection_id":190829,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:08] local.INFO: Acknowledgment sent {"connection_id":190829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:09] local.INFO: TCP Data received {"connection_id":190634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:09] local.INFO: Processing buffer {"connection_id":190634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:09] local.INFO: Packet analysis {"connection_id":190634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:09] local.INFO: Extracted packet for processing {"connection_id":190634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 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-09-23 18:45: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-09-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:45: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-09-23 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-09-23 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-09-23 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":190634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:09] local.INFO: GPS data processed {"connection_id":190634,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:09] local.INFO: Acknowledgment sent {"connection_id":190634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:36] local.INFO: TCP Data received {"connection_id":193505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:36] local.INFO: Processing buffer {"connection_id":193505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:36] local.INFO: IMEI packet received {"connection_id":193505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":193505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:45:40] local.INFO: TCP Data received {"connection_id":190829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce66fcb8012d193a800720b4a80024007b26..."} 
[2026-09-23 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce66fcb8012d193a800720b4a80024007b26..."} 
[2026-09-23 18:45:40] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce66fcb8012d193a800720b4a80024007b26..."} 
[2026-09-23 18:45:40] local.INFO: Packet analysis {"connection_id":190829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:40] local.INFO: Extracted packet for processing {"connection_id":190829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce66"} 
[2026-09-23 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756628096,"raw_latitude":119583912,"longitude_deg":75.6628096,"latitude_deg":11.9583912,"altitude":36,"angle":123,"satellites":38,"speed":36,"hex_longitude":"2d193a80","hex_latitude":"0720b4a8","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283327232001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22821020964487168,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814598836723333120,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790169251000,"timestamp_ms":1790169251000,"timestamp_seconds":1790169251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce66fcb8"} 
[2026-09-23 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-09-23 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-23 18:45:40] 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-09-23 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-09-23 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-09-23 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283327232001,"66":13678,"103":206,"83":41984,"24":36,"16":22821020964487168,"45":1814598836723333120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283327232001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22821020964487168,"km_value":22821020964487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814598836723333120,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283327232001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1814598836723333120}} 
[2026-09-23 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":190829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:40] local.INFO: GPS data processed {"connection_id":190829,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:40] local.INFO: Acknowledgment sent {"connection_id":190829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:41] local.INFO: TCP Data received {"connection_id":193505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:41] local.INFO: Processing buffer {"connection_id":193505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:45:41] local.INFO: IMEI packet received {"connection_id":193505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":193505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:45:42] local.INFO: TCP Data received {"connection_id":193505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:42] local.INFO: Processing buffer {"connection_id":193505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:42] local.INFO: Packet analysis {"connection_id":193505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:42] local.INFO: Extracted packet for processing {"connection_id":193505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:45: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-09-23 18:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:45: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-09-23 18:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":193505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:42] local.INFO: GPS data processed {"connection_id":193505,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:42] local.INFO: Acknowledgment sent {"connection_id":193505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:46] local.INFO: TCP Data received {"connection_id":193505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:46] local.INFO: Processing buffer {"connection_id":193505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce635ef0012d34c70006aa4750000801052f..."} 
[2026-09-23 18:45:46] local.INFO: Packet analysis {"connection_id":193505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:46] local.INFO: Extracted packet for processing {"connection_id":193505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce63"} 
[2026-09-23 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111822672,"longitude_deg":75.8433536,"latitude_deg":11.1822672,"altitude":8,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-23 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283266816001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790169014000,"timestamp_ms":1790169014000,"timestamp_seconds":1790169014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce635ef0"} 
[2026-09-23 18:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:45: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-09-23 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:45:46] 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-09-23 18:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283266816001,"66":27865,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283266816001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283266816001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":193505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:45:46] local.INFO: GPS data processed {"connection_id":193505,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:45:46] local.INFO: Acknowledgment sent {"connection_id":193505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:45:53] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:53] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:53] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:45:54] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:54] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:54] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:45:56] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:56] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:45:56] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:46:01] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:01] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:01] local.INFO: IMEI packet received {"connection_id":190635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":190635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:46:02] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce670c58012d1947000720adf00026006e25..."} 
[2026-09-23 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce670c58012d1947000720adf00026006e25..."} 
[2026-09-23 18:46:02] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce670c58012d1947000720adf00026006e25..."} 
[2026-09-23 18:46:02] local.INFO: Packet analysis {"connection_id":190635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce67"} 
[2026-09-23 18:46:02] local.INFO: Extracted packet for processing {"connection_id":190635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce67"} 
[2026-09-23 18:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756631296,"raw_latitude":119582192,"longitude_deg":75.6631296,"latitude_deg":11.9582192,"altitude":38,"angle":110,"satellites":37,"speed":34,"hex_longitude":"2d194700","hex_latitude":"0720adf0","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283328256001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22821197058146304,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167699253248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169255000,"timestamp_ms":1790169255000,"timestamp_seconds":1790169255,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce670c58"} 
[2026-09-23 18:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:46: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-09-23 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-23 18:46:02] 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-09-23 18: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-09-23 18:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283328256001,"66":13722,"103":206,"83":41984,"24":34,"16":22821197058146304,"45":1817906167699253248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283328256001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:46:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22821197058146304,"km_value":22821197058146.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167699253248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283328256001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1817906167699253248}} 
[2026-09-23 18:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":190635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:46:02] local.INFO: GPS data processed {"connection_id":190635,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:46:02] local.INFO: Acknowledgment sent {"connection_id":190635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:46:05] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce671bf8012d1953400720aad80028006126..."} 
[2026-09-23 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce671bf8012d1953400720aad80028006126..."} 
[2026-09-23 18:46:05] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce671bf8012d1953400720aad80028006126..."} 
[2026-09-23 18:46:05] local.INFO: Packet analysis {"connection_id":190635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce67"} 
[2026-09-23 18:46:05] local.INFO: Extracted packet for processing {"connection_id":190635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce67"} 
[2026-09-23 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119581400,"longitude_deg":75.6634432,"latitude_deg":11.95814,"altitude":40,"angle":97,"satellites":38,"speed":30,"hex_longitude":"2d195340","hex_latitude":"0720aad8","is_valid_coordinates":true} 
[2026-09-23 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283329280001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22821347382001664,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821424604907696128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790169259000,"timestamp_ms":1790169259000,"timestamp_seconds":1790169259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce671bf8"} 
[2026-09-23 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-23 18:46:05] 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-09-23 18:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283329280001,"66":13417,"103":206,"83":41984,"24":30,"16":22821347382001664,"45":1821424604907696128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283329280001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:46:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22821347382001664,"km_value":22821347382001.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821424604907696128,"description":"Unknown IO ID 45"} 
[2026-09-23 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283329280001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1821424604907696128}} 
[2026-09-23 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":190635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:46:06] local.INFO: GPS data processed {"connection_id":190635,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:46:06] local.INFO: Acknowledgment sent {"connection_id":190635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:46:31] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:31] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:31] local.INFO: IMEI packet received {"connection_id":190830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":190830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:46:36] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:36] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:46:36] local.INFO: IMEI packet received {"connection_id":190830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:46:37] local.INFO: TCP Data received {"connection_id":190635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce686fd0012d19bd8007204430002a00b427..."} 
[2026-09-23 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce686fd0012d19bd8007204430002a00b427..."} 
[2026-09-23 18:46:37] local.INFO: Processing buffer {"connection_id":190635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce686fd0012d19bd8007204430002a00b427..."} 
[2026-09-23 18:46:37] local.INFO: Packet analysis {"connection_id":190635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:37] local.INFO: Extracted packet for processing {"connection_id":190635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119555120,"longitude_deg":75.6661632,"latitude_deg":11.955512,"altitude":42,"angle":180,"satellites":39,"speed":35,"hex_longitude":"2d19bd80","hex_latitude":"07204430","is_valid_coordinates":true} 
[2026-09-23 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283350784001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824005966757888,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333456840704,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169346000,"timestamp_ms":1790169346000,"timestamp_seconds":1790169346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce686fd0"} 
[2026-09-23 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3462901864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249835314430126200,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408895490,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2769289263,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 18:46:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3087084825,"corrected_to":0} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221692581,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,21,160,53,45,128,129,39,10,66,41,141,46,37,1,240,47,227,206,32,4,113,205,246,188,192,42,239,48,2,81,7,13,120,91],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":246,"original":3087084825,"validated":0}]} 
[2026-09-23 18:46:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026604930269708288,"timestamp_seconds":3026604930269708.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283350784001,"66":12558,"103":206,"83":41984,"24":35,"16":22824005966757888,"45":1854005333456840704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283350784001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:46:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824005966757888,"km_value":22824005966757.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333456840704,"description":"Unknown IO ID 45"} 
[2026-09-23 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283350784001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1854005333456840704}} 
[2026-09-23 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":190635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:46:37] local.INFO: GPS data processed {"connection_id":190635,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:46:37] local.INFO: Acknowledgment sent {"connection_id":190635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:46:38] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:46:38] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:46:38] local.INFO: Packet analysis {"connection_id":190830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:38] local.INFO: Extracted packet for processing {"connection_id":190830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:46: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-09-23 18: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-09-23 18:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":190830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:46:38] local.INFO: GPS data processed {"connection_id":190830,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:46:38] local.INFO: Acknowledgment sent {"connection_id":190830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:46:56] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:56] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:56] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:46:58] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:58] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:46:58] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:46:59] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6877a0012d19be0007203d68002b00a827..."} 
[2026-09-23 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6877a0012d19be0007203d68002b00a827..."} 
[2026-09-23 18:46:59] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6877a0012d19be0007203d68002b00a827..."} 
[2026-09-23 18:46:59] local.INFO: Packet analysis {"connection_id":193506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:59] local.INFO: Extracted packet for processing {"connection_id":193506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756661760,"raw_latitude":119553384,"longitude_deg":75.666176,"latitude_deg":11.9553384,"altitude":43,"angle":168,"satellites":39,"speed":32,"hex_longitude":"2d19be00","hex_latitude":"07203d68","is_valid_coordinates":true} 
[2026-09-23 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283352576001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824087571136512,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389640978432,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790169348000,"timestamp_ms":1790169348000,"timestamp_seconds":1790169348,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6877a0"} 
[2026-09-23 18:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3462919864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249836139063846720,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408633346,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2429026350,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:46:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,22,160,84,45,192,95,42,38,10,66,21,53,128,129,39,41,1,240,47,227,206,32,4,113,205,31,250,188,239,48,2,81,7,5,120,91],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-23 18:46:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026617029191991296,"timestamp_seconds":3026617029191991.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283352576001,"66":12548,"103":206,"83":41984,"24":32,"16":22824087571136512,"45":1854779389640978432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283352576001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:46:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824087571136512,"km_value":22824087571136.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389640978432,"description":"Unknown IO ID 45"} 
[2026-09-23 18:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283352576001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1854779389640978432}} 
[2026-09-23 18:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":193506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:46:59] local.INFO: GPS data processed {"connection_id":193506,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:46:59] local.INFO: Acknowledgment sent {"connection_id":193506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:47:09] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:09] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:09] local.INFO: Packet analysis {"connection_id":190830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:09] local.INFO: Extracted packet for processing {"connection_id":190830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 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-09-23 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:47: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-09-23 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-09-23 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-09-23 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:47:09] local.INFO: GPS data processed {"connection_id":190830,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:47:09] local.INFO: Acknowledgment sent {"connection_id":190830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:47:30] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce687f70012d19c00007203790002a009c27..."} 
[2026-09-23 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce687f70012d19c00007203790002a009c27..."} 
[2026-09-23 18:47:30] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce687f70012d19c00007203790002a009c27..."} 
[2026-09-23 18:47:30] local.INFO: Packet analysis {"connection_id":193506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:30] local.INFO: Extracted packet for processing {"connection_id":193506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551888,"longitude_deg":75.6662272,"latitude_deg":11.9551888,"altitude":42,"angle":156,"satellites":39,"speed":30,"hex_longitude":"2d19c000","hex_latitude":"07203790","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283353088001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824164880547840,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127128889344,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790169350000,"timestamp_ms":1790169350000,"timestamp_seconds":1790169350,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce687f70"} 
[2026-09-23 18:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3462920864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2373976110,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3014849,"corrected_to":0} 
[2026-09-23 18:47:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:30] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,22,160,111,45,128,68,42,39,10,66,84,192,95,38,21,53,1,240,58,227,206,32,4,113,205,33,37,174,200,40,239,49,2,81,7,47,120],"length":485,"final_offset":615,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":3014849,"validated":0}]} 
[2026-09-23 18:47:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098661429090189312,"timestamp_seconds":3098661429090189.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283353088001,"66":12504,"103":206,"83":41984,"24":30,"16":22824164880547840,"45":1854920127128889344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283353088001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:47:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824164880547840,"km_value":22824164880547.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127128889344,"description":"Unknown IO ID 45"} 
[2026-09-23 18:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283353088001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1854920127128889344}} 
[2026-09-23 18:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":193506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:47:30] local.INFO: GPS data processed {"connection_id":193506,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:47:30] local.INFO: Acknowledgment sent {"connection_id":193506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:47:31] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:31] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:31] local.INFO: IMEI packet received {"connection_id":193507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":193507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:47:36] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:36] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:47:36] local.INFO: IMEI packet received {"connection_id":193507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":193507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:47:38] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:38] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:47:38] local.INFO: Packet analysis {"connection_id":193507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:38] local.INFO: Extracted packet for processing {"connection_id":193507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:47: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-09-23 18:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":193507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:47:38] local.INFO: GPS data processed {"connection_id":193507,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:47:38] local.INFO: Acknowledgment sent {"connection_id":193507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:47:56] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:47:56] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:47:56] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:48:01] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:01] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:01] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:48:02] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce68a298012d19c58007202528002c00ad26..."} 
[2026-09-23 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce68a298012d19c58007202528002c00ad26..."} 
[2026-09-23 18:48:02] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce68a298012d19c58007202528002c00ad26..."} 
[2026-09-23 18:48:02] local.INFO: Packet analysis {"connection_id":192172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:02] local.INFO: Extracted packet for processing {"connection_id":192172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119547176,"longitude_deg":75.666368,"latitude_deg":11.9547176,"altitude":44,"angle":173,"satellites":38,"speed":8,"hex_longitude":"2d19c580","hex_latitude":"07202528","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283353600001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824405398716416,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077081927680,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169359000,"timestamp_ms":1790169359000,"timestamp_seconds":1790169359,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce68a298"} 
[2026-09-23 18:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:48: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-09-23 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 18:48: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-09-23 18: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-09-23 18:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283353600001,"66":12504,"103":206,"83":41984,"24":8,"16":22824405398716416,"45":1855483077081927680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283353600001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:48:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824405398716416,"km_value":22824405398716.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077081927680,"description":"Unknown IO ID 45"} 
[2026-09-23 18:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283353600001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1855483077081927680}} 
[2026-09-23 18:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":192172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:48:02] local.INFO: GPS data processed {"connection_id":192172,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:48:02] local.INFO: Acknowledgment sent {"connection_id":192172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:48:09] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:09] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:09] local.INFO: Packet analysis {"connection_id":193507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:09] local.INFO: Extracted packet for processing {"connection_id":193507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 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-09-23 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":193507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:48:09] local.INFO: GPS data processed {"connection_id":193507,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:48:09] local.INFO: Acknowledgment sent {"connection_id":193507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:48:30] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:30] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:30] local.INFO: IMEI packet received {"connection_id":190831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:48:33] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce68f4a0012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce68f4a0012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:48:33] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce68f4a0012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:48:33] local.INFO: Packet analysis {"connection_id":192172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:33] local.INFO: Extracted packet for processing {"connection_id":192172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283355904001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189452630016,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169380000,"timestamp_ms":1790169380000,"timestamp_seconds":1790169380,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce68f4a0"} 
[2026-09-23 18:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:48: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-09-23 18:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-23 18:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283355904001,"66":12461,"103":206,"83":41984,"24":0,"16":22824422578585600,"45":1857031189452630016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283355904001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:48:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189452630016,"description":"Unknown IO ID 45"} 
[2026-09-23 18:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283355904001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857031189452630016}} 
[2026-09-23 18:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":192172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:48:33] local.INFO: GPS data processed {"connection_id":192172,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:48:33] local.INFO: Acknowledgment sent {"connection_id":192172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:48:36] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:36] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:48:36] local.INFO: IMEI packet received {"connection_id":190831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":190831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:48:37] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:37] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:48:37] local.INFO: Packet analysis {"connection_id":190831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:37] local.INFO: Extracted packet for processing {"connection_id":190831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:48: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-09-23 18: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-09-23 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":190831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:48:37] local.INFO: GPS data processed {"connection_id":190831,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:48:37] local.INFO: Acknowledgment sent {"connection_id":190831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:48:56] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:56] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:48:56] local.INFO: IMEI packet received {"connection_id":193508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":193508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:49:01] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:01] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:01] local.INFO: IMEI packet received {"connection_id":193508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":193508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:49:02] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6946a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6946a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:49:02] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6946a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:49:02] local.INFO: Packet analysis {"connection_id":193508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:49:02] local.INFO: Extracted packet for processing {"connection_id":193508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:49:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283361280001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169401000,"timestamp_ms":1790169401000,"timestamp_seconds":1790169401,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6946a8"} 
[2026-09-23 18:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:49: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-09-23 18: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-09-23 18:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283361280001,"66":12461,"103":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283361280001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:49:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:49:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283361280001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":193508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:49:02] local.INFO: GPS data processed {"connection_id":193508,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:49:02] local.INFO: Acknowledgment sent {"connection_id":193508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:49:02] local.INFO: TCP Data received {"connection_id":190638,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:02] local.INFO: Processing buffer {"connection_id":190638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:02] local.INFO: IMEI packet received {"connection_id":190638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:49:09] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:09] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:09] local.INFO: Packet analysis {"connection_id":190831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:49:09] local.INFO: Extracted packet for processing {"connection_id":190831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":190831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:49:09] local.INFO: GPS data processed {"connection_id":190831,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:49:09] local.INFO: Acknowledgment sent {"connection_id":190831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:49:18] local.INFO: TCP Data received {"connection_id":192173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:18] local.INFO: Processing buffer {"connection_id":192173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:49:18] local.INFO: IMEI packet received {"connection_id":192173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":192173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:49:33] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6998b0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6998b0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:49:33] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6998b0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:49:33] local.INFO: Packet analysis {"connection_id":193508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:49:33] local.INFO: Extracted packet for processing {"connection_id":193508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283366656001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169422000,"timestamp_ms":1790169422000,"timestamp_seconds":1790169422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6998b0"} 
[2026-09-23 18:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:49: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-09-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:49: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-09-23 18: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-09-23 18:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283366656001,"66":12461,"103":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283366656001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:49:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283366656001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":193508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:49:33] local.INFO: GPS data processed {"connection_id":193508,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:49:33] local.INFO: Acknowledgment sent {"connection_id":193508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:49:36] local.INFO: TCP Data received {"connection_id":193509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:36] local.INFO: Processing buffer {"connection_id":193509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:36] local.INFO: IMEI packet received {"connection_id":193509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":193509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:49:41] local.INFO: TCP Data received {"connection_id":193509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:41] local.INFO: Processing buffer {"connection_id":193509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:49:41] local.INFO: IMEI packet received {"connection_id":193509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":193509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:49:42] local.INFO: TCP Data received {"connection_id":193509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:42] local.INFO: Processing buffer {"connection_id":193509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:49:42] local.INFO: Packet analysis {"connection_id":193509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:49:42] local.INFO: Extracted packet for processing {"connection_id":193509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:49: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-09-23 18: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-09-23 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":193509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:49:42] local.INFO: GPS data processed {"connection_id":193509,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:49:42] local.INFO: Acknowledgment sent {"connection_id":193509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:49:56] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:56] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:49:56] local.INFO: IMEI packet received {"connection_id":190639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":190639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:50:01] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:50:01] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:50:01] local.INFO: IMEI packet received {"connection_id":190639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":190639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:50:02] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce69eab8012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce69eab8012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:02] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce69eab8012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:02] local.INFO: Packet analysis {"connection_id":190639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:50:02] local.INFO: Extracted packet for processing {"connection_id":190639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce69"} 
[2026-09-23 18:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283372032001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169443000,"timestamp_ms":1790169443000,"timestamp_seconds":1790169443,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce69eab8"} 
[2026-09-23 18:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 18:50: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-09-23 18: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-09-23 18:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283372032001,"66":12428,"103":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-23 18:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283372032001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283372032001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":190639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:50:02] local.INFO: GPS data processed {"connection_id":190639,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:50:02] local.INFO: Acknowledgment sent {"connection_id":190639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:50:14] local.INFO: TCP Data received {"connection_id":193509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:14] local.INFO: Processing buffer {"connection_id":193509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:14] local.INFO: Packet analysis {"connection_id":193509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:50:14] local.INFO: Extracted packet for processing {"connection_id":193509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:50: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-09-23 18: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-09-23 18:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":193509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:50:14] local.INFO: GPS data processed {"connection_id":193509,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:50:14] local.INFO: Acknowledgment sent {"connection_id":193509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:50:30] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:30] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:30] local.INFO: IMEI packet received {"connection_id":190832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":190832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:50:33] local.INFO: TCP Data received {"connection_id":190639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6a3cc0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6a3cc0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:33] local.INFO: Processing buffer {"connection_id":190639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6a3cc0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:50:33] local.INFO: Packet analysis {"connection_id":190639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:50:33] local.INFO: Extracted packet for processing {"connection_id":190639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283377408001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169464000,"timestamp_ms":1790169464000,"timestamp_seconds":1790169464,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6a3cc0"} 
[2026-09-23 18:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:50: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-09-23 18:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 18:50:33] 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-09-23 18:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283377408001,"66":12428,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283377408001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:50:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283377408001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":190639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:50:33] local.INFO: GPS data processed {"connection_id":190639,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:50:33] local.INFO: Acknowledgment sent {"connection_id":190639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:50:36] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:36] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:50:36] local.INFO: IMEI packet received {"connection_id":190832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":190832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:50:37] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:37] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce680658012d34c58006aa47580012010525..."} 
[2026-09-23 18:50:37] local.INFO: Packet analysis {"connection_id":190832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:50:37] local.INFO: Extracted packet for processing {"connection_id":190832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce68"} 
[2026-09-23 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283267584001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964277248,"note":"Value kept but may cause issues"} 
[2026-09-23 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169319000,"timestamp_ms":1790169319000,"timestamp_seconds":1790169319,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce680658"} 
[2026-09-23 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 18:50: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-09-23 18: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-09-23 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283267584001,"66":26571,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803008438964277248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283267584001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964277248,"description":"Unknown IO ID 45"} 
[2026-09-23 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283267584001,"power":26571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438964277248}} 
[2026-09-23 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":190832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:50:37] local.INFO: GPS data processed {"connection_id":190832,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:50:37] local.INFO: Acknowledgment sent {"connection_id":190832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:51:01] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:01] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:01] local.INFO: IMEI packet received {"connection_id":190834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":190834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:51:06] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:06] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:06] local.INFO: IMEI packet received {"connection_id":190834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":190834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:51:07] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6a8ec8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6a8ec8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:07] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6a8ec8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:07] local.INFO: Packet analysis {"connection_id":190834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:51:07] local.INFO: Extracted packet for processing {"connection_id":190834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283382784001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790169485000,"timestamp_ms":1790169485000,"timestamp_seconds":1790169485,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6a8ec8"} 
[2026-09-23 18:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:51: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-09-23 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-23 18:51: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-09-23 18:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283382784001,"66":12406,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283382784001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283382784001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":190834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:51:07] local.INFO: GPS data processed {"connection_id":190834,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:51:07] local.INFO: Acknowledgment sent {"connection_id":190834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:51:09] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:09] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:09] local.INFO: Packet analysis {"connection_id":190832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:51:09] local.INFO: Extracted packet for processing {"connection_id":190832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":190832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:51:09] local.INFO: GPS data processed {"connection_id":190832,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:51:09] local.INFO: Acknowledgment sent {"connection_id":190832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:51:11] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6ae0d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6ae0d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:11] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6ae0d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:51:11] local.INFO: Packet analysis {"connection_id":190834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:51:11] local.INFO: Extracted packet for processing {"connection_id":190834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6a"} 
[2026-09-23 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283388160001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790169506000,"timestamp_ms":1790169506000,"timestamp_seconds":1790169506,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6ae0d0"} 
[2026-09-23 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-09-23 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":118,"data_length":795,"current_offset":136} 
[2026-09-23 18:51: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-09-23 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-09-23 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-09-23 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283388160001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283388160001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283388160001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":190834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:51:11] local.INFO: GPS data processed {"connection_id":190834,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:51:11] local.INFO: Acknowledgment sent {"connection_id":190834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:51:31] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:31] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:31] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:51:36] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:36] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:51:36] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:51:37] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:37] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:51:37] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:51:37] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:51:37] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:51:37] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:51:56] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:56] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:51:56] local.INFO: IMEI packet received {"connection_id":190835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":190835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:52:01] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:01] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:01] local.INFO: IMEI packet received {"connection_id":190835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:52:02] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6b32d8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6b32d8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:52:02] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6b32d8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:52:02] local.INFO: Packet analysis {"connection_id":190835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:52:02] local.INFO: Extracted packet for processing {"connection_id":190835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283393536001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169527000,"timestamp_ms":1790169527000,"timestamp_seconds":1790169527,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6b32d8"} 
[2026-09-23 18:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:52: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-09-23 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:52:02] 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-09-23 18:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283393536001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283393536001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:52:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283393536001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":190835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:52:02] local.INFO: GPS data processed {"connection_id":190835,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:52:02] local.INFO: Acknowledgment sent {"connection_id":190835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:52:09] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:09] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:09] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:52:09] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:52:09] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:52:09] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:52:30] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:30] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:30] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:52:33] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6b84e0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6b84e0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:52:33] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6b84e0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:52:33] local.INFO: Packet analysis {"connection_id":190835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:52:33] local.INFO: Extracted packet for processing {"connection_id":190835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283398912001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169548000,"timestamp_ms":1790169548000,"timestamp_seconds":1790169548,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6b84e0"} 
[2026-09-23 18:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:52: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-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283398912001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283398912001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:52:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283398912001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":190835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:52:33] local.INFO: GPS data processed {"connection_id":190835,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:52:33] local.INFO: Acknowledgment sent {"connection_id":190835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:52:36] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:36] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:52:36] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:52:37] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:37] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:52:37] local.INFO: Packet analysis {"connection_id":192175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:52:37] local.INFO: Extracted packet for processing {"connection_id":192175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":192175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:52:37] local.INFO: GPS data processed {"connection_id":192175,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:52:37] local.INFO: Acknowledgment sent {"connection_id":192175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:52:55] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:55] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:55] local.INFO: IMEI packet received {"connection_id":190836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":190836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:52:56] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:56] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:52:56] local.INFO: IMEI packet received {"connection_id":190836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":190836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:53:01] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:01] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:01] local.INFO: IMEI packet received {"connection_id":190836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":190836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:53:02] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6bd6e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 18:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6bd6e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 18:53:02] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6bd6e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 18:53:02] local.INFO: Packet analysis {"connection_id":190836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:53:02] local.INFO: Extracted packet for processing {"connection_id":190836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6b"} 
[2026-09-23 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283404288001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169569000,"timestamp_ms":1790169569000,"timestamp_seconds":1790169569,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6bd6e8"} 
[2026-09-23 18:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:53: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-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:53:02] 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-09-23 18: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-09-23 18:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283404288001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283404288001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:53:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283404288001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":190836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:53:02] local.INFO: GPS data processed {"connection_id":190836,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:53:02] local.INFO: Acknowledgment sent {"connection_id":190836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:53:09] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:09] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:09] local.INFO: Packet analysis {"connection_id":192175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:09] local.INFO: Extracted packet for processing {"connection_id":192175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":192175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:53:09] local.INFO: GPS data processed {"connection_id":192175,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:53:09] local.INFO: Acknowledgment sent {"connection_id":192175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:53:30] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:30] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:30] local.INFO: IMEI packet received {"connection_id":193511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":193511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:53:33] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c28f0012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c28f0012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:53:33] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c28f0012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:53:33] local.INFO: Packet analysis {"connection_id":190836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:33] local.INFO: Extracted packet for processing {"connection_id":190836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283409664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169590000,"timestamp_ms":1790169590000,"timestamp_seconds":1790169590,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c28f0"} 
[2026-09-23 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:53: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-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283409664001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283409664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283409664001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":190836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:53:33] local.INFO: GPS data processed {"connection_id":190836,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:53:33] local.INFO: Acknowledgment sent {"connection_id":190836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:53:36] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:36] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:53:36] local.INFO: IMEI packet received {"connection_id":193511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":193511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:53:37] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:37] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:53:37] local.INFO: Packet analysis {"connection_id":193511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:37] local.INFO: Extracted packet for processing {"connection_id":193511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":193511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:53:37] local.INFO: GPS data processed {"connection_id":193511,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:53:37] local.INFO: Acknowledgment sent {"connection_id":193511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:53:56] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:56] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:56] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:53:58] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:58] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:53:58] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:54:01] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:01] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:01] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:54:02] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c7af8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c7af8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:54:02] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c7af8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:54:02] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:02] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283415040001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169611000,"timestamp_ms":1790169611000,"timestamp_seconds":1790169611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c7af8"} 
[2026-09-23 18:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:54: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-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:54:02] 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-09-23 18: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-09-23 18:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283415040001,"66":11787,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283415040001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:54:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283415040001,"power":11787,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:54:02] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:54:02] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:54:09] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:09] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:09] local.INFO: Packet analysis {"connection_id":193511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:09] local.INFO: Extracted packet for processing {"connection_id":193511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":193511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:54:09] local.INFO: GPS data processed {"connection_id":193511,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:54:09] local.INFO: Acknowledgment sent {"connection_id":193511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:54:33] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6ccd00012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6ccd00012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:54:33] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6ccd00012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:54:33] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:33] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283420416001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169632000,"timestamp_ms":1790169632000,"timestamp_seconds":1790169632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6ccd00"} 
[2026-09-23 18:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:54: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-09-23 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3463089864,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6859428373286802151,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-4609680354465272320,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":81,"raw_value":1635088139712200704,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,22,160,40,45,192,36,46,42,10,66,214,39,132,1,240,97,227,206,32,4,113,205,224,197,8,43,239,48,2,81,91,173],"length":533,"final_offset":663,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 18:54:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839725939884032,"timestamp_seconds":3314839725939884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283420416001,"66":12232,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283420416001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283420416001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:54:33] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:54:33] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:54:36] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:36] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:36] local.INFO: IMEI packet received {"connection_id":190837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":190837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:54:41] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:41] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:54:41] local.INFO: IMEI packet received {"connection_id":190837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":190837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:54:41] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:41] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:41] local.INFO: Packet analysis {"connection_id":190837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:41] local.INFO: Extracted packet for processing {"connection_id":190837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":190837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:54:41] local.INFO: GPS data processed {"connection_id":190837,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:54:41] local.INFO: Acknowledgment sent {"connection_id":190837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:54:47] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:47] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:54:47] local.INFO: Packet analysis {"connection_id":190837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:47] local.INFO: Extracted packet for processing {"connection_id":190837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":190837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:54:47] local.INFO: GPS data processed {"connection_id":190837,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:54:47] local.INFO: Acknowledgment sent {"connection_id":190837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:54:56] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:56] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:54:56] local.INFO: IMEI packet received {"connection_id":193512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":193512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:55:01] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:01] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:01] local.INFO: IMEI packet received {"connection_id":193512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":193512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:55:02] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6d1f08012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6d1f08012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:55:02] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6d1f08012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:55:02] local.INFO: Packet analysis {"connection_id":193512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:55:02] local.INFO: Extracted packet for processing {"connection_id":193512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283425792001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169653000,"timestamp_ms":1790169653000,"timestamp_seconds":1790169653,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6d1f08"} 
[2026-09-23 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:55: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-09-23 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 18:55:02] 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-09-23 18:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283425792001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283425792001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283425792001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":193512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:55:02] local.INFO: GPS data processed {"connection_id":193512,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:55:02] local.INFO: Acknowledgment sent {"connection_id":193512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:55:31] local.INFO: TCP Data received {"connection_id":190642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:31] local.INFO: Processing buffer {"connection_id":190642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:31] local.INFO: IMEI packet received {"connection_id":190642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":190642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:55:33] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6d7110012d19c5c007202408002e00ad26..."} 
[2026-09-23 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6d7110012d19c5c007202408002e00ad26..."} 
[2026-09-23 18:55:33] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6d7110012d19c5c007202408002e00ad26..."} 
[2026-09-23 18:55:33] local.INFO: Packet analysis {"connection_id":193512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:55:33] local.INFO: Extracted packet for processing {"connection_id":193512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283431168001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169674000,"timestamp_ms":1790169674000,"timestamp_seconds":1790169674,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6d7110"} 
[2026-09-23 18:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:55: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-09-23 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 18:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283431168001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283431168001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:55:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283431168001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":193512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:55:33] local.INFO: GPS data processed {"connection_id":193512,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:55:33] local.INFO: Acknowledgment sent {"connection_id":193512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:55:36] local.INFO: TCP Data received {"connection_id":190642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:36] local.INFO: Processing buffer {"connection_id":190642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:55:36] local.INFO: IMEI packet received {"connection_id":190642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:55:37] local.INFO: TCP Data received {"connection_id":190642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:55:37] local.INFO: Processing buffer {"connection_id":190642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6c9e20012d34c58006aa4758001201052a..."} 
[2026-09-23 18:55:37] local.INFO: Packet analysis {"connection_id":190642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:55:37] local.INFO: Extracted packet for processing {"connection_id":190642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6c"} 
[2026-09-23 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283345664001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169620000,"timestamp_ms":1790169620000,"timestamp_seconds":1790169620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6c9e20"} 
[2026-09-23 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-23 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283345664001,"66":26321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283345664001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283345664001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":190642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:55:37] local.INFO: GPS data processed {"connection_id":190642,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:55:37] local.INFO: Acknowledgment sent {"connection_id":190642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:55:50] local.INFO: TCP Data received {"connection_id":190838,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:55:50] local.INFO: Processing buffer {"connection_id":190838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:55:50] local.INFO: IMEI packet received {"connection_id":190838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":190838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:55:56] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:56] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:55:56] local.INFO: IMEI packet received {"connection_id":192178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":192178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:56:01] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:56:01] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:56:01] local.INFO: IMEI packet received {"connection_id":192178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":192178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:56:02] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6dc318012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6dc318012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:56:02] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6dc318012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:56:02] local.INFO: Packet analysis {"connection_id":192178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:56:02] local.INFO: Extracted packet for processing {"connection_id":192178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6d"} 
[2026-09-23 18:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283436544001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169695000,"timestamp_ms":1790169695000,"timestamp_seconds":1790169695,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6dc318"} 
[2026-09-23 18:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:56: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-09-23 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 18:56:02] 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-09-23 18: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-09-23 18:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283436544001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283436544001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:56:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283436544001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":192178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:56:02] local.INFO: GPS data processed {"connection_id":192178,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:56:02] local.INFO: Acknowledgment sent {"connection_id":192178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:56:09] local.INFO: TCP Data received {"connection_id":190642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:09] local.INFO: Processing buffer {"connection_id":190642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:09] local.INFO: Packet analysis {"connection_id":190642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:56:09] local.INFO: Extracted packet for processing {"connection_id":190642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 18:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 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-09-23 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 18:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":190642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:56:09] local.INFO: GPS data processed {"connection_id":190642,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:56:09] local.INFO: Acknowledgment sent {"connection_id":190642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:56:19] local.INFO: TCP Data received {"connection_id":190839,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:56:19] local.INFO: Processing buffer {"connection_id":190839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:56:19] local.INFO: IMEI packet received {"connection_id":190839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":190839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:56:30] local.INFO: TCP Data received {"connection_id":193513,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:30] local.INFO: Processing buffer {"connection_id":193513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:30] local.INFO: IMEI packet received {"connection_id":193513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":193513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:56:33] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6e1520012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6e1520012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:56:33] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6e1520012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:56:33] local.INFO: Packet analysis {"connection_id":192178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:56:33] local.INFO: Extracted packet for processing {"connection_id":192178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283441920001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790169716000,"timestamp_ms":1790169716000,"timestamp_seconds":1790169716,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6e1520"} 
[2026-09-23 18:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:56: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-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283441920001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283441920001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:56:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283441920001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":192178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:56:33] local.INFO: GPS data processed {"connection_id":192178,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:56:33] local.INFO: Acknowledgment sent {"connection_id":192178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:56:36] local.INFO: TCP Data received {"connection_id":193513,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:36] local.INFO: Processing buffer {"connection_id":193513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:56:36] local.INFO: IMEI packet received {"connection_id":193513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":193513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:56:37] local.INFO: TCP Data received {"connection_id":193513,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:37] local.INFO: Processing buffer {"connection_id":193513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:56:37] local.INFO: Packet analysis {"connection_id":193513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:56:37] local.INFO: Extracted packet for processing {"connection_id":193513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":193513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:56:37] local.INFO: GPS data processed {"connection_id":193513,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:56:37] local.INFO: Acknowledgment sent {"connection_id":193513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:01] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:01] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:01] local.INFO: IMEI packet received {"connection_id":190840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":190840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:57:06] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:06] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:06] local.INFO: IMEI packet received {"connection_id":190840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":190840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:57:07] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6e6728012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6e6728012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:57:07] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6e6728012d19c5c007202408002e00ad2a..."} 
[2026-09-23 18:57:07] local.INFO: Packet analysis {"connection_id":190840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:57:07] local.INFO: Extracted packet for processing {"connection_id":190840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283447296001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790169737000,"timestamp_ms":1790169737000,"timestamp_seconds":1790169737,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6e6728"} 
[2026-09-23 18:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18: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-09-23 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3572525587447866939,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48741350459310080,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049655502,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,22,160,195,45,192,36,46,42,10,66,113,38,31,1,240,53,227,206,32,4,205,122,197,8,43,239,2,81,7,39],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 18:57:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839713054982144,"timestamp_seconds":3314839713054982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 18:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283447296001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283447296001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:57:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283447296001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":190840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:57:07] local.INFO: GPS data processed {"connection_id":190840,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:57:07] local.INFO: Acknowledgment sent {"connection_id":190840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:08] local.INFO: TCP Data received {"connection_id":193513,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:08] local.INFO: Processing buffer {"connection_id":193513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:08] local.INFO: Packet analysis {"connection_id":193513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:57:08] local.INFO: Extracted packet for processing {"connection_id":193513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":193513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:57:08] local.INFO: GPS data processed {"connection_id":193513,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:57:08] local.INFO: Acknowledgment sent {"connection_id":193513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:08] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6eb930012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6eb930012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:57:08] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6eb930012d19c5c007202408002e00ad2b..."} 
[2026-09-23 18:57:08] local.INFO: Packet analysis {"connection_id":190840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:57:08] local.INFO: Extracted packet for processing {"connection_id":190840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6e"} 
[2026-09-23 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283452672001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790169758000,"timestamp_ms":1790169758000,"timestamp_seconds":1790169758,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6eb930"} 
[2026-09-23 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:57: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-09-23 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283452672001,"66":12385,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283452672001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283452672001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:57:08] local.INFO: GPS data processed {"connection_id":190840,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:57:08] local.INFO: Acknowledgment sent {"connection_id":190840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:09] local.INFO: TCP Data received {"connection_id":190643,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:57:09] local.INFO: Processing buffer {"connection_id":190643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 18:57:09] local.INFO: IMEI packet received {"connection_id":190643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 18:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":190643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:57:30] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:30] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:30] local.INFO: IMEI packet received {"connection_id":190841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":190841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:57:36] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:36] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:57:36] local.INFO: IMEI packet received {"connection_id":190841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":190841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:57:37] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:37] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:57:37] local.INFO: Packet analysis {"connection_id":190841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:57:37] local.INFO: Extracted packet for processing {"connection_id":190841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":190841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:57:37] local.INFO: GPS data processed {"connection_id":190841,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:57:37] local.INFO: Acknowledgment sent {"connection_id":190841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:39] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6f0b38012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6f0b38012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:57:39] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6f0b38012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:57:39] local.INFO: Packet analysis {"connection_id":190840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6f"} 
[2026-09-23 18:57:39] local.INFO: Extracted packet for processing {"connection_id":190840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6f"} 
[2026-09-23 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283458048001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790169779000,"timestamp_ms":1790169779000,"timestamp_seconds":1790169779,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6f0b38"} 
[2026-09-23 18:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 18:57: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-09-23 18: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-09-23 18:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283458048001,"66":12319,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283458048001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:57:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283458048001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":190840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:57:39] local.INFO: GPS data processed {"connection_id":190840,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:57:39] local.INFO: Acknowledgment sent {"connection_id":190840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:57:56] local.INFO: TCP Data received {"connection_id":190644,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:56] local.INFO: Processing buffer {"connection_id":190644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:57:56] local.INFO: IMEI packet received {"connection_id":190644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":190644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:58:01] local.INFO: TCP Data received {"connection_id":190644,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:01] local.INFO: Processing buffer {"connection_id":190644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:01] local.INFO: IMEI packet received {"connection_id":190644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":190644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:58:02] local.INFO: TCP Data received {"connection_id":190644,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce6f5d40012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce6f5d40012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:58:02] local.INFO: Processing buffer {"connection_id":190644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce6f5d40012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:58:02] local.INFO: Packet analysis {"connection_id":190644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce6f"} 
[2026-09-23 18:58:02] local.INFO: Extracted packet for processing {"connection_id":190644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce6f"} 
[2026-09-23 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283463424001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790169800000,"timestamp_ms":1790169800000,"timestamp_seconds":1790169800,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce6f5d40"} 
[2026-09-23 18:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:58: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-09-23 18: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 18:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283463424001,"66":11961,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283463424001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:58:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283463424001,"power":11961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":190644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:58:02] local.INFO: GPS data processed {"connection_id":190644,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:58:02] local.INFO: Acknowledgment sent {"connection_id":190644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:58:09] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:09] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:09] local.INFO: Packet analysis {"connection_id":190841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:58:09] local.INFO: Extracted packet for processing {"connection_id":190841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":190841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:58:09] local.INFO: GPS data processed {"connection_id":190841,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:58:09] local.INFO: Acknowledgment sent {"connection_id":190841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:58:30] local.INFO: TCP Data received {"connection_id":192180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:30] local.INFO: Processing buffer {"connection_id":192180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:30] local.INFO: IMEI packet received {"connection_id":192180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:58:33] local.INFO: TCP Data received {"connection_id":190644,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce72e398012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce72e398012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:58:33] local.INFO: Processing buffer {"connection_id":190644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce72e398012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:58:33] local.INFO: Packet analysis {"connection_id":190644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce72"} 
[2026-09-23 18:58:33] local.INFO: Extracted packet for processing {"connection_id":190644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce72"} 
[2026-09-23 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283522560001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170031000,"timestamp_ms":1790170031000,"timestamp_seconds":1790170031,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce72e398"} 
[2026-09-23 18:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:58: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-09-23 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-23 18:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283522560001,"66":12287,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283522560001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:58:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283522560001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":190644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:58:33] local.INFO: GPS data processed {"connection_id":190644,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:58:33] local.INFO: Acknowledgment sent {"connection_id":190644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:58:36] local.INFO: TCP Data received {"connection_id":192180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:36] local.INFO: Processing buffer {"connection_id":192180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:58:36] local.INFO: IMEI packet received {"connection_id":192180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":192180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:58:38] local.INFO: TCP Data received {"connection_id":192180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:38] local.INFO: Processing buffer {"connection_id":192180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:58:38] local.INFO: Packet analysis {"connection_id":192180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:58:38] local.INFO: Extracted packet for processing {"connection_id":192180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":192180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:58:38] local.INFO: GPS data processed {"connection_id":192180,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:58:38] local.INFO: Acknowledgment sent {"connection_id":192180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:58:56] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:56] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:58:56] local.INFO: IMEI packet received {"connection_id":190645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":190645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:59:01] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:01] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:01] local.INFO: IMEI packet received {"connection_id":190645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":190645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:59:02] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7335a0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7335a0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:59:02] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7335a0012d19c5c007202408002e00ad29..."} 
[2026-09-23 18:59:02] local.INFO: Packet analysis {"connection_id":190645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 18:59:02] local.INFO: Extracted packet for processing {"connection_id":190645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 18:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283527936001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170052000,"timestamp_ms":1790170052000,"timestamp_seconds":1790170052,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7335a0"} 
[2026-09-23 18:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:59: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-09-23 18: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":255,"data_length":795,"current_offset":136} 
[2026-09-23 18:59:02] 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-09-23 18: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-09-23 18:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283527936001,"66":12319,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283527936001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:59:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283527936001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":190645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:59:02] local.INFO: GPS data processed {"connection_id":190645,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:59:02] local.INFO: Acknowledgment sent {"connection_id":190645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:59:09] local.INFO: TCP Data received {"connection_id":192180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:09] local.INFO: Processing buffer {"connection_id":192180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:09] local.INFO: Packet analysis {"connection_id":192180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:09] local.INFO: Extracted packet for processing {"connection_id":192180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":192180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:59:09] local.INFO: GPS data processed {"connection_id":192180,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:59:09] local.INFO: Acknowledgment sent {"connection_id":192180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:59:33] local.INFO: TCP Data received {"connection_id":190645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7387a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7387a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:59:33] local.INFO: Processing buffer {"connection_id":190645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7387a8012d19c5c007202408002e00ad28..."} 
[2026-09-23 18:59:33] local.INFO: Packet analysis {"connection_id":190645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 18:59:33] local.INFO: Extracted packet for processing {"connection_id":190645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283533312001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170073000,"timestamp_ms":1790170073000,"timestamp_seconds":1790170073,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7387a8"} 
[2026-09-23 18:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:59: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-09-23 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 18:59:33] 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-09-23 18:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 18:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 18:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 18:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283533312001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 18:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 18:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 18:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283533312001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:59:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 18:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 18:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 18:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283533312001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 18:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":190645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:59:33] local.INFO: GPS data processed {"connection_id":190645,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:59:33] local.INFO: Acknowledgment sent {"connection_id":190645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:59:36] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:36] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:36] local.INFO: IMEI packet received {"connection_id":193514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 18:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":193514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:59:41] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:41] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 18:59:41] local.INFO: IMEI packet received {"connection_id":193514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 18:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":193514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 18:59:42] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:42] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:42] local.INFO: Packet analysis {"connection_id":193514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:42] local.INFO: Extracted packet for processing {"connection_id":193514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":193514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:59:42] local.INFO: GPS data processed {"connection_id":193514,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:59:42] local.INFO: Acknowledgment sent {"connection_id":193514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:59:47] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:47] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 18:59:47] local.INFO: Packet analysis {"connection_id":193514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:47] local.INFO: Extracted packet for processing {"connection_id":193514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 18: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-09-23 18:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 18:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 18:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 18:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 18: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 18:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 18: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-09-23 18:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 18:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 18:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 18:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 18:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 18:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 18:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 18:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 18:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 18:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 18:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 18:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":193514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 18:59:47] local.INFO: GPS data processed {"connection_id":193514,"processed":1,"errors":0,"total":1} 
[2026-09-23 18:59:47] local.INFO: Acknowledgment sent {"connection_id":193514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 18:59:55] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:55] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:55] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 18:59:56] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:56] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 18:59:56] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 18:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:00:01] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:01] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:01] local.INFO: IMEI packet received {"connection_id":190646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":190646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:00:02] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce73d9b0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce73d9b0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:00:02] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce73d9b0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:00:02] local.INFO: Packet analysis {"connection_id":190646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 19:00:02] local.INFO: Extracted packet for processing {"connection_id":190646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce73"} 
[2026-09-23 19:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283538688001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170094000,"timestamp_ms":1790170094000,"timestamp_seconds":1790170094,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce73d9b0"} 
[2026-09-23 19:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:00: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-09-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3570992284123194939,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48741350459310080,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305838286,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,22,160,53,45,192,36,46,41,10,66,227,145,1,240,75,206,32,4,113,205,237,197,8,40,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 19:00:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839713054982144,"timestamp_seconds":3314839713054982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 19:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283538688001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283538688001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:00:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283538688001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":190646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:00:02] local.INFO: GPS data processed {"connection_id":190646,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:00:02] local.INFO: Acknowledgment sent {"connection_id":190646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:00:31] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:31] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:31] local.INFO: IMEI packet received {"connection_id":193515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":193515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:00:33] local.INFO: TCP Data received {"connection_id":190646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce742bb8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce742bb8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:00:33] local.INFO: Processing buffer {"connection_id":190646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce742bb8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:00:33] local.INFO: Packet analysis {"connection_id":190646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:00:33] local.INFO: Extracted packet for processing {"connection_id":190646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283544064001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170115000,"timestamp_ms":1790170115000,"timestamp_seconds":1790170115,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce742bb8"} 
[2026-09-23 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:00: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-09-23 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3570902089809978939,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48739151436054528,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074386638,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,22,160,135,45,192,36,46,40,10,66,53,41,227,1,240,255,206,32,4,113,205,63,197,8,42,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 19:00:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839713054982144,"timestamp_seconds":3314839713054982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283544064001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283544064001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:00:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283544064001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":190646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:00:33] local.INFO: GPS data processed {"connection_id":190646,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:00:33] local.INFO: Acknowledgment sent {"connection_id":190646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:00:36] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:36] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:00:36] local.INFO: IMEI packet received {"connection_id":193515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":193515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:00:37] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 19:00:37] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7135e8012d34c58006aa47580012010528..."} 
[2026-09-23 19:00:37] local.INFO: Packet analysis {"connection_id":193515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 19:00:37] local.INFO: Extracted packet for processing {"connection_id":193515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce71"} 
[2026-09-23 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283422720001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790169921000,"timestamp_ms":1790169921000,"timestamp_seconds":1790169921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7135e8"} 
[2026-09-23 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-23 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283422720001,"66":26169,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283422720001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283422720001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":193515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:00:37] local.INFO: GPS data processed {"connection_id":193515,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:00:37] local.INFO: Acknowledgment sent {"connection_id":193515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:00:56] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:56] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:56] local.INFO: IMEI packet received {"connection_id":190842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":190842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:00:58] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:58] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:00:58] local.INFO: IMEI packet received {"connection_id":190842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":190842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:01:01] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:01] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:01] local.INFO: IMEI packet received {"connection_id":190842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":190842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:01:02] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce747dc0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce747dc0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:02] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce747dc0012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:02] local.INFO: Packet analysis {"connection_id":190842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:01:02] local.INFO: Extracted packet for processing {"connection_id":190842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283549440001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170136000,"timestamp_ms":1790170136000,"timestamp_seconds":1790170136,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce747dc0"} 
[2026-09-23 19:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:01: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-09-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:01:02] 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-09-23 19: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-09-23 19:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283549440001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283549440001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:01:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283549440001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":190842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:01:02] local.INFO: GPS data processed {"connection_id":190842,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:01:02] local.INFO: Acknowledgment sent {"connection_id":190842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:01:08] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:08] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:08] local.INFO: Packet analysis {"connection_id":193515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:01:08] local.INFO: Extracted packet for processing {"connection_id":193515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:01:08] 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-09-23 19:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":193515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:01:08] local.INFO: GPS data processed {"connection_id":193515,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:01:08] local.INFO: Acknowledgment sent {"connection_id":193515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:01:30] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:30] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:30] local.INFO: IMEI packet received {"connection_id":190844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:01:33] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce74cfc8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce74cfc8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:33] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce74cfc8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:01:33] local.INFO: Packet analysis {"connection_id":190842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:01:33] local.INFO: Extracted packet for processing {"connection_id":190842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce74"} 
[2026-09-23 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283554816001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170157000,"timestamp_ms":1790170157000,"timestamp_seconds":1790170157,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce74cfc8"} 
[2026-09-23 19:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:01: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-09-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283554816001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283554816001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:01:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283554816001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":190842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:01:33] local.INFO: GPS data processed {"connection_id":190842,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:01:33] local.INFO: Acknowledgment sent {"connection_id":190842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:01:36] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:36] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:01:36] local.INFO: IMEI packet received {"connection_id":190844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:01:37] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:37] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:01:37] local.INFO: Packet analysis {"connection_id":190844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:01:37] local.INFO: Extracted packet for processing {"connection_id":190844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:01:37] 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-09-23 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:01:37] local.INFO: GPS data processed {"connection_id":190844,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:01:37] local.INFO: Acknowledgment sent {"connection_id":190844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:01:56] local.INFO: TCP Data received {"connection_id":193516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:56] local.INFO: Processing buffer {"connection_id":193516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:01:56] local.INFO: IMEI packet received {"connection_id":193516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":193516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:02:01] local.INFO: TCP Data received {"connection_id":193516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:02:01] local.INFO: Processing buffer {"connection_id":193516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:02:01] local.INFO: IMEI packet received {"connection_id":193516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":193516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:02:02] local.INFO: TCP Data received {"connection_id":193516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7521d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7521d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:02] local.INFO: Processing buffer {"connection_id":193516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7521d0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:02] local.INFO: Packet analysis {"connection_id":193516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:02] local.INFO: Extracted packet for processing {"connection_id":193516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283560192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170178000,"timestamp_ms":1790170178000,"timestamp_seconds":1790170178,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7521d0"} 
[2026-09-23 19:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:02: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-09-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3570631506870330939,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48740250947682304,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,22,160,125,45,192,36,46,40,10,66,43,39,217,1,240,227,206,32,4,113,205,53,197,8,41,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 19:02:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839713054982144,"timestamp_seconds":3314839713054982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 19:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283560192001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283560192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283560192001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":193516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:02:02] local.INFO: GPS data processed {"connection_id":193516,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:02:02] local.INFO: Acknowledgment sent {"connection_id":193516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:02:09] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:09] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:09] local.INFO: Packet analysis {"connection_id":190844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:09] local.INFO: Extracted packet for processing {"connection_id":190844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:02:09] 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-09-23 19:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:02:09] local.INFO: GPS data processed {"connection_id":190844,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:02:09] local.INFO: Acknowledgment sent {"connection_id":190844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:02:15] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:02:15] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:02:15] local.INFO: IMEI packet received {"connection_id":192183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":192183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:02:30] local.INFO: TCP Data received {"connection_id":193517,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:30] local.INFO: Processing buffer {"connection_id":193517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:30] local.INFO: IMEI packet received {"connection_id":193517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":193517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:02:33] local.INFO: TCP Data received {"connection_id":193516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7573d8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7573d8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:33] local.INFO: Processing buffer {"connection_id":193516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7573d8012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:02:33] local.INFO: Packet analysis {"connection_id":193516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:33] local.INFO: Extracted packet for processing {"connection_id":193516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283565568001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170199000,"timestamp_ms":1790170199000,"timestamp_seconds":1790170199,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7573d8"} 
[2026-09-23 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:02: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-09-23 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283565568001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283565568001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283565568001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":193516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:02:33] local.INFO: GPS data processed {"connection_id":193516,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:02:33] local.INFO: Acknowledgment sent {"connection_id":193516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:02:36] local.INFO: TCP Data received {"connection_id":193517,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:36] local.INFO: Processing buffer {"connection_id":193517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:02:36] local.INFO: IMEI packet received {"connection_id":193517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":193517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:02:37] local.INFO: TCP Data received {"connection_id":193517,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:37] local.INFO: Processing buffer {"connection_id":193517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:02:37] local.INFO: Packet analysis {"connection_id":193517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:37] local.INFO: Extracted packet for processing {"connection_id":193517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:02:37] 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-09-23 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":193517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:02:37] local.INFO: GPS data processed {"connection_id":193517,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:02:37] local.INFO: Acknowledgment sent {"connection_id":193517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:01] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:01] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:01] local.INFO: IMEI packet received {"connection_id":190845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":190845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:03:04] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:04] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:04] local.INFO: IMEI packet received {"connection_id":190845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":190845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:03:05] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75c5e0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75c5e0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:03:05] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75c5e0012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:03:05] local.INFO: Packet analysis {"connection_id":190845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:05] local.INFO: Extracted packet for processing {"connection_id":190845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283570944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790170220000,"timestamp_ms":1790170220000,"timestamp_seconds":1790170220,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75c5e0"} 
[2026-09-23 19:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:03: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-09-23 19:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283570944001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283570944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283570944001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":190845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:05] local.INFO: GPS data processed {"connection_id":190845,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:05] local.INFO: Acknowledgment sent {"connection_id":190845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:06] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7617e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7617e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:03:06] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7617e8012d19c5c007202408002e00ad27..."} 
[2026-09-23 19:03:06] local.INFO: Packet analysis {"connection_id":190845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:03:06] local.INFO: Extracted packet for processing {"connection_id":190845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576320001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790170241000,"timestamp_ms":1790170241000,"timestamp_seconds":1790170241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7617e8"} 
[2026-09-23 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19: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-09-23 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3570360923930682939,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48739151436054528,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 19:03:06] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,22,160,115,45,192,36,46,43,10,66,33,207,1,240,227,206,32,4,113,205,197,8,39,239,48,2,81,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 19:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839725939884032,"timestamp_seconds":3314839725939884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576320001,"66":12374,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576320001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576320001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":190845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:06] local.INFO: GPS data processed {"connection_id":190845,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:06] local.INFO: Acknowledgment sent {"connection_id":190845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:09] local.INFO: TCP Data received {"connection_id":193517,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:09] local.INFO: Processing buffer {"connection_id":193517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:09] local.INFO: Packet analysis {"connection_id":193517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:09] local.INFO: Extracted packet for processing {"connection_id":193517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:03:09] 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-09-23 19:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":193517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:09] local.INFO: GPS data processed {"connection_id":193517,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:09] local.INFO: Acknowledgment sent {"connection_id":193517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:36] local.INFO: TCP Data received {"connection_id":190648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:36] local.INFO: Processing buffer {"connection_id":190648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:36] local.INFO: IMEI packet received {"connection_id":190648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":190648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:03:38] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7669f0012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7669f0012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:03:38] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7669f0012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:03:38] local.INFO: Packet analysis {"connection_id":190845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:03:38] local.INFO: Extracted packet for processing {"connection_id":190845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283581696001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790170262000,"timestamp_ms":1790170262000,"timestamp_seconds":1790170262,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7669f0"} 
[2026-09-23 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-23 19:03: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-09-23 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283581696001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283581696001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283581696001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":190845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:38] local.INFO: GPS data processed {"connection_id":190845,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:38] local.INFO: Acknowledgment sent {"connection_id":190845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:41] local.INFO: TCP Data received {"connection_id":190648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:41] local.INFO: Processing buffer {"connection_id":190648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:03:41] local.INFO: IMEI packet received {"connection_id":190648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":190648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:03:42] local.INFO: TCP Data received {"connection_id":190648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:42] local.INFO: Processing buffer {"connection_id":190648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:42] local.INFO: Packet analysis {"connection_id":190648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:42] local.INFO: Extracted packet for processing {"connection_id":190648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:03:42] 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-09-23 19: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-09-23 19:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":190648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:42] local.INFO: GPS data processed {"connection_id":190648,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:42] local.INFO: Acknowledgment sent {"connection_id":190648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:46] local.INFO: TCP Data received {"connection_id":190648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:46] local.INFO: Processing buffer {"connection_id":190648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:03:46] local.INFO: Packet analysis {"connection_id":190648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:46] local.INFO: Extracted packet for processing {"connection_id":190648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:03:46] 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-09-23 19:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":190648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:03:46] local.INFO: GPS data processed {"connection_id":190648,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:03:46] local.INFO: Acknowledgment sent {"connection_id":190648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:03:56] local.INFO: TCP Data received {"connection_id":193518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:56] local.INFO: Processing buffer {"connection_id":193518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:03:56] local.INFO: IMEI packet received {"connection_id":193518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":193518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:04:01] local.INFO: TCP Data received {"connection_id":193518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:01] local.INFO: Processing buffer {"connection_id":193518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:01] local.INFO: IMEI packet received {"connection_id":193518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":193518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:04:02] local.INFO: TCP Data received {"connection_id":193518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce76bbf8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce76bbf8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:02] local.INFO: Processing buffer {"connection_id":193518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce76bbf8012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:02] local.INFO: Packet analysis {"connection_id":193518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:04:02] local.INFO: Extracted packet for processing {"connection_id":193518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce76"} 
[2026-09-23 19:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283587072001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170283000,"timestamp_ms":1790170283000,"timestamp_seconds":1790170283,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce76bbf8"} 
[2026-09-23 19:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:04: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-09-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:04:02] 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-09-23 19: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-09-23 19:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283587072001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283587072001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283587072001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":193518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:04:02] local.INFO: GPS data processed {"connection_id":193518,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:04:02] local.INFO: Acknowledgment sent {"connection_id":193518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:04:31] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:31] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:31] local.INFO: IMEI packet received {"connection_id":190846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":190846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:04:33] local.INFO: TCP Data received {"connection_id":193518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce770e00012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce770e00012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:33] local.INFO: Processing buffer {"connection_id":193518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce770e00012d19c5c007202408002e00ad28..."} 
[2026-09-23 19:04:33] local.INFO: Packet analysis {"connection_id":193518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:04:33] local.INFO: Extracted packet for processing {"connection_id":193518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283592448001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170304000,"timestamp_ms":1790170304000,"timestamp_seconds":1790170304,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce770e00"} 
[2026-09-23 19:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:04: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-09-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283592448001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283592448001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:04:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283592448001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":193518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:04:33] local.INFO: GPS data processed {"connection_id":193518,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:04:33] local.INFO: Acknowledgment sent {"connection_id":193518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:04:36] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:36] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:04:36] local.INFO: IMEI packet received {"connection_id":190846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":190846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:04:37] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:04:37] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:04:37] local.INFO: Packet analysis {"connection_id":190846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:04:37] local.INFO: Extracted packet for processing {"connection_id":190846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:04:37] 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-09-23 19:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":190846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:04:37] local.INFO: GPS data processed {"connection_id":190846,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:04:37] local.INFO: Acknowledgment sent {"connection_id":190846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:04:56] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:56] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:04:56] local.INFO: IMEI packet received {"connection_id":190649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":190649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:05:01] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:01] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:01] local.INFO: IMEI packet received {"connection_id":190649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":190649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:05:02] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce776008012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce776008012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:05:02] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce776008012d19c5c007202408002e00ad29..."} 
[2026-09-23 19:05:02] local.INFO: Packet analysis {"connection_id":190649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:05:02] local.INFO: Extracted packet for processing {"connection_id":190649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283597824001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170325000,"timestamp_ms":1790170325000,"timestamp_seconds":1790170325,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce776008"} 
[2026-09-23 19:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:05: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-09-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-23 19:05:02] 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-09-23 19: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-09-23 19:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283597824001,"66":12319,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283597824001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:05:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283597824001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":190649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:05:02] local.INFO: GPS data processed {"connection_id":190649,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:05:02] local.INFO: Acknowledgment sent {"connection_id":190649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:05:08] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:08] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:08] local.INFO: Packet analysis {"connection_id":190846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:08] local.INFO: Extracted packet for processing {"connection_id":190846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:05: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-09-23 19:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:05:08] 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-09-23 19:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":190846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:05:08] local.INFO: GPS data processed {"connection_id":190846,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:05:08] local.INFO: Acknowledgment sent {"connection_id":190846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:05:33] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:33] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:33] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:05:33] local.INFO: TCP Data received {"connection_id":190649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce77b210012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce77b210012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:05:33] local.INFO: Processing buffer {"connection_id":190649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce77b210012d19c5c007202408002e00ad2b..."} 
[2026-09-23 19:05:33] local.INFO: Packet analysis {"connection_id":190649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:05:33] local.INFO: Extracted packet for processing {"connection_id":190649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce77"} 
[2026-09-23 19:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283603200001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170346000,"timestamp_ms":1790170346000,"timestamp_seconds":1790170346,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce77b210"} 
[2026-09-23 19:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:05: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-09-23 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-23 19:05:33] 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-09-23 19: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-09-23 19:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283603200001,"66":12298,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283603200001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:05:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283603200001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":190649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:05:33] local.INFO: GPS data processed {"connection_id":190649,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:05:33] local.INFO: Acknowledgment sent {"connection_id":190649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:05:36] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:36] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:05:36] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:05:37] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:37] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:37] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:37] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:05:37] 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-09-23 19:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:05:37] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:05:37] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:05:41] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:41] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce75cdb0012d34c58006aa47580012010529..."} 
[2026-09-23 19:05:41] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:41] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce75"} 
[2026-09-23 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283499776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790170222000,"timestamp_ms":1790170222000,"timestamp_seconds":1790170222,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce75cdb0"} 
[2026-09-23 19:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-23 19:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283499776001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283499776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283499776001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:05:41] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:05:41] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:05:56] local.INFO: TCP Data received {"connection_id":193520,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:56] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:05:56] local.INFO: IMEI packet received {"connection_id":193520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":193520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:06:01] local.INFO: TCP Data received {"connection_id":193520,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:01] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:01] local.INFO: IMEI packet received {"connection_id":193520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":193520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:06:02] local.INFO: TCP Data received {"connection_id":193520,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce780418012d19c5c007202408002e00ad2a..."} 
[2026-09-23 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce780418012d19c5c007202408002e00ad2a..."} 
[2026-09-23 19:06:02] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce780418012d19c5c007202408002e00ad2a..."} 
[2026-09-23 19:06:02] local.INFO: Packet analysis {"connection_id":193520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce78"} 
[2026-09-23 19:06:02] local.INFO: Extracted packet for processing {"connection_id":193520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce78"} 
[2026-09-23 19:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119546888,"longitude_deg":75.6663744,"latitude_deg":11.9546888,"altitude":46,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d19c5c0","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283608576001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22824422578585600,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558196733952,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790170367000,"timestamp_ms":1790170367000,"timestamp_seconds":1790170367,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce780418"} 
[2026-09-23 19:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:06: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-09-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3569819758051386939,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513449974301589677,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":46,"raw_value":48742449970937856,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692452,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:02] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,22,160,96,45,192,36,46,41,10,66,14,40,187,1,240,53,227,206,32,4,113,205,23,197,8,39,239,48,2,81,7,43],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-23 19:06:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839725939884032,"timestamp_seconds":3314839725939884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-23 19:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283608576001,"66":12341,"101":206,"83":41984,"24":0,"16":22824422578585600,"45":1857101558196733952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283608576001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:06:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22824422578585600,"km_value":22824422578585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558196733952,"description":"Unknown IO ID 45"} 
[2026-09-23 19:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283608576001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857101558196733952}} 
[2026-09-23 19:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":193520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:06:02] local.INFO: GPS data processed {"connection_id":193520,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:06:02] local.INFO: Acknowledgment sent {"connection_id":193520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:06:13] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:13] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:13] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:13] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:06:13] 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-09-23 19:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:06:13] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:06:13] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:06:30] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:30] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:30] local.INFO: IMEI packet received {"connection_id":193521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":193521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:06:33] local.INFO: TCP Data received {"connection_id":193520,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7ad6c0012d19ca00071ff2e8002e00ea2b..."} 
[2026-09-23 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7ad6c0012d19ca00071ff2e8002e00ea2b..."} 
[2026-09-23 19:06:33] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7ad6c0012d19ca00071ff2e8002e00ea2b..."} 
[2026-09-23 19:06:33] local.INFO: Packet analysis {"connection_id":193520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:33] local.INFO: Extracted packet for processing {"connection_id":193520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534312,"longitude_deg":75.6664832,"latitude_deg":11.9534312,"altitude":46,"angle":234,"satellites":43,"speed":13,"hex_longitude":"2d19ca00","hex_latitude":"071ff2e8","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283661056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22825264392175616,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077127168,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170552000,"timestamp_ms":1790170552000,"timestamp_seconds":1790170552,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7ad6c0"} 
[2026-09-23 19:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:06: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-09-23 19: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":252,"data_length":795,"current_offset":136} 
[2026-09-23 19:06:33] 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-09-23 19: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-09-23 19:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283661056001,"66":13820,"101":206,"83":41984,"24":13,"16":22825264392175616,"45":1858508933077127168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-23 19:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283661056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:06:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 19:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22825264392175616,"km_value":22825264392175.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077127168,"description":"Unknown IO ID 45"} 
[2026-09-23 19:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283661056001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858508933077127168}} 
[2026-09-23 19:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:06:33] local.INFO: GPS data processed {"connection_id":193520,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:06:33] local.INFO: Acknowledgment sent {"connection_id":193520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:06:36] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:36] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:06:36] local.INFO: IMEI packet received {"connection_id":193521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:06:37] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:37] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:06:37] local.INFO: Packet analysis {"connection_id":193521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:37] local.INFO: Extracted packet for processing {"connection_id":193521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":193521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:06:37] local.INFO: GPS data processed {"connection_id":193521,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:06:37] local.INFO: Acknowledgment sent {"connection_id":193521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:06:56] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:06:56] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:56] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:06:58] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:58] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:06:58] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:07:00] local.INFO: TCP Data received {"connection_id":190650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:07:00] local.INFO: Processing buffer {"connection_id":190650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:07:00] local.INFO: IMEI packet received {"connection_id":190650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":190650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:07:08] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:08] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:08] local.INFO: Packet analysis {"connection_id":193521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:07:08] local.INFO: Extracted packet for processing {"connection_id":193521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":193521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:07:08] local.INFO: GPS data processed {"connection_id":193521,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:07:08] local.INFO: Acknowledgment sent {"connection_id":193521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:07:30] local.INFO: TCP Data received {"connection_id":193522,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:30] local.INFO: Processing buffer {"connection_id":193522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:30] local.INFO: IMEI packet received {"connection_id":193522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:07:36] local.INFO: TCP Data received {"connection_id":193522,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:36] local.INFO: Processing buffer {"connection_id":193522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:07:36] local.INFO: IMEI packet received {"connection_id":193522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":193522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:07:37] local.INFO: TCP Data received {"connection_id":193522,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:37] local.INFO: Processing buffer {"connection_id":193522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:07:37] local.INFO: Packet analysis {"connection_id":193522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:07:37] local.INFO: Extracted packet for processing {"connection_id":193522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":193522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:07:37] local.INFO: GPS data processed {"connection_id":193522,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:07:37] local.INFO: Acknowledgment sent {"connection_id":193522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:07:47] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:07:47] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:07:47] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:08:08] local.INFO: TCP Data received {"connection_id":193522,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:08] local.INFO: Processing buffer {"connection_id":193522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:08] local.INFO: Packet analysis {"connection_id":193522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:08] local.INFO: Extracted packet for processing {"connection_id":193522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":193522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:08:08] local.INFO: GPS data processed {"connection_id":193522,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:08:08] local.INFO: Acknowledgment sent {"connection_id":193522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:08:14] local.INFO: TCP Data received {"connection_id":193523,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:08:14] local.INFO: Processing buffer {"connection_id":193523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:08:14] local.INFO: IMEI packet received {"connection_id":193523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":193523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:08:36] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:36] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:36] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:08:41] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:41] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:08:41] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:08:42] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:42] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:42] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:42] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:08:42] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:08:42] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:08:46] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:46] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:08:46] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:46] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:08:46] 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-09-23 19:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:08:46] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:08:46] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:09:31] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:31] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:31] local.INFO: IMEI packet received {"connection_id":190848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":190848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:09:36] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:36] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:09:36] local.INFO: IMEI packet received {"connection_id":190848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":190848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:09:37] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:09:37] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:09:37] local.INFO: Packet analysis {"connection_id":190848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:09:37] local.INFO: Extracted packet for processing {"connection_id":190848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":190848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:09:37] local.INFO: GPS data processed {"connection_id":190848,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:09:37] local.INFO: Acknowledgment sent {"connection_id":190848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:10:08] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:08] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:08] local.INFO: Packet analysis {"connection_id":190848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:10:08] local.INFO: Extracted packet for processing {"connection_id":190848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":190848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:10:08] local.INFO: GPS data processed {"connection_id":190848,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:10:08] local.INFO: Acknowledgment sent {"connection_id":190848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:10:31] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:31] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:31] local.INFO: IMEI packet received {"connection_id":193524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":193524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:10:36] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:36] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:10:36] local.INFO: IMEI packet received {"connection_id":193524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":193524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:10:37] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:37] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7a6578012d34c58006aa47580012010529..."} 
[2026-09-23 19:10:37] local.INFO: Packet analysis {"connection_id":193524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:10:37] local.INFO: Extracted packet for processing {"connection_id":193524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7a"} 
[2026-09-23 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283576832001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170523000,"timestamp_ms":1790170523000,"timestamp_seconds":1790170523,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7a6578"} 
[2026-09-23 19:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-23 19:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283576832001,"66":26039,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283576832001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283576832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":193524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:10:37] local.INFO: GPS data processed {"connection_id":193524,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:10:37] local.INFO: Acknowledgment sent {"connection_id":193524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:11:09] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:09] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:09] local.INFO: Packet analysis {"connection_id":193524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:09] local.INFO: Extracted packet for processing {"connection_id":193524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":193524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:11:09] local.INFO: GPS data processed {"connection_id":193524,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:11:09] local.INFO: Acknowledgment sent {"connection_id":193524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:11:36] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:36] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:36] local.INFO: IMEI packet received {"connection_id":190655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":190655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:11:41] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:41] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:11:41] local.INFO: IMEI packet received {"connection_id":190655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":190655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:11:42] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:42] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:42] local.INFO: Packet analysis {"connection_id":190655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:42] local.INFO: Extracted packet for processing {"connection_id":190655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":190655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:11:42] local.INFO: GPS data processed {"connection_id":190655,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:11:42] local.INFO: Acknowledgment sent {"connection_id":190655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:11:46] local.INFO: TCP Data received {"connection_id":190655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:46] local.INFO: Processing buffer {"connection_id":190655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:11:46] local.INFO: Packet analysis {"connection_id":190655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:46] local.INFO: Extracted packet for processing {"connection_id":190655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":190655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:11:46] local.INFO: GPS data processed {"connection_id":190655,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:11:46] local.INFO: Acknowledgment sent {"connection_id":190655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:12:01] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:12:01] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:12:01] local.INFO: IMEI packet received {"connection_id":192190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":192190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:12:01] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:01] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:01] local.INFO: Packet analysis {"connection_id":192190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:12:01] local.INFO: Extracted packet for processing {"connection_id":192190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":57,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-23 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283694848001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790170701000,"timestamp_ms":1790170701000,"timestamp_seconds":1790170701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7d1cc8"} 
[2026-09-23 19:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-23 19:12:01] 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-09-23 19:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283694848001,"66":4840,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283694848001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:12:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283694848001,"power":4840,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":192190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:12:02] local.INFO: GPS data processed {"connection_id":192190,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:12:02] local.INFO: Acknowledgment sent {"connection_id":192190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:12:31] local.INFO: TCP Data received {"connection_id":190656,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:31] local.INFO: Processing buffer {"connection_id":190656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:31] local.INFO: IMEI packet received {"connection_id":190656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":190656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:12:33] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:33] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:12:33] local.INFO: Packet analysis {"connection_id":192190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:12:33] local.INFO: Extracted packet for processing {"connection_id":192190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":57,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-23 19:12: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-09-23 19:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790170701000,"timestamp_ms":1790170701000,"timestamp_seconds":1790170701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7d1cc8"} 
[2026-09-23 19:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":4840,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":4840,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":192190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:12:33] local.INFO: GPS data processed {"connection_id":192190,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:12:33] local.INFO: Acknowledgment sent {"connection_id":192190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:12:36] local.INFO: TCP Data received {"connection_id":190656,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:36] local.INFO: Processing buffer {"connection_id":190656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:12:36] local.INFO: IMEI packet received {"connection_id":190656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":190656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:12:37] local.INFO: TCP Data received {"connection_id":190656,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:12:37] local.INFO: Processing buffer {"connection_id":190656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:12:37] local.INFO: Packet analysis {"connection_id":190656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:12:37] local.INFO: Extracted packet for processing {"connection_id":190656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":190656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:12:37] local.INFO: GPS data processed {"connection_id":190656,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:12:37] local.INFO: Acknowledgment sent {"connection_id":190656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:13:01] local.INFO: TCP Data received {"connection_id":193526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:01] local.INFO: Processing buffer {"connection_id":193526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:01] local.INFO: IMEI packet received {"connection_id":193526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":193526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:13:06] local.INFO: TCP Data received {"connection_id":193526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:06] local.INFO: Processing buffer {"connection_id":193526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:06] local.INFO: IMEI packet received {"connection_id":193526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":193526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:13:07] local.INFO: TCP Data received {"connection_id":193526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:07] local.INFO: Processing buffer {"connection_id":193526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:07] local.INFO: Packet analysis {"connection_id":193526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:13:07] local.INFO: Extracted packet for processing {"connection_id":193526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":57,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-23 19:13: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-09-23 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790170701000,"timestamp_ms":1790170701000,"timestamp_seconds":1790170701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7d1cc8"} 
[2026-09-23 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":4840,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":4840,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":193526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:13:07] local.INFO: GPS data processed {"connection_id":193526,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:13:07] local.INFO: Acknowledgment sent {"connection_id":193526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:13:08] local.INFO: TCP Data received {"connection_id":190656,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:08] local.INFO: Processing buffer {"connection_id":190656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:08] local.INFO: Packet analysis {"connection_id":190656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:13:08] local.INFO: Extracted packet for processing {"connection_id":190656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 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-09-23 19:13: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-09-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:13:08] local.INFO: GPS data processed {"connection_id":190656,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:13:08] local.INFO: Acknowledgment sent {"connection_id":190656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:13:11] local.INFO: TCP Data received {"connection_id":193526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:11] local.INFO: Processing buffer {"connection_id":193526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:13:11] local.INFO: Packet analysis {"connection_id":193526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:13:11] local.INFO: Extracted packet for processing {"connection_id":193526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":57,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-23 19:13: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-09-23 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790170701000,"timestamp_ms":1790170701000,"timestamp_seconds":1790170701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7d1cc8"} 
[2026-09-23 19:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":4840,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:13:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":4840,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":193526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:13:11] local.INFO: GPS data processed {"connection_id":193526,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:13:11] local.INFO: Acknowledgment sent {"connection_id":193526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:13:29] local.INFO: TCP Data received {"connection_id":190850,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:13:29] local.INFO: Processing buffer {"connection_id":190850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:13:29] local.INFO: IMEI packet received {"connection_id":190850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":190850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:13:31] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:31] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:31] local.INFO: IMEI packet received {"connection_id":190657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":190657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:13:36] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:36] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:13:36] local.INFO: IMEI packet received {"connection_id":190657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":190657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:13:37] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:37] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:13:37] local.INFO: Packet analysis {"connection_id":190657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:13:37] local.INFO: Extracted packet for processing {"connection_id":190657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":190657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:13:37] local.INFO: GPS data processed {"connection_id":190657,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:13:37] local.INFO: Acknowledgment sent {"connection_id":190657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:13:56] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:56] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:13:56] local.INFO: IMEI packet received {"connection_id":193527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":193527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:14:01] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:01] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:01] local.INFO: IMEI packet received {"connection_id":193527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":193527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:14:01] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:14:01] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7d1cc8012d196840071fee00003901592b..."} 
[2026-09-23 19:14:01] local.INFO: Packet analysis {"connection_id":193527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:14:01] local.INFO: Extracted packet for processing {"connection_id":193527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7d"} 
[2026-09-23 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":57,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-23 19:14:01] 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-09-23 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790170701000,"timestamp_ms":1790170701000,"timestamp_seconds":1790170701,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7d1cc8"} 
[2026-09-23 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":4840,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":4840,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":193527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:14:02] local.INFO: GPS data processed {"connection_id":193527,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:14:02] local.INFO: Acknowledgment sent {"connection_id":193527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:14:09] local.INFO: TCP Data received {"connection_id":190657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:09] local.INFO: Processing buffer {"connection_id":190657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:09] local.INFO: Packet analysis {"connection_id":190657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:14:09] local.INFO: Extracted packet for processing {"connection_id":190657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":190657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:14:09] local.INFO: GPS data processed {"connection_id":190657,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:14:09] local.INFO: Acknowledgment sent {"connection_id":190657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:14:09] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:14:09] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:14:09] local.INFO: IMEI packet received {"connection_id":193528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":193528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:14:30] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:30] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:30] local.INFO: IMEI packet received {"connection_id":192191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:14:33] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:14:33] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:14:33] local.INFO: Packet analysis {"connection_id":193527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:14:33] local.INFO: Extracted packet for processing {"connection_id":193527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":193527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:14:33] local.INFO: GPS data processed {"connection_id":193527,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:14:33] local.INFO: Acknowledgment sent {"connection_id":193527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:14:36] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:36] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:14:36] local.INFO: IMEI packet received {"connection_id":192191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":192191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:14:37] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:37] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:14:37] local.INFO: Packet analysis {"connection_id":192191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:14:37] local.INFO: Extracted packet for processing {"connection_id":192191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":192191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:14:37] local.INFO: GPS data processed {"connection_id":192191,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:14:37] local.INFO: Acknowledgment sent {"connection_id":192191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:14:56] local.INFO: TCP Data received {"connection_id":193529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:56] local.INFO: Processing buffer {"connection_id":193529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:14:56] local.INFO: IMEI packet received {"connection_id":193529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":193529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:15:01] local.INFO: TCP Data received {"connection_id":193529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:01] local.INFO: Processing buffer {"connection_id":193529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:01] local.INFO: IMEI packet received {"connection_id":193529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":193529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:15:01] local.INFO: TCP Data received {"connection_id":193529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:01] local.INFO: Processing buffer {"connection_id":193529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:01] local.INFO: Packet analysis {"connection_id":193529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:15:01] local.INFO: Extracted packet for processing {"connection_id":193529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:15:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":193529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:15:02] local.INFO: GPS data processed {"connection_id":193529,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:15:02] local.INFO: Acknowledgment sent {"connection_id":193529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:15:09] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:09] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:09] local.INFO: Packet analysis {"connection_id":192191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:15:09] local.INFO: Extracted packet for processing {"connection_id":192191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":192191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:15:09] local.INFO: GPS data processed {"connection_id":192191,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:15:09] local.INFO: Acknowledgment sent {"connection_id":192191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:15:30] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:30] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:30] local.INFO: IMEI packet received {"connection_id":190851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":190851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:15:33] local.INFO: TCP Data received {"connection_id":193529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:33] local.INFO: Processing buffer {"connection_id":193529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:15:33] local.INFO: Packet analysis {"connection_id":193529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:15:33] local.INFO: Extracted packet for processing {"connection_id":193529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":193529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:15:33] local.INFO: GPS data processed {"connection_id":193529,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:15:33] local.INFO: Acknowledgment sent {"connection_id":193529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:15:36] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:36] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:15:36] local.INFO: IMEI packet received {"connection_id":190851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":190851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:15:37] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:37] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce7efd40012d34c58006aa4758001201052a..."} 
[2026-09-23 19:15:37] local.INFO: Packet analysis {"connection_id":190851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:15:37] local.INFO: Extracted packet for processing {"connection_id":190851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce7e"} 
[2026-09-23 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283653888001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790170824000,"timestamp_ms":1790170824000,"timestamp_seconds":1790170824,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce7efd40"} 
[2026-09-23 19:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-23 19:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283653888001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283653888001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283653888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":190851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:15:37] local.INFO: GPS data processed {"connection_id":190851,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:15:37] local.INFO: Acknowledgment sent {"connection_id":190851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:15:56] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:56] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:15:56] local.INFO: IMEI packet received {"connection_id":193530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":193530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:16:01] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:01] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:01] local.INFO: IMEI packet received {"connection_id":193530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":193530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:16:01] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:01] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:01] local.INFO: Packet analysis {"connection_id":193530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:16:01] local.INFO: Extracted packet for processing {"connection_id":193530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:16:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":193530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:16:02] local.INFO: GPS data processed {"connection_id":193530,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:16:02] local.INFO: Acknowledgment sent {"connection_id":193530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:16:08] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:08] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:08] local.INFO: Packet analysis {"connection_id":190851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:16:08] local.INFO: Extracted packet for processing {"connection_id":190851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19: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-09-23 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:16: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-09-23 19: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-09-23 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:16:08] local.INFO: GPS data processed {"connection_id":190851,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:16:08] local.INFO: Acknowledgment sent {"connection_id":190851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:16:33] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:33] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:16:33] local.INFO: Packet analysis {"connection_id":193530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:16:33] local.INFO: Extracted packet for processing {"connection_id":193530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":193530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:16:33] local.INFO: GPS data processed {"connection_id":193530,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:16:33] local.INFO: Acknowledgment sent {"connection_id":193530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:16:36] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:36] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:36] local.INFO: IMEI packet received {"connection_id":192193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":192193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:16:41] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:41] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:16:41] local.INFO: IMEI packet received {"connection_id":192193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":192193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:16:42] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:42] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:16:42] local.INFO: Packet analysis {"connection_id":192193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:16:42] local.INFO: Extracted packet for processing {"connection_id":192193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:16: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-09-23 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:16: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-09-23 19:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":192193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:16:42] local.INFO: GPS data processed {"connection_id":192193,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:16:42] local.INFO: Acknowledgment sent {"connection_id":192193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:16:56] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:56] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:16:56] local.INFO: IMEI packet received {"connection_id":190852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":190852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:17:01] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:17:01] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:17:01] local.INFO: IMEI packet received {"connection_id":190852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":190852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:17:01] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:01] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:01] local.INFO: Packet analysis {"connection_id":190852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:17:01] local.INFO: Extracted packet for processing {"connection_id":190852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:17: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-09-23 19:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:17: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:17: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-09-23 19:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":190852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:17:02] local.INFO: GPS data processed {"connection_id":190852,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:17:02] local.INFO: Acknowledgment sent {"connection_id":190852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:17:13] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:13] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:13] local.INFO: Packet analysis {"connection_id":192193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:17:13] local.INFO: Extracted packet for processing {"connection_id":192193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:17: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-09-23 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:17:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":192193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:17:13] local.INFO: GPS data processed {"connection_id":192193,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:17:13] local.INFO: Acknowledgment sent {"connection_id":192193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:17:31] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:31] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:31] local.INFO: IMEI packet received {"connection_id":192195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":192195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:17:32] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:32] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:17:32] local.INFO: Packet analysis {"connection_id":190852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:17:32] local.INFO: Extracted packet for processing {"connection_id":190852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:17:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":190852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:17:33] local.INFO: GPS data processed {"connection_id":190852,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:17:33] local.INFO: Acknowledgment sent {"connection_id":190852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:17:36] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:36] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:17:36] local.INFO: IMEI packet received {"connection_id":192195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":192195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:17:37] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:37] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:17:37] local.INFO: Packet analysis {"connection_id":192195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:17:37] local.INFO: Extracted packet for processing {"connection_id":192195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 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-09-23 19: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-09-23 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":192195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:17:37] local.INFO: GPS data processed {"connection_id":192195,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:17:37] local.INFO: Acknowledgment sent {"connection_id":192195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:18:01] local.INFO: TCP Data received {"connection_id":193531,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:01] local.INFO: Processing buffer {"connection_id":193531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:01] local.INFO: IMEI packet received {"connection_id":193531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":193531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:18:06] local.INFO: TCP Data received {"connection_id":193531,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:06] local.INFO: Processing buffer {"connection_id":193531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:06] local.INFO: IMEI packet received {"connection_id":193531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":193531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:18:07] local.INFO: TCP Data received {"connection_id":193531,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:07] local.INFO: Processing buffer {"connection_id":193531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:07] local.INFO: Packet analysis {"connection_id":193531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:18:07] local.INFO: Extracted packet for processing {"connection_id":193531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:18:07] local.INFO: GPS data processed {"connection_id":193531,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:18:07] local.INFO: Acknowledgment sent {"connection_id":193531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:18:09] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:09] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:09] local.INFO: Packet analysis {"connection_id":192195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:18:09] local.INFO: Extracted packet for processing {"connection_id":192195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:18: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-09-23 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":192195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:18:09] local.INFO: GPS data processed {"connection_id":192195,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:18:09] local.INFO: Acknowledgment sent {"connection_id":192195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:18:11] local.INFO: TCP Data received {"connection_id":193531,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:11] local.INFO: Processing buffer {"connection_id":193531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:18:11] local.INFO: Packet analysis {"connection_id":193531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:18:11] local.INFO: Extracted packet for processing {"connection_id":193531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 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-09-23 19:18: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-09-23 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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:18:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":193531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:18:11] local.INFO: GPS data processed {"connection_id":193531,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:18:11] local.INFO: Acknowledgment sent {"connection_id":193531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:18:30] local.INFO: TCP Data received {"connection_id":190658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:30] local.INFO: Processing buffer {"connection_id":190658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:30] local.INFO: IMEI packet received {"connection_id":190658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":190658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:18:36] local.INFO: TCP Data received {"connection_id":190658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:36] local.INFO: Processing buffer {"connection_id":190658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:18:36] local.INFO: IMEI packet received {"connection_id":190658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":190658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:18:37] local.INFO: TCP Data received {"connection_id":190658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:37] local.INFO: Processing buffer {"connection_id":190658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:18:37] local.INFO: Packet analysis {"connection_id":190658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:18:37] local.INFO: Extracted packet for processing {"connection_id":190658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:18: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-09-23 19:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:18: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-09-23 19:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":190658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:18:37] local.INFO: GPS data processed {"connection_id":190658,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:18:37] local.INFO: Acknowledgment sent {"connection_id":190658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:18:56] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:56] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:18:56] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:19:01] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:01] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:01] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:19:01] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:19:01] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce81bc60012d196940071fef900041015928..."} 
[2026-09-23 19:19:01] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:19:01] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce81"} 
[2026-09-23 19:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283699456001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171004000,"timestamp_ms":1790171004000,"timestamp_seconds":1790171004,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce81bc60"} 
[2026-09-23 19:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":18,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 19:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2376,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283699456001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1830783647870746624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283699456001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-23 19:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283699456001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-23 19:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:19:02] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:19:02] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:19:08] local.INFO: TCP Data received {"connection_id":190658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:08] local.INFO: Processing buffer {"connection_id":190658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:08] local.INFO: Packet analysis {"connection_id":190658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:19:08] local.INFO: Extracted packet for processing {"connection_id":190658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:19: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-09-23 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:19: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-09-23 19:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:19:08] local.INFO: GPS data processed {"connection_id":190658,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:19:08] local.INFO: Acknowledgment sent {"connection_id":190658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:19:30] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:30] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:30] local.INFO: IMEI packet received {"connection_id":192197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:19:32] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:19:32] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:19:32] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:19:32] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:19:32] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:19:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:19:32] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:19:32] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:19:36] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:36] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:19:36] local.INFO: IMEI packet received {"connection_id":192197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":192197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:19:37] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:37] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:19:37] local.INFO: Packet analysis {"connection_id":192197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:19:37] local.INFO: Extracted packet for processing {"connection_id":192197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:19: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-09-23 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":192197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:19:37] local.INFO: GPS data processed {"connection_id":192197,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:19:37] local.INFO: Acknowledgment sent {"connection_id":192197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:19:56] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:56] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:19:56] local.INFO: IMEI packet received {"connection_id":190853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":190853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:20:01] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:01] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:01] local.INFO: IMEI packet received {"connection_id":190853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":190853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:20:02] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:02] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:02] local.INFO: Packet analysis {"connection_id":190853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:20:02] local.INFO: Extracted packet for processing {"connection_id":190853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:20:02] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:20:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":190853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:20:02] local.INFO: GPS data processed {"connection_id":190853,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:20:02] local.INFO: Acknowledgment sent {"connection_id":190853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:20:09] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:09] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:09] local.INFO: Packet analysis {"connection_id":192197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:20:09] local.INFO: Extracted packet for processing {"connection_id":192197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:20: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-09-23 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":192197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:20:09] local.INFO: GPS data processed {"connection_id":192197,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:20:09] local.INFO: Acknowledgment sent {"connection_id":192197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:20:30] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:30] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:30] local.INFO: IMEI packet received {"connection_id":193533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":193533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:20:33] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:33] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:20:33] local.INFO: Packet analysis {"connection_id":190853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:20:33] local.INFO: Extracted packet for processing {"connection_id":190853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:20:33] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:20:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":190853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:20:33] local.INFO: GPS data processed {"connection_id":190853,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:20:33] local.INFO: Acknowledgment sent {"connection_id":190853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:20:36] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:36] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:20:36] local.INFO: IMEI packet received {"connection_id":193533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":193533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:20:37] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:37] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce839508012d34c58006aa47580012010529..."} 
[2026-09-23 19:20:37] local.INFO: Packet analysis {"connection_id":193533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:20:37] local.INFO: Extracted packet for processing {"connection_id":193533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce83"} 
[2026-09-23 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283730944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171125000,"timestamp_ms":1790171125000,"timestamp_seconds":1790171125,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce839508"} 
[2026-09-23 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 19:20: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-09-23 19: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-09-23 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283730944001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283730944001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283730944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":193533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:20:37] local.INFO: GPS data processed {"connection_id":193533,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:20:37] local.INFO: Acknowledgment sent {"connection_id":193533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:20:56] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:56] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:20:56] local.INFO: IMEI packet received {"connection_id":193534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":193534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:21:01] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:01] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:01] local.INFO: IMEI packet received {"connection_id":193534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":193534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:21:01] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:01] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:01] local.INFO: Packet analysis {"connection_id":193534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:21:01] local.INFO: Extracted packet for processing {"connection_id":193534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:21: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-09-23 19:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:21:01] 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-09-23 19:21: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:21: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-09-23 19:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:21:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":193534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:21:02] local.INFO: GPS data processed {"connection_id":193534,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:21:02] local.INFO: Acknowledgment sent {"connection_id":193534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:21:10] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:10] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:10] local.INFO: Packet analysis {"connection_id":193533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:21:10] local.INFO: Extracted packet for processing {"connection_id":193533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:21: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-09-23 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":193533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:21:10] local.INFO: GPS data processed {"connection_id":193533,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:21:10] local.INFO: Acknowledgment sent {"connection_id":193533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:21:33] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:33] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:21:33] local.INFO: Packet analysis {"connection_id":193534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:21:33] local.INFO: Extracted packet for processing {"connection_id":193534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:21:33] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:21:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":193534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:21:33] local.INFO: GPS data processed {"connection_id":193534,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:21:33] local.INFO: Acknowledgment sent {"connection_id":193534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:21:36] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:36] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:36] local.INFO: IMEI packet received {"connection_id":193535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":193535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:21:41] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:41] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:21:41] local.INFO: IMEI packet received {"connection_id":193535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":193535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:21:42] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:42] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:21:42] local.INFO: Packet analysis {"connection_id":193535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:21:42] local.INFO: Extracted packet for processing {"connection_id":193535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:21: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-09-23 19:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":193535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:21:42] local.INFO: GPS data processed {"connection_id":193535,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:21:42] local.INFO: Acknowledgment sent {"connection_id":193535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:21:56] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:56] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:21:56] local.INFO: IMEI packet received {"connection_id":190659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":190659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:22:01] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:22:01] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:22:01] local.INFO: IMEI packet received {"connection_id":190659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":190659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:22:02] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:02] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:02] local.INFO: Packet analysis {"connection_id":190659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:22:02] local.INFO: Extracted packet for processing {"connection_id":190659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:22:02] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":190659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:22:02] local.INFO: GPS data processed {"connection_id":190659,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:22:02] local.INFO: Acknowledgment sent {"connection_id":190659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:22:13] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:13] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:13] local.INFO: Packet analysis {"connection_id":193535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:22:13] local.INFO: Extracted packet for processing {"connection_id":193535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:22: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-09-23 19:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":193535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:22:13] local.INFO: GPS data processed {"connection_id":193535,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:22:13] local.INFO: Acknowledgment sent {"connection_id":193535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:22:31] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:31] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:31] local.INFO: IMEI packet received {"connection_id":190854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":190854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:22:33] local.INFO: TCP Data received {"connection_id":190659,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:33] local.INFO: Processing buffer {"connection_id":190659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:22:33] local.INFO: Packet analysis {"connection_id":190659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:22:33] local.INFO: Extracted packet for processing {"connection_id":190659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:22:33] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":190659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:22:33] local.INFO: GPS data processed {"connection_id":190659,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:22:33] local.INFO: Acknowledgment sent {"connection_id":190659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:22:36] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:36] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:22:36] local.INFO: IMEI packet received {"connection_id":190854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:22:37] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:37] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:22:37] local.INFO: Packet analysis {"connection_id":190854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:22:37] local.INFO: Extracted packet for processing {"connection_id":190854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":190854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:22:37] local.INFO: GPS data processed {"connection_id":190854,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:22:37] local.INFO: Acknowledgment sent {"connection_id":190854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:01] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:01] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:01] local.INFO: IMEI packet received {"connection_id":190855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":190855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:23:05] local.INFO: TCP Data received {"connection_id":193536,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:05] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:05] local.INFO: IMEI packet received {"connection_id":193536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":193536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:23:06] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:06] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:06] local.INFO: IMEI packet received {"connection_id":190855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":190855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:23:06] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:06] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:06] local.INFO: Packet analysis {"connection_id":190855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:23:06] local.INFO: Extracted packet for processing {"connection_id":190855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:06] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":190855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:23:07] local.INFO: GPS data processed {"connection_id":190855,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:23:07] local.INFO: Acknowledgment sent {"connection_id":190855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:08] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:08] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:08] local.INFO: Packet analysis {"connection_id":190854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:23:08] local.INFO: Extracted packet for processing {"connection_id":190854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:23:08] 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-09-23 19: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-09-23 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":190854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:23:08] local.INFO: GPS data processed {"connection_id":190854,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:23:08] local.INFO: Acknowledgment sent {"connection_id":190854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:09] local.INFO: TCP Data received {"connection_id":193536,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:09] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:09] local.INFO: IMEI packet received {"connection_id":193536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":193536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:23:11] local.INFO: TCP Data received {"connection_id":193536,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:11] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:23:11] local.INFO: IMEI packet received {"connection_id":193536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":193536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:23:12] local.INFO: TCP Data received {"connection_id":193536,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce892ea0012c6dea00097196c002df00952e..."} 
[2026-09-23 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce892ea0012c6dea00097196c002df00952e..."} 
[2026-09-23 19:23:12] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce892ea0012c6dea00097196c002df00952e..."} 
[2026-09-23 19:23:12] local.INFO: Packet analysis {"connection_id":193536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce89"} 
[2026-09-23 19:23:12] local.INFO: Extracted packet for processing {"connection_id":193536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce89"} 
[2026-09-23 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":745400832,"raw_latitude":158439104,"longitude_deg":74.5400832,"latitude_deg":15.8439104,"altitude":735,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2c6dea00","hex_latitude":"097196c0","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283892992001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7894247237397864450,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,13,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790171492000,"timestamp_ms":1790171492000,"timestamp_seconds":1790171492,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce892ea0"} 
[2026-09-23 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 19:23: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-09-23 19: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-09-23 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283892992001,"66":27908,"97":206,"13":44288,"24":0,"16":3605341577150464,"44":7894247237397864450},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,13,24,16,44]} 
[2026-09-23 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283892992001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:23:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:23:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":44288,"description":"Unknown IO ID 13"} 
[2026-09-23 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":7894247237397864450,"description":"Unknown IO ID 44"} 
[2026-09-23 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283892992001,"power":27908,"unknown_97":206,"unknown_13":44288,"ignition":0,"odometer":null,"unknown_44":7894247237397864450}} 
[2026-09-23 19:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":193536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:23:12] local.INFO: GPS data processed {"connection_id":193536,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:23:12] local.INFO: Acknowledgment sent {"connection_id":193536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:30] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:30] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:30] local.INFO: IMEI packet received {"connection_id":190660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":190660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:23:36] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:36] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:23:36] local.INFO: IMEI packet received {"connection_id":190660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":190660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:23:37] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:37] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:23:37] local.INFO: Packet analysis {"connection_id":190660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:23:37] local.INFO: Extracted packet for processing {"connection_id":190660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":190660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:23:37] local.INFO: GPS data processed {"connection_id":190660,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:23:37] local.INFO: Acknowledgment sent {"connection_id":190660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:37] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:37] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:23:37] local.INFO: Packet analysis {"connection_id":190855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:23:37] local.INFO: Extracted packet for processing {"connection_id":190855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:23:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":190855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:23:38] local.INFO: GPS data processed {"connection_id":190855,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:23:38] local.INFO: Acknowledgment sent {"connection_id":190855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:43] local.INFO: TCP Data received {"connection_id":193536,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8a11300100000000000000000000000000..."} 
[2026-09-23 19:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8a11300100000000000000000000000000..."} 
[2026-09-23 19:23:43] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8a11300100000000000000000000000000..."} 
[2026-09-23 19:23:43] local.INFO: Packet analysis {"connection_id":193536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:23:43] local.INFO: Extracted packet for processing {"connection_id":193536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:23: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-09-23 19: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-09-23 19:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283901952001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7920142935244849154,"note":"Value kept but may cause issues"} 
[2026-09-23 19:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790171550000,"timestamp_ms":1790171550000,"timestamp_seconds":1790171550,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8a1130"} 
[2026-09-23 19:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":4,"data_length":795,"current_offset":136} 
[2026-09-23 19:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":193536,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:23:43] local.INFO: GPS data processed {"connection_id":193536,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:23:43] local.INFO: Acknowledgment sent {"connection_id":193536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:23:56] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:56] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:23:56] local.INFO: IMEI packet received {"connection_id":190856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":190856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:24:01] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:01] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:01] local.INFO: IMEI packet received {"connection_id":190856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":190856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:24:02] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:24:02] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce865428012d196940071fef900041015929..."} 
[2026-09-23 19:24:02] local.INFO: Packet analysis {"connection_id":190856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:24:02] local.INFO: Extracted packet for processing {"connection_id":190856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce86"} 
[2026-09-23 19:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283777024001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171305000,"timestamp_ms":1790171305000,"timestamp_seconds":1790171305,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce865428"} 
[2026-09-23 19:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24:02] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283777024001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283777024001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:24:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283777024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":190856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:24:02] local.INFO: GPS data processed {"connection_id":190856,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:24:02] local.INFO: Acknowledgment sent {"connection_id":190856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:08] local.INFO: TCP Data received {"connection_id":190660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:08] local.INFO: Processing buffer {"connection_id":190660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:08] local.INFO: Packet analysis {"connection_id":190660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:24:08] local.INFO: Extracted packet for processing {"connection_id":190660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24: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-09-23 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:24:08] 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-09-23 19: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-09-23 19:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":190660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:24:09] local.INFO: GPS data processed {"connection_id":190660,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:24:09] local.INFO: Acknowledgment sent {"connection_id":190660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:09] local.INFO: TCP Data received {"connection_id":190857,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:09] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:09] local.INFO: IMEI packet received {"connection_id":190857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":190857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:24:18] local.INFO: TCP Data received {"connection_id":190857,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:18] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:24:18] local.INFO: IMEI packet received {"connection_id":190857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":190857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:24:19] local.INFO: TCP Data received {"connection_id":190857,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce899fe8012c6e4e000970fce002df00942f..."} 
[2026-09-23 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce899fe8012c6e4e000970fce002df00942f..."} 
[2026-09-23 19:24:19] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce899fe8012c6e4e000970fce002df00942f..."} 
[2026-09-23 19:24:19] local.INFO: Packet analysis {"connection_id":190857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce89"} 
[2026-09-23 19:24:19] local.INFO: Extracted packet for processing {"connection_id":190857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce89"} 
[2026-09-23 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":745426432,"raw_latitude":158399712,"longitude_deg":74.5426432,"latitude_deg":15.8399712,"altitude":735,"angle":148,"satellites":47,"speed":58,"hex_longitude":"2c6e4e00","hex_latitude":"0970fce0","is_valid_coordinates":true} 
[2026-09-23 19:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790171521000,"timestamp_ms":1790171521000,"timestamp_seconds":1790171521,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce899fe8"} 
[2026-09-23 19:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 19:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"218":206,"9":7680,"24":58,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16]} 
[2026-09-23 19:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:24:19] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:24:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:24:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_218":206,"unknown_9":7680,"ignition":58,"odometer":null}} 
[2026-09-23 19:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":190857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:24:20] local.INFO: GPS data processed {"connection_id":190857,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:24:20] local.INFO: Acknowledgment sent {"connection_id":190857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:30] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:30] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:30] local.INFO: IMEI packet received {"connection_id":193537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":193537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:24:33] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:24:33] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:24:33] local.INFO: Packet analysis {"connection_id":190856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:24:33] local.INFO: Extracted packet for processing {"connection_id":190856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24: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-09-23 19: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-09-23 19: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-09-23 19: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-09-23 19:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:24:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":190856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:24:33] local.INFO: GPS data processed {"connection_id":190856,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:24:33] local.INFO: Acknowledgment sent {"connection_id":190856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:36] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:36] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:24:36] local.INFO: IMEI packet received {"connection_id":193537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":193537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:24:37] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:37] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:24:37] local.INFO: Packet analysis {"connection_id":193537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:24:37] local.INFO: Extracted packet for processing {"connection_id":193537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24: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-09-23 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":193537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:24:37] local.INFO: GPS data processed {"connection_id":193537,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:24:37] local.INFO: Acknowledgment sent {"connection_id":193537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:51] local.INFO: TCP Data received {"connection_id":190857,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8a96000100000000000000000000000000..."} 
[2026-09-23 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8a96000100000000000000000000000000..."} 
[2026-09-23 19:24:51] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8a96000100000000000000000000000000..."} 
[2026-09-23 19:24:51] local.INFO: Packet analysis {"connection_id":190857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:24:51] local.INFO: Extracted packet for processing {"connection_id":190857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:24: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-09-23 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283909376001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7948290432905830402,"note":"Value kept but may cause issues"} 
[2026-09-23 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790171584000,"timestamp_ms":1790171584000,"timestamp_seconds":1790171584,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8a9600"} 
[2026-09-23 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 19:24:51] 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-09-23 19:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":190857,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:24:51] local.INFO: GPS data processed {"connection_id":190857,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:24:51] local.INFO: Acknowledgment sent {"connection_id":190857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:24:56] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:56] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:24:56] local.INFO: IMEI packet received {"connection_id":190661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":190661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:25:01] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:01] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:01] local.INFO: IMEI packet received {"connection_id":190661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":190661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:25:01] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:01] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:01] local.INFO: Packet analysis {"connection_id":190661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:01] local.INFO: Extracted packet for processing {"connection_id":190661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25: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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:25: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-09-23 19: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-09-23 19:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":190661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:02] local.INFO: GPS data processed {"connection_id":190661,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:02] local.INFO: Acknowledgment sent {"connection_id":190661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:08] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:08] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:08] local.INFO: Packet analysis {"connection_id":193537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:08] local.INFO: Extracted packet for processing {"connection_id":193537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 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-09-23 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:25:08] 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-09-23 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-09-23 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-09-23 19:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":193537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:08] local.INFO: GPS data processed {"connection_id":193537,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:08] local.INFO: Acknowledgment sent {"connection_id":193537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:09] local.INFO: TCP Data received {"connection_id":193538,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:09] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:09] local.INFO: IMEI packet received {"connection_id":193538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":193538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:25:10] local.INFO: TCP Data received {"connection_id":193538,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:10] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:10] local.INFO: IMEI packet received {"connection_id":193538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":193538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:25:14] local.INFO: TCP Data received {"connection_id":193538,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:14] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:25:14] local.INFO: IMEI packet received {"connection_id":193538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":193538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:25:15] local.INFO: TCP Data received {"connection_id":193538,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8a1ce8012c6eafc00970610002df00932f..."} 
[2026-09-23 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8a1ce8012c6eafc00970610002df00932f..."} 
[2026-09-23 19:25:15] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8a1ce8012c6eafc00970610002df00932f..."} 
[2026-09-23 19:25:15] local.INFO: Packet analysis {"connection_id":193538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:15] local.INFO: Extracted packet for processing {"connection_id":193538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":745451456,"raw_latitude":158359808,"longitude_deg":74.5451456,"latitude_deg":15.8359808,"altitude":735,"angle":147,"satellites":47,"speed":58,"hex_longitude":"2c6eafc0","hex_latitude":"09706100","is_valid_coordinates":true} 
[2026-09-23 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790171553000,"timestamp_ms":1790171553000,"timestamp_seconds":1790171553,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8a1ce8"} 
[2026-09-23 19:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 19:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"218":206,"9":7680,"24":58,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16]} 
[2026-09-23 19:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:25:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_218":206,"unknown_9":7680,"ignition":58,"odometer":null}} 
[2026-09-23 19:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":193538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:15] local.INFO: GPS data processed {"connection_id":193538,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:15] local.INFO: Acknowledgment sent {"connection_id":193538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:33] local.INFO: TCP Data received {"connection_id":190661,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:33] local.INFO: Processing buffer {"connection_id":190661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:25:33] local.INFO: Packet analysis {"connection_id":190661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:33] local.INFO: Extracted packet for processing {"connection_id":190661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25: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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:25: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-09-23 19: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-09-23 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":190661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:33] local.INFO: GPS data processed {"connection_id":190661,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:33] local.INFO: Acknowledgment sent {"connection_id":190661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:36] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:36] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:36] local.INFO: IMEI packet received {"connection_id":190662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":190662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:25:41] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:41] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:25:41] local.INFO: IMEI packet received {"connection_id":190662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":190662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:25:42] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:42] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:42] local.INFO: Packet analysis {"connection_id":190662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:42] local.INFO: Extracted packet for processing {"connection_id":190662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25: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-09-23 19:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":190662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:42] local.INFO: GPS data processed {"connection_id":190662,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:42] local.INFO: Acknowledgment sent {"connection_id":190662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:47] local.INFO: TCP Data received {"connection_id":193538,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8a6ef0012c6edfc00970150002e100942d..."} 
[2026-09-23 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8a6ef0012c6edfc00970150002e100942d..."} 
[2026-09-23 19:25:47] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8a6ef0012c6edfc00970150002e100942d..."} 
[2026-09-23 19:25:47] local.INFO: Packet analysis {"connection_id":193538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:47] local.INFO: Extracted packet for processing {"connection_id":193538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":745463744,"raw_latitude":158340352,"longitude_deg":74.5463744,"latitude_deg":15.8340352,"altitude":737,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2c6edfc0","hex_latitude":"09701500","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283917568001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7975804611869081602,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790171574000,"timestamp_ms":1790171574000,"timestamp_seconds":1790171574,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8a6ef0"} 
[2026-09-23 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":146,"data_length":795,"current_offset":136} 
[2026-09-23 19:25:47] 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-09-23 19: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-09-23 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283917568001,"66":28006,"218":206,"9":7680,"24":0,"16":3605341577150464,"44":7975804611869081602},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283917568001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":7975804611869081602,"description":"Unknown IO ID 44"} 
[2026-09-23 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283917568001,"power":28006,"unknown_218":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":7975804611869081602}} 
[2026-09-23 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":193538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:47] local.INFO: GPS data processed {"connection_id":193538,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:47] local.INFO: Acknowledgment sent {"connection_id":193538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:47] local.INFO: TCP Data received {"connection_id":190662,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:47] local.INFO: Processing buffer {"connection_id":190662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce882cd0012d34c58006aa4758001301052a..."} 
[2026-09-23 19:25:47] local.INFO: Packet analysis {"connection_id":190662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:47] local.INFO: Extracted packet for processing {"connection_id":190662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce88"} 
[2026-09-23 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283808000001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790171426000,"timestamp_ms":1790171426000,"timestamp_seconds":1790171426,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce882cd0"} 
[2026-09-23 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-23 19:25:47] 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-09-23 19: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-09-23 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283808000001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283808000001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283808000001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":190662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:25:47] local.INFO: GPS data processed {"connection_id":190662,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:25:47] local.INFO: Acknowledgment sent {"connection_id":190662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:25:56] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:56] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:25:56] local.INFO: IMEI packet received {"connection_id":190858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":190858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:26:01] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:26:01] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:26:01] local.INFO: IMEI packet received {"connection_id":190858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":190858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:26:02] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:02] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:02] local.INFO: Packet analysis {"connection_id":190858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:02] local.INFO: Extracted packet for processing {"connection_id":190858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26: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-09-23 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":190858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:26:02] local.INFO: GPS data processed {"connection_id":190858,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:26:02] local.INFO: Acknowledgment sent {"connection_id":190858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:26:14] local.INFO: TCP Data received {"connection_id":192198,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:14] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:14] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:26:19] local.INFO: TCP Data received {"connection_id":192198,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:19] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:26:19] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:26:20] local.INFO: TCP Data received {"connection_id":192198,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8b51800100000000000000000000000000..."} 
[2026-09-23 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8b51800100000000000000000000000000..."} 
[2026-09-23 19:26:20] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8b51800100000000000000000000000000..."} 
[2026-09-23 19:26:20] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:26:20] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283922944001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7989315410746212354,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790171632000,"timestamp_ms":1790171632000,"timestamp_seconds":1790171632,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8b5180"} 
[2026-09-23 19:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 19:26:20] 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-09-23 19:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:26:20] local.INFO: GPS data processed {"connection_id":192198,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:26:20] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:26:21] local.INFO: TCP Data received {"connection_id":192198,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8ae038012c6f4e40096f9e4002e600792e..."} 
[2026-09-23 19:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8ae038012c6f4e40096f9e4002e600792e..."} 
[2026-09-23 19:26:21] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8ae038012c6f4e40096f9e4002e600792e..."} 
[2026-09-23 19:26:21] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:21] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:21] local.INFO: GPS Element Parsed {"raw_longitude":745492032,"raw_latitude":158309952,"longitude_deg":74.5492032,"latitude_deg":15.8309952,"altitude":742,"angle":121,"satellites":46,"speed":54,"hex_longitude":"2c6f4e40","hex_latitude":"096f9e40","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790171603000,"timestamp_ms":1790171603000,"timestamp_seconds":1790171603,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8ae038"} 
[2026-09-23 19:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 19:26:21] 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-09-23 19: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-09-23 19:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"218":206,"9":7680,"24":54,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16]} 
[2026-09-23 19:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:26:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:26:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:26:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_218":206,"unknown_9":7680,"ignition":54,"odometer":null}} 
[2026-09-23 19:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:26:21] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:26:21] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:26:30] local.INFO: TCP Data received {"connection_id":193539,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:30] local.INFO: Processing buffer {"connection_id":193539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:30] local.INFO: IMEI packet received {"connection_id":193539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":193539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:26:33] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:33] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:26:33] local.INFO: Packet analysis {"connection_id":190858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:33] local.INFO: Extracted packet for processing {"connection_id":190858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26: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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:26: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-09-23 19: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-09-23 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":190858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:26:33] local.INFO: GPS data processed {"connection_id":190858,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:26:33] local.INFO: Acknowledgment sent {"connection_id":190858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:26:36] local.INFO: TCP Data received {"connection_id":193539,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:36] local.INFO: Processing buffer {"connection_id":193539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:26:36] local.INFO: IMEI packet received {"connection_id":193539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":193539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:26:38] local.INFO: TCP Data received {"connection_id":193539,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:26:38] local.INFO: Processing buffer {"connection_id":193539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:26:38] local.INFO: Packet analysis {"connection_id":193539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:26:38] local.INFO: Extracted packet for processing {"connection_id":193539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:26: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-09-23 19:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":193539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:26:38] local.INFO: GPS data processed {"connection_id":193539,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:26:38] local.INFO: Acknowledgment sent {"connection_id":193539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:26:57] local.INFO: TCP Data received {"connection_id":192198,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8b3240012c6fa580096f7a0002e4006e2e..."} 
[2026-09-23 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8b3240012c6fa580096f7a0002e4006e2e..."} 
[2026-09-23 19:26:57] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8b3240012c6fa580096f7a0002e4006e2e..."} 
[2026-09-23 19:26:57] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:26:57] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:26:57] local.INFO: GPS Element Parsed {"raw_longitude":745514368,"raw_latitude":158300672,"longitude_deg":74.5514368,"latitude_deg":15.8300672,"altitude":740,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2c6fa580","hex_latitude":"096f7a00","is_valid_coordinates":true} 
[2026-09-23 19:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283930368001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8020418395664957442,"note":"Value kept but may cause issues"} 
[2026-09-23 19:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790171624000,"timestamp_ms":1790171624000,"timestamp_seconds":1790171624,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8b3240"} 
[2026-09-23 19:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 19:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283930368001,"66":28006,"218":206,"9":7680,"24":0,"16":3605341577150464,"44":8020418395664957442},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-23 19:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283930368001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:26:57] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:26:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":8020418395664957442,"description":"Unknown IO ID 44"} 
[2026-09-23 19:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283930368001,"power":28006,"unknown_218":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":8020418395664957442}} 
[2026-09-23 19:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:26:57] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:26:57] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:01] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:01] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:01] local.INFO: IMEI packet received {"connection_id":193540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":193540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:27:06] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:06] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:06] local.INFO: IMEI packet received {"connection_id":193540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":193540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:27:07] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:07] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:07] local.INFO: Packet analysis {"connection_id":193540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:27:07] local.INFO: Extracted packet for processing {"connection_id":193540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27: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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":193540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:07] local.INFO: GPS data processed {"connection_id":193540,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:07] local.INFO: Acknowledgment sent {"connection_id":193540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:09] local.INFO: TCP Data received {"connection_id":192199,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:09] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:09] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:27:10] local.INFO: TCP Data received {"connection_id":193539,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:10] local.INFO: Processing buffer {"connection_id":193539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:10] local.INFO: Packet analysis {"connection_id":193539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27:10] local.INFO: Extracted packet for processing {"connection_id":193539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:27: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-09-23 19: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-09-23 19:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":193539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:10] local.INFO: GPS data processed {"connection_id":193539,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:10] local.INFO: Acknowledgment sent {"connection_id":193539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:11] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:11] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:27:11] local.INFO: Packet analysis {"connection_id":193540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:27:11] local.INFO: Extracted packet for processing {"connection_id":193540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 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-09-23 19:27: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:27: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-09-23 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-09-23 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-09-23 19:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":193540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:11] local.INFO: GPS data processed {"connection_id":193540,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:11] local.INFO: Acknowledgment sent {"connection_id":193540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:14] local.INFO: TCP Data received {"connection_id":192199,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:14] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:27:14] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:27:16] local.INFO: TCP Data received {"connection_id":192199,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8c14d00100000000000000000000000000..."} 
[2026-09-23 19:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8c14d00100000000000000000000000000..."} 
[2026-09-23 19:27:16] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8c14d00100000000000000000000000000..."} 
[2026-09-23 19:27:16] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27:16] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27: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-09-23 19: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-09-23 19:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283935744001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8044977087380586498,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790171682000,"timestamp_ms":1790171682000,"timestamp_seconds":1790171682,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8c14d0"} 
[2026-09-23 19:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 19:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:27:16] local.INFO: GPS data processed {"connection_id":192199,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:27:16] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:17] local.INFO: TCP Data received {"connection_id":192199,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8b9bb8012c705140096f2f1002e500772e..."} 
[2026-09-23 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8b9bb8012c705140096f2f1002e500772e..."} 
[2026-09-23 19:27:17] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8b9bb8012c705140096f2f1002e500772e..."} 
[2026-09-23 19:27:17] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:27:17] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":745558336,"raw_latitude":158281488,"longitude_deg":74.5558336,"latitude_deg":15.8281488,"altitude":741,"angle":119,"satellites":46,"speed":57,"hex_longitude":"2c705140","hex_latitude":"096f2f10","is_valid_coordinates":true} 
[2026-09-23 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790171651000,"timestamp_ms":1790171651000,"timestamp_seconds":1790171651,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8b9bb8"} 
[2026-09-23 19:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 19:27:17] 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-09-23 19:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"218":206,"9":7680,"24":57,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16]} 
[2026-09-23 19:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:17] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:27:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_218":206,"unknown_9":7680,"ignition":57,"odometer":null}} 
[2026-09-23 19:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:17] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:17] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:30] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:30] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:30] local.INFO: IMEI packet received {"connection_id":190859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":190859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:27:36] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:36] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:27:36] local.INFO: IMEI packet received {"connection_id":190859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":190859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:27:37] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:37] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:27:37] local.INFO: Packet analysis {"connection_id":190859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27:37] local.INFO: Extracted packet for processing {"connection_id":190859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":190859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:37] local.INFO: GPS data processed {"connection_id":190859,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:37] local.INFO: Acknowledgment sent {"connection_id":190859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:50] local.INFO: TCP Data received {"connection_id":192199,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8bedc0012c70a200096f034002e800762c..."} 
[2026-09-23 19:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8bedc0012c70a200096f034002e800762c..."} 
[2026-09-23 19:27:50] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8bedc0012c70a200096f034002e800762c..."} 
[2026-09-23 19:27:50] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:27:50] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8b"} 
[2026-09-23 19:27:50] local.INFO: GPS Element Parsed {"raw_longitude":745579008,"raw_latitude":158270272,"longitude_deg":74.5579008,"latitude_deg":15.8270272,"altitude":744,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2c70a200","hex_latitude":"096f0340","is_valid_coordinates":true} 
[2026-09-23 19:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283942656001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8093320414625730562,"note":"Value kept but may cause issues"} 
[2026-09-23 19:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790171672000,"timestamp_ms":1790171672000,"timestamp_seconds":1790171672,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8bedc0"} 
[2026-09-23 19:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:27: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-09-23 19:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 19:27:50] 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-09-23 19:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283942656001,"66":27930,"218":206,"9":7680,"24":0,"16":3605341577150464,"44":8093320414625730562},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-23 19:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283942656001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:27:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-23 19:27:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8093320414625730562,"description":"Unknown IO ID 44"} 
[2026-09-23 19:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283942656001,"power":27930,"unknown_218":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":8093320414625730562}} 
[2026-09-23 19:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:27:50] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:27:50] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:27:56] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:56] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:27:56] local.INFO: IMEI packet received {"connection_id":193541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":193541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:28:01] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:01] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:01] local.INFO: IMEI packet received {"connection_id":193541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":193541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:28:02] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:02] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:02] local.INFO: Packet analysis {"connection_id":193541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:28:02] local.INFO: Extracted packet for processing {"connection_id":193541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28: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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:28: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-09-23 19: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-09-23 19:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:28:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":193541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:28:02] local.INFO: GPS data processed {"connection_id":193541,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:28:02] local.INFO: Acknowledgment sent {"connection_id":193541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:09] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:09] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:09] local.INFO: Packet analysis {"connection_id":190859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:09] local.INFO: Extracted packet for processing {"connection_id":190859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:28: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-09-23 19:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":190859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:28:09] local.INFO: GPS data processed {"connection_id":190859,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:28:09] local.INFO: Acknowledgment sent {"connection_id":190859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:14] local.INFO: TCP Data received {"connection_id":193542,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:14] local.INFO: Processing buffer {"connection_id":193542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:14] local.INFO: IMEI packet received {"connection_id":193542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":193542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:28:21] local.INFO: TCP Data received {"connection_id":193542,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:21] local.INFO: Processing buffer {"connection_id":193542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:28:21] local.INFO: IMEI packet received {"connection_id":193542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":193542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:28:22] local.INFO: TCP Data received {"connection_id":193542,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cd0500100000000000000000000000000..."} 
[2026-09-23 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cd0500100000000000000000000000000..."} 
[2026-09-23 19:28:22] local.INFO: Processing buffer {"connection_id":193542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cd0500100000000000000000000000000..."} 
[2026-09-23 19:28:22] local.INFO: Packet analysis {"connection_id":193542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:22] local.INFO: Extracted packet for processing {"connection_id":193542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283948032001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8116049518992244738,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790171730000,"timestamp_ms":1790171730000,"timestamp_seconds":1790171730,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cd050"} 
[2026-09-23 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 19:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":193542,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:28:22] local.INFO: GPS data processed {"connection_id":193542,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:28:22] local.INFO: Acknowledgment sent {"connection_id":193542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:30] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:30] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:30] local.INFO: IMEI packet received {"connection_id":193543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":193543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:28:33] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:33] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:28:33] local.INFO: Packet analysis {"connection_id":193541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:28:33] local.INFO: Extracted packet for processing {"connection_id":193541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28: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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:28: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-09-23 19: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-09-23 19:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":193541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:28:33] local.INFO: GPS data processed {"connection_id":193541,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:28:33] local.INFO: Acknowledgment sent {"connection_id":193541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:36] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:36] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:28:36] local.INFO: IMEI packet received {"connection_id":193543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":193543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:28:37] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:37] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:28:37] local.INFO: Packet analysis {"connection_id":193543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:37] local.INFO: Extracted packet for processing {"connection_id":193543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":193543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:28:37] local.INFO: GPS data processed {"connection_id":193543,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:28:37] local.INFO: Acknowledgment sent {"connection_id":193543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:53] local.INFO: TCP Data received {"connection_id":193542,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8e9188012c721580096d2b20031700b82d..."} 
[2026-09-23 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8e9188012c721580096d2b20031700b82d..."} 
[2026-09-23 19:28:53] local.INFO: Processing buffer {"connection_id":193542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8e9188012c721580096d2b20031700b82d..."} 
[2026-09-23 19:28:53] local.INFO: Packet analysis {"connection_id":193542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8e"} 
[2026-09-23 19:28:53] local.INFO: Extracted packet for processing {"connection_id":193542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8e"} 
[2026-09-23 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":745674112,"raw_latitude":158149408,"longitude_deg":74.5674112,"latitude_deg":15.8149408,"altitude":791,"angle":184,"satellites":45,"speed":30,"hex_longitude":"2c721580","hex_latitude":"096d2b20","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:28:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790171845000,"timestamp_ms":1790171845000,"timestamp_seconds":1790171845,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8e9188"} 
[2026-09-23 19:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 19:28:53] 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-09-23 19: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-09-23 19:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"169":206,"9":7680,"24":30,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,9,24,16]} 
[2026-09-23 19:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:28:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-23 19:28:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:28:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_169":206,"unknown_9":7680,"ignition":30,"odometer":null}} 
[2026-09-23 19:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":193542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:28:53] local.INFO: GPS data processed {"connection_id":193542,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:28:53] local.INFO: Acknowledgment sent {"connection_id":193542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:28:56] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:56] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:28:56] local.INFO: IMEI packet received {"connection_id":192200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":192200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:29:01] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:01] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:01] local.INFO: IMEI packet received {"connection_id":192200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":192200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:29:01] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:29:01] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8aebf0012d196940071fef900041015929..."} 
[2026-09-23 19:29:01] local.INFO: Packet analysis {"connection_id":192200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:29:01] local.INFO: Extracted packet for processing {"connection_id":192200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8a"} 
[2026-09-23 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283854080001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171606000,"timestamp_ms":1790171606000,"timestamp_seconds":1790171606,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8aebf0"} 
[2026-09-23 19:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29: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-09-23 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:29: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-09-23 19:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283854080001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283854080001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283854080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":192200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:01] local.INFO: GPS data processed {"connection_id":192200,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:01] local.INFO: Acknowledgment sent {"connection_id":192200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:09] local.INFO: TCP Data received {"connection_id":190663,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:09] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:09] local.INFO: IMEI packet received {"connection_id":190663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":190663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:29:11] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:11] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:11] local.INFO: Packet analysis {"connection_id":193543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:11] local.INFO: Extracted packet for processing {"connection_id":193543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":193543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:11] local.INFO: GPS data processed {"connection_id":193543,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:11] local.INFO: Acknowledgment sent {"connection_id":193543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:14] local.INFO: TCP Data received {"connection_id":190663,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:14] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:29:14] local.INFO: IMEI packet received {"connection_id":190663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":190663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:29:15] local.INFO: TCP Data received {"connection_id":190663,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8edfa8012c721740096ce4e0031900aa29..."} 
[2026-09-23 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8edfa8012c721740096ce4e0031900aa29..."} 
[2026-09-23 19:29:15] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8edfa8012c721740096ce4e0031900aa29..."} 
[2026-09-23 19:29:15] local.INFO: Packet analysis {"connection_id":190663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8e"} 
[2026-09-23 19:29:15] local.INFO: Extracted packet for processing {"connection_id":190663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8e"} 
[2026-09-23 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":745674560,"raw_latitude":158131424,"longitude_deg":74.567456,"latitude_deg":15.8131424,"altitude":793,"angle":170,"satellites":41,"speed":39,"hex_longitude":"2c721740","hex_latitude":"096ce4e0","is_valid_coordinates":true} 
[2026-09-23 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283992320001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8220617472809312259,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790171865000,"timestamp_ms":1790171865000,"timestamp_seconds":1790171865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8edfa8"} 
[2026-09-23 19:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 19:29: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-09-23 19:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283992320001,"66":27952,"169":206,"9":7680,"24":39,"16":3605341577150464,"44":8220617472809312259},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,9,24,16,44]} 
[2026-09-23 19:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283992320001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:15] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-23 19:29:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8220617472809312259,"description":"Unknown IO ID 44"} 
[2026-09-23 19:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283992320001,"power":27952,"unknown_169":206,"unknown_9":7680,"ignition":39,"odometer":null,"unknown_44":8220617472809312259}} 
[2026-09-23 19:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":190663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:15] local.INFO: GPS data processed {"connection_id":190663,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:15] local.INFO: Acknowledgment sent {"connection_id":190663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:32] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:29:32] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:29:32] local.INFO: Packet analysis {"connection_id":192200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:29:32] local.INFO: Extracted packet for processing {"connection_id":192200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:32] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:29: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-09-23 19: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-09-23 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":192200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:33] local.INFO: GPS data processed {"connection_id":192200,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:33] local.INFO: Acknowledgment sent {"connection_id":192200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:36] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:36] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:36] local.INFO: IMEI packet received {"connection_id":190664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":190664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:29:41] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:41] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:29:41] local.INFO: IMEI packet received {"connection_id":190664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":190664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:29:42] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:42] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:42] local.INFO: Packet analysis {"connection_id":190664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:42] local.INFO: Extracted packet for processing {"connection_id":190664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":190664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:42] local.INFO: GPS data processed {"connection_id":190664,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:42] local.INFO: Acknowledgment sent {"connection_id":190664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:46] local.INFO: TCP Data received {"connection_id":190663,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f31b0012c722600096c9d70031c00a32d..."} 
[2026-09-23 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f31b0012c722600096c9d70031c00a32d..."} 
[2026-09-23 19:29:46] local.INFO: Processing buffer {"connection_id":190663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f31b0012c722600096c9d70031c00a32d..."} 
[2026-09-23 19:29:46] local.INFO: Packet analysis {"connection_id":190663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:29:46] local.INFO: Extracted packet for processing {"connection_id":190663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":745678336,"raw_latitude":158113136,"longitude_deg":74.5678336,"latitude_deg":15.8113136,"altitude":796,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2c722600","hex_latitude":"096c9d70","is_valid_coordinates":true} 
[2026-09-23 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283997440001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8221110054013952003,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790171886000,"timestamp_ms":1790171886000,"timestamp_seconds":1790171886,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f31b0"} 
[2026-09-23 19:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 19:29:46] 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-09-23 19:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283997440001,"66":28006,"169":206,"9":7680,"24":0,"16":3605341577150464,"44":8221110054013952003},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,9,24,16,44]} 
[2026-09-23 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283997440001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:46] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-23 19:29:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":8221110054013952003,"description":"Unknown IO ID 44"} 
[2026-09-23 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283997440001,"power":28006,"unknown_169":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":8221110054013952003}} 
[2026-09-23 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":190663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:47] local.INFO: GPS data processed {"connection_id":190663,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:47] local.INFO: Acknowledgment sent {"connection_id":190663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:47] local.INFO: TCP Data received {"connection_id":190664,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:47] local.INFO: Processing buffer {"connection_id":190664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:29:47] local.INFO: Packet analysis {"connection_id":190664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:47] local.INFO: Extracted packet for processing {"connection_id":190664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":190664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:29:47] local.INFO: GPS data processed {"connection_id":190664,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:29:47] local.INFO: Acknowledgment sent {"connection_id":190664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:29:56] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:56] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:29:56] local.INFO: IMEI packet received {"connection_id":193544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":193544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:30:01] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:01] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:01] local.INFO: IMEI packet received {"connection_id":193544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":193544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:30:02] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:02] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:02] local.INFO: Packet analysis {"connection_id":193544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:02] local.INFO: Extracted packet for processing {"connection_id":193544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19: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-09-23 19: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-09-23 19:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:30:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":193544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:30:02] local.INFO: GPS data processed {"connection_id":193544,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:30:02] local.INFO: Acknowledgment sent {"connection_id":193544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:30:14] local.INFO: TCP Data received {"connection_id":190860,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:14] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:14] local.INFO: IMEI packet received {"connection_id":190860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":190860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:30:19] local.INFO: TCP Data received {"connection_id":190860,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:19] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:30:19] local.INFO: IMEI packet received {"connection_id":190860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":190860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:30:20] local.INFO: TCP Data received {"connection_id":190860,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f7030012c724500096c5e60032400912d..."} 
[2026-09-23 19:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f7030012c724500096c5e60032400912d..."} 
[2026-09-23 19:30:20] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f7030012c724500096c5e60032400912d..."} 
[2026-09-23 19:30:20] local.INFO: Packet analysis {"connection_id":190860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:20] local.INFO: Extracted packet for processing {"connection_id":190860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:20] local.INFO: GPS Element Parsed {"raw_longitude":745686272,"raw_latitude":158096992,"longitude_deg":74.5686272,"latitude_deg":15.8096992,"altitude":804,"angle":145,"satellites":45,"speed":35,"hex_longitude":"2c724500","hex_latitude":"096c5e60","is_valid_coordinates":true} 
[2026-09-23 19:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284002816001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8225261809915752451,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790171902000,"timestamp_ms":1790171902000,"timestamp_seconds":1790171902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f7030"} 
[2026-09-23 19:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 19:30:20] 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-09-23 19:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284002816001,"66":28017,"168":206,"9":7680,"24":35,"16":3605341577150464,"44":8225261809915752451},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284002816001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:30:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:30:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8225261809915752451,"description":"Unknown IO ID 44"} 
[2026-09-23 19:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284002816001,"power":28017,"unknown_168":206,"unknown_9":7680,"ignition":35,"odometer":null,"unknown_44":8225261809915752451}} 
[2026-09-23 19:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":190860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:30:20] local.INFO: GPS data processed {"connection_id":190860,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:30:20] local.INFO: Acknowledgment sent {"connection_id":190860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:30:26] local.INFO: TCP Data received {"connection_id":190860,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8fba68012c7278c0096c2a900326007e2c..."} 
[2026-09-23 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8fba68012c7278c0096c2a900326007e2c..."} 
[2026-09-23 19:30:26] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8fba68012c7278c0096c2a900326007e2c..."} 
[2026-09-23 19:30:26] local.INFO: Packet analysis {"connection_id":190860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:26] local.INFO: Extracted packet for processing {"connection_id":190860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":745699520,"raw_latitude":158083728,"longitude_deg":74.569952,"latitude_deg":15.8083728,"altitude":806,"angle":126,"satellites":44,"speed":44,"hex_longitude":"2c7278c0","hex_latitude":"096c2a90","is_valid_coordinates":true} 
[2026-09-23 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284006912001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8233987534189649923,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790171921000,"timestamp_ms":1790171921000,"timestamp_seconds":1790171921,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8fba68"} 
[2026-09-23 19:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-23 19:30:26] 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-09-23 19:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":190860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":190860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":190860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284006912001,"66":27887,"168":206,"9":7680,"24":44,"16":3605341577150464,"44":8233987534189649923},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284006912001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:30:26] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8233987534189649923,"description":"Unknown IO ID 44"} 
[2026-09-23 19:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284006912001,"power":27887,"unknown_168":206,"unknown_9":7680,"ignition":44,"odometer":null,"unknown_44":8233987534189649923}} 
[2026-09-23 19:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":190860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:30:26] local.INFO: GPS data processed {"connection_id":190860,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:30:26] local.INFO: Acknowledgment sent {"connection_id":190860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:30:31] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:31] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:31] local.INFO: IMEI packet received {"connection_id":190665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:30:33] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:33] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:30:33] local.INFO: Packet analysis {"connection_id":193544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:33] local.INFO: Extracted packet for processing {"connection_id":193544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:30:33] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:30: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-09-23 19: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-09-23 19:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":193544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:30:33] local.INFO: GPS data processed {"connection_id":193544,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:30:33] local.INFO: Acknowledgment sent {"connection_id":193544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:30:36] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:36] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:30:36] local.INFO: IMEI packet received {"connection_id":190665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:30:37] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:30:37] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8cc498012d34c58006aa4758001301052a..."} 
[2026-09-23 19:30:37] local.INFO: Packet analysis {"connection_id":190665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:30:37] local.INFO: Extracted packet for processing {"connection_id":190665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8c"} 
[2026-09-23 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283885056001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790171727000,"timestamp_ms":1790171727000,"timestamp_seconds":1790171727,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8cc498"} 
[2026-09-23 19:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:30: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-09-23 19:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283885056001,"66":25962,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283885056001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283885056001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:30:37] local.INFO: GPS data processed {"connection_id":190665,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:30:37] local.INFO: Acknowledgment sent {"connection_id":190665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:30:56] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:56] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:30:56] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:31:01] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:31:01] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:31:01] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:31:01] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:01] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:01] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:31:01] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:31: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-09-23 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:31:01] 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-09-23 19:31: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-09-23 19:31: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-09-23 19:31: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-09-23 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:02] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:02] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:31:09] local.INFO: TCP Data received {"connection_id":190665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:09] local.INFO: Processing buffer {"connection_id":190665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:09] local.INFO: Packet analysis {"connection_id":190665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:31:09] local.INFO: Extracted packet for processing {"connection_id":190665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 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-09-23 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:09] local.INFO: GPS data processed {"connection_id":190665,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:09] local.INFO: Acknowledgment sent {"connection_id":190665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:31:09] local.INFO: TCP Data received {"connection_id":192202,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:09] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:09] local.INFO: IMEI packet received {"connection_id":192202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":192202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:31:14] local.INFO: TCP Data received {"connection_id":192202,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:14] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:31:14] local.INFO: IMEI packet received {"connection_id":192202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":192202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:31:15] local.INFO: TCP Data received {"connection_id":192202,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce900c70012c72c000096bfa300322007c2b..."} 
[2026-09-23 19:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce900c70012c72c000096bfa300322007c2b..."} 
[2026-09-23 19:31:15] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce900c70012c72c000096bfa300322007c2b..."} 
[2026-09-23 19:31:15] local.INFO: Packet analysis {"connection_id":192202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:31:15] local.INFO: Extracted packet for processing {"connection_id":192202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:31:15] local.INFO: GPS Element Parsed {"raw_longitude":745717760,"raw_latitude":158071344,"longitude_deg":74.571776,"latitude_deg":15.8071344,"altitude":802,"angle":124,"satellites":43,"speed":0,"hex_longitude":"2c72c000","hex_latitude":"096bfa30","is_valid_coordinates":true} 
[2026-09-23 19:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284011776001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8248553864231030787,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790171942000,"timestamp_ms":1790171942000,"timestamp_seconds":1790171942,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce900c70"} 
[2026-09-23 19:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 19:31: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-09-23 19:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284011776001,"66":28028,"168":206,"9":7680,"24":0,"16":3605341577150464,"44":8248553864231030787},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284011776001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8248553864231030787,"description":"Unknown IO ID 44"} 
[2026-09-23 19:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284011776001,"power":28028,"unknown_168":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":8248553864231030787}} 
[2026-09-23 19:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":192202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:15] local.INFO: GPS data processed {"connection_id":192202,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:15] local.INFO: Acknowledgment sent {"connection_id":192202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:31:30] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:30] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:30] local.INFO: IMEI packet received {"connection_id":193545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":193545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:31:32] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:32] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:31:32] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:31:32] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:31:32] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:31: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-09-23 19: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-09-23 19:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:33] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:33] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:31:36] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:36] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:31:36] local.INFO: IMEI packet received {"connection_id":193545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":193545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:31:38] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:38] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:31:38] local.INFO: Packet analysis {"connection_id":193545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:31:38] local.INFO: Extracted packet for processing {"connection_id":193545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":193545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:38] local.INFO: GPS data processed {"connection_id":193545,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:38] local.INFO: Acknowledgment sent {"connection_id":193545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:31:47] local.INFO: TCP Data received {"connection_id":192202,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce903b50012c731300096bcdb0031f00702b..."} 
[2026-09-23 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce903b50012c731300096bcdb0031f00702b..."} 
[2026-09-23 19:31:47] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce903b50012c731300096bcdb0031f00702b..."} 
[2026-09-23 19:31:47] local.INFO: Packet analysis {"connection_id":192202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:31:47] local.INFO: Extracted packet for processing {"connection_id":192202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":745739008,"raw_latitude":158059952,"longitude_deg":74.5739008,"latitude_deg":15.8059952,"altitude":799,"angle":112,"satellites":43,"speed":57,"hex_longitude":"2c731300","hex_latitude":"096bcdb0","is_valid_coordinates":true} 
[2026-09-23 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284017152001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8268608956318494723,"note":"Value kept but may cause issues"} 
[2026-09-23 19:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790171954000,"timestamp_ms":1790171954000,"timestamp_seconds":1790171954,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce903b50"} 
[2026-09-23 19:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 19:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284017152001,"66":27952,"168":206,"9":7680,"24":57,"16":3605341577150464,"44":8268608956318494723},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284017152001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:31:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:31:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:31:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8268608956318494723,"description":"Unknown IO ID 44"} 
[2026-09-23 19:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284017152001,"power":27952,"unknown_168":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":8268608956318494723}} 
[2026-09-23 19:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":192202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:31:48] local.INFO: GPS data processed {"connection_id":192202,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:31:48] local.INFO: Acknowledgment sent {"connection_id":192202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:01] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:01] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:01] local.INFO: IMEI packet received {"connection_id":193546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":193546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:32:06] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:06] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:06] local.INFO: IMEI packet received {"connection_id":193546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":193546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:32:07] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:07] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:07] local.INFO: Packet analysis {"connection_id":193546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:32:07] local.INFO: Extracted packet for processing {"connection_id":193546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:32:07] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":193546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:07] local.INFO: GPS data processed {"connection_id":193546,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:07] local.INFO: Acknowledgment sent {"connection_id":193546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:08] local.INFO: TCP Data received {"connection_id":190861,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:08] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:08] local.INFO: IMEI packet received {"connection_id":190861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":190861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:32:09] local.INFO: TCP Data received {"connection_id":190861,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:09] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:09] local.INFO: IMEI packet received {"connection_id":190861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":190861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:32:11] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:11] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:32:11] local.INFO: Packet analysis {"connection_id":193546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:32:11] local.INFO: Extracted packet for processing {"connection_id":193546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:32: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-09-23 19:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":193546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:12] local.INFO: GPS data processed {"connection_id":193546,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:12] local.INFO: Acknowledgment sent {"connection_id":193546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:12] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:12] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:12] local.INFO: Packet analysis {"connection_id":193545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:32:12] local.INFO: Extracted packet for processing {"connection_id":193545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:32:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":193545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:12] local.INFO: GPS data processed {"connection_id":193545,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:12] local.INFO: Acknowledgment sent {"connection_id":193545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:14] local.INFO: TCP Data received {"connection_id":190861,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:14] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:32:14] local.INFO: IMEI packet received {"connection_id":190861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":190861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:32:15] local.INFO: TCP Data received {"connection_id":190861,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9079d0012c7367c0096ba650031e007b2d..."} 
[2026-09-23 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9079d0012c7367c0096ba650031e007b2d..."} 
[2026-09-23 19:32:15] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9079d0012c7367c0096ba650031e007b2d..."} 
[2026-09-23 19:32:15] local.INFO: Packet analysis {"connection_id":190861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:32:15] local.INFO: Extracted packet for processing {"connection_id":190861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":745760704,"raw_latitude":158049872,"longitude_deg":74.5760704,"latitude_deg":15.8049872,"altitude":798,"angle":123,"satellites":45,"speed":59,"hex_longitude":"2c7367c0","hex_latitude":"096ba650","is_valid_coordinates":true} 
[2026-09-23 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284020224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8291971379382562819,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790171970000,"timestamp_ms":1790171970000,"timestamp_seconds":1790171970,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9079d0"} 
[2026-09-23 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 19:32:15] 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-09-23 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284020224001,"66":28148,"168":206,"9":7680,"24":59,"16":3605341577150464,"44":8291971379382562819},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284020224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:32:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8291971379382562819,"description":"Unknown IO ID 44"} 
[2026-09-23 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284020224001,"power":28148,"unknown_168":206,"unknown_9":7680,"ignition":59,"odometer":null,"unknown_44":8291971379382562819}} 
[2026-09-23 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":190861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:15] local.INFO: GPS data processed {"connection_id":190861,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:15] local.INFO: Acknowledgment sent {"connection_id":190861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:30] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:30] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:30] local.INFO: IMEI packet received {"connection_id":190668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":190668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:32:36] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:36] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:32:36] local.INFO: IMEI packet received {"connection_id":190668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":190668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:32:37] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:37] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:32:37] local.INFO: Packet analysis {"connection_id":190668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:32:37] local.INFO: Extracted packet for processing {"connection_id":190668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 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-09-23 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":190668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:37] local.INFO: GPS data processed {"connection_id":190668,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:37] local.INFO: Acknowledgment sent {"connection_id":190668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:48] local.INFO: TCP Data received {"connection_id":190861,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce90cbd8012c73b640096b75c0031b007a2c..."} 
[2026-09-23 19:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce90cbd8012c73b640096b75c0031b007a2c..."} 
[2026-09-23 19:32:48] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce90cbd8012c73b640096b75c0031b007a2c..."} 
[2026-09-23 19:32:48] local.INFO: Packet analysis {"connection_id":190861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:32:48] local.INFO: Extracted packet for processing {"connection_id":190861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce90"} 
[2026-09-23 19:32:48] local.INFO: GPS Element Parsed {"raw_longitude":745780800,"raw_latitude":158037440,"longitude_deg":74.57808,"latitude_deg":15.803744,"altitude":795,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2c73b640","hex_latitude":"096b75c0","is_valid_coordinates":true} 
[2026-09-23 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284024320001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8315826383656210435,"note":"Value kept but may cause issues"} 
[2026-09-23 19:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790171991000,"timestamp_ms":1790171991000,"timestamp_seconds":1790171991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce90cbd8"} 
[2026-09-23 19:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:32: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-09-23 19:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-23 19:32:48] 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-09-23 19:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284024320001,"66":27876,"168":206,"9":7680,"24":0,"16":3605341577150464,"44":8315826383656210435},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,9,24,16,44]} 
[2026-09-23 19:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284024320001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:32:48] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-23 19:32:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8315826383656210435,"description":"Unknown IO ID 44"} 
[2026-09-23 19:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284024320001,"power":27876,"unknown_168":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":8315826383656210435}} 
[2026-09-23 19:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":190861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:32:48] local.INFO: GPS data processed {"connection_id":190861,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:32:48] local.INFO: Acknowledgment sent {"connection_id":190861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:32:56] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:56] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:32:56] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:33:01] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:01] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:01] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:33:01] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:01] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:01] local.INFO: Packet analysis {"connection_id":192203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:33:01] local.INFO: Extracted packet for processing {"connection_id":192203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:33:01] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:33: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-09-23 19: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-09-23 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":192203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:33:01] local.INFO: GPS data processed {"connection_id":192203,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:33:01] local.INFO: Acknowledgment sent {"connection_id":192203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:33:09] local.INFO: TCP Data received {"connection_id":190668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:09] local.INFO: Processing buffer {"connection_id":190668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:09] local.INFO: Packet analysis {"connection_id":190668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33:09] local.INFO: Extracted packet for processing {"connection_id":190668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":190668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:33:09] local.INFO: GPS data processed {"connection_id":190668,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:33:09] local.INFO: Acknowledgment sent {"connection_id":190668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:33:09] local.INFO: TCP Data received {"connection_id":190669,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:09] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:09] local.INFO: IMEI packet received {"connection_id":190669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":190669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:33:14] local.INFO: TCP Data received {"connection_id":190669,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:14] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:33:14] local.INFO: IMEI packet received {"connection_id":190669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":190669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:33:16] local.INFO: TCP Data received {"connection_id":190669,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce91ae680100000000000000000000000000..."} 
[2026-09-23 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce91ae680100000000000000000000000000..."} 
[2026-09-23 19:33:16] local.INFO: Processing buffer {"connection_id":190669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce91ae680100000000000000000000000000..."} 
[2026-09-23 19:33:16] local.INFO: Packet analysis {"connection_id":190669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33:16] local.INFO: Extracted packet for processing {"connection_id":190669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33: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-09-23 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284029696001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8337922169324814339,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790172049000,"timestamp_ms":1790172049000,"timestamp_seconds":1790172049,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce91ae68"} 
[2026-09-23 19:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 19:33: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-09-23 19:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":190669,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:33:16] local.INFO: GPS data processed {"connection_id":190669,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:33:16] local.INFO: Acknowledgment sent {"connection_id":190669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:33:30] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:30] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:30] local.INFO: IMEI packet received {"connection_id":190670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":190670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:33:32] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:32] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:33:32] local.INFO: Packet analysis {"connection_id":192203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:33:32] local.INFO: Extracted packet for processing {"connection_id":192203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:33:32] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:33: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-09-23 19: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-09-23 19:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":192203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:33:33] local.INFO: GPS data processed {"connection_id":192203,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:33:33] local.INFO: Acknowledgment sent {"connection_id":192203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:33:36] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:36] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:33:36] local.INFO: IMEI packet received {"connection_id":190670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:33:38] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:38] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:33:38] local.INFO: Packet analysis {"connection_id":190670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33:38] local.INFO: Extracted packet for processing {"connection_id":190670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":190670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:33:38] local.INFO: GPS data processed {"connection_id":190670,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:33:38] local.INFO: Acknowledgment sent {"connection_id":190670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:33:56] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:56] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:33:56] local.INFO: IMEI packet received {"connection_id":190862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":190862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:34:01] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:01] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:01] local.INFO: IMEI packet received {"connection_id":190862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":190862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:34:02] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:34:02] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce8f83b8012d196940071fef90004101592b..."} 
[2026-09-23 19:34:02] local.INFO: Packet analysis {"connection_id":190862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:34:02] local.INFO: Extracted packet for processing {"connection_id":190862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce8f"} 
[2026-09-23 19:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283931136001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790171907000,"timestamp_ms":1790171907000,"timestamp_seconds":1790171907,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce8f83b8"} 
[2026-09-23 19:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:34: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-09-23 19: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-09-23 19:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283931136001,"66":2177,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283931136001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:34:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283931136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":190862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:34:02] local.INFO: GPS data processed {"connection_id":190862,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:34:02] local.INFO: Acknowledgment sent {"connection_id":190862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:34:10] local.INFO: TCP Data received {"connection_id":190670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:10] local.INFO: Processing buffer {"connection_id":190670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:10] local.INFO: Packet analysis {"connection_id":190670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:10] local.INFO: Extracted packet for processing {"connection_id":190670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":190670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:34:10] local.INFO: GPS data processed {"connection_id":190670,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:34:10] local.INFO: Acknowledgment sent {"connection_id":190670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:34:33] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:34:33] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:34:33] local.INFO: Packet analysis {"connection_id":190862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:34:33] local.INFO: Extracted packet for processing {"connection_id":190862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:34:33] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":190862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:34:33] local.INFO: GPS data processed {"connection_id":190862,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:34:33] local.INFO: Acknowledgment sent {"connection_id":190862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:34:36] local.INFO: TCP Data received {"connection_id":190671,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:36] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:36] local.INFO: IMEI packet received {"connection_id":190671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":190671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:34:41] local.INFO: TCP Data received {"connection_id":190671,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:41] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:34:41] local.INFO: IMEI packet received {"connection_id":190671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":190671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:34:42] local.INFO: TCP Data received {"connection_id":190671,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:42] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:42] local.INFO: Packet analysis {"connection_id":190671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:42] local.INFO: Extracted packet for processing {"connection_id":190671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":190671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:34:42] local.INFO: GPS data processed {"connection_id":190671,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:34:42] local.INFO: Acknowledgment sent {"connection_id":190671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:34:46] local.INFO: TCP Data received {"connection_id":190671,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:46] local.INFO: Processing buffer {"connection_id":190671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:34:46] local.INFO: Packet analysis {"connection_id":190671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:46] local.INFO: Extracted packet for processing {"connection_id":190671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":190671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:34:46] local.INFO: GPS data processed {"connection_id":190671,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:34:46] local.INFO: Acknowledgment sent {"connection_id":190671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:34:56] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:56] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:34:56] local.INFO: IMEI packet received {"connection_id":192204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":192204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:34:59] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:34:59] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:34:59] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:35:00] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:00] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:00] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:35:01] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:35:01] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:35:01] local.INFO: IMEI packet received {"connection_id":192204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":192204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:35:01] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:01] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:01] local.INFO: Packet analysis {"connection_id":192204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:01] local.INFO: Extracted packet for processing {"connection_id":192204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:35: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-09-23 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:35:01] 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-09-23 19:35: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:35: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-09-23 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:35:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":192204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:35:02] local.INFO: GPS data processed {"connection_id":192204,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:35:02] local.INFO: Acknowledgment sent {"connection_id":192204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:35:04] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:04] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:35:04] local.INFO: IMEI packet received {"connection_id":190672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":190672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:35:05] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9413b0012c77684009692300033000852c..."} 
[2026-09-23 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9413b0012c77684009692300033000852c..."} 
[2026-09-23 19:35:05] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9413b0012c77684009692300033000852c..."} 
[2026-09-23 19:35:05] local.INFO: Packet analysis {"connection_id":190672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:05] local.INFO: Extracted packet for processing {"connection_id":190672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":746022976,"raw_latitude":157885184,"longitude_deg":74.6022976,"latitude_deg":15.7885184,"altitude":816,"angle":133,"satellites":44,"speed":38,"hex_longitude":"2c776840","hex_latitude":"09692300","is_valid_coordinates":true} 
[2026-09-23 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284079872001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8587238629910056963,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790172206000,"timestamp_ms":1790172206000,"timestamp_seconds":1790172206,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9413b0"} 
[2026-09-23 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 19:35: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-09-23 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284079872001,"66":27952,"153":206,"9":8192,"24":38,"16":3605341577150464,"44":8587238629910056963},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284079872001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:35:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:35:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":8587238629910056963,"description":"Unknown IO ID 44"} 
[2026-09-23 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284079872001,"power":27952,"unknown_153":206,"unknown_9":8192,"ignition":38,"odometer":null,"unknown_44":8587238629910056963}} 
[2026-09-23 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":190672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:35:05] local.INFO: GPS data processed {"connection_id":190672,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:35:05] local.INFO: Acknowledgment sent {"connection_id":190672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:35:20] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9465b8012c7792400968f980033300852d..."} 
[2026-09-23 19:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9465b8012c7792400968f980033300852d..."} 
[2026-09-23 19:35:20] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9465b8012c7792400968f980033300852d..."} 
[2026-09-23 19:35:20] local.INFO: Packet analysis {"connection_id":190672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:20] local.INFO: Extracted packet for processing {"connection_id":190672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":746033728,"raw_latitude":157874560,"longitude_deg":74.6033728,"latitude_deg":15.787456,"altitude":819,"angle":133,"satellites":45,"speed":0,"hex_longitude":"2c779240","hex_latitude":"0968f980","is_valid_coordinates":true} 
[2026-09-23 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284084736001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8604197497254117379,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790172227000,"timestamp_ms":1790172227000,"timestamp_seconds":1790172227,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9465b8"} 
[2026-09-23 19:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 19:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284084736001,"66":27821,"153":206,"9":8192,"24":0,"16":3605341577150464,"44":8604197497254117379},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284084736001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:35:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:35:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8604197497254117379,"description":"Unknown IO ID 44"} 
[2026-09-23 19:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284084736001,"power":27821,"unknown_153":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":8604197497254117379}} 
[2026-09-23 19:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":190672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:35:20] local.INFO: GPS data processed {"connection_id":190672,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:35:20] local.INFO: Acknowledgment sent {"connection_id":190672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:35:30] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:30] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:30] local.INFO: IMEI packet received {"connection_id":193547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":193547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:35:33] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:33] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:35:33] local.INFO: Packet analysis {"connection_id":192204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:33] local.INFO: Extracted packet for processing {"connection_id":192204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:35:33] 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-09-23 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:35:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":192204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:35:33] local.INFO: GPS data processed {"connection_id":192204,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:35:33] local.INFO: Acknowledgment sent {"connection_id":192204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:35:36] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:36] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:35:36] local.INFO: IMEI packet received {"connection_id":193547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":193547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:35:37] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:35:37] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce915c60012d34c58006aa47580013010524..."} 
[2026-09-23 19:35:37] local.INFO: Packet analysis {"connection_id":193547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:35:37] local.INFO: Extracted packet for processing {"connection_id":193547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce91"} 
[2026-09-23 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458283962112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172028000,"timestamp_ms":1790172028000,"timestamp_seconds":1790172028,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce915c60"} 
[2026-09-23 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-23 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458283962112001,"66":25897,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458283962112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458283962112001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":193547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:35:37] local.INFO: GPS data processed {"connection_id":193547,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:35:37] local.INFO: Acknowledgment sent {"connection_id":193547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:01] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:01] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:01] local.INFO: IMEI packet received {"connection_id":190673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":190673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:36:06] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:06] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:06] local.INFO: IMEI packet received {"connection_id":190673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":190673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:36:07] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:07] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:07] local.INFO: Packet analysis {"connection_id":190673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:07] local.INFO: Extracted packet for processing {"connection_id":190673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:36:07] 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-09-23 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":190673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:07] local.INFO: GPS data processed {"connection_id":190673,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:07] local.INFO: Acknowledgment sent {"connection_id":190673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:08] local.INFO: TCP Data received {"connection_id":190672,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce94a820012c77d9c00968d310032a00722d..."} 
[2026-09-23 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce94a820012c77d9c00968d310032a00722d..."} 
[2026-09-23 19:36:08] local.INFO: Processing buffer {"connection_id":190672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce94a820012c77d9c00968d310032a00722d..."} 
[2026-09-23 19:36:08] local.INFO: Packet analysis {"connection_id":190672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:08] local.INFO: Extracted packet for processing {"connection_id":190672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":746052032,"raw_latitude":157864720,"longitude_deg":74.6052032,"latitude_deg":15.786472,"altitude":810,"angle":114,"satellites":45,"speed":49,"hex_longitude":"2c77d9c0","hex_latitude":"0968d310","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284090112001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8616019446273245187,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790172244000,"timestamp_ms":1790172244000,"timestamp_seconds":1790172244,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce94a820"} 
[2026-09-23 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":173,"data_length":795,"current_offset":136} 
[2026-09-23 19:36: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-09-23 19: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-09-23 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284090112001,"66":27952,"153":206,"9":8192,"24":49,"16":3605341577150464,"44":8616019446273245187},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284090112001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:36:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":8616019446273245187,"description":"Unknown IO ID 44"} 
[2026-09-23 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284090112001,"power":27952,"unknown_153":206,"unknown_9":8192,"ignition":49,"odometer":null,"unknown_44":8616019446273245187}} 
[2026-09-23 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":190672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:08] local.INFO: GPS data processed {"connection_id":190672,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:08] local.INFO: Acknowledgment sent {"connection_id":190672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:09] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:09] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:09] local.INFO: Packet analysis {"connection_id":193547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:09] local.INFO: Extracted packet for processing {"connection_id":193547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 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-09-23 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:36:09] 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-09-23 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-09-23 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-09-23 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":193547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:09] local.INFO: GPS data processed {"connection_id":193547,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:09] local.INFO: Acknowledgment sent {"connection_id":193547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:11] local.INFO: TCP Data received {"connection_id":190673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:11] local.INFO: Processing buffer {"connection_id":190673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:36:11] local.INFO: Packet analysis {"connection_id":190673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:11] local.INFO: Extracted packet for processing {"connection_id":190673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":190673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:11] local.INFO: GPS data processed {"connection_id":190673,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:11] local.INFO: Acknowledgment sent {"connection_id":190673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:22] local.INFO: TCP Data received {"connection_id":190674,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:22] local.INFO: Processing buffer {"connection_id":190674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:22] local.INFO: IMEI packet received {"connection_id":190674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":190674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:36:24] local.INFO: TCP Data received {"connection_id":190674,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:24] local.INFO: Processing buffer {"connection_id":190674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:24] local.INFO: IMEI packet received {"connection_id":190674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":190674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:36:29] local.INFO: TCP Data received {"connection_id":190674,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:29] local.INFO: Processing buffer {"connection_id":190674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:36:29] local.INFO: IMEI packet received {"connection_id":190674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":190674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:36:30] local.INFO: TCP Data received {"connection_id":190674,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce94ea88012c7829400968baa0031f005f2e..."} 
[2026-09-23 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce94ea88012c7829400968baa0031f005f2e..."} 
[2026-09-23 19:36:30] local.INFO: Processing buffer {"connection_id":190674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce94ea88012c7829400968baa0031f005f2e..."} 
[2026-09-23 19:36:30] local.INFO: Packet analysis {"connection_id":190674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:30] local.INFO: Extracted packet for processing {"connection_id":190674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:36:30] local.INFO: GPS Element Parsed {"raw_longitude":746072384,"raw_latitude":157858464,"longitude_deg":74.6072384,"latitude_deg":15.7858464,"altitude":799,"angle":95,"satellites":46,"speed":50,"hex_longitude":"2c782940","hex_latitude":"0968baa0","is_valid_coordinates":true} 
[2026-09-23 19:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284094464001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8636144907105538051,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790172261000,"timestamp_ms":1790172261000,"timestamp_seconds":1790172261,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce94ea88"} 
[2026-09-23 19:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:36:30] 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-09-23 19:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 19:36: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-09-23 19:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284094464001,"66":28028,"153":206,"9":8192,"24":50,"16":3605341577150464,"44":8636144907105538051},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284094464001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:36:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8636144907105538051,"description":"Unknown IO ID 44"} 
[2026-09-23 19:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284094464001,"power":28028,"unknown_153":206,"unknown_9":8192,"ignition":50,"odometer":null,"unknown_44":8636144907105538051}} 
[2026-09-23 19:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":190674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:30] local.INFO: GPS data processed {"connection_id":190674,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:30] local.INFO: Acknowledgment sent {"connection_id":190674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:36] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:36] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:36] local.INFO: IMEI packet received {"connection_id":192205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":192205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:36:41] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:41] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:36:41] local.INFO: IMEI packet received {"connection_id":192205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":192205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:36:43] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:43] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:43] local.INFO: Packet analysis {"connection_id":192205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:43] local.INFO: Extracted packet for processing {"connection_id":192205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 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-09-23 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 19:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":192205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:43] local.INFO: GPS data processed {"connection_id":192205,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:43] local.INFO: Acknowledgment sent {"connection_id":192205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:48] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:48] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:36:48] local.INFO: Packet analysis {"connection_id":192205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:48] local.INFO: Extracted packet for processing {"connection_id":192205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:36:48] 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-09-23 19: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-09-23 19:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":192205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:36:48] local.INFO: GPS data processed {"connection_id":192205,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:36:48] local.INFO: Acknowledgment sent {"connection_id":192205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:36:56] local.INFO: TCP Data received {"connection_id":190675,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:56] local.INFO: Processing buffer {"connection_id":190675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:36:56] local.INFO: IMEI packet received {"connection_id":190675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":190675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:37:01] local.INFO: TCP Data received {"connection_id":190675,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:01] local.INFO: Processing buffer {"connection_id":190675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:01] local.INFO: IMEI packet received {"connection_id":190675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":190675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:37:01] local.INFO: TCP Data received {"connection_id":190675,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:01] local.INFO: Processing buffer {"connection_id":190675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:01] local.INFO: Packet analysis {"connection_id":190675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:37:01] local.INFO: Extracted packet for processing {"connection_id":190675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:37:01] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":190675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:37:01] local.INFO: GPS data processed {"connection_id":190675,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:37:01] local.INFO: Acknowledgment sent {"connection_id":190675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:37:09] local.INFO: TCP Data received {"connection_id":193548,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:09] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:09] local.INFO: IMEI packet received {"connection_id":193548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":193548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:37:14] local.INFO: TCP Data received {"connection_id":193548,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:14] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:37:14] local.INFO: IMEI packet received {"connection_id":193548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":193548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:37:15] local.INFO: TCP Data received {"connection_id":193548,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce952cf0012c7874c009689db00313008c2e..."} 
[2026-09-23 19:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce952cf0012c7874c009689db00313008c2e..."} 
[2026-09-23 19:37:15] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce952cf0012c7874c009689db00313008c2e..."} 
[2026-09-23 19:37:15] local.INFO: Packet analysis {"connection_id":193548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:15] local.INFO: Extracted packet for processing {"connection_id":193548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:15] local.INFO: GPS Element Parsed {"raw_longitude":746091712,"raw_latitude":157851056,"longitude_deg":74.6091712,"latitude_deg":15.7851056,"altitude":787,"angle":140,"satellites":46,"speed":48,"hex_longitude":"2c7874c0","hex_latitude":"09689db0","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284098816001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8658522167752433667,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790172278000,"timestamp_ms":1790172278000,"timestamp_seconds":1790172278,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce952cf0"} 
[2026-09-23 19:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 19:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284098816001,"66":27908,"153":206,"9":8192,"24":48,"16":3605341577150464,"44":8658522167752433667},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284098816001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:37:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:37:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8658522167752433667,"description":"Unknown IO ID 44"} 
[2026-09-23 19:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284098816001,"power":27908,"unknown_153":206,"unknown_9":8192,"ignition":48,"odometer":null,"unknown_44":8658522167752433667}} 
[2026-09-23 19:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":193548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:37:15] local.INFO: GPS data processed {"connection_id":193548,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:37:15] local.INFO: Acknowledgment sent {"connection_id":193548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:37:31] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:31] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:31] local.INFO: IMEI packet received {"connection_id":190863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":190863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:37:32] local.INFO: TCP Data received {"connection_id":190675,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:32] local.INFO: Processing buffer {"connection_id":190675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:37:32] local.INFO: Packet analysis {"connection_id":190675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:37:32] local.INFO: Extracted packet for processing {"connection_id":190675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:37:32] 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-09-23 19:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":190675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:37:33] local.INFO: GPS data processed {"connection_id":190675,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:37:33] local.INFO: Acknowledgment sent {"connection_id":190675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:37:36] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:36] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:37:36] local.INFO: IMEI packet received {"connection_id":190863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":190863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:37:37] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:37:37] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:37:37] local.INFO: Packet analysis {"connection_id":190863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:37] local.INFO: Extracted packet for processing {"connection_id":190863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:37: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-09-23 19:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:37: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-09-23 19:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":190863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:37:37] local.INFO: GPS data processed {"connection_id":190863,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:37:37] local.INFO: Acknowledgment sent {"connection_id":190863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:37:47] local.INFO: TCP Data received {"connection_id":193548,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce956f58012c78bc4009687500030300532d..."} 
[2026-09-23 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce956f58012c78bc4009687500030300532d..."} 
[2026-09-23 19:37:47] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce956f58012c78bc4009687500030300532d..."} 
[2026-09-23 19:37:47] local.INFO: Packet analysis {"connection_id":193548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:47] local.INFO: Extracted packet for processing {"connection_id":193548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":746110016,"raw_latitude":157840640,"longitude_deg":74.6110016,"latitude_deg":15.784064,"altitude":771,"angle":83,"satellites":45,"speed":56,"hex_longitude":"2c78bc40","hex_latitude":"09687500","is_valid_coordinates":true} 
[2026-09-23 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284103168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8679773528492191747,"note":"Value kept but may cause issues"} 
[2026-09-23 19:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790172295000,"timestamp_ms":1790172295000,"timestamp_seconds":1790172295,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce956f58"} 
[2026-09-23 19:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 19:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284103168001,"66":27887,"153":206,"9":8192,"24":56,"16":3605341577150464,"44":8679773528492191747},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284103168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:37:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:37:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8679773528492191747,"description":"Unknown IO ID 44"} 
[2026-09-23 19:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284103168001,"power":27887,"unknown_153":206,"unknown_9":8192,"ignition":56,"odometer":null,"unknown_44":8679773528492191747}} 
[2026-09-23 19:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":193548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:37:47] local.INFO: GPS data processed {"connection_id":193548,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:37:47] local.INFO: Acknowledgment sent {"connection_id":193548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:37:56] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:56] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:37:56] local.INFO: IMEI packet received {"connection_id":193549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":193549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:38:01] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:01] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:01] local.INFO: IMEI packet received {"connection_id":193549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":193549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:38:02] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:02] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:02] local.INFO: Packet analysis {"connection_id":193549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:38:02] local.INFO: Extracted packet for processing {"connection_id":193549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38:02] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":193549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:02] local.INFO: GPS data processed {"connection_id":193549,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:02] local.INFO: Acknowledgment sent {"connection_id":193549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:09] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:09] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:09] local.INFO: Packet analysis {"connection_id":190863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:09] local.INFO: Extracted packet for processing {"connection_id":190863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38: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-09-23 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:38:09] 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-09-23 19:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":190863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:09] local.INFO: GPS data processed {"connection_id":190863,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:09] local.INFO: Acknowledgment sent {"connection_id":190863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:09] local.INFO: TCP Data received {"connection_id":192206,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:09] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:09] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:38:13] local.INFO: TCP Data received {"connection_id":192206,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:13] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:38:13] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:38:15] local.INFO: TCP Data received {"connection_id":192206,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95add8012c79114009688ad002f600382e..."} 
[2026-09-23 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95add8012c79114009688ad002f600382e..."} 
[2026-09-23 19:38:15] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95add8012c79114009688ad002f600382e..."} 
[2026-09-23 19:38:15] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:15] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":746131776,"raw_latitude":157846224,"longitude_deg":74.6131776,"latitude_deg":15.7846224,"altitude":758,"angle":56,"satellites":46,"speed":54,"hex_longitude":"2c791140","hex_latitude":"09688ad0","is_valid_coordinates":true} 
[2026-09-23 19:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284107520001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8699898989324337155,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790172311000,"timestamp_ms":1790172311000,"timestamp_seconds":1790172311,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95add8"} 
[2026-09-23 19:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 19:38: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-09-23 19:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284107520001,"66":27995,"153":206,"9":8192,"24":54,"16":3605341577150464,"44":8699898989324337155},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,9,24,16,44]} 
[2026-09-23 19:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284107520001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-23 19:38:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 19:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8699898989324337155,"description":"Unknown IO ID 44"} 
[2026-09-23 19:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284107520001,"power":27995,"unknown_153":206,"unknown_9":8192,"ignition":54,"odometer":null,"unknown_44":8699898989324337155}} 
[2026-09-23 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:15] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:15] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:31] local.INFO: TCP Data received {"connection_id":190676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:31] local.INFO: Processing buffer {"connection_id":190676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:31] local.INFO: IMEI packet received {"connection_id":190676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":190676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:38:33] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:33] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:38:33] local.INFO: Packet analysis {"connection_id":193549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:38:33] local.INFO: Extracted packet for processing {"connection_id":193549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38:33] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":193549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:33] local.INFO: GPS data processed {"connection_id":193549,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:33] local.INFO: Acknowledgment sent {"connection_id":193549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:36] local.INFO: TCP Data received {"connection_id":190676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:36] local.INFO: Processing buffer {"connection_id":190676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:38:36] local.INFO: IMEI packet received {"connection_id":190676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":190676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:38:37] local.INFO: TCP Data received {"connection_id":190676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:37] local.INFO: Processing buffer {"connection_id":190676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:38:37] local.INFO: Packet analysis {"connection_id":190676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:37] local.INFO: Extracted packet for processing {"connection_id":190676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38: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-09-23 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19: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-09-23 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":190676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:37] local.INFO: GPS data processed {"connection_id":190676,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:37] local.INFO: Acknowledgment sent {"connection_id":190676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:46] local.INFO: TCP Data received {"connection_id":192206,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f040012c7961800968ad5002e8005a2d..."} 
[2026-09-23 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f040012c7961800968ad5002e8005a2d..."} 
[2026-09-23 19:38:46] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f040012c7961800968ad5002e8005a2d..."} 
[2026-09-23 19:38:46] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:46] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":746152320,"raw_latitude":157855056,"longitude_deg":74.615232,"latitude_deg":15.7855056,"altitude":744,"angle":90,"satellites":45,"speed":56,"hex_longitude":"2c796180","hex_latitude":"0968ad50","is_valid_coordinates":true} 
[2026-09-23 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284111616001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8723824362346172418,"note":"Value kept but may cause issues"} 
[2026-09-23 19:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790172328000,"timestamp_ms":1790172328000,"timestamp_seconds":1790172328,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f040"} 
[2026-09-23 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 19:38: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-09-23 19:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284111616001,"66":27974,"42":206,"9":7680,"24":56,"16":3605341577150464,"44":8723824362346172418},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-23 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284111616001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:38:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 19:38:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":8723824362346172418,"description":"Unknown IO ID 44"} 
[2026-09-23 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284111616001,"power":27974,"unknown_42":206,"unknown_9":7680,"ignition":56,"odometer":null,"unknown_44":8723824362346172418}} 
[2026-09-23 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:38:46] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:38:46] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:38:56] local.INFO: TCP Data received {"connection_id":193550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:56] local.INFO: Processing buffer {"connection_id":193550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:38:56] local.INFO: IMEI packet received {"connection_id":193550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":193550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:39:01] local.INFO: TCP Data received {"connection_id":193550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:39:01] local.INFO: Processing buffer {"connection_id":193550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:39:01] local.INFO: IMEI packet received {"connection_id":193550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":193550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:39:02] local.INFO: TCP Data received {"connection_id":193550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:39:02] local.INFO: Processing buffer {"connection_id":193550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce941b80012d196940071fef900041015926..."} 
[2026-09-23 19:39:02] local.INFO: Packet analysis {"connection_id":193550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:39:02] local.INFO: Extracted packet for processing {"connection_id":193550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce94"} 
[2026-09-23 19:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":65,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284008192001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172208000,"timestamp_ms":1790172208000,"timestamp_seconds":1790172208,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce941b80"} 
[2026-09-23 19:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:39:02] 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-09-23 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-23 19:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284008192001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284008192001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:39:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284008192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":193550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:39:02] local.INFO: GPS data processed {"connection_id":193550,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:39:02] local.INFO: Acknowledgment sent {"connection_id":193550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:39:09] local.INFO: TCP Data received {"connection_id":190677,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:09] local.INFO: Processing buffer {"connection_id":190677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:09] local.INFO: IMEI packet received {"connection_id":190677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":190677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:39:09] local.INFO: TCP Data received {"connection_id":190676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:09] local.INFO: Processing buffer {"connection_id":190676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:09] local.INFO: Packet analysis {"connection_id":190676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:39:09] local.INFO: Extracted packet for processing {"connection_id":190676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19: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-09-23 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:39:09] 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-09-23 19:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":190676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:39:09] local.INFO: GPS data processed {"connection_id":190676,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:39:09] local.INFO: Acknowledgment sent {"connection_id":190676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:39:14] local.INFO: TCP Data received {"connection_id":190677,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:14] local.INFO: Processing buffer {"connection_id":190677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:39:14] local.INFO: IMEI packet received {"connection_id":190677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":190677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:39:15] local.INFO: TCP Data received {"connection_id":190677,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce962ec0012c79aec00968830002d900872e..."} 
[2026-09-23 19:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce962ec0012c79aec00968830002d900872e..."} 
[2026-09-23 19:39:15] local.INFO: Processing buffer {"connection_id":190677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce962ec0012c79aec00968830002d900872e..."} 
[2026-09-23 19:39:15] local.INFO: Packet analysis {"connection_id":190677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce96"} 
[2026-09-23 19:39:15] local.INFO: Extracted packet for processing {"connection_id":190677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce96"} 
[2026-09-23 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":746172096,"raw_latitude":157844224,"longitude_deg":74.6172096,"latitude_deg":15.7844224,"altitude":729,"angle":135,"satellites":46,"speed":57,"hex_longitude":"2c79aec0","hex_latitude":"09688300","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284115968001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8746412729229463554,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790172344000,"timestamp_ms":1790172344000,"timestamp_seconds":1790172344,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce962ec0"} 
[2026-09-23 19:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-23 19:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284115968001,"66":27919,"42":206,"9":7680,"24":57,"16":3605341577150464,"44":8746412729229463554},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-23 19:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284115968001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:39:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-23 19:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8746412729229463554,"description":"Unknown IO ID 44"} 
[2026-09-23 19:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284115968001,"power":27919,"unknown_42":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":8746412729229463554}} 
[2026-09-23 19:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":190677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:39:15] local.INFO: GPS data processed {"connection_id":190677,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:39:15] local.INFO: Acknowledgment sent {"connection_id":190677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:39:30] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:30] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:30] local.INFO: IMEI packet received {"connection_id":192207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:39:32] local.INFO: TCP Data received {"connection_id":193550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:39:32] local.INFO: Processing buffer {"connection_id":193550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:39:32] local.INFO: Packet analysis {"connection_id":193550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:39:32] local.INFO: Extracted packet for processing {"connection_id":193550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:39: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-09-23 19: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-09-23 19:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":193550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:39:33] local.INFO: GPS data processed {"connection_id":193550,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:39:33] local.INFO: Acknowledgment sent {"connection_id":193550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:39:36] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:36] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:39:36] local.INFO: IMEI packet received {"connection_id":192207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":192207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:39:37] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:37] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:39:37] local.INFO: Packet analysis {"connection_id":192207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:39:37] local.INFO: Extracted packet for processing {"connection_id":192207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:39: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-09-23 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:39: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-09-23 19:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":192207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:39:37] local.INFO: GPS data processed {"connection_id":192207,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:39:37] local.INFO: Acknowledgment sent {"connection_id":192207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:39:47] local.INFO: TCP Data received {"connection_id":190677,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce997a800100000000000000000000000000..."} 
[2026-09-23 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce997a800100000000000000000000000000..."} 
[2026-09-23 19:39:47] local.INFO: Processing buffer {"connection_id":190677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce997a800100000000000000000000000000..."} 
[2026-09-23 19:39:47] local.INFO: Packet analysis {"connection_id":190677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:39:47] local.INFO: Extracted packet for processing {"connection_id":190677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:39: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-09-23 19:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284160512001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9025424799867047938,"note":"Value kept but may cause issues"} 
[2026-09-23 19:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790172560000,"timestamp_ms":1790172560000,"timestamp_seconds":1790172560,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce997a80"} 
[2026-09-23 19:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-23 19:39:47] 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-09-23 19:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":190677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 19:39:47] local.INFO: GPS data processed {"connection_id":190677,"processed":0,"errors":0,"total":1} 
[2026-09-23 19:39:47] local.INFO: Acknowledgment sent {"connection_id":190677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:01] local.INFO: TCP Data received {"connection_id":190678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:01] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:01] local.INFO: IMEI packet received {"connection_id":190678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:40:06] local.INFO: TCP Data received {"connection_id":190678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:06] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:06] local.INFO: IMEI packet received {"connection_id":190678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":190678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:40:07] local.INFO: TCP Data received {"connection_id":190678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:07] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:07] local.INFO: Packet analysis {"connection_id":190678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:40:07] local.INFO: Extracted packet for processing {"connection_id":190678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":190678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:07] local.INFO: GPS data processed {"connection_id":190678,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:07] local.INFO: Acknowledgment sent {"connection_id":190678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:09] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:09] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:09] local.INFO: Packet analysis {"connection_id":192207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:40:09] local.INFO: Extracted packet for processing {"connection_id":192207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:40:09] 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-09-23 19: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-09-23 19:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":192207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:09] local.INFO: GPS data processed {"connection_id":192207,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:09] local.INFO: Acknowledgment sent {"connection_id":192207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:11] local.INFO: TCP Data received {"connection_id":190678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:11] local.INFO: Processing buffer {"connection_id":190678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:40:11] local.INFO: Packet analysis {"connection_id":190678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:40:11] local.INFO: Extracted packet for processing {"connection_id":190678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:40: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-09-23 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":190678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:12] local.INFO: GPS data processed {"connection_id":190678,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:12] local.INFO: Acknowledgment sent {"connection_id":190678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:14] local.INFO: TCP Data received {"connection_id":192208,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:14] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:14] local.INFO: IMEI packet received {"connection_id":192208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":192208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:40:18] local.INFO: TCP Data received {"connection_id":192208,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:18] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:40:18] local.INFO: IMEI packet received {"connection_id":192208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":192208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:40:18] local.INFO: TCP Data received {"connection_id":192208,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce990550012c7dd84009669fe0029f009d2d..."} 
[2026-09-23 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce990550012c7dd84009669fe0029f009d2d..."} 
[2026-09-23 19:40:18] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce990550012c7dd84009669fe0029f009d2d..."} 
[2026-09-23 19:40:18] local.INFO: Packet analysis {"connection_id":192208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:18] local.INFO: Extracted packet for processing {"connection_id":192208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":746444864,"raw_latitude":157720544,"longitude_deg":74.6444864,"latitude_deg":15.7720544,"altitude":671,"angle":157,"satellites":45,"speed":65,"hex_longitude":"2c7dd840","hex_latitude":"09669fe0","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,41,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790172530000,"timestamp_ms":1790172530000,"timestamp_seconds":1790172530,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce990550"} 
[2026-09-23 19:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 19:40: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-09-23 19:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"41":206,"9":7680,"24":65,"16":3605341577150464},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16]} 
[2026-09-23 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:18] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:40:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_41":206,"unknown_9":7680,"ignition":65,"odometer":null}} 
[2026-09-23 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":192208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:19] local.INFO: GPS data processed {"connection_id":192208,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:19] local.INFO: Acknowledgment sent {"connection_id":192208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:19] local.INFO: TCP Data received {"connection_id":192208,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce993fe8012c7dea00096645e0029e00ab2c..."} 
[2026-09-23 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce993fe8012c7dea00096645e0029e00ab2c..."} 
[2026-09-23 19:40:19] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce993fe8012c7dea00096645e0029e00ab2c..."} 
[2026-09-23 19:40:19] local.INFO: Packet analysis {"connection_id":192208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:19] local.INFO: Extracted packet for processing {"connection_id":192208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":746449408,"raw_latitude":157697504,"longitude_deg":74.6449408,"latitude_deg":15.7697504,"altitude":670,"angle":171,"satellites":44,"speed":59,"hex_longitude":"2c7dea00","hex_latitude":"096645e0","is_valid_coordinates":true} 
[2026-09-23 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284167680001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9068068258831130626,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790172545000,"timestamp_ms":1790172545000,"timestamp_seconds":1790172545,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce993fe8"} 
[2026-09-23 19:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 19:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284167680001,"66":27593,"41":206,"9":7680,"24":59,"16":3605341577150464,"44":9068068258831130626},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284167680001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:19] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:40:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":9068068258831130626,"description":"Unknown IO ID 44"} 
[2026-09-23 19:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284167680001,"power":27593,"unknown_41":206,"unknown_9":7680,"ignition":59,"odometer":null,"unknown_44":9068068258831130626}} 
[2026-09-23 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":192208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:19] local.INFO: GPS data processed {"connection_id":192208,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:19] local.INFO: Acknowledgment sent {"connection_id":192208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:30] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:30] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:30] local.INFO: IMEI packet received {"connection_id":190864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":190864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:40:36] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:36] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:40:36] local.INFO: IMEI packet received {"connection_id":190864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":190864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:40:37] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:37] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce95f428012d34c58006aa47580013010526..."} 
[2026-09-23 19:40:37] local.INFO: Packet analysis {"connection_id":190864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:40:37] local.INFO: Extracted packet for processing {"connection_id":190864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce95"} 
[2026-09-23 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284039168001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172329000,"timestamp_ms":1790172329000,"timestamp_seconds":1790172329,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce95f428"} 
[2026-09-23 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40: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-09-23 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-23 19:40: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-09-23 19:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284039168001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284039168001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284039168001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":190864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:37] local.INFO: GPS data processed {"connection_id":190864,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:37] local.INFO: Acknowledgment sent {"connection_id":190864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:51] local.INFO: TCP Data received {"connection_id":192208,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9991f0012c7df8800965efd0029e00a62c..."} 
[2026-09-23 19:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9991f0012c7df8800965efd0029e00a62c..."} 
[2026-09-23 19:40:51] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9991f0012c7df8800965efd0029e00a62c..."} 
[2026-09-23 19:40:51] local.INFO: Packet analysis {"connection_id":192208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:51] local.INFO: Extracted packet for processing {"connection_id":192208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:40:51] local.INFO: GPS Element Parsed {"raw_longitude":746453120,"raw_latitude":157675472,"longitude_deg":74.645312,"latitude_deg":15.7675472,"altitude":670,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2c7df880","hex_latitude":"0965efd0","is_valid_coordinates":true} 
[2026-09-23 19:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284171520001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9073064439661846530,"note":"Value kept but may cause issues"} 
[2026-09-23 19:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790172566000,"timestamp_ms":1790172566000,"timestamp_seconds":1790172566,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9991f0"} 
[2026-09-23 19:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 19:40:51] 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-09-23 19:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284171520001,"66":27887,"41":206,"9":7680,"24":0,"16":3605341577150464,"44":9073064439661846530},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284171520001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:40:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":9073064439661846530,"description":"Unknown IO ID 44"} 
[2026-09-23 19:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284171520001,"power":27887,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9073064439661846530}} 
[2026-09-23 19:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":192208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:40:51] local.INFO: GPS data processed {"connection_id":192208,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:40:51] local.INFO: Acknowledgment sent {"connection_id":192208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:40:56] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:56] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:40:56] local.INFO: IMEI packet received {"connection_id":193551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":193551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:41:01] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:01] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:01] local.INFO: IMEI packet received {"connection_id":193551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":193551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:41:01] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:01] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:01] local.INFO: Packet analysis {"connection_id":193551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:41:01] local.INFO: Extracted packet for processing {"connection_id":193551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:41: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-09-23 19: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-09-23 19:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":193551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:02] local.INFO: GPS data processed {"connection_id":193551,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:02] local.INFO: Acknowledgment sent {"connection_id":193551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:09] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:09] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:09] local.INFO: Packet analysis {"connection_id":190864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:09] local.INFO: Extracted packet for processing {"connection_id":190864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 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-09-23 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:41: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-09-23 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-09-23 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-09-23 19:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":190864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:09] local.INFO: GPS data processed {"connection_id":190864,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:09] local.INFO: Acknowledgment sent {"connection_id":190864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:09] local.INFO: TCP Data received {"connection_id":193552,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:09] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:09] local.INFO: IMEI packet received {"connection_id":193552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":193552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:41:14] local.INFO: TCP Data received {"connection_id":193552,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:14] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:41:14] local.INFO: IMEI packet received {"connection_id":193552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":193552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:41:15] local.INFO: TCP Data received {"connection_id":193552,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce99c0d0012c7e21800965a2c0029d00932d..."} 
[2026-09-23 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce99c0d0012c7e21800965a2c0029d00932d..."} 
[2026-09-23 19:41:15] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce99c0d0012c7e21800965a2c0029d00932d..."} 
[2026-09-23 19:41:15] local.INFO: Packet analysis {"connection_id":193552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:41:15] local.INFO: Extracted packet for processing {"connection_id":193552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce99"} 
[2026-09-23 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":746463616,"raw_latitude":157655744,"longitude_deg":74.6463616,"latitude_deg":15.7655744,"altitude":669,"angle":147,"satellites":45,"speed":54,"hex_longitude":"2c7e2180","hex_latitude":"0965a2c0","is_valid_coordinates":true} 
[2026-09-23 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284176896001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9077145826818510850,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790172578000,"timestamp_ms":1790172578000,"timestamp_seconds":1790172578,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce99c0d0"} 
[2026-09-23 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 19:41: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-09-23 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284176896001,"66":27430,"41":206,"9":7680,"24":54,"16":3605341577150464,"44":9077145826818510850},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284176896001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:41:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":9077145826818510850,"description":"Unknown IO ID 44"} 
[2026-09-23 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284176896001,"power":27430,"unknown_41":206,"unknown_9":7680,"ignition":54,"odometer":null,"unknown_44":9077145826818510850}} 
[2026-09-23 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":193552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:15] local.INFO: GPS data processed {"connection_id":193552,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:15] local.INFO: Acknowledgment sent {"connection_id":193552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:33] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:33] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:41:33] local.INFO: Packet analysis {"connection_id":193551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:41:33] local.INFO: Extracted packet for processing {"connection_id":193551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":193551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:33] local.INFO: GPS data processed {"connection_id":193551,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:33] local.INFO: Acknowledgment sent {"connection_id":193551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:36] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:36] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:36] local.INFO: IMEI packet received {"connection_id":190865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:41:41] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:41] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:41:41] local.INFO: IMEI packet received {"connection_id":190865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":190865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:41:41] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:41] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:41:41] local.INFO: Packet analysis {"connection_id":190865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:41] local.INFO: Extracted packet for processing {"connection_id":190865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:41: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-09-23 19:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":190865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:41] local.INFO: GPS data processed {"connection_id":190865,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:41] local.INFO: Acknowledgment sent {"connection_id":190865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:47] local.INFO: TCP Data received {"connection_id":193552,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a12d8012c7e4b40096560c002a1009a2d..."} 
[2026-09-23 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a12d8012c7e4b40096560c002a1009a2d..."} 
[2026-09-23 19:41:47] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a12d8012c7e4b40096560c002a1009a2d..."} 
[2026-09-23 19:41:47] local.INFO: Packet analysis {"connection_id":193552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:47] local.INFO: Extracted packet for processing {"connection_id":193552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":746474304,"raw_latitude":157638848,"longitude_deg":74.6474304,"latitude_deg":15.7638848,"altitude":673,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2c7e4b40","hex_latitude":"096560c0","is_valid_coordinates":true} 
[2026-09-23 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284179968001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9088686300858597378,"note":"Value kept but may cause issues"} 
[2026-09-23 19:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790172599000,"timestamp_ms":1790172599000,"timestamp_seconds":1790172599,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a12d8"} 
[2026-09-23 19:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-23 19:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284179968001,"66":27876,"41":206,"9":7680,"24":0,"16":3605341577150464,"44":9088686300858597378},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284179968001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:41:47] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:41:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":9088686300858597378,"description":"Unknown IO ID 44"} 
[2026-09-23 19:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284179968001,"power":27876,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9088686300858597378}} 
[2026-09-23 19:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":193552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:41:47] local.INFO: GPS data processed {"connection_id":193552,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:41:47] local.INFO: Acknowledgment sent {"connection_id":193552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:41:56] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:56] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:41:56] local.INFO: IMEI packet received {"connection_id":193553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":193553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:42:01] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:01] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:01] local.INFO: IMEI packet received {"connection_id":193553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":193553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:42:02] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:02] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:02] local.INFO: Packet analysis {"connection_id":193553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:42:02] local.INFO: Extracted packet for processing {"connection_id":193553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:42: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-09-23 19: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-09-23 19:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":193553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:02] local.INFO: GPS data processed {"connection_id":193553,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:02] local.INFO: Acknowledgment sent {"connection_id":193553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:09] local.INFO: TCP Data received {"connection_id":190679,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:09] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:09] local.INFO: IMEI packet received {"connection_id":190679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":190679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:42:13] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:13] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:13] local.INFO: Packet analysis {"connection_id":190865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:13] local.INFO: Extracted packet for processing {"connection_id":190865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:42:13] 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-09-23 19: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-09-23 19:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":190865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:13] local.INFO: GPS data processed {"connection_id":190865,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:13] local.INFO: Acknowledgment sent {"connection_id":190865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:14] local.INFO: TCP Data received {"connection_id":190679,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:14] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:42:14] local.INFO: IMEI packet received {"connection_id":190679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":190679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:42:15] local.INFO: TCP Data received {"connection_id":190679,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a64e0012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a64e0012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:15] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a64e0012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:15] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:15] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":746478336,"raw_latitude":157631200,"longitude_deg":74.6478336,"latitude_deg":15.76312,"altitude":676,"angle":147,"satellites":43,"speed":0,"hex_longitude":"2c7e5b00","hex_latitude":"096542e0","is_valid_coordinates":true} 
[2026-09-23 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284185344001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9100437881131941890,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790172620000,"timestamp_ms":1790172620000,"timestamp_seconds":1790172620,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a64e0"} 
[2026-09-23 19:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 19:42: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-09-23 19:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284185344001,"66":27908,"41":206,"9":7680,"24":0,"16":3605341577150464,"44":9100437881131941890},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284185344001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:42:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":9100437881131941890,"description":"Unknown IO ID 44"} 
[2026-09-23 19:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284185344001,"power":27908,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9100437881131941890}} 
[2026-09-23 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:15] local.INFO: GPS data processed {"connection_id":190679,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:15] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:31] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:31] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:31] local.INFO: IMEI packet received {"connection_id":193554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:42:33] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:33] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:42:33] local.INFO: Packet analysis {"connection_id":193553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:42:33] local.INFO: Extracted packet for processing {"connection_id":193553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:42: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-09-23 19: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-09-23 19:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":193553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:33] local.INFO: GPS data processed {"connection_id":193553,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:33] local.INFO: Acknowledgment sent {"connection_id":193553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:36] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:36] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:42:36] local.INFO: IMEI packet received {"connection_id":193554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:42:37] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:37] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:42:37] local.INFO: Packet analysis {"connection_id":193554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:37] local.INFO: Extracted packet for processing {"connection_id":193554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19: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-09-23 19:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":193554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:37] local.INFO: GPS data processed {"connection_id":193554,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:37] local.INFO: Acknowledgment sent {"connection_id":193554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:46] local.INFO: TCP Data received {"connection_id":190679,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9ab6e8012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9ab6e8012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:46] local.INFO: Processing buffer {"connection_id":190679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9ab6e8012c7e5b00096542e002a400932b..."} 
[2026-09-23 19:42:46] local.INFO: Packet analysis {"connection_id":190679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:46] local.INFO: Extracted packet for processing {"connection_id":190679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":746478336,"raw_latitude":157631200,"longitude_deg":74.6478336,"latitude_deg":15.76312,"altitude":676,"angle":147,"satellites":43,"speed":0,"hex_longitude":"2c7e5b00","hex_latitude":"096542e0","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284190720001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9104871112013176834,"note":"Value kept but may cause issues"} 
[2026-09-23 19:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790172641000,"timestamp_ms":1790172641000,"timestamp_seconds":1790172641,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9ab6e8"} 
[2026-09-23 19:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:42: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-09-23 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 19:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284190720001,"66":27908,"41":206,"9":7680,"24":0,"16":3605341577150464,"44":9104871112013176834},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284190720001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:42:46] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:42:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":9104871112013176834,"description":"Unknown IO ID 44"} 
[2026-09-23 19:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284190720001,"power":27908,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9104871112013176834}} 
[2026-09-23 19:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":190679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:42:46] local.INFO: GPS data processed {"connection_id":190679,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:42:46] local.INFO: Acknowledgment sent {"connection_id":190679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:42:56] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:56] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:42:56] local.INFO: IMEI packet received {"connection_id":193555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":193555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:43:01] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:01] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:01] local.INFO: IMEI packet received {"connection_id":193555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":193555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:43:01] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:01] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:01] local.INFO: Packet analysis {"connection_id":193555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:43:01] local.INFO: Extracted packet for processing {"connection_id":193555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:43: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-09-23 19:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:43: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-09-23 19:43: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-09-23 19:43: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-09-23 19:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":193555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:43:01] local.INFO: GPS data processed {"connection_id":193555,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:43:01] local.INFO: Acknowledgment sent {"connection_id":193555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:43:08] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:08] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:08] local.INFO: Packet analysis {"connection_id":193554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:43:08] local.INFO: Extracted packet for processing {"connection_id":193554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:43: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-09-23 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:43:08] 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-09-23 19:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":193554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:43:08] local.INFO: GPS data processed {"connection_id":193554,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:43:08] local.INFO: Acknowledgment sent {"connection_id":193554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:43:30] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:30] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:30] local.INFO: IMEI packet received {"connection_id":193556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":193556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:43:32] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:32] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:43:32] local.INFO: Packet analysis {"connection_id":193555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:43:32] local.INFO: Extracted packet for processing {"connection_id":193555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:43: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-09-23 19: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-09-23 19:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":193555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:43:33] local.INFO: GPS data processed {"connection_id":193555,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:43:33] local.INFO: Acknowledgment sent {"connection_id":193555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:43:36] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:36] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:43:36] local.INFO: IMEI packet received {"connection_id":193556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":193556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:43:36] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:36] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:43:36] local.INFO: Packet analysis {"connection_id":193556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:43:36] local.INFO: Extracted packet for processing {"connection_id":193556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:43: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-09-23 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":193556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:43:36] local.INFO: GPS data processed {"connection_id":193556,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:43:36] local.INFO: Acknowledgment sent {"connection_id":193556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:43:44] local.INFO: TCP Data received {"connection_id":192209,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:44] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:44] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:43:50] local.INFO: TCP Data received {"connection_id":192209,"ip":"117.224.26.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:50] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:43:50] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:43:51] local.INFO: TCP Data received {"connection_id":192209,"ip":"117.224.26.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9b08f0012c7e754009650d5002a5009c2d..."} 
[2026-09-23 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9b08f0012c7e754009650d5002a5009c2d..."} 
[2026-09-23 19:43:51] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9b08f0012c7e754009650d5002a5009c2d..."} 
[2026-09-23 19:43:51] local.INFO: Packet analysis {"connection_id":192209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9b"} 
[2026-09-23 19:43:51] local.INFO: Extracted packet for processing {"connection_id":192209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9b"} 
[2026-09-23 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":746485056,"raw_latitude":157617488,"longitude_deg":74.6485056,"latitude_deg":15.7617488,"altitude":677,"angle":156,"satellites":45,"speed":0,"hex_longitude":"2c7e7540","hex_latitude":"09650d50","is_valid_coordinates":true} 
[2026-09-23 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284196096001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9104871112013176834,"note":"Value kept but may cause issues"} 
[2026-09-23 19:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790172662000,"timestamp_ms":1790172662000,"timestamp_seconds":1790172662,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9b08f0"} 
[2026-09-23 19:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 19:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 19:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.26.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 19:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 19:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284196096001,"66":27995,"41":206,"9":7680,"24":0,"16":3605341577150464,"44":9104871112013176834},"client_ip":"117.224.26.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-23 19:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 19:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284196096001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-23 19:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":9104871112013176834,"description":"Unknown IO ID 44"} 
[2026-09-23 19:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284196096001,"power":27995,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9104871112013176834}} 
[2026-09-23 19:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":192209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:43:51] local.INFO: GPS data processed {"connection_id":192209,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:43:51] local.INFO: Acknowledgment sent {"connection_id":192209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:43:56] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:56] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:43:56] local.INFO: IMEI packet received {"connection_id":192210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":192210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:44:01] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:01] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:01] local.INFO: IMEI packet received {"connection_id":192210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":192210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:44:02] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:44:02] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce98b348012d196940071fef90004401592b..."} 
[2026-09-23 19:44:02] local.INFO: Packet analysis {"connection_id":192210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:44:02] local.INFO: Extracted packet for processing {"connection_id":192210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce98"} 
[2026-09-23 19:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284085248001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172509000,"timestamp_ms":1790172509000,"timestamp_seconds":1790172509,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce98b348"} 
[2026-09-23 19:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:44: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-09-23 19: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-09-23 19:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284085248001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284085248001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284085248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":192210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:44:02] local.INFO: GPS data processed {"connection_id":192210,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:44:02] local.INFO: Acknowledgment sent {"connection_id":192210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:44:08] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:08] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:08] local.INFO: Packet analysis {"connection_id":193556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:44:08] local.INFO: Extracted packet for processing {"connection_id":193556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:44:08] 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-09-23 19: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-09-23 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:44:08] local.INFO: GPS data processed {"connection_id":193556,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:44:08] local.INFO: Acknowledgment sent {"connection_id":193556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:44:30] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:30] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:30] local.INFO: IMEI packet received {"connection_id":190866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":190866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:44:33] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:44:33] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:44:33] local.INFO: Packet analysis {"connection_id":192210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:44:33] local.INFO: Extracted packet for processing {"connection_id":192210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:44:33] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:44: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-09-23 19: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-09-23 19:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":192210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:44:33] local.INFO: GPS data processed {"connection_id":192210,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:44:33] local.INFO: Acknowledgment sent {"connection_id":192210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:44:37] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:37] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:44:37] local.INFO: IMEI packet received {"connection_id":190866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":190866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:44:38] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:38] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:44:38] local.INFO: Packet analysis {"connection_id":190866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:44:38] local.INFO: Extracted packet for processing {"connection_id":190866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:44: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-09-23 19:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":190866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:44:38] local.INFO: GPS data processed {"connection_id":190866,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:44:38] local.INFO: Acknowledgment sent {"connection_id":190866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:44:56] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:56] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:44:56] local.INFO: IMEI packet received {"connection_id":193557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":193557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:45:01] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:01] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:01] local.INFO: IMEI packet received {"connection_id":193557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":193557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:45:02] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:02] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:02] local.INFO: Packet analysis {"connection_id":193557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:45:02] local.INFO: Extracted packet for processing {"connection_id":193557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:45:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:45: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-09-23 19:45: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-09-23 19:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:45:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":193557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:45:02] local.INFO: GPS data processed {"connection_id":193557,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:45:02] local.INFO: Acknowledgment sent {"connection_id":193557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:45:10] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:10] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:10] local.INFO: Packet analysis {"connection_id":190866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:45:10] local.INFO: Extracted packet for processing {"connection_id":190866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:45: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-09-23 19: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-09-23 19:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":190866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:45:10] local.INFO: GPS data processed {"connection_id":190866,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:45:10] local.INFO: Acknowledgment sent {"connection_id":190866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:45:30] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:30] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:30] local.INFO: IMEI packet received {"connection_id":193558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:45:33] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:33] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:45:33] local.INFO: Packet analysis {"connection_id":193557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:45:33] local.INFO: Extracted packet for processing {"connection_id":193557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:45:33] 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-09-23 19:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:45:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":193557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:45:33] local.INFO: GPS data processed {"connection_id":193557,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:45:33] local.INFO: Acknowledgment sent {"connection_id":193557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:45:36] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:36] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:45:36] local.INFO: IMEI packet received {"connection_id":193558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":193558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:45:36] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:36] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:45:36] local.INFO: Packet analysis {"connection_id":193558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:45:36] local.INFO: Extracted packet for processing {"connection_id":193558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:45: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-09-23 19:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":193558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:45:37] local.INFO: GPS data processed {"connection_id":193558,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:45:37] local.INFO: Acknowledgment sent {"connection_id":193558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:45:56] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:56] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:45:56] local.INFO: IMEI packet received {"connection_id":190680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":190680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:46:01] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:01] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:01] local.INFO: IMEI packet received {"connection_id":190680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":190680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:46:02] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:02] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:02] local.INFO: Packet analysis {"connection_id":190680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:46:02] local.INFO: Extracted packet for processing {"connection_id":190680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:46:02] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:46: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-09-23 19: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-09-23 19:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:46:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":190680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:46:02] local.INFO: GPS data processed {"connection_id":190680,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:46:02] local.INFO: Acknowledgment sent {"connection_id":190680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:46:08] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:46:08] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9a8bf0012d34c58006aa47580013010525..."} 
[2026-09-23 19:46:08] local.INFO: Packet analysis {"connection_id":193558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:46:08] local.INFO: Extracted packet for processing {"connection_id":193558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9a"} 
[2026-09-23 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284116224001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790172630000,"timestamp_ms":1790172630000,"timestamp_seconds":1790172630,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9a8bf0"} 
[2026-09-23 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:46: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-09-23 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:46:08] 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-09-23 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284116224001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284116224001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284116224001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":193558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:46:08] local.INFO: GPS data processed {"connection_id":193558,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:46:08] local.INFO: Acknowledgment sent {"connection_id":193558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:46:33] local.INFO: TCP Data received {"connection_id":190680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:33] local.INFO: Processing buffer {"connection_id":190680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:46:33] local.INFO: Packet analysis {"connection_id":190680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:46:33] local.INFO: Extracted packet for processing {"connection_id":190680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:46:33] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:46: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-09-23 19: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-09-23 19:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:46:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":190680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:46:33] local.INFO: GPS data processed {"connection_id":190680,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:46:33] local.INFO: Acknowledgment sent {"connection_id":190680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:46:36] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:36] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:36] local.INFO: IMEI packet received {"connection_id":190867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":190867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:46:41] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:41] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:46:41] local.INFO: IMEI packet received {"connection_id":190867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":190867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:46:42] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:46:42] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:46:42] local.INFO: Packet analysis {"connection_id":190867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:46:42] local.INFO: Extracted packet for processing {"connection_id":190867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":190867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:46:42] local.INFO: GPS data processed {"connection_id":190867,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:46:42] local.INFO: Acknowledgment sent {"connection_id":190867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:46:56] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:56] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:46:56] local.INFO: IMEI packet received {"connection_id":190681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":190681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:47:01] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:01] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:01] local.INFO: IMEI packet received {"connection_id":190681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":190681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:47:02] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:02] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:02] local.INFO: Packet analysis {"connection_id":190681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:47:02] local.INFO: Extracted packet for processing {"connection_id":190681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:47:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:47: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-09-23 19: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-09-23 19:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:47:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":190681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:47:02] local.INFO: GPS data processed {"connection_id":190681,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:47:02] local.INFO: Acknowledgment sent {"connection_id":190681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:47:14] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:14] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:14] local.INFO: Packet analysis {"connection_id":190867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:47:14] local.INFO: Extracted packet for processing {"connection_id":190867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:47: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-09-23 19:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":190867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:47:14] local.INFO: GPS data processed {"connection_id":190867,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:47:14] local.INFO: Acknowledgment sent {"connection_id":190867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:47:14] local.INFO: TCP Data received {"connection_id":190868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:47:14] local.INFO: Processing buffer {"connection_id":190868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:47:14] local.INFO: IMEI packet received {"connection_id":190868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":190868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:47:31] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:31] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:31] local.INFO: IMEI packet received {"connection_id":192211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":192211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:47:33] local.INFO: TCP Data received {"connection_id":190681,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:33] local.INFO: Processing buffer {"connection_id":190681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:47:33] local.INFO: Packet analysis {"connection_id":190681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:47:33] local.INFO: Extracted packet for processing {"connection_id":190681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:47:33] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:47: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-09-23 19: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-09-23 19:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:47:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":190681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:47:33] local.INFO: GPS data processed {"connection_id":190681,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:47:33] local.INFO: Acknowledgment sent {"connection_id":190681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:47:36] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:36] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:47:36] local.INFO: IMEI packet received {"connection_id":192211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":192211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:47:38] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:38] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:47:38] local.INFO: Packet analysis {"connection_id":192211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:47:38] local.INFO: Extracted packet for processing {"connection_id":192211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:47: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-09-23 19:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":192211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:47:38] local.INFO: GPS data processed {"connection_id":192211,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:47:38] local.INFO: Acknowledgment sent {"connection_id":192211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:47:56] local.INFO: TCP Data received {"connection_id":193559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:56] local.INFO: Processing buffer {"connection_id":193559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:47:56] local.INFO: IMEI packet received {"connection_id":193559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":193559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:48:01] local.INFO: TCP Data received {"connection_id":193559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:01] local.INFO: Processing buffer {"connection_id":193559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:01] local.INFO: IMEI packet received {"connection_id":193559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":193559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:48:02] local.INFO: TCP Data received {"connection_id":193559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:02] local.INFO: Processing buffer {"connection_id":193559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:02] local.INFO: Packet analysis {"connection_id":193559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:48:02] local.INFO: Extracted packet for processing {"connection_id":193559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:48:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:48: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-09-23 19: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-09-23 19:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:48:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":193559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:48:02] local.INFO: GPS data processed {"connection_id":193559,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:48:02] local.INFO: Acknowledgment sent {"connection_id":193559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:48:10] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:10] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:10] local.INFO: Packet analysis {"connection_id":192211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:48:10] local.INFO: Extracted packet for processing {"connection_id":192211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:48: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-09-23 19: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-09-23 19:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":192211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:48:10] local.INFO: GPS data processed {"connection_id":192211,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:48:10] local.INFO: Acknowledgment sent {"connection_id":192211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:48:30] local.INFO: TCP Data received {"connection_id":190682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:30] local.INFO: Processing buffer {"connection_id":190682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:30] local.INFO: IMEI packet received {"connection_id":190682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:48:33] local.INFO: TCP Data received {"connection_id":193559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:33] local.INFO: Processing buffer {"connection_id":193559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:48:33] local.INFO: Packet analysis {"connection_id":193559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:48:33] local.INFO: Extracted packet for processing {"connection_id":193559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:48:33] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:48: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-09-23 19: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-09-23 19:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":193559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:48:33] local.INFO: GPS data processed {"connection_id":193559,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:48:33] local.INFO: Acknowledgment sent {"connection_id":193559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:48:36] local.INFO: TCP Data received {"connection_id":190682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:36] local.INFO: Processing buffer {"connection_id":190682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:48:36] local.INFO: IMEI packet received {"connection_id":190682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":190682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:48:37] local.INFO: TCP Data received {"connection_id":190682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:37] local.INFO: Processing buffer {"connection_id":190682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:48:37] local.INFO: Packet analysis {"connection_id":190682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:48:37] local.INFO: Extracted packet for processing {"connection_id":190682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:48: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-09-23 19:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":190682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:48:37] local.INFO: GPS data processed {"connection_id":190682,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:48:37] local.INFO: Acknowledgment sent {"connection_id":190682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:48:56] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:56] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:48:56] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:49:01] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:01] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:01] local.INFO: IMEI packet received {"connection_id":190683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":190683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:49:01] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:49:01] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9d4b10012d196940071fef90004401592a..."} 
[2026-09-23 19:49:01] local.INFO: Packet analysis {"connection_id":190683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:49:01] local.INFO: Extracted packet for processing {"connection_id":190683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9d"} 
[2026-09-23 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284162304001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790172810000,"timestamp_ms":1790172810000,"timestamp_seconds":1790172810,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9d4b10"} 
[2026-09-23 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:49:01] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:49: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-09-23 19: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-09-23 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284162304001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284162304001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284162304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":190683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:49:01] local.INFO: GPS data processed {"connection_id":190683,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:49:01] local.INFO: Acknowledgment sent {"connection_id":190683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:49:09] local.INFO: TCP Data received {"connection_id":190682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:09] local.INFO: Processing buffer {"connection_id":190682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:09] local.INFO: Packet analysis {"connection_id":190682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:09] local.INFO: Extracted packet for processing {"connection_id":190682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 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-09-23 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:49: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-09-23 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-09-23 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-09-23 19:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":190682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:49:09] local.INFO: GPS data processed {"connection_id":190682,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:49:09] local.INFO: Acknowledgment sent {"connection_id":190682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:49:32] local.INFO: TCP Data received {"connection_id":190683,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:49:32] local.INFO: Processing buffer {"connection_id":190683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:49:32] local.INFO: Packet analysis {"connection_id":190683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:49:32] local.INFO: Extracted packet for processing {"connection_id":190683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:49:32] 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-09-23 19:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:49: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-09-23 19:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":190683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:49:32] local.INFO: GPS data processed {"connection_id":190683,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:49:32] local.INFO: Acknowledgment sent {"connection_id":190683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:49:36] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:36] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:36] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:49:41] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:41] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:49:41] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:49:41] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:41] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:41] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:41] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:49: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-09-23 19: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-09-23 19:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:49:41] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:49:41] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:49:46] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:46] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:49:46] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:46] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:49:46] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:49:46] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:49:56] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:56] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:49:56] local.INFO: IMEI packet received {"connection_id":193560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":193560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:50:01] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:01] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:01] local.INFO: IMEI packet received {"connection_id":193560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":193560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:50:02] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:02] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:02] local.INFO: Packet analysis {"connection_id":193560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:50:02] local.INFO: Extracted packet for processing {"connection_id":193560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:50:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:50: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-09-23 19: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-09-23 19:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:50:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":193560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:50:02] local.INFO: GPS data processed {"connection_id":193560,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:50:02] local.INFO: Acknowledgment sent {"connection_id":193560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:50:31] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:31] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:31] local.INFO: IMEI packet received {"connection_id":192216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":192216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:50:33] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:33] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:50:33] local.INFO: Packet analysis {"connection_id":193560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:50:33] local.INFO: Extracted packet for processing {"connection_id":193560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:50:33] 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-09-23 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:50:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":193560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:50:33] local.INFO: GPS data processed {"connection_id":193560,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:50:33] local.INFO: Acknowledgment sent {"connection_id":193560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:50:36] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:36] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:50:36] local.INFO: IMEI packet received {"connection_id":192216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":192216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:50:37] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:37] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:37] local.INFO: Packet analysis {"connection_id":192216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:50:37] local.INFO: Extracted packet for processing {"connection_id":192216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:50: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-09-23 19:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":192216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:50:37] local.INFO: GPS data processed {"connection_id":192216,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:50:37] local.INFO: Acknowledgment sent {"connection_id":192216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:50:41] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:41] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ce9f23b8012d34c58006aa47580013010527..."} 
[2026-09-23 19:50:41] local.INFO: Packet analysis {"connection_id":192216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:50:41] local.INFO: Extracted packet for processing {"connection_id":192216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ce9f"} 
[2026-09-23 19:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284193280001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790172931000,"timestamp_ms":1790172931000,"timestamp_seconds":1790172931,"priority":1,"record_length":96,"hex_timestamp":"000001a0ce9f23b8"} 
[2026-09-23 19:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:50: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-09-23 19: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-09-23 19:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284193280001,"66":25919,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284193280001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284193280001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":192216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:50:41] local.INFO: GPS data processed {"connection_id":192216,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:50:41] local.INFO: Acknowledgment sent {"connection_id":192216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:50:56] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:56] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:50:56] local.INFO: IMEI packet received {"connection_id":192217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":192217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:51:01] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:01] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:01] local.INFO: IMEI packet received {"connection_id":192217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":192217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:51:01] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:01] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:01] local.INFO: Packet analysis {"connection_id":192217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:51:01] local.INFO: Extracted packet for processing {"connection_id":192217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:51:01] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:51: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-09-23 19: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-09-23 19:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":192217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:51:01] local.INFO: GPS data processed {"connection_id":192217,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:51:01] local.INFO: Acknowledgment sent {"connection_id":192217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:51:14] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:14] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:14] local.INFO: Packet analysis {"connection_id":192216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:51:14] local.INFO: Extracted packet for processing {"connection_id":192216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:51:14] 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-09-23 19:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":192216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:51:14] local.INFO: GPS data processed {"connection_id":192216,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:51:14] local.INFO: Acknowledgment sent {"connection_id":192216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:51:30] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:30] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:30] local.INFO: IMEI packet received {"connection_id":193561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":193561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:51:33] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:33] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:51:33] local.INFO: Packet analysis {"connection_id":192217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:51:33] local.INFO: Extracted packet for processing {"connection_id":192217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:51:33] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:51: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-09-23 19: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-09-23 19:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:51:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":192217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:51:33] local.INFO: GPS data processed {"connection_id":192217,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:51:33] local.INFO: Acknowledgment sent {"connection_id":192217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:51:36] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:36] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:51:36] local.INFO: IMEI packet received {"connection_id":193561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":193561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:51:37] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:37] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:51:37] local.INFO: Packet analysis {"connection_id":193561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:51:37] local.INFO: Extracted packet for processing {"connection_id":193561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:51: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-09-23 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":193561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:51:37] local.INFO: GPS data processed {"connection_id":193561,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:51:37] local.INFO: Acknowledgment sent {"connection_id":193561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:51:56] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:56] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:51:56] local.INFO: IMEI packet received {"connection_id":190870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":190870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:52:01] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:01] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:01] local.INFO: IMEI packet received {"connection_id":190870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:52:02] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:02] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:02] local.INFO: Packet analysis {"connection_id":190870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:52:02] local.INFO: Extracted packet for processing {"connection_id":190870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:52:02] 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-09-23 19:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:52: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-09-23 19: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-09-23 19:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:52:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":190870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:52:02] local.INFO: GPS data processed {"connection_id":190870,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:52:02] local.INFO: Acknowledgment sent {"connection_id":190870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:52:09] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:09] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:09] local.INFO: Packet analysis {"connection_id":193561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:52:09] local.INFO: Extracted packet for processing {"connection_id":193561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:52: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-09-23 19:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":193561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:52:09] local.INFO: GPS data processed {"connection_id":193561,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:52:09] local.INFO: Acknowledgment sent {"connection_id":193561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:52:30] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:30] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:30] local.INFO: IMEI packet received {"connection_id":193562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":193562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:52:33] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:33] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:52:33] local.INFO: Packet analysis {"connection_id":190870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:52:33] local.INFO: Extracted packet for processing {"connection_id":190870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:52:33] 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-09-23 19: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-09-23 19: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-09-23 19: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-09-23 19:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":190870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:52:33] local.INFO: GPS data processed {"connection_id":190870,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:52:33] local.INFO: Acknowledgment sent {"connection_id":190870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:52:36] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:36] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:52:36] local.INFO: IMEI packet received {"connection_id":193562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":193562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:52:37] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:37] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:52:37] local.INFO: Packet analysis {"connection_id":193562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:52:37] local.INFO: Extracted packet for processing {"connection_id":193562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:52: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-09-23 19: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-09-23 19:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":193562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:52:37] local.INFO: GPS data processed {"connection_id":193562,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:52:37] local.INFO: Acknowledgment sent {"connection_id":193562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:52:49] local.INFO: TCP Data received {"connection_id":193563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:52:49] local.INFO: Processing buffer {"connection_id":193563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:52:49] local.INFO: IMEI packet received {"connection_id":193563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":193563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:52:56] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:56] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:52:56] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:53:01] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:01] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:01] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:53:01] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:01] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:01] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:53:01] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:53:01] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:53: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-09-23 19: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-09-23 19:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:53:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:53:01] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:53:01] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:53:08] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:08] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:08] local.INFO: Packet analysis {"connection_id":193562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:53:08] local.INFO: Extracted packet for processing {"connection_id":193562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:53: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-09-23 19: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-09-23 19:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":193562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:53:08] local.INFO: GPS data processed {"connection_id":193562,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:53:08] local.INFO: Acknowledgment sent {"connection_id":193562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:53:20] local.INFO: TCP Data received {"connection_id":190684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:53:20] local.INFO: Processing buffer {"connection_id":190684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 19:53:20] local.INFO: IMEI packet received {"connection_id":190684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 19:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":190684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:53:30] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:30] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:30] local.INFO: IMEI packet received {"connection_id":190871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":190871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:53:32] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:32] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:53:32] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:53:32] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:53:32] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:53: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-09-23 19: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-09-23 19:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:53:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:53:33] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:53:33] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:53:36] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:36] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:53:36] local.INFO: IMEI packet received {"connection_id":190871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":190871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:53:37] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:37] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:53:37] local.INFO: Packet analysis {"connection_id":190871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:53:37] local.INFO: Extracted packet for processing {"connection_id":190871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:53: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-09-23 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":190871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:53:37] local.INFO: GPS data processed {"connection_id":190871,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:53:37] local.INFO: Acknowledgment sent {"connection_id":190871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:53:56] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:56] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:53:56] local.INFO: IMEI packet received {"connection_id":190685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":190685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:54:01] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:01] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:01] local.INFO: IMEI packet received {"connection_id":190685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":190685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:54:02] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:54:02] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea1e2d8012d196940071fef90004401592a..."} 
[2026-09-23 19:54:02] local.INFO: Packet analysis {"connection_id":190685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:54:02] local.INFO: Extracted packet for processing {"connection_id":190685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea1"} 
[2026-09-23 19:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284239360001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173111000,"timestamp_ms":1790173111000,"timestamp_seconds":1790173111,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea1e2d8"} 
[2026-09-23 19:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:54:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:54: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-09-23 19: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-09-23 19:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284239360001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284239360001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:54:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284239360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":190685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:54:02] local.INFO: GPS data processed {"connection_id":190685,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:54:02] local.INFO: Acknowledgment sent {"connection_id":190685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:54:09] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:09] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:09] local.INFO: Packet analysis {"connection_id":190871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:54:09] local.INFO: Extracted packet for processing {"connection_id":190871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:54: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-09-23 19: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-09-23 19:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":190871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:54:09] local.INFO: GPS data processed {"connection_id":190871,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:54:09] local.INFO: Acknowledgment sent {"connection_id":190871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:54:30] local.INFO: TCP Data received {"connection_id":193564,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:30] local.INFO: Processing buffer {"connection_id":193564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:30] local.INFO: IMEI packet received {"connection_id":193564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":193564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:54:33] local.INFO: TCP Data received {"connection_id":190685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:54:33] local.INFO: Processing buffer {"connection_id":190685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:54:33] local.INFO: Packet analysis {"connection_id":190685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:54:33] local.INFO: Extracted packet for processing {"connection_id":190685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:54:33] 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-09-23 19: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-09-23 19: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-09-23 19: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-09-23 19:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":190685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:54:33] local.INFO: GPS data processed {"connection_id":190685,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:54:33] local.INFO: Acknowledgment sent {"connection_id":190685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:54:36] local.INFO: TCP Data received {"connection_id":193564,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:36] local.INFO: Processing buffer {"connection_id":193564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:54:36] local.INFO: IMEI packet received {"connection_id":193564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":193564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:54:37] local.INFO: TCP Data received {"connection_id":193564,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:37] local.INFO: Processing buffer {"connection_id":193564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:54:37] local.INFO: Packet analysis {"connection_id":193564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:54:37] local.INFO: Extracted packet for processing {"connection_id":193564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:54: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-09-23 19:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":193564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:54:37] local.INFO: GPS data processed {"connection_id":193564,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:54:37] local.INFO: Acknowledgment sent {"connection_id":193564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:54:56] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:56] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:54:56] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:55:01] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:01] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:01] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:55:01] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:01] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:01] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:55:01] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:55:01] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:55: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-09-23 19: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-09-23 19:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:55:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:55:01] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:55:01] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:55:08] local.INFO: TCP Data received {"connection_id":193564,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:08] local.INFO: Processing buffer {"connection_id":193564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:08] local.INFO: Packet analysis {"connection_id":193564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:08] local.INFO: Extracted packet for processing {"connection_id":193564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:55: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-09-23 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:55: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-09-23 19:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":193564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:55:08] local.INFO: GPS data processed {"connection_id":193564,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:55:08] local.INFO: Acknowledgment sent {"connection_id":193564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:55:32] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:32] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:55:32] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:55:32] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:55:32] 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-09-23 19: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-09-23 19: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-09-23 19: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-09-23 19:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:55:33] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:55:33] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:55:36] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:36] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:36] local.INFO: IMEI packet received {"connection_id":190688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:55:41] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:41] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:55:41] local.INFO: IMEI packet received {"connection_id":190688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":190688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:55:42] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:42] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:42] local.INFO: Packet analysis {"connection_id":190688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:42] local.INFO: Extracted packet for processing {"connection_id":190688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":190688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:55:42] local.INFO: GPS data processed {"connection_id":190688,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:55:42] local.INFO: Acknowledgment sent {"connection_id":190688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:55:46] local.INFO: TCP Data received {"connection_id":190688,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:46] local.INFO: Processing buffer {"connection_id":190688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea3bb80012d34c58006aa47580014010526..."} 
[2026-09-23 19:55:46] local.INFO: Packet analysis {"connection_id":190688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:46] local.INFO: Extracted packet for processing {"connection_id":190688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea3"} 
[2026-09-23 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284270336001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790173232000,"timestamp_ms":1790173232000,"timestamp_seconds":1790173232,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea3bb80"} 
[2026-09-23 19:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-23 19:55:46] 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-09-23 19: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-09-23 19:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284270336001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284270336001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284270336001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":190688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:55:46] local.INFO: GPS data processed {"connection_id":190688,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:55:46] local.INFO: Acknowledgment sent {"connection_id":190688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:55:56] local.INFO: TCP Data received {"connection_id":190689,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:56] local.INFO: Processing buffer {"connection_id":190689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:55:56] local.INFO: IMEI packet received {"connection_id":190689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":190689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:56:01] local.INFO: TCP Data received {"connection_id":190689,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:01] local.INFO: Processing buffer {"connection_id":190689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:01] local.INFO: IMEI packet received {"connection_id":190689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":190689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:56:02] local.INFO: TCP Data received {"connection_id":190689,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:02] local.INFO: Processing buffer {"connection_id":190689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:02] local.INFO: Packet analysis {"connection_id":190689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:56:02] local.INFO: Extracted packet for processing {"connection_id":190689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:56:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:56: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-09-23 19: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-09-23 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":190689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:56:02] local.INFO: GPS data processed {"connection_id":190689,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:56:02] local.INFO: Acknowledgment sent {"connection_id":190689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:56:30] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:30] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:30] local.INFO: IMEI packet received {"connection_id":190872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":190872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:56:33] local.INFO: TCP Data received {"connection_id":190689,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:33] local.INFO: Processing buffer {"connection_id":190689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:56:33] local.INFO: Packet analysis {"connection_id":190689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:56:33] local.INFO: Extracted packet for processing {"connection_id":190689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:56:33] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:56: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-09-23 19: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-09-23 19:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:56:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":190689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:56:33] local.INFO: GPS data processed {"connection_id":190689,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:56:33] local.INFO: Acknowledgment sent {"connection_id":190689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:56:36] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:36] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:56:36] local.INFO: IMEI packet received {"connection_id":190872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":190872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:56:36] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:56:36] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:56:36] local.INFO: Packet analysis {"connection_id":190872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:56:36] local.INFO: Extracted packet for processing {"connection_id":190872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:56: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-09-23 19: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-09-23 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":190872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:56:36] local.INFO: GPS data processed {"connection_id":190872,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:56:36] local.INFO: Acknowledgment sent {"connection_id":190872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:56:57] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:57] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:56:57] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:57:01] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:01] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:01] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:57:01] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:01] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:01] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:57:01] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:57:01] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:57: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-09-23 19: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-09-23 19:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:57:02] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:57:02] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:57:09] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:09] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:09] local.INFO: Packet analysis {"connection_id":190872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:57:09] local.INFO: Extracted packet for processing {"connection_id":190872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 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-09-23 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:57: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-09-23 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-09-23 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-09-23 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:57:09] local.INFO: GPS data processed {"connection_id":190872,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:57:09] local.INFO: Acknowledgment sent {"connection_id":190872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:57:30] local.INFO: TCP Data received {"connection_id":193566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:30] local.INFO: Processing buffer {"connection_id":193566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:30] local.INFO: IMEI packet received {"connection_id":193566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":193566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:57:33] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:33] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:57:33] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:57:33] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:57:33] 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-09-23 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:57: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-09-23 19: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-09-23 19:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:57:33] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:57:33] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:57:36] local.INFO: TCP Data received {"connection_id":193566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:36] local.INFO: Processing buffer {"connection_id":193566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:57:36] local.INFO: IMEI packet received {"connection_id":193566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":193566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:57:36] local.INFO: TCP Data received {"connection_id":193566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:36] local.INFO: Processing buffer {"connection_id":193566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:57:36] local.INFO: Packet analysis {"connection_id":193566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:57:36] local.INFO: Extracted packet for processing {"connection_id":193566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:57: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-09-23 19:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":193566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:57:36] local.INFO: GPS data processed {"connection_id":193566,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:57:36] local.INFO: Acknowledgment sent {"connection_id":193566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:57:56] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:56] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:57:56] local.INFO: IMEI packet received {"connection_id":192221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":192221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:58:01] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:58:01] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:58:01] local.INFO: IMEI packet received {"connection_id":192221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":192221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:58:02] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:02] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:02] local.INFO: Packet analysis {"connection_id":192221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:58:02] local.INFO: Extracted packet for processing {"connection_id":192221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:58:02] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:58: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-09-23 19: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-09-23 19:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":192221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:58:02] local.INFO: GPS data processed {"connection_id":192221,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:58:02] local.INFO: Acknowledgment sent {"connection_id":192221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:58:08] local.INFO: TCP Data received {"connection_id":193566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:08] local.INFO: Processing buffer {"connection_id":193566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:08] local.INFO: Packet analysis {"connection_id":193566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:58:08] local.INFO: Extracted packet for processing {"connection_id":193566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:58:08] 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-09-23 19:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":193566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:58:08] local.INFO: GPS data processed {"connection_id":193566,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:58:08] local.INFO: Acknowledgment sent {"connection_id":193566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:58:30] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:30] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:30] local.INFO: IMEI packet received {"connection_id":192222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:58:33] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:33] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:58:33] local.INFO: Packet analysis {"connection_id":192221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:58:33] local.INFO: Extracted packet for processing {"connection_id":192221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:58:33] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:58: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-09-23 19: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-09-23 19:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:58:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":192221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:58:33] local.INFO: GPS data processed {"connection_id":192221,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:58:33] local.INFO: Acknowledgment sent {"connection_id":192221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:58:36] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:36] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:58:36] local.INFO: IMEI packet received {"connection_id":192222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":192222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:58:37] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:37] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:58:37] local.INFO: Packet analysis {"connection_id":192222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:58:37] local.INFO: Extracted packet for processing {"connection_id":192222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:58: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-09-23 19:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":192222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:58:37] local.INFO: GPS data processed {"connection_id":192222,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:58:37] local.INFO: Acknowledgment sent {"connection_id":192222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:59:01] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:01] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:01] local.INFO: IMEI packet received {"connection_id":193567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":193567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:59:06] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:06] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:06] local.INFO: IMEI packet received {"connection_id":193567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 19:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":193567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:59:07] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:07] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:07] local.INFO: Packet analysis {"connection_id":193567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:59:07] local.INFO: Extracted packet for processing {"connection_id":193567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:59:07] 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-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19: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-09-23 19:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:59:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":193567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:59:07] local.INFO: GPS data processed {"connection_id":193567,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:59:07] local.INFO: Acknowledgment sent {"connection_id":193567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:59:09] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:09] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:09] local.INFO: Packet analysis {"connection_id":192222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:59:09] local.INFO: Extracted packet for processing {"connection_id":192222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:59: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-09-23 19:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":192222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:59:09] local.INFO: GPS data processed {"connection_id":192222,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:59:09] local.INFO: Acknowledgment sent {"connection_id":192222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:59:11] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:11] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea67aa0012d196940071fef90004401592b..."} 
[2026-09-23 19:59:11] local.INFO: Packet analysis {"connection_id":193567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:59:11] local.INFO: Extracted packet for processing {"connection_id":193567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea6"} 
[2026-09-23 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 19: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-09-23 19:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284316416001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790173412000,"timestamp_ms":1790173412000,"timestamp_seconds":1790173412,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea67aa0"} 
[2026-09-23 19:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 19:59: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-09-23 19: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-09-23 19:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 19:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 19:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 19:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284316416001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 19:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 19:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 19:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284316416001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:59:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 19:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 19:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 19:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284316416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 19:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":193567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:59:11] local.INFO: GPS data processed {"connection_id":193567,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:59:11] local.INFO: Acknowledgment sent {"connection_id":193567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:59:36] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:36] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:36] local.INFO: IMEI packet received {"connection_id":190873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 19:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":190873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 19:59:41] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:41] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 19:59:41] local.INFO: IMEI packet received {"connection_id":190873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":190873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 19:59:42] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:42] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 19:59:42] local.INFO: Packet analysis {"connection_id":190873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:59:42] local.INFO: Extracted packet for processing {"connection_id":190873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 19:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 19:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 19:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 19:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 19:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 19:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 19:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 19:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 19:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 19:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 19:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 19:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 19:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 19:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 19:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 19:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 19:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 19:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 19:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 19:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 19:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 19:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 19:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":190873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 19:59:42] local.INFO: GPS data processed {"connection_id":190873,"processed":1,"errors":0,"total":1} 
[2026-09-23 19:59:42] local.INFO: Acknowledgment sent {"connection_id":190873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 19:59:56] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:56] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 19:59:56] local.INFO: IMEI packet received {"connection_id":190691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":190691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:00:01] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:01] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:01] local.INFO: IMEI packet received {"connection_id":190691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":190691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:00:02] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:02] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:02] local.INFO: Packet analysis {"connection_id":190691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:00:02] local.INFO: Extracted packet for processing {"connection_id":190691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:00:02] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:00: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-09-23 20: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-09-23 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":190691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:00:02] local.INFO: GPS data processed {"connection_id":190691,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:00:02] local.INFO: Acknowledgment sent {"connection_id":190691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:00:13] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:13] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:13] local.INFO: Packet analysis {"connection_id":190873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:00:13] local.INFO: Extracted packet for processing {"connection_id":190873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 20:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:00:13] 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-09-23 20:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":190873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:00:13] local.INFO: GPS data processed {"connection_id":190873,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:00:13] local.INFO: Acknowledgment sent {"connection_id":190873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:00:30] local.INFO: TCP Data received {"connection_id":193568,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:30] local.INFO: Processing buffer {"connection_id":193568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:30] local.INFO: IMEI packet received {"connection_id":193568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":193568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:00:33] local.INFO: TCP Data received {"connection_id":190691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:33] local.INFO: Processing buffer {"connection_id":190691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:00:33] local.INFO: Packet analysis {"connection_id":190691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:00:33] local.INFO: Extracted packet for processing {"connection_id":190691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:00:33] 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-09-23 20:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":190691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:00:33] local.INFO: GPS data processed {"connection_id":190691,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:00:33] local.INFO: Acknowledgment sent {"connection_id":190691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:00:35] local.INFO: TCP Data received {"connection_id":193568,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:35] local.INFO: Processing buffer {"connection_id":193568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:00:35] local.INFO: IMEI packet received {"connection_id":193568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":193568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:00:36] local.INFO: TCP Data received {"connection_id":193568,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:36] local.INFO: Processing buffer {"connection_id":193568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:00:36] local.INFO: Packet analysis {"connection_id":193568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:00:36] local.INFO: Extracted packet for processing {"connection_id":193568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:00: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-09-23 20:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":193568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:00:36] local.INFO: GPS data processed {"connection_id":193568,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:00:36] local.INFO: Acknowledgment sent {"connection_id":193568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:00:56] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:56] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:00:56] local.INFO: IMEI packet received {"connection_id":190692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":190692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:01:01] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:01] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:01] local.INFO: IMEI packet received {"connection_id":190692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":190692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:01:01] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:01] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:01] local.INFO: Packet analysis {"connection_id":190692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:01:01] local.INFO: Extracted packet for processing {"connection_id":190692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:01:01] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:01: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-09-23 20: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-09-23 20:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:01:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":190692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:01:01] local.INFO: GPS data processed {"connection_id":190692,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:01:01] local.INFO: Acknowledgment sent {"connection_id":190692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:01:08] local.INFO: TCP Data received {"connection_id":193568,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:01:08] local.INFO: Processing buffer {"connection_id":193568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cea85348012d34c58006aa47580014010528..."} 
[2026-09-23 20:01:08] local.INFO: Packet analysis {"connection_id":193568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:01:08] local.INFO: Extracted packet for processing {"connection_id":193568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cea8"} 
[2026-09-23 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284347392001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173533000,"timestamp_ms":1790173533000,"timestamp_seconds":1790173533,"priority":1,"record_length":96,"hex_timestamp":"000001a0cea85348"} 
[2026-09-23 20:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:01:08] 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-09-23 20:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284347392001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284347392001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284347392001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":193568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:01:08] local.INFO: GPS data processed {"connection_id":193568,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:01:08] local.INFO: Acknowledgment sent {"connection_id":193568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:01:30] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:30] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:30] local.INFO: IMEI packet received {"connection_id":190874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:01:32] local.INFO: TCP Data received {"connection_id":190692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:32] local.INFO: Processing buffer {"connection_id":190692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:01:32] local.INFO: Packet analysis {"connection_id":190692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:01:32] local.INFO: Extracted packet for processing {"connection_id":190692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:01:32] 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-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:01: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-09-23 20: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-09-23 20:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:01:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":190692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:01:33] local.INFO: GPS data processed {"connection_id":190692,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:01:33] local.INFO: Acknowledgment sent {"connection_id":190692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:01:36] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:36] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:01:36] local.INFO: IMEI packet received {"connection_id":190874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":190874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:01:37] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:01:37] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:01:37] local.INFO: Packet analysis {"connection_id":190874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:01:37] local.INFO: Extracted packet for processing {"connection_id":190874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:01: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-09-23 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":190874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:01:37] local.INFO: GPS data processed {"connection_id":190874,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:01:37] local.INFO: Acknowledgment sent {"connection_id":190874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:01:56] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:56] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:01:56] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:02:01] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:01] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:01] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:02:02] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:02] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:02] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:02:02] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:02:02] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:02: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-09-23 20: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-09-23 20:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:02:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:02:02] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:02:02] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:02:09] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:09] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:09] local.INFO: Packet analysis {"connection_id":190874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:02:09] local.INFO: Extracted packet for processing {"connection_id":190874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:02: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-09-23 20:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:02:09] local.INFO: GPS data processed {"connection_id":190874,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:02:09] local.INFO: Acknowledgment sent {"connection_id":190874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:02:30] local.INFO: TCP Data received {"connection_id":192224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:30] local.INFO: Processing buffer {"connection_id":192224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:30] local.INFO: IMEI packet received {"connection_id":192224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":192224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:02:33] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:33] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:02:33] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:02:33] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:02:33] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:02: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-09-23 20: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-09-23 20:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:02:33] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:02:33] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:02:36] local.INFO: TCP Data received {"connection_id":192224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:36] local.INFO: Processing buffer {"connection_id":192224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:02:36] local.INFO: IMEI packet received {"connection_id":192224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":192224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:02:37] local.INFO: TCP Data received {"connection_id":192224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:37] local.INFO: Processing buffer {"connection_id":192224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:02:37] local.INFO: Packet analysis {"connection_id":192224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:02:37] local.INFO: Extracted packet for processing {"connection_id":192224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:02: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-09-23 20:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":192224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:02:37] local.INFO: GPS data processed {"connection_id":192224,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:02:37] local.INFO: Acknowledgment sent {"connection_id":192224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:02:56] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:56] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:02:56] local.INFO: IMEI packet received {"connection_id":190693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":190693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:03:01] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:03:01] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:03:01] local.INFO: IMEI packet received {"connection_id":190693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":190693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:03:01] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:01] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:01] local.INFO: Packet analysis {"connection_id":190693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:03:01] local.INFO: Extracted packet for processing {"connection_id":190693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:03:01] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:03: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-09-23 20: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-09-23 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:03:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":190693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:03:02] local.INFO: GPS data processed {"connection_id":190693,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:03:02] local.INFO: Acknowledgment sent {"connection_id":190693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:03:08] local.INFO: TCP Data received {"connection_id":192224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:08] local.INFO: Processing buffer {"connection_id":192224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:08] local.INFO: Packet analysis {"connection_id":192224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:03:08] local.INFO: Extracted packet for processing {"connection_id":192224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:03: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-09-23 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:03:08] 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-09-23 20:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":192224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:03:08] local.INFO: GPS data processed {"connection_id":192224,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:03:08] local.INFO: Acknowledgment sent {"connection_id":192224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:03:30] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:30] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:30] local.INFO: IMEI packet received {"connection_id":190694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":190694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:03:33] local.INFO: TCP Data received {"connection_id":190693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:33] local.INFO: Processing buffer {"connection_id":190693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:03:33] local.INFO: Packet analysis {"connection_id":190693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:03:33] local.INFO: Extracted packet for processing {"connection_id":190693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:03:33] 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-09-23 20:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:03:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":190693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:03:33] local.INFO: GPS data processed {"connection_id":190693,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:03:33] local.INFO: Acknowledgment sent {"connection_id":190693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:03:36] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:36] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:03:36] local.INFO: IMEI packet received {"connection_id":190694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":190694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:03:37] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:37] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:03:37] local.INFO: Packet analysis {"connection_id":190694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:03:37] local.INFO: Extracted packet for processing {"connection_id":190694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:03: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-09-23 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":190694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:03:37] local.INFO: GPS data processed {"connection_id":190694,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:03:37] local.INFO: Acknowledgment sent {"connection_id":190694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:01] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:01] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:01] local.INFO: IMEI packet received {"connection_id":190875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":190875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:04:06] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:06] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:06] local.INFO: IMEI packet received {"connection_id":190875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":190875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:04:07] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:07] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:07] local.INFO: Packet analysis {"connection_id":190875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:04:07] local.INFO: Extracted packet for processing {"connection_id":190875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:04:07] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":190875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:07] local.INFO: GPS data processed {"connection_id":190875,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:07] local.INFO: Acknowledgment sent {"connection_id":190875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:09] local.INFO: TCP Data received {"connection_id":190694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:09] local.INFO: Processing buffer {"connection_id":190694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:09] local.INFO: Packet analysis {"connection_id":190694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:04:09] local.INFO: Extracted packet for processing {"connection_id":190694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 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-09-23 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:04: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-09-23 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-09-23 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-09-23 20:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":190694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:09] local.INFO: GPS data processed {"connection_id":190694,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:09] local.INFO: Acknowledgment sent {"connection_id":190694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:11] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:11] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceab1268012d196940071fef90004401592a..."} 
[2026-09-23 20:04:11] local.INFO: Packet analysis {"connection_id":190875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:04:11] local.INFO: Extracted packet for processing {"connection_id":190875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceab"} 
[2026-09-23 20:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284393472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790173713000,"timestamp_ms":1790173713000,"timestamp_seconds":1790173713,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceab1268"} 
[2026-09-23 20:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:04: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-09-23 20:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284393472001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284393472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284393472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":190875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:11] local.INFO: GPS data processed {"connection_id":190875,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:11] local.INFO: Acknowledgment sent {"connection_id":190875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:26] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:26] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:26] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:04:31] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:31] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:31] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:04:35] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:35] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:04:35] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:04:36] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:36] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:36] local.INFO: IMEI packet received {"connection_id":193569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":193569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:04:37] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0ce..."} 
[2026-09-23 20:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0ce..."} 
[2026-09-23 20:04:37] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0ce..."} 
[2026-09-23 20:04:37] local.INFO: IMEI packet received {"connection_id":190695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":190695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:04:40] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceadf0c8012c8d7d000952852002ce008d2c..."} 
[2026-09-23 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceadf0c8012c8d7d000952852002ce008d2c..."} 
[2026-09-23 20:04:40] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0cead9ec0012c8d5c800952b56002c900972c..."} 
[2026-09-23 20:04:40] local.INFO: Packet analysis {"connection_id":190695,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0cead"} 
[2026-09-23 20:04:40] local.INFO: Extracted packet for processing {"connection_id":190695,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cead"} 
[2026-09-23 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":747461760,"raw_latitude":156415328,"longitude_deg":74.746176,"latitude_deg":15.6415328,"altitude":713,"angle":151,"satellites":44,"speed":0,"hex_longitude":"2c8d5c80","hex_latitude":"0952b560","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284507904001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8268679244550778878,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790173880000,"timestamp_ms":1790173880000,"timestamp_seconds":1790173880,"priority":1,"record_length":96,"hex_timestamp":"000001a0cead9ec0"} 
[2026-09-23 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-09-23 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-23 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284507904001,"66":28028,"47":206,"104":41216,"24":0,"16":3605341577150464,"44":-8268679244550778878},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,104,24,16,44]} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284507904001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":41216,"description":"Unknown IO ID 104"} 
[2026-09-23 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8268679244550778878,"description":"Unknown IO ID 44"} 
[2026-09-23 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284507904001,"power":28028,"unknown_47":206,"unknown_104":41216,"ignition":0,"odometer":null,"unknown_44":-8268679244550778878}} 
[2026-09-23 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":190695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:40] local.INFO: GPS data processed {"connection_id":190695,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:40] local.INFO: Acknowledgment sent {"connection_id":190695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:40] local.INFO: Packet analysis {"connection_id":190695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cead"} 
[2026-09-23 20:04:40] local.INFO: Extracted packet for processing {"connection_id":190695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cead"} 
[2026-09-23 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":747470080,"raw_latitude":156402976,"longitude_deg":74.747008,"latitude_deg":15.6402976,"altitude":718,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2c8d7d00","hex_latitude":"09528520","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284513280001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8260586838973652990,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790173901000,"timestamp_ms":1790173901000,"timestamp_seconds":1790173901,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceadf0c8"} 
[2026-09-23 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-09-23 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284513280001,"66":28028,"48":206,"104":41216,"24":0,"16":3605341577150464,"44":-8260586838973652990},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,104,24,16,44]} 
[2026-09-23 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284513280001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":41216,"description":"Unknown IO ID 104"} 
[2026-09-23 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8260586838973652990,"description":"Unknown IO ID 44"} 
[2026-09-23 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284513280001,"power":28028,"unknown_48":206,"unknown_104":41216,"ignition":0,"odometer":null,"unknown_44":-8260586838973652990}} 
[2026-09-23 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":190695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:40] local.INFO: GPS data processed {"connection_id":190695,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:40] local.INFO: Acknowledgment sent {"connection_id":190695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:40] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:40] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:04:40] local.INFO: IMEI packet received {"connection_id":193569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":193569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:04:41] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:41] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:04:41] local.INFO: Packet analysis {"connection_id":193569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:04:41] local.INFO: Extracted packet for processing {"connection_id":193569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:04: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-09-23 20:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":193569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:41] local.INFO: GPS data processed {"connection_id":193569,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:41] local.INFO: Acknowledgment sent {"connection_id":193569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:45] local.INFO: TCP Data received {"connection_id":190695,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceae42d0012c8da6800952548002cf008c2b..."} 
[2026-09-23 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceae42d0012c8da6800952548002cf008c2b..."} 
[2026-09-23 20:04:45] local.INFO: Processing buffer {"connection_id":190695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceae42d0012c8da6800952548002cf008c2b..."} 
[2026-09-23 20:04:45] local.INFO: Packet analysis {"connection_id":190695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceae"} 
[2026-09-23 20:04:45] local.INFO: Extracted packet for processing {"connection_id":190695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceae"} 
[2026-09-23 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":747480704,"raw_latitude":156390528,"longitude_deg":74.7480704,"latitude_deg":15.6390528,"altitude":719,"angle":140,"satellites":43,"speed":35,"hex_longitude":"2c8da680","hex_latitude":"09525480","is_valid_coordinates":true} 
[2026-09-23 20:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284518656001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8251438902233718782,"note":"Value kept but may cause issues"} 
[2026-09-23 20:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790173922000,"timestamp_ms":1790173922000,"timestamp_seconds":1790173922,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceae42d0"} 
[2026-09-23 20:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 20:04:45] 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-09-23 20:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284518656001,"66":27952,"48":206,"104":41216,"24":35,"16":3605341577150464,"44":-8251438902233718782},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,104,24,16,44]} 
[2026-09-23 20:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284518656001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:04:45] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-23 20:04:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":41216,"description":"Unknown IO ID 104"} 
[2026-09-23 20:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8251438902233718782,"description":"Unknown IO ID 44"} 
[2026-09-23 20:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284518656001,"power":27952,"unknown_48":206,"unknown_104":41216,"ignition":35,"odometer":null,"unknown_44":-8251438902233718782}} 
[2026-09-23 20:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":190695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:04:45] local.INFO: GPS data processed {"connection_id":190695,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:04:45] local.INFO: Acknowledgment sent {"connection_id":190695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:04:56] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:56] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:04:56] local.INFO: IMEI packet received {"connection_id":190876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":190876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:05:01] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:01] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:01] local.INFO: IMEI packet received {"connection_id":190876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":190876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:05:01] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:01] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:01] local.INFO: Packet analysis {"connection_id":190876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05:01] local.INFO: Extracted packet for processing {"connection_id":190876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:05: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-09-23 20: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-09-23 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:05:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":190876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:05:01] local.INFO: GPS data processed {"connection_id":190876,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:05:01] local.INFO: Acknowledgment sent {"connection_id":190876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:09] local.INFO: TCP Data received {"connection_id":192225,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:09] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:09] local.INFO: IMEI packet received {"connection_id":192225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":192225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:05:13] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:13] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:13] local.INFO: Packet analysis {"connection_id":193569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:05:13] local.INFO: Extracted packet for processing {"connection_id":193569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:05:13] 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-09-23 20:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:05:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":193569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:05:13] local.INFO: GPS data processed {"connection_id":193569,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:05:13] local.INFO: Acknowledgment sent {"connection_id":193569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:15] local.INFO: TCP Data received {"connection_id":192225,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:15] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:05:15] local.INFO: IMEI packet received {"connection_id":192225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":192225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:05:16] local.INFO: TCP Data received {"connection_id":192225,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceae94d8012c8dd7c0095219b002ce008c2d..."} 
[2026-09-23 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceae94d8012c8dd7c0095219b002ce008c2d..."} 
[2026-09-23 20:05:16] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceae94d8012c8dd7c0095219b002ce008c2d..."} 
[2026-09-23 20:05:16] local.INFO: Packet analysis {"connection_id":192225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceae"} 
[2026-09-23 20:05:16] local.INFO: Extracted packet for processing {"connection_id":192225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceae"} 
[2026-09-23 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":747493312,"raw_latitude":156375472,"longitude_deg":74.7493312,"latitude_deg":15.6375472,"altitude":718,"angle":140,"satellites":45,"speed":0,"hex_longitude":"2c8dd7c0","hex_latitude":"095219b0","is_valid_coordinates":true} 
[2026-09-23 20:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284524032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8239757690703413246,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790173943000,"timestamp_ms":1790173943000,"timestamp_seconds":1790173943,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceae94d8"} 
[2026-09-23 20:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:05:16] 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-09-23 20:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284524032001,"66":27908,"123":206,"9":8192,"24":0,"16":3605341577150464,"44":-8239757690703413246},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,9,24,16,44]} 
[2026-09-23 20:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284524032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:05:16] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-23 20:05:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8239757690703413246,"description":"Unknown IO ID 44"} 
[2026-09-23 20:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284524032001,"power":27908,"unknown_123":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-8239757690703413246}} 
[2026-09-23 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":192225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:05:16] local.INFO: GPS data processed {"connection_id":192225,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:05:16] local.INFO: Acknowledgment sent {"connection_id":192225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:31] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:31] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:31] local.INFO: IMEI packet received {"connection_id":190877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":190877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:05:33] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:33] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:05:33] local.INFO: Packet analysis {"connection_id":190876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05:33] local.INFO: Extracted packet for processing {"connection_id":190876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:05:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":190876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:05:33] local.INFO: GPS data processed {"connection_id":190876,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:05:33] local.INFO: Acknowledgment sent {"connection_id":190876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:36] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:36] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:05:36] local.INFO: IMEI packet received {"connection_id":190877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":190877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:05:37] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:37] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:05:37] local.INFO: Packet analysis {"connection_id":190877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:05:37] local.INFO: Extracted packet for processing {"connection_id":190877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:05: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-09-23 20:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":190877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:05:37] local.INFO: GPS data processed {"connection_id":190877,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:05:37] local.INFO: Acknowledgment sent {"connection_id":190877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:47] local.INFO: TCP Data received {"connection_id":192225,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaf77680100000000000000000000000000..."} 
[2026-09-23 20:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaf77680100000000000000000000000000..."} 
[2026-09-23 20:05:47] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaf77680100000000000000000000000000..."} 
[2026-09-23 20:05:47] local.INFO: Packet analysis {"connection_id":192225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05:47] local.INFO: Extracted packet for processing {"connection_id":192225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:05: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-09-23 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-09-23 20:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284529408001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8225895048104267774,"note":"Value kept but may cause issues"} 
[2026-09-23 20:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790174001000,"timestamp_ms":1790174001000,"timestamp_seconds":1790174001,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaf7768"} 
[2026-09-23 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-09-23 20:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 20:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":192225,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:05:47] local.INFO: GPS data processed {"connection_id":192225,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:05:47] local.INFO: Acknowledgment sent {"connection_id":192225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:05:56] local.INFO: TCP Data received {"connection_id":193570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:56] local.INFO: Processing buffer {"connection_id":193570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:05:56] local.INFO: IMEI packet received {"connection_id":193570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":193570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:06:01] local.INFO: TCP Data received {"connection_id":193570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:01] local.INFO: Processing buffer {"connection_id":193570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:01] local.INFO: IMEI packet received {"connection_id":193570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":193570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:06:02] local.INFO: TCP Data received {"connection_id":193570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:02] local.INFO: Processing buffer {"connection_id":193570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:02] local.INFO: Packet analysis {"connection_id":193570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:02] local.INFO: Extracted packet for processing {"connection_id":193570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:06: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-09-23 20: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-09-23 20:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":193570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:02] local.INFO: GPS data processed {"connection_id":193570,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:02] local.INFO: Acknowledgment sent {"connection_id":193570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:08] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:06:08] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaceb10012d34c58006aa47580014010527..."} 
[2026-09-23 20:06:08] local.INFO: Packet analysis {"connection_id":190877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:06:08] local.INFO: Extracted packet for processing {"connection_id":190877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceac"} 
[2026-09-23 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284424448001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790173834000,"timestamp_ms":1790173834000,"timestamp_seconds":1790173834,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaceb10"} 
[2026-09-23 20:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:06:08] 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-09-23 20:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284424448001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284424448001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284424448001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":190877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:08] local.INFO: GPS data processed {"connection_id":190877,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:08] local.INFO: Acknowledgment sent {"connection_id":190877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:10] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: IMEI packet received {"connection_id":193571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":193571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:06:10] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:10] local.INFO: IMEI packet received {"connection_id":193571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":193571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:06:14] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:14] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:06:14] local.INFO: IMEI packet received {"connection_id":193571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":193571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:06:15] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaf0df0012c8e43400951925002ca00902d..."} 
[2026-09-23 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaf0df0012c8e43400951925002ca00902d..."} 
[2026-09-23 20:06:15] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaf0df0012c8e43400951925002ca00902d..."} 
[2026-09-23 20:06:15] local.INFO: Packet analysis {"connection_id":193571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:15] local.INFO: Extracted packet for processing {"connection_id":193571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":747520832,"raw_latitude":156340816,"longitude_deg":74.7520832,"latitude_deg":15.6340816,"altitude":714,"angle":144,"satellites":45,"speed":55,"hex_longitude":"2c8e4340","hex_latitude":"09519250","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:15] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-23 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790173974000,"timestamp_ms":1790173974000,"timestamp_seconds":1790173974,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaf0df0"} 
[2026-09-23 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:06: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-09-23 20: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-09-23 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27865,"24":55,"16":3605341577150464},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-09-23 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27865,"ignition":55,"odometer":null}} 
[2026-09-23 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":193571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:15] local.INFO: GPS data processed {"connection_id":193571,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:15] local.INFO: Acknowledgment sent {"connection_id":193571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:18] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceaf5ff8012c8e780009514b0002cb00902b..."} 
[2026-09-23 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceaf5ff8012c8e780009514b0002cb00902b..."} 
[2026-09-23 20:06:18] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceaf5ff8012c8e780009514b0002cb00902b..."} 
[2026-09-23 20:06:18] local.INFO: Packet analysis {"connection_id":193571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:18] local.INFO: Extracted packet for processing {"connection_id":193571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":747534336,"raw_latitude":156322560,"longitude_deg":74.7534336,"latitude_deg":15.632256,"altitude":715,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2c8e7800","hex_latitude":"09514b00","is_valid_coordinates":true} 
[2026-09-23 20:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284537344001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8195636488116744190,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790173995000,"timestamp_ms":1790173995000,"timestamp_seconds":1790173995,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceaf5ff8"} 
[2026-09-23 20:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-23 20:06: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-09-23 20:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284537344001,"66":27952,"208":206,"9":8192,"24":0,"16":3605341577150464,"44":-8195636488116744190},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-23 20:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284537344001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 20:06:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8195636488116744190,"description":"Unknown IO ID 44"} 
[2026-09-23 20:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284537344001,"power":27952,"unknown_208":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-8195636488116744190}} 
[2026-09-23 20:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":193571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:18] local.INFO: GPS data processed {"connection_id":193571,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:18] local.INFO: Acknowledgment sent {"connection_id":193571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:30] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:30] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:30] local.INFO: IMEI packet received {"connection_id":190696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":190696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:06:33] local.INFO: TCP Data received {"connection_id":193570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:33] local.INFO: Processing buffer {"connection_id":193570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:06:33] local.INFO: Packet analysis {"connection_id":193570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:33] local.INFO: Extracted packet for processing {"connection_id":193570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:06: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-09-23 20: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-09-23 20:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:33] local.INFO: GPS data processed {"connection_id":193570,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:33] local.INFO: Acknowledgment sent {"connection_id":193570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:36] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:36] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:06:36] local.INFO: IMEI packet received {"connection_id":190696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":190696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:06:36] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:06:36] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:06:36] local.INFO: Packet analysis {"connection_id":190696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:06:36] local.INFO: Extracted packet for processing {"connection_id":190696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:06: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-09-23 20: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-09-23 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":190696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:36] local.INFO: GPS data processed {"connection_id":190696,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:36] local.INFO: Acknowledgment sent {"connection_id":190696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:50] local.INFO: TCP Data received {"connection_id":193571,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafdcf8012c8ee1000950bd9002cc008f2c..."} 
[2026-09-23 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafdcf8012c8ee1000950bd9002cc008f2c..."} 
[2026-09-23 20:06:50] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafdcf8012c8ee1000950bd9002cc008f2c..."} 
[2026-09-23 20:06:50] local.INFO: Packet analysis {"connection_id":193571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:50] local.INFO: Extracted packet for processing {"connection_id":193571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":747561216,"raw_latitude":156286352,"longitude_deg":74.7561216,"latitude_deg":15.6286352,"altitude":716,"angle":143,"satellites":44,"speed":0,"hex_longitude":"2c8ee100","hex_latitude":"0950bd90","is_valid_coordinates":true} 
[2026-09-23 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284542720001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8180788683099930622,"note":"Value kept but may cause issues"} 
[2026-09-23 20:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790174027000,"timestamp_ms":1790174027000,"timestamp_seconds":1790174027,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafdcf8"} 
[2026-09-23 20:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:06:50] 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-09-23 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284542720001,"66":27952,"208":206,"9":8192,"24":0,"16":3605341577150464,"44":-8180788683099930622},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-23 20:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284542720001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:06:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 20:06:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8180788683099930622,"description":"Unknown IO ID 44"} 
[2026-09-23 20:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284542720001,"power":27952,"unknown_208":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-8180788683099930622}} 
[2026-09-23 20:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":193571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:06:51] local.INFO: GPS data processed {"connection_id":193571,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:06:51] local.INFO: Acknowledgment sent {"connection_id":193571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:06:56] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:56] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:06:56] local.INFO: IMEI packet received {"connection_id":190878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:07:01] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:07:01] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:07:01] local.INFO: IMEI packet received {"connection_id":190878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":190878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:07:01] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:01] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:01] local.INFO: Packet analysis {"connection_id":190878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:07:01] local.INFO: Extracted packet for processing {"connection_id":190878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:07: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-09-23 20: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-09-23 20:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":190878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:07:01] local.INFO: GPS data processed {"connection_id":190878,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:07:01] local.INFO: Acknowledgment sent {"connection_id":190878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:07:08] local.INFO: TCP Data received {"connection_id":190696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:08] local.INFO: Processing buffer {"connection_id":190696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:08] local.INFO: Packet analysis {"connection_id":190696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:07:08] local.INFO: Extracted packet for processing {"connection_id":190696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:07:08] 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-09-23 20:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:07:08] local.INFO: GPS data processed {"connection_id":190696,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:07:08] local.INFO: Acknowledgment sent {"connection_id":190696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:07:09] local.INFO: TCP Data received {"connection_id":190697,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: IMEI packet received {"connection_id":190697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":190697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:07:09] local.INFO: TCP Data received {"connection_id":190697,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:09] local.INFO: IMEI packet received {"connection_id":190697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":190697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:07:15] local.INFO: TCP Data received {"connection_id":190697,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:15] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:07:15] local.INFO: IMEI packet received {"connection_id":190697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":190697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:07:19] local.INFO: TCP Data received {"connection_id":190697,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb0bf880100000000000000000000000000..."} 
[2026-09-23 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb0bf880100000000000000000000000000..."} 
[2026-09-23 20:07:19] local.INFO: Processing buffer {"connection_id":190697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb0bf880100000000000000000000000000..."} 
[2026-09-23 20:07:19] local.INFO: Packet analysis {"connection_id":190697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb0"} 
[2026-09-23 20:07:19] local.INFO: Extracted packet for processing {"connection_id":190697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb0"} 
[2026-09-23 20:07: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-09-23 20:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284550912001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8151233810554580990,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790174085000,"timestamp_ms":1790174085000,"timestamp_seconds":1790174085,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb0bf88"} 
[2026-09-23 20:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:07: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-09-23 20:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:07: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-09-23 20:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":190697,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:07:19] local.INFO: GPS data processed {"connection_id":190697,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:07:19] local.INFO: Acknowledgment sent {"connection_id":190697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:07:30] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:30] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:30] local.INFO: IMEI packet received {"connection_id":190879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":190879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:07:32] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:32] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:07:32] local.INFO: Packet analysis {"connection_id":190878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:07:32] local.INFO: Extracted packet for processing {"connection_id":190878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:07: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-09-23 20: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-09-23 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":190878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:07:32] local.INFO: GPS data processed {"connection_id":190878,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:07:32] local.INFO: Acknowledgment sent {"connection_id":190878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:07:36] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:36] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:07:36] local.INFO: IMEI packet received {"connection_id":190879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":190879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:07:37] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:37] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:07:37] local.INFO: Packet analysis {"connection_id":190879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:07:37] local.INFO: Extracted packet for processing {"connection_id":190879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":190879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:07:37] local.INFO: GPS data processed {"connection_id":190879,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:07:37] local.INFO: Acknowledgment sent {"connection_id":190879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:01] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:01] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:01] local.INFO: IMEI packet received {"connection_id":190698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":190698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:08:06] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:06] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:06] local.INFO: IMEI packet received {"connection_id":190698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":190698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:08:07] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:07] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:07] local.INFO: Packet analysis {"connection_id":190698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:08:07] local.INFO: Extracted packet for processing {"connection_id":190698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":190698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:07] local.INFO: GPS data processed {"connection_id":190698,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:07] local.INFO: Acknowledgment sent {"connection_id":190698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:08] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:08] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:08] local.INFO: Packet analysis {"connection_id":190879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:08:08] local.INFO: Extracted packet for processing {"connection_id":190879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:08:08] 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-09-23 20:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":190879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:08] local.INFO: GPS data processed {"connection_id":190879,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:08] local.INFO: Acknowledgment sent {"connection_id":190879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:09] local.INFO: TCP Data received {"connection_id":190699,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:09] local.INFO: Processing buffer {"connection_id":190699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:09] local.INFO: IMEI packet received {"connection_id":190699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":190699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:08:11] local.INFO: TCP Data received {"connection_id":190698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:11] local.INFO: Processing buffer {"connection_id":190698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:08:11] local.INFO: Packet analysis {"connection_id":190698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:08:11] local.INFO: Extracted packet for processing {"connection_id":190698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:08: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-09-23 20:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":190698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:11] local.INFO: GPS data processed {"connection_id":190698,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:11] local.INFO: Acknowledgment sent {"connection_id":190698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:14] local.INFO: TCP Data received {"connection_id":190699,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:14] local.INFO: Processing buffer {"connection_id":190699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:08:14] local.INFO: IMEI packet received {"connection_id":190699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":190699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:08:15] local.INFO: TCP Data received {"connection_id":190699,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb04a58012c8f49c009501bb002c300a72e..."} 
[2026-09-23 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb04a58012c8f49c009501bb002c300a72e..."} 
[2026-09-23 20:08:15] local.INFO: Processing buffer {"connection_id":190699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb04a58012c8f49c009501bb002c300a72e..."} 
[2026-09-23 20:08:15] local.INFO: Packet analysis {"connection_id":190699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb0"} 
[2026-09-23 20:08:15] local.INFO: Extracted packet for processing {"connection_id":190699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb0"} 
[2026-09-23 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":747588032,"raw_latitude":156244912,"longitude_deg":74.7588032,"latitude_deg":15.6244912,"altitude":707,"angle":167,"satellites":46,"speed":60,"hex_longitude":"2c8f49c0","hex_latitude":"09501bb0","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790174055000,"timestamp_ms":1790174055000,"timestamp_seconds":1790174055,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb04a58"} 
[2026-09-23 20:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 20:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"208":206,"9":8192,"24":60,"16":3605341577150464},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16]} 
[2026-09-23 20:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-23 20:08:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_208":206,"unknown_9":8192,"ignition":60,"odometer":null}} 
[2026-09-23 20:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":190699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:15] local.INFO: GPS data processed {"connection_id":190699,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:15] local.INFO: Acknowledgment sent {"connection_id":190699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:36] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:36] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:36] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:08:41] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:41] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:08:41] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:08:41] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:41] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:08:41] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:08:41] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:08: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-09-23 20:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:41] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:41] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:46] local.INFO: TCP Data received {"connection_id":190699,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb31530012c914040094d182002ce00792e..."} 
[2026-09-23 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb31530012c914040094d182002ce00792e..."} 
[2026-09-23 20:08:46] local.INFO: Processing buffer {"connection_id":190699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb31530012c914040094d182002ce00792e..."} 
[2026-09-23 20:08:46] local.INFO: Packet analysis {"connection_id":190699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:08:46] local.INFO: Extracted packet for processing {"connection_id":190699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":747716672,"raw_latitude":156047392,"longitude_deg":74.7716672,"latitude_deg":15.6047392,"altitude":718,"angle":121,"satellites":46,"speed":45,"hex_longitude":"2c914040","hex_latitude":"094d1820","is_valid_coordinates":true} 
[2026-09-23 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:08:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790174238000,"timestamp_ms":1790174238000,"timestamp_seconds":1790174238,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb31530"} 
[2026-09-23 20:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:08: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:08:46] 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-09-23 20:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"206":206,"9":8192,"24":45,"16":3605341577150464},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16]} 
[2026-09-23 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:08:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 20:08:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_206":206,"unknown_9":8192,"ignition":45,"odometer":null}} 
[2026-09-23 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":190699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:08:46] local.INFO: GPS data processed {"connection_id":190699,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:08:46] local.INFO: Acknowledgment sent {"connection_id":190699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:08:56] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:56] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:08:56] local.INFO: IMEI packet received {"connection_id":190700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":190700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:09:01] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:01] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:01] local.INFO: IMEI packet received {"connection_id":190700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":190700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:09:01] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:09:01] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceafaa30012d196940071fef900044015929..."} 
[2026-09-23 20:09:01] local.INFO: Packet analysis {"connection_id":190700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:09:01] local.INFO: Extracted packet for processing {"connection_id":190700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceaf"} 
[2026-09-23 20:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":68,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284470528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174014000,"timestamp_ms":1790174014000,"timestamp_seconds":1790174014,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceafaa30"} 
[2026-09-23 20:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:09: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-09-23 20: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-09-23 20:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284470528001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284470528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284470528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":190700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:01] local.INFO: GPS data processed {"connection_id":190700,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:01] local.INFO: Acknowledgment sent {"connection_id":190700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:12] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:12] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:12] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:09:12] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:12] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:12] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:14] local.INFO: TCP Data received {"connection_id":193572,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:14] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:14] local.INFO: IMEI packet received {"connection_id":193572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":193572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:09:16] local.INFO: TCP Data received {"connection_id":193572,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:16] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:09:16] local.INFO: IMEI packet received {"connection_id":193572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":193572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:09:17] local.INFO: TCP Data received {"connection_id":193572,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb36738012c917d00094cf70002d500762e..."} 
[2026-09-23 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb36738012c917d00094cf70002d500762e..."} 
[2026-09-23 20:09:17] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb36738012c917d00094cf70002d500762e..."} 
[2026-09-23 20:09:17] local.INFO: Packet analysis {"connection_id":193572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:17] local.INFO: Extracted packet for processing {"connection_id":193572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":747732224,"raw_latitude":156038912,"longitude_deg":74.7732224,"latitude_deg":15.6038912,"altitude":725,"angle":118,"satellites":46,"speed":0,"hex_longitude":"2c917d00","hex_latitude":"094cf700","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284604928001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7980308131008208894,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790174259000,"timestamp_ms":1790174259000,"timestamp_seconds":1790174259,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb36738"} 
[2026-09-23 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-09-23 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 20:09:17] 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-09-23 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-09-23 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-09-23 20:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284604928001,"66":28050,"206":206,"9":8192,"24":0,"16":3605341577150464,"44":-7980308131008208894},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-23 20:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284604928001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 20:09:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7980308131008208894,"description":"Unknown IO ID 44"} 
[2026-09-23 20:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284604928001,"power":28050,"unknown_206":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-7980308131008208894}} 
[2026-09-23 20:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":193572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:17] local.INFO: GPS data processed {"connection_id":193572,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:17] local.INFO: Acknowledgment sent {"connection_id":193572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:19] local.INFO: TCP Data received {"connection_id":193572,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb3ad88012c91af40094ccf6002db008d2e..."} 
[2026-09-23 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb3ad88012c91af40094ccf6002db008d2e..."} 
[2026-09-23 20:09:19] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb3ad88012c91af40094ccf6002db008d2e..."} 
[2026-09-23 20:09:19] local.INFO: Packet analysis {"connection_id":193572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:19] local.INFO: Extracted packet for processing {"connection_id":193572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:19] local.INFO: GPS Element Parsed {"raw_longitude":747745088,"raw_latitude":156028768,"longitude_deg":74.7745088,"latitude_deg":15.6028768,"altitude":731,"angle":141,"satellites":46,"speed":30,"hex_longitude":"2c91af40","hex_latitude":"094ccf60","is_valid_coordinates":true} 
[2026-09-23 20:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284610304001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7963208526175207422,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790174277000,"timestamp_ms":1790174277000,"timestamp_seconds":1790174277,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb3ad88"} 
[2026-09-23 20:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09: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-09-23 20:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-23 20:09:19] 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-09-23 20:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284610304001,"66":27952,"206":206,"9":8192,"24":30,"16":3605341577150464,"44":-7963208526175207422},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-23 20:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284610304001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 20:09:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7963208526175207422,"description":"Unknown IO ID 44"} 
[2026-09-23 20:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284610304001,"power":27952,"unknown_206":206,"unknown_9":8192,"ignition":30,"odometer":null,"unknown_44":-7963208526175207422}} 
[2026-09-23 20:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":193572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:19] local.INFO: GPS data processed {"connection_id":193572,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:19] local.INFO: Acknowledgment sent {"connection_id":193572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:31] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:31] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:31] local.INFO: IMEI packet received {"connection_id":193573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:09:32] local.INFO: TCP Data received {"connection_id":190700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:09:32] local.INFO: Processing buffer {"connection_id":190700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:09:32] local.INFO: Packet analysis {"connection_id":190700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:09:32] local.INFO: Extracted packet for processing {"connection_id":190700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:09: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-09-23 20:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":190700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:32] local.INFO: GPS data processed {"connection_id":190700,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:32] local.INFO: Acknowledgment sent {"connection_id":190700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:36] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:36] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:09:36] local.INFO: IMEI packet received {"connection_id":193573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":193573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:09:37] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:37] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:09:37] local.INFO: Packet analysis {"connection_id":193573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:09:37] local.INFO: Extracted packet for processing {"connection_id":193573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:09: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-09-23 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":193573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:37] local.INFO: GPS data processed {"connection_id":193573,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:37] local.INFO: Acknowledgment sent {"connection_id":193573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:52] local.INFO: TCP Data received {"connection_id":193572,"ip":"117.224.95.247","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb3fba8012c91ce80094c91e002df00a02e..."} 
[2026-09-23 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb3fba8012c91ce80094c91e002df00a02e..."} 
[2026-09-23 20:09:52] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb3fba8012c91ce80094c91e002df00a02e..."} 
[2026-09-23 20:09:52] local.INFO: Packet analysis {"connection_id":193572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:52] local.INFO: Extracted packet for processing {"connection_id":193572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb3"} 
[2026-09-23 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":747753088,"raw_latitude":156013024,"longitude_deg":74.7753088,"latitude_deg":15.6013024,"altitude":735,"angle":160,"satellites":46,"speed":38,"hex_longitude":"2c91ce80","hex_latitude":"094c91e0","is_valid_coordinates":true} 
[2026-09-23 20:09: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-09-23 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284614912001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7949064408598093822,"note":"Value kept but may cause issues"} 
[2026-09-23 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790174297000,"timestamp_ms":1790174297000,"timestamp_seconds":1790174297,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb3fba8"} 
[2026-09-23 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:09: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-09-23 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.95.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284614912001,"66":28006,"206":206,"9":8192,"24":38,"16":3605341577150464,"44":-7949064408598093822},"client_ip":"117.224.95.247","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-23 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284614912001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-23 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7949064408598093822,"description":"Unknown IO ID 44"} 
[2026-09-23 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284614912001,"power":28006,"unknown_206":206,"unknown_9":8192,"ignition":38,"odometer":null,"unknown_44":-7949064408598093822}} 
[2026-09-23 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":193572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:09:52] local.INFO: GPS data processed {"connection_id":193572,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:09:52] local.INFO: Acknowledgment sent {"connection_id":193572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:09:56] local.INFO: TCP Data received {"connection_id":190701,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:56] local.INFO: Processing buffer {"connection_id":190701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:09:56] local.INFO: IMEI packet received {"connection_id":190701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":190701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:10:01] local.INFO: TCP Data received {"connection_id":190701,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:01] local.INFO: Processing buffer {"connection_id":190701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:01] local.INFO: IMEI packet received {"connection_id":190701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":190701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:10:02] local.INFO: TCP Data received {"connection_id":190701,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:02] local.INFO: Processing buffer {"connection_id":190701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:02] local.INFO: Packet analysis {"connection_id":190701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:10:02] local.INFO: Extracted packet for processing {"connection_id":190701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:10: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-09-23 20: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-09-23 20:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":190701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:10:02] local.INFO: GPS data processed {"connection_id":190701,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:10:02] local.INFO: Acknowledgment sent {"connection_id":190701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:10:07] local.INFO: TCP Data received {"connection_id":192227,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:07] local.INFO: Processing buffer {"connection_id":192227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:07] local.INFO: IMEI packet received {"connection_id":192227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":192227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:10:08] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:08] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:08] local.INFO: Packet analysis {"connection_id":193573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:10:08] local.INFO: Extracted packet for processing {"connection_id":193573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:10:08] 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-09-23 20:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":193573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:10:08] local.INFO: GPS data processed {"connection_id":193573,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:10:08] local.INFO: Acknowledgment sent {"connection_id":193573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:10:10] local.INFO: TCP Data received {"connection_id":192227,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:10] local.INFO: Processing buffer {"connection_id":192227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:10] local.INFO: IMEI packet received {"connection_id":192227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":192227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:10:30] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:30] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:30] local.INFO: IMEI packet received {"connection_id":190880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:10:33] local.INFO: TCP Data received {"connection_id":190701,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:33] local.INFO: Processing buffer {"connection_id":190701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:10:33] local.INFO: Packet analysis {"connection_id":190701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:10:33] local.INFO: Extracted packet for processing {"connection_id":190701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":190701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:10:33] local.INFO: GPS data processed {"connection_id":190701,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:10:33] local.INFO: Acknowledgment sent {"connection_id":190701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:10:35] local.INFO: TCP Data received {"connection_id":192227,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:35] local.INFO: Processing buffer {"connection_id":192227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:35] local.INFO: IMEI packet received {"connection_id":192227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:10:36] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:36] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:10:36] local.INFO: IMEI packet received {"connection_id":190880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":190880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:10:37] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:37] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:10:37] local.INFO: Packet analysis {"connection_id":190880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:10:37] local.INFO: Extracted packet for processing {"connection_id":190880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:10: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-09-23 20:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":190880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:10:37] local.INFO: GPS data processed {"connection_id":190880,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:10:37] local.INFO: Acknowledgment sent {"connection_id":190880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:10:44] local.INFO: TCP Data received {"connection_id":192227,"ip":"117.224.95.247","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:44] local.INFO: Processing buffer {"connection_id":192227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:10:44] local.INFO: IMEI packet received {"connection_id":192227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":192227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:10:56] local.INFO: TCP Data received {"connection_id":192228,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:56] local.INFO: Processing buffer {"connection_id":192228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:10:56] local.INFO: IMEI packet received {"connection_id":192228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":192228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:11:01] local.INFO: TCP Data received {"connection_id":192228,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:01] local.INFO: Processing buffer {"connection_id":192228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:01] local.INFO: IMEI packet received {"connection_id":192228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":192228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:11:01] local.INFO: TCP Data received {"connection_id":192228,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:01] local.INFO: Processing buffer {"connection_id":192228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:01] local.INFO: Packet analysis {"connection_id":192228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:11:01] local.INFO: Extracted packet for processing {"connection_id":192228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:11: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-09-23 20: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-09-23 20:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":192228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:11:02] local.INFO: GPS data processed {"connection_id":192228,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:11:02] local.INFO: Acknowledgment sent {"connection_id":192228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:11:09] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:11:09] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb182d8012d34c58006aa4758001a010528..."} 
[2026-09-23 20:11:09] local.INFO: Packet analysis {"connection_id":190880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:11:09] local.INFO: Extracted packet for processing {"connection_id":190880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb1"} 
[2026-09-23 20:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284501504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790174135000,"timestamp_ms":1790174135000,"timestamp_seconds":1790174135,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb182d8"} 
[2026-09-23 20:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:11: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-09-23 20:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284501504001,"66":25875,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284501504001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284501504001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":190880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:11:09] local.INFO: GPS data processed {"connection_id":190880,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:11:09] local.INFO: Acknowledgment sent {"connection_id":190880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:11:30] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:30] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:30] local.INFO: IMEI packet received {"connection_id":190702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":190702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:11:33] local.INFO: TCP Data received {"connection_id":192228,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:33] local.INFO: Processing buffer {"connection_id":192228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:11:33] local.INFO: Packet analysis {"connection_id":192228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:11:33] local.INFO: Extracted packet for processing {"connection_id":192228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:11: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-09-23 20: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-09-23 20:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:11:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":192228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:11:33] local.INFO: GPS data processed {"connection_id":192228,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:11:33] local.INFO: Acknowledgment sent {"connection_id":192228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:11:37] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:37] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:11:37] local.INFO: IMEI packet received {"connection_id":190702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":190702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:11:39] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:11:39] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:11:39] local.INFO: Packet analysis {"connection_id":190702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:11:39] local.INFO: Extracted packet for processing {"connection_id":190702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":190702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:11:39] local.INFO: GPS data processed {"connection_id":190702,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:11:39] local.INFO: Acknowledgment sent {"connection_id":190702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:11:56] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:56] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:11:56] local.INFO: IMEI packet received {"connection_id":190703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:12:01] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:12:01] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:12:01] local.INFO: IMEI packet received {"connection_id":190703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":190703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:12:02] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:02] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:02] local.INFO: Packet analysis {"connection_id":190703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:12:02] local.INFO: Extracted packet for processing {"connection_id":190703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":190703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:12:02] local.INFO: GPS data processed {"connection_id":190703,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:12:02] local.INFO: Acknowledgment sent {"connection_id":190703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:12:10] local.INFO: TCP Data received {"connection_id":190702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:10] local.INFO: Processing buffer {"connection_id":190702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:10] local.INFO: Packet analysis {"connection_id":190702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:10] local.INFO: Extracted packet for processing {"connection_id":190702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:12: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-09-23 20:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:12:10] local.INFO: GPS data processed {"connection_id":190702,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:12:10] local.INFO: Acknowledgment sent {"connection_id":190702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:12:33] local.INFO: TCP Data received {"connection_id":190703,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:33] local.INFO: Processing buffer {"connection_id":190703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:12:33] local.INFO: Packet analysis {"connection_id":190703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:12:33] local.INFO: Extracted packet for processing {"connection_id":190703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:12: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-09-23 20: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-09-23 20:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":190703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:12:33] local.INFO: GPS data processed {"connection_id":190703,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:12:33] local.INFO: Acknowledgment sent {"connection_id":190703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:12:36] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:36] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:36] local.INFO: IMEI packet received {"connection_id":193575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":193575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:12:41] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:41] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:12:41] local.INFO: IMEI packet received {"connection_id":193575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":193575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:12:42] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:42] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:42] local.INFO: Packet analysis {"connection_id":193575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:42] local.INFO: Extracted packet for processing {"connection_id":193575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":193575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:12:42] local.INFO: GPS data processed {"connection_id":193575,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:12:42] local.INFO: Acknowledgment sent {"connection_id":193575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:12:46] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:46] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:12:46] local.INFO: Packet analysis {"connection_id":193575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:46] local.INFO: Extracted packet for processing {"connection_id":193575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":193575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:12:46] local.INFO: GPS data processed {"connection_id":193575,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:12:46] local.INFO: Acknowledgment sent {"connection_id":193575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:13:01] local.INFO: TCP Data received {"connection_id":190704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:01] local.INFO: Processing buffer {"connection_id":190704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:01] local.INFO: IMEI packet received {"connection_id":190704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":190704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:13:06] local.INFO: TCP Data received {"connection_id":190704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:06] local.INFO: Processing buffer {"connection_id":190704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:06] local.INFO: IMEI packet received {"connection_id":190704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":190704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:13:07] local.INFO: TCP Data received {"connection_id":190704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:07] local.INFO: Processing buffer {"connection_id":190704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:07] local.INFO: Packet analysis {"connection_id":190704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:13:07] local.INFO: Extracted packet for processing {"connection_id":190704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":190704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:13:07] local.INFO: GPS data processed {"connection_id":190704,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:13:07] local.INFO: Acknowledgment sent {"connection_id":190704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:13:31] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:31] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:31] local.INFO: IMEI packet received {"connection_id":190882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":190882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:13:36] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:36] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:13:36] local.INFO: IMEI packet received {"connection_id":190882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":190882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:13:37] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:13:37] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:13:37] local.INFO: Packet analysis {"connection_id":190882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:13:37] local.INFO: Extracted packet for processing {"connection_id":190882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:13: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-09-23 20:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":190882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:13:37] local.INFO: GPS data processed {"connection_id":190882,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:13:37] local.INFO: Acknowledgment sent {"connection_id":190882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:13:38] local.INFO: TCP Data received {"connection_id":190704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:38] local.INFO: Processing buffer {"connection_id":190704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:13:38] local.INFO: Packet analysis {"connection_id":190704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:13:38] local.INFO: Extracted packet for processing {"connection_id":190704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:13: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-09-23 20: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-09-23 20:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:13:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":190704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:13:38] local.INFO: GPS data processed {"connection_id":190704,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:13:38] local.INFO: Acknowledgment sent {"connection_id":190704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:13:56] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:56] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:13:56] local.INFO: IMEI packet received {"connection_id":190883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":190883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:14:01] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:01] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:01] local.INFO: IMEI packet received {"connection_id":190883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":190883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:14:02] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:14:02] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb441f8012d196940071fef90003b01592a..."} 
[2026-09-23 20:14:02] local.INFO: Packet analysis {"connection_id":190883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:14:02] local.INFO: Extracted packet for processing {"connection_id":190883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb4"} 
[2026-09-23 20:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284547584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174315000,"timestamp_ms":1790174315000,"timestamp_seconds":1790174315,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb441f8"} 
[2026-09-23 20:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:14: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-09-23 20: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-09-23 20:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284547584001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284547584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:14:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284547584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":190883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:14:02] local.INFO: GPS data processed {"connection_id":190883,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:14:02] local.INFO: Acknowledgment sent {"connection_id":190883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:14:10] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:10] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:10] local.INFO: Packet analysis {"connection_id":190882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:14:10] local.INFO: Extracted packet for processing {"connection_id":190882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:14: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-09-23 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":190882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:14:10] local.INFO: GPS data processed {"connection_id":190882,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:14:10] local.INFO: Acknowledgment sent {"connection_id":190882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:14:31] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:31] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:31] local.INFO: IMEI packet received {"connection_id":190884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":190884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:14:33] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:14:33] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:14:33] local.INFO: Packet analysis {"connection_id":190883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:14:33] local.INFO: Extracted packet for processing {"connection_id":190883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:14: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-09-23 20: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-09-23 20:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":190883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:14:33] local.INFO: GPS data processed {"connection_id":190883,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:14:33] local.INFO: Acknowledgment sent {"connection_id":190883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:14:36] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:36] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:14:36] local.INFO: IMEI packet received {"connection_id":190884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":190884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:14:37] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:37] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:14:37] local.INFO: Packet analysis {"connection_id":190884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:14:37] local.INFO: Extracted packet for processing {"connection_id":190884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:14: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-09-23 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":190884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:14:37] local.INFO: GPS data processed {"connection_id":190884,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:14:37] local.INFO: Acknowledgment sent {"connection_id":190884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:14:56] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:56] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:14:56] local.INFO: IMEI packet received {"connection_id":190705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":190705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:15:01] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:01] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:01] local.INFO: IMEI packet received {"connection_id":190705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":190705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:15:01] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:01] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:01] local.INFO: Packet analysis {"connection_id":190705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:15:01] local.INFO: Extracted packet for processing {"connection_id":190705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:15: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-09-23 20: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-09-23 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":190705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:15:01] local.INFO: GPS data processed {"connection_id":190705,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:15:01] local.INFO: Acknowledgment sent {"connection_id":190705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:15:09] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:09] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:09] local.INFO: Packet analysis {"connection_id":190884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:15:09] local.INFO: Extracted packet for processing {"connection_id":190884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 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-09-23 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:15: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-09-23 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-09-23 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-09-23 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":190884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:15:09] local.INFO: GPS data processed {"connection_id":190884,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:15:09] local.INFO: Acknowledgment sent {"connection_id":190884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:15:30] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:30] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:30] local.INFO: IMEI packet received {"connection_id":193577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":193577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:15:32] local.INFO: TCP Data received {"connection_id":190705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:32] local.INFO: Processing buffer {"connection_id":190705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:15:32] local.INFO: Packet analysis {"connection_id":190705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:15:32] local.INFO: Extracted packet for processing {"connection_id":190705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:15: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-09-23 20: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-09-23 20:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":190705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:15:33] local.INFO: GPS data processed {"connection_id":190705,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:15:33] local.INFO: Acknowledgment sent {"connection_id":190705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:15:36] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:36] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:15:36] local.INFO: IMEI packet received {"connection_id":193577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":193577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:15:37] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:37] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:15:37] local.INFO: Packet analysis {"connection_id":193577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:15:37] local.INFO: Extracted packet for processing {"connection_id":193577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:15: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-09-23 20: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-09-23 20:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":193577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:15:37] local.INFO: GPS data processed {"connection_id":193577,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:15:37] local.INFO: Acknowledgment sent {"connection_id":193577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:15:56] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:56] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:15:56] local.INFO: IMEI packet received {"connection_id":192229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":192229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:16:01] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:16:01] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:16:01] local.INFO: IMEI packet received {"connection_id":192229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":192229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:16:02] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:02] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:02] local.INFO: Packet analysis {"connection_id":192229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:16:02] local.INFO: Extracted packet for processing {"connection_id":192229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:16: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-09-23 20: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-09-23 20:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:16:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":192229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:16:02] local.INFO: GPS data processed {"connection_id":192229,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:16:02] local.INFO: Acknowledgment sent {"connection_id":192229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:16:11] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:16:11] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb616b8012d34c58006aa47580011010524..."} 
[2026-09-23 20:16:11] local.INFO: Packet analysis {"connection_id":193577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:16:11] local.INFO: Extracted packet for processing {"connection_id":193577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb6"} 
[2026-09-23 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284578560001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790174435000,"timestamp_ms":1790174435000,"timestamp_seconds":1790174435,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb616b8"} 
[2026-09-23 20:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-23 20:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284578560001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284578560001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284578560001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":193577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:16:11] local.INFO: GPS data processed {"connection_id":193577,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:16:11] local.INFO: Acknowledgment sent {"connection_id":193577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:16:33] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:33] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:16:33] local.INFO: Packet analysis {"connection_id":192229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:16:33] local.INFO: Extracted packet for processing {"connection_id":192229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:16: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-09-23 20: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-09-23 20:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":192229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:16:33] local.INFO: GPS data processed {"connection_id":192229,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:16:33] local.INFO: Acknowledgment sent {"connection_id":192229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:16:36] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:36] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:36] local.INFO: IMEI packet received {"connection_id":193578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":193578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:16:41] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:41] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:16:41] local.INFO: IMEI packet received {"connection_id":193578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":193578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:16:43] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:43] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:43] local.INFO: Packet analysis {"connection_id":193578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:16:43] local.INFO: Extracted packet for processing {"connection_id":193578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:16:43] 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-09-23 20: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-09-23 20:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":193578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:16:43] local.INFO: GPS data processed {"connection_id":193578,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:16:43] local.INFO: Acknowledgment sent {"connection_id":193578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:16:48] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:48] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:16:48] local.INFO: Packet analysis {"connection_id":193578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:16:48] local.INFO: Extracted packet for processing {"connection_id":193578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:16:48] 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-09-23 20: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-09-23 20:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":193578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:16:48] local.INFO: GPS data processed {"connection_id":193578,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:16:48] local.INFO: Acknowledgment sent {"connection_id":193578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:17:01] local.INFO: TCP Data received {"connection_id":192230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:01] local.INFO: Processing buffer {"connection_id":192230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:01] local.INFO: IMEI packet received {"connection_id":192230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":192230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:17:06] local.INFO: TCP Data received {"connection_id":192230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:06] local.INFO: Processing buffer {"connection_id":192230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:06] local.INFO: IMEI packet received {"connection_id":192230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":192230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:17:07] local.INFO: TCP Data received {"connection_id":192230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:07] local.INFO: Processing buffer {"connection_id":192230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:07] local.INFO: Packet analysis {"connection_id":192230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:17:07] local.INFO: Extracted packet for processing {"connection_id":192230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":192230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:17:07] local.INFO: GPS data processed {"connection_id":192230,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:17:07] local.INFO: Acknowledgment sent {"connection_id":192230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:17:31] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:31] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:31] local.INFO: IMEI packet received {"connection_id":190885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":190885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:17:36] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:36] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:17:36] local.INFO: IMEI packet received {"connection_id":190885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":190885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:17:36] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:17:36] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:17:36] local.INFO: Packet analysis {"connection_id":190885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:17:36] local.INFO: Extracted packet for processing {"connection_id":190885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:17:36] 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-09-23 20: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-09-23 20:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":190885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:17:37] local.INFO: GPS data processed {"connection_id":190885,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:17:37] local.INFO: Acknowledgment sent {"connection_id":190885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:17:38] local.INFO: TCP Data received {"connection_id":192230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:38] local.INFO: Processing buffer {"connection_id":192230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:17:38] local.INFO: Packet analysis {"connection_id":192230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:17:38] local.INFO: Extracted packet for processing {"connection_id":192230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:17: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-09-23 20:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:17:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":192230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:17:38] local.INFO: GPS data processed {"connection_id":192230,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:17:38] local.INFO: Acknowledgment sent {"connection_id":192230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:17:56] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:56] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:17:56] local.INFO: IMEI packet received {"connection_id":190886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":190886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:18:01] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:01] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:01] local.INFO: IMEI packet received {"connection_id":190886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":190886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:18:02] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:02] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:02] local.INFO: Packet analysis {"connection_id":190886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:18:02] local.INFO: Extracted packet for processing {"connection_id":190886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:18: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-09-23 20: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-09-23 20:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":190886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:18:02] local.INFO: GPS data processed {"connection_id":190886,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:18:02] local.INFO: Acknowledgment sent {"connection_id":190886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:18:04] local.INFO: TCP Data received {"connection_id":193579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:18:04] local.INFO: Processing buffer {"connection_id":193579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:18:04] local.INFO: IMEI packet received {"connection_id":193579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":193579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:18:10] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:10] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:10] local.INFO: Packet analysis {"connection_id":190885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:18:10] local.INFO: Extracted packet for processing {"connection_id":190885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":190885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:18:10] local.INFO: GPS data processed {"connection_id":190885,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:18:10] local.INFO: Acknowledgment sent {"connection_id":190885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:18:30] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:30] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:30] local.INFO: IMEI packet received {"connection_id":193580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":193580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:18:33] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:33] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:18:33] local.INFO: Packet analysis {"connection_id":190886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:18:33] local.INFO: Extracted packet for processing {"connection_id":190886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:18: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-09-23 20:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":190886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:18:33] local.INFO: GPS data processed {"connection_id":190886,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:18:33] local.INFO: Acknowledgment sent {"connection_id":190886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:18:36] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:36] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:18:36] local.INFO: IMEI packet received {"connection_id":193580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":193580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:18:37] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:37] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:18:37] local.INFO: Packet analysis {"connection_id":193580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:18:37] local.INFO: Extracted packet for processing {"connection_id":193580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":193580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:18:37] local.INFO: GPS data processed {"connection_id":193580,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:18:37] local.INFO: Acknowledgment sent {"connection_id":193580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:18:56] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:56] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:18:56] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:19:01] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:01] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:01] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:19:01] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:19:01] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceb8d9c0012d196940071fef90003b015929..."} 
[2026-09-23 20:19:01] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:19:01] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceb8"} 
[2026-09-23 20:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284624640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174616000,"timestamp_ms":1790174616000,"timestamp_seconds":1790174616,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceb8d9c0"} 
[2026-09-23 20:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:19: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-09-23 20: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-09-23 20:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284624640001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284624640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284624640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:19:02] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:19:02] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:19:09] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:09] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:09] local.INFO: Packet analysis {"connection_id":193580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:19:09] local.INFO: Extracted packet for processing {"connection_id":193580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:19: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-09-23 20:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":193580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:19:09] local.INFO: GPS data processed {"connection_id":193580,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:19:09] local.INFO: Acknowledgment sent {"connection_id":193580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:19:30] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:30] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:30] local.INFO: IMEI packet received {"connection_id":190706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":190706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:19:32] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:19:32] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:19:32] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:19:32] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:19:32] 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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:19: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-09-23 20: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-09-23 20:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:19:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:19:32] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:19:32] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:19:36] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:36] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:19:36] local.INFO: IMEI packet received {"connection_id":190706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":190706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:19:37] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:37] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:19:37] local.INFO: Packet analysis {"connection_id":190706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:19:37] local.INFO: Extracted packet for processing {"connection_id":190706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":190706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:19:37] local.INFO: GPS data processed {"connection_id":190706,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:19:37] local.INFO: Acknowledgment sent {"connection_id":190706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:19:56] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:56] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:19:56] local.INFO: IMEI packet received {"connection_id":190887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":190887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:20:01] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:20:01] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:20:01] local.INFO: IMEI packet received {"connection_id":190887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":190887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:20:02] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:02] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:02] local.INFO: Packet analysis {"connection_id":190887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:20:02] local.INFO: Extracted packet for processing {"connection_id":190887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:20:02] 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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:20: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-09-23 20: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-09-23 20:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":190887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:20:02] local.INFO: GPS data processed {"connection_id":190887,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:20:02] local.INFO: Acknowledgment sent {"connection_id":190887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:20:08] local.INFO: TCP Data received {"connection_id":190706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:08] local.INFO: Processing buffer {"connection_id":190706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:08] local.INFO: Packet analysis {"connection_id":190706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:20:08] local.INFO: Extracted packet for processing {"connection_id":190706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:20: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-09-23 20: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:20:08] 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-09-23 20: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-09-23 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":190706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:20:08] local.INFO: GPS data processed {"connection_id":190706,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:20:08] local.INFO: Acknowledgment sent {"connection_id":190706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:20:33] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:33] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:20:33] local.INFO: Packet analysis {"connection_id":190887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:20:33] local.INFO: Extracted packet for processing {"connection_id":190887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:20:33] 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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:20: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-09-23 20: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-09-23 20:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:20:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":190887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:20:33] local.INFO: GPS data processed {"connection_id":190887,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:20:33] local.INFO: Acknowledgment sent {"connection_id":190887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:20:36] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:36] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:36] local.INFO: IMEI packet received {"connection_id":190888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":190888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:20:40] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:40] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:20:40] local.INFO: IMEI packet received {"connection_id":190888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":190888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:20:41] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:41] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:20:41] local.INFO: Packet analysis {"connection_id":190888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:20:41] local.INFO: Extracted packet for processing {"connection_id":190888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 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-09-23 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":190888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:20:41] local.INFO: GPS data processed {"connection_id":190888,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:20:41] local.INFO: Acknowledgment sent {"connection_id":190888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:21:01] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:01] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:01] local.INFO: IMEI packet received {"connection_id":190889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":190889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:21:06] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:06] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:06] local.INFO: IMEI packet received {"connection_id":190889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":190889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:21:07] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:07] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:07] local.INFO: Packet analysis {"connection_id":190889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:21:07] local.INFO: Extracted packet for processing {"connection_id":190889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:21:07] 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-09-23 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:21: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-09-23 20:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:21:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":190889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:21:07] local.INFO: GPS data processed {"connection_id":190889,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:21:07] local.INFO: Acknowledgment sent {"connection_id":190889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:21:11] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:11] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:21:11] local.INFO: Packet analysis {"connection_id":190889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:21:11] local.INFO: Extracted packet for processing {"connection_id":190889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:21:11] 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-09-23 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:21: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-09-23 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:21:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":190889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:21:11] local.INFO: GPS data processed {"connection_id":190889,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:21:11] local.INFO: Acknowledgment sent {"connection_id":190889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:21:12] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:21:12] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebaae80012d34c58006aa47580011010529..."} 
[2026-09-23 20:21:12] local.INFO: Packet analysis {"connection_id":190888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:21:12] local.INFO: Extracted packet for processing {"connection_id":190888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceba"} 
[2026-09-23 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284655360001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790174736000,"timestamp_ms":1790174736000,"timestamp_seconds":1790174736,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebaae80"} 
[2026-09-23 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:21:12] 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-09-23 20: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-09-23 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284655360001,"66":25843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284655360001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284655360001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":190888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:21:12] local.INFO: GPS data processed {"connection_id":190888,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:21:12] local.INFO: Acknowledgment sent {"connection_id":190888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:21:31] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:31] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:31] local.INFO: IMEI packet received {"connection_id":190891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":190891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:21:36] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:36] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:21:36] local.INFO: IMEI packet received {"connection_id":190891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":190891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:21:37] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:21:37] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:21:37] local.INFO: Packet analysis {"connection_id":190891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:21:37] local.INFO: Extracted packet for processing {"connection_id":190891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:21: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-09-23 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":190891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:21:37] local.INFO: GPS data processed {"connection_id":190891,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:21:37] local.INFO: Acknowledgment sent {"connection_id":190891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:21:56] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:56] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:21:56] local.INFO: IMEI packet received {"connection_id":192233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":192233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:22:01] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:01] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:01] local.INFO: IMEI packet received {"connection_id":192233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":192233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:22:02] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:02] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:02] local.INFO: Packet analysis {"connection_id":192233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:22:02] local.INFO: Extracted packet for processing {"connection_id":192233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:22:02] 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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:22: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-09-23 20: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-09-23 20:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":192233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:22:02] local.INFO: GPS data processed {"connection_id":192233,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:22:02] local.INFO: Acknowledgment sent {"connection_id":192233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:22:08] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:08] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:08] local.INFO: Packet analysis {"connection_id":190891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:22:08] local.INFO: Extracted packet for processing {"connection_id":190891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:22: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-09-23 20: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:22:08] 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-09-23 20: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-09-23 20:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:22:08] local.INFO: GPS data processed {"connection_id":190891,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:22:08] local.INFO: Acknowledgment sent {"connection_id":190891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:22:31] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:31] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:31] local.INFO: IMEI packet received {"connection_id":190707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":190707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:22:33] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:33] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:22:33] local.INFO: Packet analysis {"connection_id":192233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:22:33] local.INFO: Extracted packet for processing {"connection_id":192233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:22:33] 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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:22: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-09-23 20: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-09-23 20:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":192233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:22:33] local.INFO: GPS data processed {"connection_id":192233,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:22:33] local.INFO: Acknowledgment sent {"connection_id":192233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:22:36] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:36] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:22:36] local.INFO: IMEI packet received {"connection_id":190707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":190707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:22:37] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:37] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:22:37] local.INFO: Packet analysis {"connection_id":190707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:22:37] local.INFO: Extracted packet for processing {"connection_id":190707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:22: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-09-23 20: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-09-23 20:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":190707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:22:37] local.INFO: GPS data processed {"connection_id":190707,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:22:37] local.INFO: Acknowledgment sent {"connection_id":190707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:22:56] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:56] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:22:56] local.INFO: IMEI packet received {"connection_id":193583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":193583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:23:01] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:23:01] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:23:01] local.INFO: IMEI packet received {"connection_id":193583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":193583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:23:01] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:01] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:01] local.INFO: Packet analysis {"connection_id":193583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:23:01] local.INFO: Extracted packet for processing {"connection_id":193583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:23:01] 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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:23: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-09-23 20: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-09-23 20:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":193583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:23:01] local.INFO: GPS data processed {"connection_id":193583,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:23:01] local.INFO: Acknowledgment sent {"connection_id":193583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:23:08] local.INFO: TCP Data received {"connection_id":190707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:08] local.INFO: Processing buffer {"connection_id":190707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:08] local.INFO: Packet analysis {"connection_id":190707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:23:08] local.INFO: Extracted packet for processing {"connection_id":190707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:23: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-09-23 20: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:23:08] 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-09-23 20: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-09-23 20:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":190707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:23:08] local.INFO: GPS data processed {"connection_id":190707,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:23:08] local.INFO: Acknowledgment sent {"connection_id":190707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:23:30] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:30] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:30] local.INFO: IMEI packet received {"connection_id":192234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:23:33] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:33] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebd7188012d196940071fef90003b015926..."} 
[2026-09-23 20:23:33] local.INFO: Packet analysis {"connection_id":193583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:23:33] local.INFO: Extracted packet for processing {"connection_id":193583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebd"} 
[2026-09-23 20:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284701696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790174917000,"timestamp_ms":1790174917000,"timestamp_seconds":1790174917,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebd7188"} 
[2026-09-23 20:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:23:33] 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-09-23 20:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:23: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-09-23 20: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-09-23 20:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284701696001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284701696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:23:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284701696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":193583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:23:33] local.INFO: GPS data processed {"connection_id":193583,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:23:33] local.INFO: Acknowledgment sent {"connection_id":193583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:23:36] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:36] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:23:36] local.INFO: IMEI packet received {"connection_id":192234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":192234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:23:37] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:37] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:23:37] local.INFO: Packet analysis {"connection_id":192234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:23:37] local.INFO: Extracted packet for processing {"connection_id":192234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:23: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-09-23 20:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":192234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:23:37] local.INFO: GPS data processed {"connection_id":192234,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:23:37] local.INFO: Acknowledgment sent {"connection_id":192234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:24:09] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:09] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:09] local.INFO: Packet analysis {"connection_id":192234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:24:09] local.INFO: Extracted packet for processing {"connection_id":192234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:24:09] 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-09-23 20:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":192234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:24:09] local.INFO: GPS data processed {"connection_id":192234,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:24:09] local.INFO: Acknowledgment sent {"connection_id":192234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:24:26] local.INFO: TCP Data received {"connection_id":192235,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:26] local.INFO: Processing buffer {"connection_id":192235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:26] local.INFO: IMEI packet received {"connection_id":192235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":192235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:24:30] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:30] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:30] local.INFO: IMEI packet received {"connection_id":192236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:24:31] local.INFO: TCP Data received {"connection_id":192235,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:31] local.INFO: Processing buffer {"connection_id":192235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:24:31] local.INFO: IMEI packet received {"connection_id":192235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":192235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:24:31] local.INFO: TCP Data received {"connection_id":192235,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:24:31] local.INFO: Processing buffer {"connection_id":192235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:24:31] local.INFO: Packet analysis {"connection_id":192235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:24:31] local.INFO: Extracted packet for processing {"connection_id":192235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:24:31] 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-09-23 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:24:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:24:31] local.INFO: GPS data processed {"connection_id":192235,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:24:31] local.INFO: Acknowledgment sent {"connection_id":192235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:24:36] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:36] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:24:36] local.INFO: IMEI packet received {"connection_id":192236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":192236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:24:37] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:37] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:24:37] local.INFO: Packet analysis {"connection_id":192236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:24:37] local.INFO: Extracted packet for processing {"connection_id":192236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:24: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-09-23 20:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":192236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:24:37] local.INFO: GPS data processed {"connection_id":192236,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:24:37] local.INFO: Acknowledgment sent {"connection_id":192236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:01] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:01] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:01] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:25:06] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:06] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:06] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:25:07] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:07] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:07] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:25:07] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:25:07] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:25:07] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:25:07] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:09] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:09] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:09] local.INFO: Packet analysis {"connection_id":192236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:09] local.INFO: Extracted packet for processing {"connection_id":192236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:25:09] 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-09-23 20: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-09-23 20:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":192236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:25:09] local.INFO: GPS data processed {"connection_id":192236,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:25:09] local.INFO: Acknowledgment sent {"connection_id":192236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:36] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:36] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:36] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:25:38] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:38] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:25:38] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:25:38] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:25:38] 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-09-23 20:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:25:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:25:38] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:25:38] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:41] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:41] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:25:41] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:25:42] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:42] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:42] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:42] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:25: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-09-23 20: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-09-23 20:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:25:42] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:25:42] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:48] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:48] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cebf4648012d34c58006aa47580011010526..."} 
[2026-09-23 20:25:48] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:48] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cebf"} 
[2026-09-23 20:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":17,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284732416001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790175037000,"timestamp_ms":1790175037000,"timestamp_seconds":1790175037,"priority":1,"record_length":96,"hex_timestamp":"000001a0cebf4648"} 
[2026-09-23 20:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-23 20:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284732416001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284732416001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284732416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:25:48] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:25:48] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:25:56] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:56] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:25:56] local.INFO: IMEI packet received {"connection_id":192239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":192239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:26:01] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:01] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:01] local.INFO: IMEI packet received {"connection_id":192239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":192239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:26:02] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:02] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:02] local.INFO: Packet analysis {"connection_id":192239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:26:02] local.INFO: Extracted packet for processing {"connection_id":192239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:26:02] 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-09-23 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":192239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:26:02] local.INFO: GPS data processed {"connection_id":192239,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:26:02] local.INFO: Acknowledgment sent {"connection_id":192239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:26:31] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:31] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:31] local.INFO: IMEI packet received {"connection_id":190892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":190892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:26:33] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:33] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:26:33] local.INFO: Packet analysis {"connection_id":192239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:26:33] local.INFO: Extracted packet for processing {"connection_id":192239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:26:33] 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-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:26: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-09-23 20: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-09-23 20:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":192239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:26:33] local.INFO: GPS data processed {"connection_id":192239,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:26:33] local.INFO: Acknowledgment sent {"connection_id":192239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:26:36] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:36] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:26:36] local.INFO: IMEI packet received {"connection_id":190892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":190892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:26:38] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:26:38] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:26:38] local.INFO: Packet analysis {"connection_id":190892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:26:38] local.INFO: Extracted packet for processing {"connection_id":190892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:26: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-09-23 20:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":190892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:26:38] local.INFO: GPS data processed {"connection_id":190892,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:26:38] local.INFO: Acknowledgment sent {"connection_id":190892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:26:56] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:56] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:26:56] local.INFO: IMEI packet received {"connection_id":190709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":190709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:27:01] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:01] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:01] local.INFO: IMEI packet received {"connection_id":190709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":190709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:27:01] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:01] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:01] local.INFO: Packet analysis {"connection_id":190709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:27:01] local.INFO: Extracted packet for processing {"connection_id":190709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:27:01] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:27: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-09-23 20:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":190709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:27:01] local.INFO: GPS data processed {"connection_id":190709,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:27:01] local.INFO: Acknowledgment sent {"connection_id":190709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:27:10] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:10] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:10] local.INFO: Packet analysis {"connection_id":190892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:27:10] local.INFO: Extracted packet for processing {"connection_id":190892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:27: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-09-23 20:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":190892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:27:10] local.INFO: GPS data processed {"connection_id":190892,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:27:10] local.INFO: Acknowledgment sent {"connection_id":190892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:27:30] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:30] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:30] local.INFO: IMEI packet received {"connection_id":193584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:27:33] local.INFO: TCP Data received {"connection_id":190709,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:33] local.INFO: Processing buffer {"connection_id":190709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:27:33] local.INFO: Packet analysis {"connection_id":190709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:27:33] local.INFO: Extracted packet for processing {"connection_id":190709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:27:33] 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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:27:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":190709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:27:33] local.INFO: GPS data processed {"connection_id":190709,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:27:33] local.INFO: Acknowledgment sent {"connection_id":190709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:27:36] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:36] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:27:36] local.INFO: IMEI packet received {"connection_id":193584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":193584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:27:37] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:37] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:27:37] local.INFO: Packet analysis {"connection_id":193584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:27:37] local.INFO: Extracted packet for processing {"connection_id":193584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:27: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-09-23 20: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-09-23 20:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":193584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:27:37] local.INFO: GPS data processed {"connection_id":193584,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:27:37] local.INFO: Acknowledgment sent {"connection_id":193584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:27:56] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:56] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:27:56] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:28:01] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:01] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:01] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:28:02] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:02] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:02] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:28:02] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:28:02] 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-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:28: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-09-23 20: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-09-23 20:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:28:02] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:28:02] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:28:09] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:09] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:09] local.INFO: Packet analysis {"connection_id":193584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:28:09] local.INFO: Extracted packet for processing {"connection_id":193584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:28: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-09-23 20: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-09-23 20:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":193584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:28:09] local.INFO: GPS data processed {"connection_id":193584,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:28:09] local.INFO: Acknowledgment sent {"connection_id":193584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:28:33] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:33] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:28:33] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:28:33] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:28:33] 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-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:28: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-09-23 20: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-09-23 20:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:28:33] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:28:33] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:28:36] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:36] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:36] local.INFO: IMEI packet received {"connection_id":190893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":190893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:28:41] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:41] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:28:41] local.INFO: IMEI packet received {"connection_id":190893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":190893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:28:41] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:41] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:28:41] local.INFO: Packet analysis {"connection_id":190893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:28:41] local.INFO: Extracted packet for processing {"connection_id":190893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 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-09-23 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:28: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-09-23 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-09-23 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-09-23 20:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":190893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:28:41] local.INFO: GPS data processed {"connection_id":190893,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:28:41] local.INFO: Acknowledgment sent {"connection_id":190893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:28:56] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:56] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:28:56] local.INFO: IMEI packet received {"connection_id":190894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":190894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:29:01] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:01] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:01] local.INFO: IMEI packet received {"connection_id":190894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":190894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:29:01] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:29:01] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec20950012d196940071fef90003b015922..."} 
[2026-09-23 20:29:01] local.INFO: Packet analysis {"connection_id":190894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:29:01] local.INFO: Extracted packet for processing {"connection_id":190894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec2"} 
[2026-09-23 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284778752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175218000,"timestamp_ms":1790175218000,"timestamp_seconds":1790175218,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec20950"} 
[2026-09-23 20:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:29:01] 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-09-23 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:29: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-09-23 20:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284778752001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284778752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284778752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":190894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:29:01] local.INFO: GPS data processed {"connection_id":190894,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:29:01] local.INFO: Acknowledgment sent {"connection_id":190894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:29:15] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:15] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:15] local.INFO: Packet analysis {"connection_id":190893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:29:15] local.INFO: Extracted packet for processing {"connection_id":190893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:29: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-09-23 20: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-09-23 20:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":190893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:29:15] local.INFO: GPS data processed {"connection_id":190893,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:29:15] local.INFO: Acknowledgment sent {"connection_id":190893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:29:30] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:30] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:30] local.INFO: IMEI packet received {"connection_id":190895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":190895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:29:32] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:29:32] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:29:32] local.INFO: Packet analysis {"connection_id":190894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:29:32] local.INFO: Extracted packet for processing {"connection_id":190894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:29:32] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:29: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-09-23 20: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-09-23 20:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:29:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":190894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:29:32] local.INFO: GPS data processed {"connection_id":190894,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:29:32] local.INFO: Acknowledgment sent {"connection_id":190894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:29:36] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:36] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:29:36] local.INFO: IMEI packet received {"connection_id":190895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":190895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:29:37] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:37] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:29:37] local.INFO: Packet analysis {"connection_id":190895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:29:37] local.INFO: Extracted packet for processing {"connection_id":190895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:29: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-09-23 20:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":190895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:29:37] local.INFO: GPS data processed {"connection_id":190895,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:29:37] local.INFO: Acknowledgment sent {"connection_id":190895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:29:56] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:56] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:29:56] local.INFO: IMEI packet received {"connection_id":193585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":193585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:30:01] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:01] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:01] local.INFO: IMEI packet received {"connection_id":193585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":193585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:30:02] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:02] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:02] local.INFO: Packet analysis {"connection_id":193585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:30:02] local.INFO: Extracted packet for processing {"connection_id":193585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:30:02] 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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:30:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":193585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:30:02] local.INFO: GPS data processed {"connection_id":193585,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:30:02] local.INFO: Acknowledgment sent {"connection_id":193585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:30:09] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:09] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:09] local.INFO: Packet analysis {"connection_id":190895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:30:09] local.INFO: Extracted packet for processing {"connection_id":190895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:30: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-09-23 20:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":190895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:30:09] local.INFO: GPS data processed {"connection_id":190895,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:30:09] local.INFO: Acknowledgment sent {"connection_id":190895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:30:30] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:30] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:30] local.INFO: IMEI packet received {"connection_id":190896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":190896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:30:33] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:33] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:30:33] local.INFO: Packet analysis {"connection_id":193585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:30:33] local.INFO: Extracted packet for processing {"connection_id":193585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:30:33] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:30: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-09-23 20: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-09-23 20:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":193585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:30:33] local.INFO: GPS data processed {"connection_id":193585,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:30:33] local.INFO: Acknowledgment sent {"connection_id":193585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:30:36] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:36] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:30:36] local.INFO: IMEI packet received {"connection_id":190896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":190896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:30:37] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:37] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:30:37] local.INFO: Packet analysis {"connection_id":190896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:30:37] local.INFO: Extracted packet for processing {"connection_id":190896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:30: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-09-23 20:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:30:37] local.INFO: GPS data processed {"connection_id":190896,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:30:37] local.INFO: Acknowledgment sent {"connection_id":190896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:30:56] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:56] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:30:56] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:31:01] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:01] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:01] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:31:01] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:01] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:01] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:31:01] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:31: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-09-23 20:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:31:01] 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-09-23 20:31: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-09-23 20:31: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-09-23 20:31: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-09-23 20:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:31:01] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:31:01] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:31:08] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:31:08] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec3de10012d34c58006aa4758000e010527..."} 
[2026-09-23 20:31:08] local.INFO: Packet analysis {"connection_id":190896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:31:08] local.INFO: Extracted packet for processing {"connection_id":190896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec3"} 
[2026-09-23 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284809472001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790175338000,"timestamp_ms":1790175338000,"timestamp_seconds":1790175338,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec3de10"} 
[2026-09-23 20:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:31: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-09-23 20: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-09-23 20:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284809472001,"66":25832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284809472001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284809472001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":190896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:31:08] local.INFO: GPS data processed {"connection_id":190896,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:31:08] local.INFO: Acknowledgment sent {"connection_id":190896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:31:30] local.INFO: TCP Data received {"connection_id":193586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:30] local.INFO: Processing buffer {"connection_id":193586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:30] local.INFO: IMEI packet received {"connection_id":193586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":193586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:31:33] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:33] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:31:33] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:31:33] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:31:33] 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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:31:33] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:31:33] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:31:35] local.INFO: TCP Data received {"connection_id":193586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:35] local.INFO: Processing buffer {"connection_id":193586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:31:35] local.INFO: IMEI packet received {"connection_id":193586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":193586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:31:37] local.INFO: TCP Data received {"connection_id":193586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:31:37] local.INFO: Processing buffer {"connection_id":193586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:31:37] local.INFO: Packet analysis {"connection_id":193586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:31:37] local.INFO: Extracted packet for processing {"connection_id":193586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":193586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:31:37] local.INFO: GPS data processed {"connection_id":193586,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:31:37] local.INFO: Acknowledgment sent {"connection_id":193586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:31:56] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:56] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:31:56] local.INFO: IMEI packet received {"connection_id":190710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":190710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:32:01] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:01] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:01] local.INFO: IMEI packet received {"connection_id":190710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":190710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:32:02] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:02] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:02] local.INFO: Packet analysis {"connection_id":190710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:32:02] local.INFO: Extracted packet for processing {"connection_id":190710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32:02] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:32: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-09-23 20: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-09-23 20:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":190710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:02] local.INFO: GPS data processed {"connection_id":190710,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:02] local.INFO: Acknowledgment sent {"connection_id":190710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:08] local.INFO: TCP Data received {"connection_id":193586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:08] local.INFO: Processing buffer {"connection_id":193586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:08] local.INFO: Packet analysis {"connection_id":193586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:08] local.INFO: Extracted packet for processing {"connection_id":193586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 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-09-23 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:32:08] 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-09-23 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-09-23 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-09-23 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":193586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:08] local.INFO: GPS data processed {"connection_id":193586,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:08] local.INFO: Acknowledgment sent {"connection_id":193586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:19] local.INFO: TCP Data received {"connection_id":190711,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:19] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:19] local.INFO: IMEI packet received {"connection_id":190711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":190711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:32:20] local.INFO: TCP Data received {"connection_id":190711,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:20] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:32:20] local.INFO: IMEI packet received {"connection_id":190711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":190711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:32:21] local.INFO: TCP Data received {"connection_id":190711,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec85698012ca6798009409c0002b000782c..."} 
[2026-09-23 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec85698012ca6798009409c0002b000782c..."} 
[2026-09-23 20:32:21] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec85698012ca6798009409c0002b000782c..."} 
[2026-09-23 20:32:21] local.INFO: Packet analysis {"connection_id":190711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:21] local.INFO: Extracted packet for processing {"connection_id":190711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749107584,"raw_latitude":155229184,"longitude_deg":74.9107584,"latitude_deg":15.5229184,"altitude":688,"angle":120,"satellites":44,"speed":50,"hex_longitude":"2ca67980","hex_latitude":"09409c00","is_valid_coordinates":true} 
[2026-09-23 20:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284958720001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6470124512417054718,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790175631000,"timestamp_ms":1790175631000,"timestamp_seconds":1790175631,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec85698"} 
[2026-09-23 20:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32: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-09-23 20:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:32:21] 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-09-23 20:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284958720001,"66":27919,"69":206,"9":54784,"24":50,"16":3605341577150464,"44":-6470124512417054718},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-23 20:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284958720001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:21] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-23 20:32:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6470124512417054718,"description":"Unknown IO ID 44"} 
[2026-09-23 20:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284958720001,"power":27919,"unknown_69":206,"unknown_9":54784,"ignition":50,"odometer":null,"unknown_44":-6470124512417054718}} 
[2026-09-23 20:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":190711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:21] local.INFO: GPS data processed {"connection_id":190711,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:21] local.INFO: Acknowledgment sent {"connection_id":190711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:25] local.INFO: TCP Data received {"connection_id":190711,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec8a8a0012ca6bf800940735002b400792d..."} 
[2026-09-23 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec8a8a0012ca6bf800940735002b400792d..."} 
[2026-09-23 20:32:25] local.INFO: Processing buffer {"connection_id":190711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec8a8a0012ca6bf800940735002b400792d..."} 
[2026-09-23 20:32:25] local.INFO: Packet analysis {"connection_id":190711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:25] local.INFO: Extracted packet for processing {"connection_id":190711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":749125504,"raw_latitude":155218768,"longitude_deg":74.9125504,"latitude_deg":15.5218768,"altitude":692,"angle":121,"satellites":45,"speed":0,"hex_longitude":"2ca6bf80","hex_latitude":"09407350","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284961536001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6450984214004498430,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790175652000,"timestamp_ms":1790175652000,"timestamp_seconds":1790175652,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec8a8a0"} 
[2026-09-23 20:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-23 20:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":190711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":190711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":190711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284961536001,"66":28104,"69":206,"9":54784,"24":0,"16":3605341577150464,"44":-6450984214004498430},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-23 20:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284961536001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:25] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-23 20:32:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6450984214004498430,"description":"Unknown IO ID 44"} 
[2026-09-23 20:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284961536001,"power":28104,"unknown_69":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6450984214004498430}} 
[2026-09-23 20:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":190711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:25] local.INFO: GPS data processed {"connection_id":190711,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:25] local.INFO: Acknowledgment sent {"connection_id":190711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:32] local.INFO: TCP Data received {"connection_id":193587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:32] local.INFO: Processing buffer {"connection_id":193587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:32] local.INFO: IMEI packet received {"connection_id":193587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":193587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:32:33] local.INFO: TCP Data received {"connection_id":190710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:33] local.INFO: Processing buffer {"connection_id":190710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:32:33] local.INFO: Packet analysis {"connection_id":190710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:32:33] local.INFO: Extracted packet for processing {"connection_id":190710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:32: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-09-23 20:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32:33] 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-09-23 20:32: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-09-23 20:32: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-09-23 20:32: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-09-23 20:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":190710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:33] local.INFO: GPS data processed {"connection_id":190710,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:33] local.INFO: Acknowledgment sent {"connection_id":190710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:36] local.INFO: TCP Data received {"connection_id":193587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:36] local.INFO: Processing buffer {"connection_id":193587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:32:36] local.INFO: IMEI packet received {"connection_id":193587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":193587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:32:37] local.INFO: TCP Data received {"connection_id":193587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:37] local.INFO: Processing buffer {"connection_id":193587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:37] local.INFO: Packet analysis {"connection_id":193587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:37] local.INFO: Extracted packet for processing {"connection_id":193587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":193587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:37] local.INFO: GPS data processed {"connection_id":193587,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:37] local.INFO: Acknowledgment sent {"connection_id":193587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:42] local.INFO: TCP Data received {"connection_id":193587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:42] local.INFO: Processing buffer {"connection_id":193587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:32:42] local.INFO: Packet analysis {"connection_id":193587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:42] local.INFO: Extracted packet for processing {"connection_id":193587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:32:42] 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-09-23 20: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-09-23 20:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":193587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:32:42] local.INFO: GPS data processed {"connection_id":193587,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:32:42] local.INFO: Acknowledgment sent {"connection_id":193587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:32:56] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:56] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:32:56] local.INFO: IMEI packet received {"connection_id":190712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":190712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:33:01] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:01] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:01] local.INFO: IMEI packet received {"connection_id":190712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":190712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:33:01] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:01] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:01] local.INFO: Packet analysis {"connection_id":190712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:33:01] local.INFO: Extracted packet for processing {"connection_id":190712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:01] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:33: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-09-23 20: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-09-23 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":190712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:01] local.INFO: GPS data processed {"connection_id":190712,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:01] local.INFO: Acknowledgment sent {"connection_id":190712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:09] local.INFO: TCP Data received {"connection_id":193588,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:09] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:09] local.INFO: IMEI packet received {"connection_id":193588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":193588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:33:11] local.INFO: TCP Data received {"connection_id":193588,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:11] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:33:11] local.INFO: IMEI packet received {"connection_id":193588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":193588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:33:12] local.INFO: TCP Data received {"connection_id":193588,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec98b300100000000000000000000000000..."} 
[2026-09-23 20:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec98b300100000000000000000000000000..."} 
[2026-09-23 20:33:12] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec98b300100000000000000000000000000..."} 
[2026-09-23 20:33:12] local.INFO: Packet analysis {"connection_id":193588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33:12] local.INFO: Extracted packet for processing {"connection_id":193588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33: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-09-23 20: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-09-23 20:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284966912001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6431280965637419006,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790175710000,"timestamp_ms":1790175710000,"timestamp_seconds":1790175710,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec98b30"} 
[2026-09-23 20:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":193588,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:33:12] local.INFO: GPS data processed {"connection_id":193588,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:33:12] local.INFO: Acknowledgment sent {"connection_id":193588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:14] local.INFO: TCP Data received {"connection_id":193587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:14] local.INFO: Processing buffer {"connection_id":193587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:14] local.INFO: Packet analysis {"connection_id":193587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:33:14] local.INFO: Extracted packet for processing {"connection_id":193587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:33:14] 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-09-23 20:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":193587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:14] local.INFO: GPS data processed {"connection_id":193587,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:14] local.INFO: Acknowledgment sent {"connection_id":193587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:14] local.INFO: TCP Data received {"connection_id":193588,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec919e8012ca75d80094022a002b2006d2c..."} 
[2026-09-23 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec919e8012ca75d80094022a002b2006d2c..."} 
[2026-09-23 20:33:14] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec919e8012ca75d80094022a002b2006d2c..."} 
[2026-09-23 20:33:14] local.INFO: Packet analysis {"connection_id":193588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33:14] local.INFO: Extracted packet for processing {"connection_id":193588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":749165952,"raw_latitude":155198112,"longitude_deg":74.9165952,"latitude_deg":15.5198112,"altitude":690,"angle":109,"satellites":44,"speed":53,"hex_longitude":"2ca75d80","hex_latitude":"094022a0","is_valid_coordinates":true} 
[2026-09-23 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790175681000,"timestamp_ms":1790175681000,"timestamp_seconds":1790175681,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec919e8"} 
[2026-09-23 20:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 20:33: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-09-23 20:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"69":206,"9":54784,"24":53,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16]} 
[2026-09-23 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-23 20:33:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_69":206,"unknown_9":54784,"ignition":53,"odometer":null}} 
[2026-09-23 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":193588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:14] local.INFO: GPS data processed {"connection_id":193588,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:14] local.INFO: Acknowledgment sent {"connection_id":193588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:31] local.INFO: TCP Data received {"connection_id":190713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:31] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:31] local.INFO: IMEI packet received {"connection_id":190713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:33:32] local.INFO: TCP Data received {"connection_id":190712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:32] local.INFO: Processing buffer {"connection_id":190712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:33:32] local.INFO: Packet analysis {"connection_id":190712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:33:32] local.INFO: Extracted packet for processing {"connection_id":190712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:32] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:33: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-09-23 20: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-09-23 20:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":190712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:32] local.INFO: GPS data processed {"connection_id":190712,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:32] local.INFO: Acknowledgment sent {"connection_id":190712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:36] local.INFO: TCP Data received {"connection_id":190713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:36] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:33:36] local.INFO: IMEI packet received {"connection_id":190713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:33:38] local.INFO: TCP Data received {"connection_id":190713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:38] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:33:38] local.INFO: Packet analysis {"connection_id":190713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:33:38] local.INFO: Extracted packet for processing {"connection_id":190713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:33: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-09-23 20: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-09-23 20:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":190713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:38] local.INFO: GPS data processed {"connection_id":190713,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:38] local.INFO: Acknowledgment sent {"connection_id":190713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:46] local.INFO: TCP Data received {"connection_id":193588,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec96bf0012ca7b2c00940059002b6006d2d..."} 
[2026-09-23 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec96bf0012ca7b2c00940059002b6006d2d..."} 
[2026-09-23 20:33:46] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec96bf0012ca7b2c00940059002b6006d2d..."} 
[2026-09-23 20:33:46] local.INFO: Packet analysis {"connection_id":193588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33:46] local.INFO: Extracted packet for processing {"connection_id":193588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":749187776,"raw_latitude":155190672,"longitude_deg":74.9187776,"latitude_deg":15.5190672,"altitude":694,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2ca7b2c0","hex_latitude":"09400590","is_valid_coordinates":true} 
[2026-09-23 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284974336001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6386807919322423294,"note":"Value kept but may cause issues"} 
[2026-09-23 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790175702000,"timestamp_ms":1790175702000,"timestamp_seconds":1790175702,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec96bf0"} 
[2026-09-23 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 20:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284974336001,"66":27843,"69":206,"9":54784,"24":0,"16":3605341577150464,"44":-6386807919322423294},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-23 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284974336001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:33:46] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-23 20:33:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6386807919322423294,"description":"Unknown IO ID 44"} 
[2026-09-23 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284974336001,"power":27843,"unknown_69":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6386807919322423294}} 
[2026-09-23 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":193588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:33:46] local.INFO: GPS data processed {"connection_id":193588,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:33:46] local.INFO: Acknowledgment sent {"connection_id":193588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:33:56] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:56] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:33:56] local.INFO: IMEI packet received {"connection_id":190897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":190897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:34:01] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:01] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:01] local.INFO: IMEI packet received {"connection_id":190897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":190897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:34:02] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:34:02] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec6a118012d196940071fef90003b015926..."} 
[2026-09-23 20:34:02] local.INFO: Packet analysis {"connection_id":190897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:34:02] local.INFO: Extracted packet for processing {"connection_id":190897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec6"} 
[2026-09-23 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":59,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284855808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175519000,"timestamp_ms":1790175519000,"timestamp_seconds":1790175519,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec6a118"} 
[2026-09-23 20:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:34:02] 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-09-23 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:34: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-09-23 20:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284855808001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284855808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284855808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":190897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:34:02] local.INFO: GPS data processed {"connection_id":190897,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:34:02] local.INFO: Acknowledgment sent {"connection_id":190897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:34:09] local.INFO: TCP Data received {"connection_id":190713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:09] local.INFO: Processing buffer {"connection_id":190713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:09] local.INFO: Packet analysis {"connection_id":190713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:34:09] local.INFO: Extracted packet for processing {"connection_id":190713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:34: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-09-23 20:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:34:09] local.INFO: GPS data processed {"connection_id":190713,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:34:09] local.INFO: Acknowledgment sent {"connection_id":190713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:34:18] local.INFO: TCP Data received {"connection_id":192242,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:18] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:18] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:34:19] local.INFO: TCP Data received {"connection_id":192242,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:19] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:19] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:34:24] local.INFO: TCP Data received {"connection_id":192242,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:24] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:34:24] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:34:30] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:30] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:30] local.INFO: IMEI packet received {"connection_id":192243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:34:33] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:34:33] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:34:33] local.INFO: Packet analysis {"connection_id":190897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:34:33] local.INFO: Extracted packet for processing {"connection_id":190897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:34: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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":190897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:34:33] local.INFO: GPS data processed {"connection_id":190897,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:34:33] local.INFO: Acknowledgment sent {"connection_id":190897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:34:36] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:36] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:34:36] local.INFO: IMEI packet received {"connection_id":192243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":192243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:34:37] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:37] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:34:37] local.INFO: Packet analysis {"connection_id":192243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:34:37] local.INFO: Extracted packet for processing {"connection_id":192243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 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-09-23 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":192243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:34:37] local.INFO: GPS data processed {"connection_id":192243,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:34:37] local.INFO: Acknowledgment sent {"connection_id":192243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:34:56] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:56] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:34:56] local.INFO: IMEI packet received {"connection_id":190898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":190898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:34:56] local.INFO: TCP Data received {"connection_id":192242,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceca4e800100000000000000000000000000..."} 
[2026-09-23 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceca4e800100000000000000000000000000..."} 
[2026-09-23 20:34:56] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceca4e800100000000000000000000000000..."} 
[2026-09-23 20:34:56] local.INFO: Packet analysis {"connection_id":192242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceca"} 
[2026-09-23 20:34:56] local.INFO: Extracted packet for processing {"connection_id":192242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceca"} 
[2026-09-23 20:34:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 20:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284979712001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6362812177559744510,"note":"Value kept but may cause issues"} 
[2026-09-23 20:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790175760000,"timestamp_ms":1790175760000,"timestamp_seconds":1790175760,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceca4e80"} 
[2026-09-23 20:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 20:34:56] 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-09-23 20:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":192242,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:34:56] local.INFO: GPS data processed {"connection_id":192242,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:34:56] local.INFO: Acknowledgment sent {"connection_id":192242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:01] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:01] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:01] local.INFO: IMEI packet received {"connection_id":190898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":190898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:35:01] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:01] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:01] local.INFO: Packet analysis {"connection_id":190898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:35:01] local.INFO: Extracted packet for processing {"connection_id":190898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:35: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-09-23 20:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:35:01] 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-09-23 20:35: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-09-23 20:35: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-09-23 20:35: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-09-23 20:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:35:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":190898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:35:01] local.INFO: GPS data processed {"connection_id":190898,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:35:01] local.INFO: Acknowledgment sent {"connection_id":190898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:09] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:09] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:09] local.INFO: Packet analysis {"connection_id":192243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:35:09] local.INFO: Extracted packet for processing {"connection_id":192243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 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-09-23 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:35: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-09-23 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-09-23 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-09-23 20:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":192243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:35:09] local.INFO: GPS data processed {"connection_id":192243,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:35:09] local.INFO: Acknowledgment sent {"connection_id":192243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:14] local.INFO: TCP Data received {"connection_id":192244,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:14] local.INFO: Processing buffer {"connection_id":192244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:14] local.INFO: IMEI packet received {"connection_id":192244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":192244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:35:27] local.INFO: TCP Data received {"connection_id":192244,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:27] local.INFO: Processing buffer {"connection_id":192244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:35:27] local.INFO: IMEI packet received {"connection_id":192244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":192244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:35:30] local.INFO: TCP Data received {"connection_id":190714,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:30] local.INFO: Processing buffer {"connection_id":190714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:30] local.INFO: IMEI packet received {"connection_id":190714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":190714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:35:30] local.INFO: TCP Data received {"connection_id":192244,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec9e120012ca855c0093fce0002be006e2d..."} 
[2026-09-23 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec9e120012ca855c0093fce0002be006e2d..."} 
[2026-09-23 20:35:30] local.INFO: Processing buffer {"connection_id":192244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec9e120012ca855c0093fce0002be006e2d..."} 
[2026-09-23 20:35:30] local.INFO: Packet analysis {"connection_id":192244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:35:30] local.INFO: Extracted packet for processing {"connection_id":192244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec9"} 
[2026-09-23 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749229504,"raw_latitude":155176448,"longitude_deg":74.9229504,"latitude_deg":15.5176448,"altitude":702,"angle":110,"satellites":45,"speed":48,"hex_longitude":"2ca855c0","hex_latitude":"093fce00","is_valid_coordinates":true} 
[2026-09-23 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,68,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790175732000,"timestamp_ms":1790175732000,"timestamp_seconds":1790175732,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec9e120"} 
[2026-09-23 20:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:35:30] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-23 20:35:30] 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-09-23 20:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"68":206,"9":54784,"24":48,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,9,24,16]} 
[2026-09-23 20:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:35:30] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-23 20:35:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:35:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_68":206,"unknown_9":54784,"ignition":48,"odometer":null}} 
[2026-09-23 20:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":192244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:35:31] local.INFO: GPS data processed {"connection_id":192244,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:35:31] local.INFO: Acknowledgment sent {"connection_id":192244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:32] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:32] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:35:32] local.INFO: Packet analysis {"connection_id":190898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:35:32] local.INFO: Extracted packet for processing {"connection_id":190898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:35:32] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:35: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-09-23 20: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-09-23 20:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:35:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":190898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:35:32] local.INFO: GPS data processed {"connection_id":190898,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:35:32] local.INFO: Acknowledgment sent {"connection_id":190898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:36] local.INFO: TCP Data received {"connection_id":190714,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:36] local.INFO: Processing buffer {"connection_id":190714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:35:36] local.INFO: IMEI packet received {"connection_id":190714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":190714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:35:37] local.INFO: TCP Data received {"connection_id":190714,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:37] local.INFO: Processing buffer {"connection_id":190714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:35:37] local.INFO: Packet analysis {"connection_id":190714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:35:37] local.INFO: Extracted packet for processing {"connection_id":190714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":190714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:35:37] local.INFO: GPS data processed {"connection_id":190714,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:35:37] local.INFO: Acknowledgment sent {"connection_id":190714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:35:56] local.INFO: TCP Data received {"connection_id":193589,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:56] local.INFO: Processing buffer {"connection_id":193589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:35:56] local.INFO: IMEI packet received {"connection_id":193589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":193589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:36:01] local.INFO: TCP Data received {"connection_id":193589,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:01] local.INFO: Processing buffer {"connection_id":193589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:01] local.INFO: IMEI packet received {"connection_id":193589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":193589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:36:02] local.INFO: TCP Data received {"connection_id":193589,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:02] local.INFO: Processing buffer {"connection_id":193589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:02] local.INFO: Packet analysis {"connection_id":193589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:36:02] local.INFO: Extracted packet for processing {"connection_id":193589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:36: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:36: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-09-23 20: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-09-23 20:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:36:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:36:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":193589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:36:02] local.INFO: GPS data processed {"connection_id":193589,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:36:02] local.INFO: Acknowledgment sent {"connection_id":193589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:36:09] local.INFO: TCP Data received {"connection_id":190714,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:36:09] local.INFO: Processing buffer {"connection_id":190714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cec875d8012d34c58006aa47580012010523..."} 
[2026-09-23 20:36:09] local.INFO: Packet analysis {"connection_id":190714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:36:09] local.INFO: Extracted packet for processing {"connection_id":190714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cec8"} 
[2026-09-23 20:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284886528001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175639000,"timestamp_ms":1790175639000,"timestamp_seconds":1790175639,"priority":1,"record_length":96,"hex_timestamp":"000001a0cec875d8"} 
[2026-09-23 20:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-23 20:36: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-09-23 20: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-09-23 20:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284886528001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284886528001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284886528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":190714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:36:09] local.INFO: GPS data processed {"connection_id":190714,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:36:09] local.INFO: Acknowledgment sent {"connection_id":190714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:36:24] local.INFO: TCP Data received {"connection_id":192245,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:24] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:24] local.INFO: IMEI packet received {"connection_id":192245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:36:29] local.INFO: TCP Data received {"connection_id":192245,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:29] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:29] local.INFO: IMEI packet received {"connection_id":192245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":192245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:36:30] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:30] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:30] local.INFO: IMEI packet received {"connection_id":193590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":193590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:36:33] local.INFO: TCP Data received {"connection_id":193589,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:33] local.INFO: Processing buffer {"connection_id":193589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:36:33] local.INFO: Packet analysis {"connection_id":193589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:36:33] local.INFO: Extracted packet for processing {"connection_id":193589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:36: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-09-23 20:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":193589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:36:33] local.INFO: GPS data processed {"connection_id":193589,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:36:33] local.INFO: Acknowledgment sent {"connection_id":193589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:36:34] local.INFO: TCP Data received {"connection_id":192245,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:34] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:36:34] local.INFO: IMEI packet received {"connection_id":192245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":192245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:36:36] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:36] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:36:36] local.INFO: IMEI packet received {"connection_id":193590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":193590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:36:36] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:36:36] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:36:36] local.INFO: Packet analysis {"connection_id":193590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:36:36] local.INFO: Extracted packet for processing {"connection_id":193590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:36:36] 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-09-23 20: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-09-23 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":193590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:36:36] local.INFO: GPS data processed {"connection_id":193590,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:36:36] local.INFO: Acknowledgment sent {"connection_id":193590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:36:45] local.INFO: TCP Data received {"connection_id":192245,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceca3328012ca89d80093fb70002c500682d..."} 
[2026-09-23 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceca3328012ca89d80093fb70002c500682d..."} 
[2026-09-23 20:36:45] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceca3328012ca89d80093fb70002c500682d..."} 
[2026-09-23 20:36:45] local.INFO: Packet analysis {"connection_id":192245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceca"} 
[2026-09-23 20:36:45] local.INFO: Extracted packet for processing {"connection_id":192245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceca"} 
[2026-09-23 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":749247872,"raw_latitude":155170560,"longitude_deg":74.9247872,"latitude_deg":15.517056,"altitude":709,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2ca89d80","hex_latitude":"093fb700","is_valid_coordinates":true} 
[2026-09-23 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284987392001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6316931756359548926,"note":"Value kept but may cause issues"} 
[2026-09-23 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790175753000,"timestamp_ms":1790175753000,"timestamp_seconds":1790175753,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceca3328"} 
[2026-09-23 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:36:45] 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-09-23 20:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284987392001,"66":28104,"68":206,"9":54784,"24":0,"16":3605341577150464,"44":-6316931756359548926},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,9,24,16,44]} 
[2026-09-23 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284987392001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:36:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-23 20:36:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6316931756359548926,"description":"Unknown IO ID 44"} 
[2026-09-23 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284987392001,"power":28104,"unknown_68":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6316931756359548926}} 
[2026-09-23 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":192245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:36:45] local.INFO: GPS data processed {"connection_id":192245,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:36:45] local.INFO: Acknowledgment sent {"connection_id":192245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:36:56] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:56] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:36:56] local.INFO: IMEI packet received {"connection_id":193591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":193591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:37:01] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:01] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:01] local.INFO: IMEI packet received {"connection_id":193591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":193591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:37:01] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:01] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:01] local.INFO: Packet analysis {"connection_id":193591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:37:01] local.INFO: Extracted packet for processing {"connection_id":193591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:37:01] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:37: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-09-23 20: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-09-23 20:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":193591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:37:01] local.INFO: GPS data processed {"connection_id":193591,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:37:01] local.INFO: Acknowledgment sent {"connection_id":193591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:37:08] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:08] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:08] local.INFO: Packet analysis {"connection_id":193590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:37:08] local.INFO: Extracted packet for processing {"connection_id":193590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:37: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-09-23 20: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-09-23 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":193590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:37:08] local.INFO: GPS data processed {"connection_id":193590,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:37:08] local.INFO: Acknowledgment sent {"connection_id":193590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:37:24] local.INFO: TCP Data received {"connection_id":190899,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:37:24] local.INFO: Processing buffer {"connection_id":190899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:37:24] local.INFO: IMEI packet received {"connection_id":190899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":190899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:37:31] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:31] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:31] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:37:32] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:32] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:37:32] local.INFO: Packet analysis {"connection_id":193591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:37:32] local.INFO: Extracted packet for processing {"connection_id":193591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:37:32] 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-09-23 20:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:37: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-09-23 20: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-09-23 20:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":193591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:37:32] local.INFO: GPS data processed {"connection_id":193591,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:37:32] local.INFO: Acknowledgment sent {"connection_id":193591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:37:36] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:36] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:37:36] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:37:40] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:40] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:37:40] local.INFO: Packet analysis {"connection_id":192246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:37:40] local.INFO: Extracted packet for processing {"connection_id":192246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 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-09-23 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:37:40] 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-09-23 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-09-23 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-09-23 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":192246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:37:40] local.INFO: GPS data processed {"connection_id":192246,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:37:40] local.INFO: Acknowledgment sent {"connection_id":192246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:37:56] local.INFO: TCP Data received {"connection_id":193592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:56] local.INFO: Processing buffer {"connection_id":193592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:37:56] local.INFO: IMEI packet received {"connection_id":193592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":193592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:38:01] local.INFO: TCP Data received {"connection_id":193592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:01] local.INFO: Processing buffer {"connection_id":193592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:01] local.INFO: IMEI packet received {"connection_id":193592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":193592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:38:02] local.INFO: TCP Data received {"connection_id":193592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:02] local.INFO: Processing buffer {"connection_id":193592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:02] local.INFO: Packet analysis {"connection_id":193592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:38:02] local.INFO: Extracted packet for processing {"connection_id":193592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 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-09-23 20:38: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:38: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-09-23 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-09-23 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-09-23 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:38:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":193592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:38:02] local.INFO: GPS data processed {"connection_id":193592,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:38:02] local.INFO: Acknowledgment sent {"connection_id":193592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:38:14] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:38:14] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:38:14] local.INFO: Packet analysis {"connection_id":192246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:38:14] local.INFO: Extracted packet for processing {"connection_id":192246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":192246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:38:14] local.INFO: GPS data processed {"connection_id":192246,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:38:14] local.INFO: Acknowledgment sent {"connection_id":192246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:38:33] local.INFO: TCP Data received {"connection_id":193592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:33] local.INFO: Processing buffer {"connection_id":193592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:38:33] local.INFO: Packet analysis {"connection_id":193592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:38:33] local.INFO: Extracted packet for processing {"connection_id":193592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 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-09-23 20:38: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:38: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-09-23 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-09-23 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-09-23 20:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":193592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:38:33] local.INFO: GPS data processed {"connection_id":193592,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:38:33] local.INFO: Acknowledgment sent {"connection_id":193592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:38:56] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:56] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:38:56] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:39:01] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:01] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:01] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:39:01] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:39:01] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecb38e0012d196940071fef900043015926..."} 
[2026-09-23 20:39:01] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:39:01] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecb"} 
[2026-09-23 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:39: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-09-23 20:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284932864001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790175820000,"timestamp_ms":1790175820000,"timestamp_seconds":1790175820,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecb38e0"} 
[2026-09-23 20:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:39:01] 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-09-23 20:39: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-09-23 20:39: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-09-23 20:39: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-09-23 20:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284932864001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284932864001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284932864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:39:01] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:39:01] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:39:06] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:06] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:06] local.INFO: IMEI packet received {"connection_id":192249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":192249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:39:11] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:11] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:11] local.INFO: IMEI packet received {"connection_id":192249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":192249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:39:13] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:13] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:13] local.INFO: Packet analysis {"connection_id":192249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:39:13] local.INFO: Extracted packet for processing {"connection_id":192249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":192249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:39:13] local.INFO: GPS data processed {"connection_id":192249,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:39:13] local.INFO: Acknowledgment sent {"connection_id":192249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:39:31] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:31] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:31] local.INFO: IMEI packet received {"connection_id":190900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":190900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:39:32] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:39:32] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:39:32] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:39:32] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:39: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-09-23 20: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-09-23 20:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:39:32] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:39:32] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:39:36] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:36] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:39:36] local.INFO: IMEI packet received {"connection_id":190900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:39:37] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:37] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:39:37] local.INFO: Packet analysis {"connection_id":190900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:39:37] local.INFO: Extracted packet for processing {"connection_id":190900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:39: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-09-23 20:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":190900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:39:37] local.INFO: GPS data processed {"connection_id":190900,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:39:37] local.INFO: Acknowledgment sent {"connection_id":190900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:39:56] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:56] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:39:56] local.INFO: IMEI packet received {"connection_id":190715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":190715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:40:01] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:01] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:01] local.INFO: IMEI packet received {"connection_id":190715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:40:02] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:02] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:02] local.INFO: Packet analysis {"connection_id":190715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:40:02] local.INFO: Extracted packet for processing {"connection_id":190715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:40: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-09-23 20: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-09-23 20:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:40:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":190715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:40:02] local.INFO: GPS data processed {"connection_id":190715,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:40:02] local.INFO: Acknowledgment sent {"connection_id":190715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:40:09] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:09] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:09] local.INFO: Packet analysis {"connection_id":190900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:40:09] local.INFO: Extracted packet for processing {"connection_id":190900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":190900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:40:09] local.INFO: GPS data processed {"connection_id":190900,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:40:09] local.INFO: Acknowledgment sent {"connection_id":190900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:40:33] local.INFO: TCP Data received {"connection_id":190715,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:33] local.INFO: Processing buffer {"connection_id":190715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:40:33] local.INFO: Packet analysis {"connection_id":190715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:40:33] local.INFO: Extracted packet for processing {"connection_id":190715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:40: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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:40: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-09-23 20: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-09-23 20:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:40:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":190715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:40:33] local.INFO: GPS data processed {"connection_id":190715,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:40:33] local.INFO: Acknowledgment sent {"connection_id":190715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:40:35] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:35] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:35] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:40:41] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:41] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:40:41] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:40:42] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:42] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:40:42] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:40:42] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:40: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-09-23 20:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:40:42] local.INFO: GPS data processed {"connection_id":190901,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:40:42] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:40:56] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:56] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:40:56] local.INFO: IMEI packet received {"connection_id":193595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":193595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:41:01] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:01] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:01] local.INFO: IMEI packet received {"connection_id":193595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":193595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:41:01] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:01] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:01] local.INFO: Packet analysis {"connection_id":193595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:41:01] local.INFO: Extracted packet for processing {"connection_id":193595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:41:01] 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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:41: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-09-23 20: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-09-23 20:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:41:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":193595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:41:02] local.INFO: GPS data processed {"connection_id":193595,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:41:02] local.INFO: Acknowledgment sent {"connection_id":193595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:41:15] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:15] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecd0da0012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:15] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:41:15] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecd"} 
[2026-09-23 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458284963584001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790175940000,"timestamp_ms":1790175940000,"timestamp_seconds":1790175940,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecd0da0"} 
[2026-09-23 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458284963584001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458284963584001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458284963584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:41:15] local.INFO: GPS data processed {"connection_id":190901,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:41:15] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:41:31] local.INFO: TCP Data received {"connection_id":190716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:31] local.INFO: Processing buffer {"connection_id":190716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:31] local.INFO: IMEI packet received {"connection_id":190716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":190716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:41:32] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:32] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:41:32] local.INFO: Packet analysis {"connection_id":193595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:41:32] local.INFO: Extracted packet for processing {"connection_id":193595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:41: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-09-23 20:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":193595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:41:32] local.INFO: GPS data processed {"connection_id":193595,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:41:32] local.INFO: Acknowledgment sent {"connection_id":193595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:41:36] local.INFO: TCP Data received {"connection_id":190716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:36] local.INFO: Processing buffer {"connection_id":190716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:41:36] local.INFO: IMEI packet received {"connection_id":190716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":190716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:41:37] local.INFO: TCP Data received {"connection_id":190716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:37] local.INFO: Processing buffer {"connection_id":190716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:41:37] local.INFO: Packet analysis {"connection_id":190716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:41:37] local.INFO: Extracted packet for processing {"connection_id":190716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:41: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-09-23 20: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-09-23 20:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":190716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:41:37] local.INFO: GPS data processed {"connection_id":190716,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:41:37] local.INFO: Acknowledgment sent {"connection_id":190716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:41:56] local.INFO: TCP Data received {"connection_id":193596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:56] local.INFO: Processing buffer {"connection_id":193596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:41:56] local.INFO: IMEI packet received {"connection_id":193596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":193596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:42:01] local.INFO: TCP Data received {"connection_id":193596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:42:01] local.INFO: Processing buffer {"connection_id":193596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:42:01] local.INFO: IMEI packet received {"connection_id":193596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":193596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:42:06] local.INFO: TCP Data received {"connection_id":193596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:06] local.INFO: Processing buffer {"connection_id":193596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:06] local.INFO: Packet analysis {"connection_id":193596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:42:06] local.INFO: Extracted packet for processing {"connection_id":193596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:42:06] 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-09-23 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":193596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:42:06] local.INFO: GPS data processed {"connection_id":193596,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:42:06] local.INFO: Acknowledgment sent {"connection_id":193596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:42:08] local.INFO: TCP Data received {"connection_id":190716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:08] local.INFO: Processing buffer {"connection_id":190716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:08] local.INFO: Packet analysis {"connection_id":190716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:42:08] local.INFO: Extracted packet for processing {"connection_id":190716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 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-09-23 20:42: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-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:42: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-09-23 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-09-23 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-09-23 20:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":190716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:42:08] local.INFO: GPS data processed {"connection_id":190716,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:42:08] local.INFO: Acknowledgment sent {"connection_id":190716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:42:30] local.INFO: TCP Data received {"connection_id":193597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:30] local.INFO: Processing buffer {"connection_id":193597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:30] local.INFO: IMEI packet received {"connection_id":193597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":193597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:42:36] local.INFO: TCP Data received {"connection_id":193597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:36] local.INFO: Processing buffer {"connection_id":193597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:42:36] local.INFO: IMEI packet received {"connection_id":193597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":193597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:42:37] local.INFO: TCP Data received {"connection_id":193596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:37] local.INFO: Processing buffer {"connection_id":193596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:42:37] local.INFO: Packet analysis {"connection_id":193596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:42:37] local.INFO: Extracted packet for processing {"connection_id":193596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:42: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-09-23 20:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":193596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:42:37] local.INFO: GPS data processed {"connection_id":193596,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:42:37] local.INFO: Acknowledgment sent {"connection_id":193596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:42:38] local.INFO: TCP Data received {"connection_id":193597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:38] local.INFO: Processing buffer {"connection_id":193597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:42:38] local.INFO: Packet analysis {"connection_id":193597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:42:38] local.INFO: Extracted packet for processing {"connection_id":193597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":193597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:42:38] local.INFO: GPS data processed {"connection_id":193597,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:42:38] local.INFO: Acknowledgment sent {"connection_id":193597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:42:39] local.INFO: TCP Data received {"connection_id":192251,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:42:39] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:42:39] local.INFO: IMEI packet received {"connection_id":192251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":192251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:42:40] local.INFO: TCP Data received {"connection_id":192251,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced084580100000000000000000000000000..."} 
[2026-09-23 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced084580100000000000000000000000000..."} 
[2026-09-23 20:42:40] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced084580100000000000000000000000000..."} 
[2026-09-23 20:42:40] local.INFO: Packet analysis {"connection_id":192251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced0"} 
[2026-09-23 20:42:40] local.INFO: Extracted packet for processing {"connection_id":192251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced0"} 
[2026-09-23 20:42: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-09-23 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285083904001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5858901600562266110,"note":"Value kept but may cause issues"} 
[2026-09-23 20:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790176167000,"timestamp_ms":1790176167000,"timestamp_seconds":1790176167,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced08458"} 
[2026-09-23 20:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 20:42:40] 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-09-23 20:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":192251,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:42:40] local.INFO: GPS data processed {"connection_id":192251,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:42:40] local.INFO: Acknowledgment sent {"connection_id":192251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:01] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:01] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:01] local.INFO: IMEI packet received {"connection_id":192252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":192252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:43:06] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:06] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:06] local.INFO: IMEI packet received {"connection_id":192252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":192252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:43:07] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:07] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:07] local.INFO: Packet analysis {"connection_id":192252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:43:07] local.INFO: Extracted packet for processing {"connection_id":192252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:07] 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-09-23 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:43: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-09-23 20:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":192252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:07] local.INFO: GPS data processed {"connection_id":192252,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:07] local.INFO: Acknowledgment sent {"connection_id":192252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:09] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:09] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:09] local.INFO: IMEI packet received {"connection_id":192253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":192253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:43:13] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:13] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:13] local.INFO: IMEI packet received {"connection_id":192253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":192253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:43:14] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:14] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:43:14] local.INFO: IMEI packet received {"connection_id":192253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":192253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:43:15] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced2bea8012caf5d000939adf002b400bb2c..."} 
[2026-09-23 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced2bea8012caf5d000939adf002b400bb2c..."} 
[2026-09-23 20:43:15] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced2bea8012caf5d000939adf002b400bb2c..."} 
[2026-09-23 20:43:15] local.INFO: Packet analysis {"connection_id":192253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced2"} 
[2026-09-23 20:43:15] local.INFO: Extracted packet for processing {"connection_id":192253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced2"} 
[2026-09-23 20:43:15] local.INFO: GPS Element Parsed {"raw_longitude":749690112,"raw_latitude":154775024,"longitude_deg":74.9690112,"latitude_deg":15.4775024,"altitude":692,"angle":187,"satellites":44,"speed":0,"hex_longitude":"2caf5d00","hex_latitude":"0939adf0","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285130752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5807602786099781630,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790176313000,"timestamp_ms":1790176313000,"timestamp_seconds":1790176313,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced2bea8"} 
[2026-09-23 20:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:43: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-09-23 20: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-09-23 20:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285130752001,"66":28104,"33":206,"9":54784,"24":0,"16":3605341577150464,"44":-5807602786099781630},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-23 20:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285130752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-23 20:43:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5807602786099781630,"description":"Unknown IO ID 44"} 
[2026-09-23 20:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285130752001,"power":28104,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5807602786099781630}} 
[2026-09-23 20:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":192253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:15] local.INFO: GPS data processed {"connection_id":192253,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:15] local.INFO: Acknowledgment sent {"connection_id":192253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:20] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced310b0012caf53c00939626002b400bb2b..."} 
[2026-09-23 20:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced310b0012caf53c00939626002b400bb2b..."} 
[2026-09-23 20:43:20] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced310b0012caf53c00939626002b400bb2b..."} 
[2026-09-23 20:43:20] local.INFO: Packet analysis {"connection_id":192253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:43:20] local.INFO: Extracted packet for processing {"connection_id":192253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749687744,"raw_latitude":154755680,"longitude_deg":74.9687744,"latitude_deg":15.475568,"altitude":692,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2caf53c0","hex_latitude":"09396260","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285136128001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5810487904615665662,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790176334000,"timestamp_ms":1790176334000,"timestamp_seconds":1790176334,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced310b0"} 
[2026-09-23 20:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":200,"data_length":795,"current_offset":136} 
[2026-09-23 20:43:20] 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-09-23 20: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-09-23 20:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285136128001,"66":27832,"33":206,"9":54784,"24":0,"16":3605341577150464,"44":-5810487904615665662},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-23 20:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285136128001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-23 20:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5810487904615665662,"description":"Unknown IO ID 44"} 
[2026-09-23 20:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285136128001,"power":27832,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5810487904615665662}} 
[2026-09-23 20:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":192253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:20] local.INFO: GPS data processed {"connection_id":192253,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:20] local.INFO: Acknowledgment sent {"connection_id":192253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:28] local.INFO: TCP Data received {"connection_id":193597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:28] local.INFO: Processing buffer {"connection_id":193597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:28] local.INFO: Packet analysis {"connection_id":193597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:43:28] local.INFO: Extracted packet for processing {"connection_id":193597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:43:28] 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-09-23 20: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-09-23 20:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:43:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":193597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:28] local.INFO: GPS data processed {"connection_id":193597,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:28] local.INFO: Acknowledgment sent {"connection_id":193597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:35] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:35] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:35] local.INFO: IMEI packet received {"connection_id":190717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":190717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:43:38] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:38] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:43:38] local.INFO: Packet analysis {"connection_id":192252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:43:38] local.INFO: Extracted packet for processing {"connection_id":192252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:38] 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-09-23 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:43: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-09-23 20: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-09-23 20:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":192252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:38] local.INFO: GPS data processed {"connection_id":192252,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:38] local.INFO: Acknowledgment sent {"connection_id":192252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:40] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:40] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:43:40] local.INFO: IMEI packet received {"connection_id":190717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":190717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:43:41] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:41] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:43:41] local.INFO: Packet analysis {"connection_id":190717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:43:41] local.INFO: Extracted packet for processing {"connection_id":190717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:43: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-09-23 20:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":190717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:43:41] local.INFO: GPS data processed {"connection_id":190717,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:43:41] local.INFO: Acknowledgment sent {"connection_id":190717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:51] local.INFO: TCP Data received {"connection_id":192253,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced3f3400100000000000000000000000000..."} 
[2026-09-23 20:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced3f3400100000000000000000000000000..."} 
[2026-09-23 20:43:51] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced3f3400100000000000000000000000000..."} 
[2026-09-23 20:43:51] local.INFO: Packet analysis {"connection_id":192253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:43:51] local.INFO: Extracted packet for processing {"connection_id":192253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:43: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-09-23 20:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285141504001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5813091548155191294,"note":"Value kept but may cause issues"} 
[2026-09-23 20:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790176392000,"timestamp_ms":1790176392000,"timestamp_seconds":1790176392,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced3f340"} 
[2026-09-23 20:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 20:43:51] 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-09-23 20:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":192253,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:43:51] local.INFO: GPS data processed {"connection_id":192253,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:43:51] local.INFO: Acknowledgment sent {"connection_id":192253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:43:56] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:56] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:43:56] local.INFO: IMEI packet received {"connection_id":190718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":190718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:44:01] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:01] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:01] local.INFO: IMEI packet received {"connection_id":190718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":190718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:44:02] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:44:02] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cecfd0a8012d196940071fef900043015927..."} 
[2026-09-23 20:44:02] local.INFO: Packet analysis {"connection_id":190718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:44:02] local.INFO: Extracted packet for processing {"connection_id":190718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cecf"} 
[2026-09-23 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285009920001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790176121000,"timestamp_ms":1790176121000,"timestamp_seconds":1790176121,"priority":1,"record_length":96,"hex_timestamp":"000001a0cecfd0a8"} 
[2026-09-23 20:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:44: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-09-23 20: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-09-23 20:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285009920001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285009920001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285009920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":190718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:02] local.INFO: GPS data processed {"connection_id":190718,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:02] local.INFO: Acknowledgment sent {"connection_id":190718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:09] local.INFO: TCP Data received {"connection_id":192254,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:09] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:09] local.INFO: IMEI packet received {"connection_id":192254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":192254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:44:13] local.INFO: TCP Data received {"connection_id":190717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:13] local.INFO: Processing buffer {"connection_id":190717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:13] local.INFO: Packet analysis {"connection_id":190717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:44:13] local.INFO: Extracted packet for processing {"connection_id":190717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":190717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:13] local.INFO: GPS data processed {"connection_id":190717,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:13] local.INFO: Acknowledgment sent {"connection_id":190717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:14] local.INFO: TCP Data received {"connection_id":192254,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:14] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:44:14] local.INFO: IMEI packet received {"connection_id":192254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":192254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:44:15] local.INFO: TCP Data received {"connection_id":192254,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced389c8012caf3a400938be8002b800bc2c..."} 
[2026-09-23 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced389c8012caf3a400938be8002b800bc2c..."} 
[2026-09-23 20:44:15] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced389c8012caf3a400938be8002b800bc2c..."} 
[2026-09-23 20:44:15] local.INFO: Packet analysis {"connection_id":192254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:44:15] local.INFO: Extracted packet for processing {"connection_id":192254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":749681216,"raw_latitude":154713728,"longitude_deg":74.9681216,"latitude_deg":15.4713728,"altitude":696,"angle":188,"satellites":44,"speed":47,"hex_longitude":"2caf3a40","hex_latitude":"0938be80","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790176365000,"timestamp_ms":1790176365000,"timestamp_seconds":1790176365,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced389c8"} 
[2026-09-23 20:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 20:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"33":206,"9":54784,"24":47,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16]} 
[2026-09-23 20:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-23 20:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_33":206,"unknown_9":54784,"ignition":47,"odometer":null}} 
[2026-09-23 20:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":192254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:15] local.INFO: GPS data processed {"connection_id":192254,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:15] local.INFO: Acknowledgment sent {"connection_id":192254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:30] local.INFO: TCP Data received {"connection_id":193598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:30] local.INFO: Processing buffer {"connection_id":193598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:30] local.INFO: IMEI packet received {"connection_id":193598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":193598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:44:32] local.INFO: TCP Data received {"connection_id":190718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:44:32] local.INFO: Processing buffer {"connection_id":190718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:44:32] local.INFO: Packet analysis {"connection_id":190718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:44:32] local.INFO: Extracted packet for processing {"connection_id":190718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44: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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:44: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-09-23 20: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-09-23 20:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":190718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:33] local.INFO: GPS data processed {"connection_id":190718,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:33] local.INFO: Acknowledgment sent {"connection_id":190718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:36] local.INFO: TCP Data received {"connection_id":193598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:36] local.INFO: Processing buffer {"connection_id":193598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:44:36] local.INFO: IMEI packet received {"connection_id":193598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":193598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:44:37] local.INFO: TCP Data received {"connection_id":193598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:37] local.INFO: Processing buffer {"connection_id":193598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:44:37] local.INFO: Packet analysis {"connection_id":193598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:44:37] local.INFO: Extracted packet for processing {"connection_id":193598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:44: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-09-23 20: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-09-23 20:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":193598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:37] local.INFO: GPS data processed {"connection_id":193598,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:37] local.INFO: Acknowledgment sent {"connection_id":193598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:47] local.INFO: TCP Data received {"connection_id":192254,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced3dbd0012caf31000938689002b700b92c..."} 
[2026-09-23 20:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced3dbd0012caf31000938689002b700b92c..."} 
[2026-09-23 20:44:47] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced3dbd0012caf31000938689002b700b92c..."} 
[2026-09-23 20:44:47] local.INFO: Packet analysis {"connection_id":192254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:44:47] local.INFO: Extracted packet for processing {"connection_id":192254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced3"} 
[2026-09-23 20:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749678848,"raw_latitude":154691728,"longitude_deg":74.9678848,"latitude_deg":15.4691728,"altitude":695,"angle":185,"satellites":44,"speed":0,"hex_longitude":"2caf3100","hex_latitude":"09386890","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285149440001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5820269160072052734,"note":"Value kept but may cause issues"} 
[2026-09-23 20:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790176386000,"timestamp_ms":1790176386000,"timestamp_seconds":1790176386,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced3dbd0"} 
[2026-09-23 20:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 20:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285149440001,"66":27995,"33":206,"9":54784,"24":0,"16":3605341577150464,"44":-5820269160072052734},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-23 20:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285149440001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:44:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-23 20:44:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5820269160072052734,"description":"Unknown IO ID 44"} 
[2026-09-23 20:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285149440001,"power":27995,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5820269160072052734}} 
[2026-09-23 20:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":192254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:44:47] local.INFO: GPS data processed {"connection_id":192254,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:44:47] local.INFO: Acknowledgment sent {"connection_id":192254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:44:56] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:56] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:44:56] local.INFO: IMEI packet received {"connection_id":190902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":190902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:45:01] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:01] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:01] local.INFO: IMEI packet received {"connection_id":190902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":190902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:45:01] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:01] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:01] local.INFO: Packet analysis {"connection_id":190902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:45:01] local.INFO: Extracted packet for processing {"connection_id":190902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:45: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-09-23 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:45: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-09-23 20:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":190902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:45:01] local.INFO: GPS data processed {"connection_id":190902,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:45:01] local.INFO: Acknowledgment sent {"connection_id":190902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:45:11] local.INFO: TCP Data received {"connection_id":193598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:11] local.INFO: Processing buffer {"connection_id":193598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:11] local.INFO: Packet analysis {"connection_id":193598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:11] local.INFO: Extracted packet for processing {"connection_id":193598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":193598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:45:11] local.INFO: GPS data processed {"connection_id":193598,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:45:11] local.INFO: Acknowledgment sent {"connection_id":193598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:45:25] local.INFO: TCP Data received {"connection_id":190719,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:45:25] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:45:25] local.INFO: IMEI packet received {"connection_id":190719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":190719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:45:26] local.INFO: TCP Data received {"connection_id":190719,"ip":"117.224.11.82","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190719,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 20:45:26] local.INFO: Processing buffer {"connection_id":190719,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-23 20:45:26] local.INFO: IMEI packet received {"connection_id":190719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":190719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:45:32] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:32] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:45:32] local.INFO: Packet analysis {"connection_id":190902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:45:32] local.INFO: Extracted packet for processing {"connection_id":190902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:45: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-09-23 20:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:45: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-09-23 20: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-09-23 20:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:45:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":190902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:45:32] local.INFO: GPS data processed {"connection_id":190902,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:45:32] local.INFO: Acknowledgment sent {"connection_id":190902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:45:36] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:36] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:36] local.INFO: IMEI packet received {"connection_id":190903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:45:41] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:41] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:45:41] local.INFO: IMEI packet received {"connection_id":190903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":190903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:45:42] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:42] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:42] local.INFO: Packet analysis {"connection_id":190903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:42] local.INFO: Extracted packet for processing {"connection_id":190903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:45: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-09-23 20:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":190903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:45:42] local.INFO: GPS data processed {"connection_id":190903,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:45:42] local.INFO: Acknowledgment sent {"connection_id":190903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:45:47] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:47] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced1a568012d34c58006aa47580012010522..."} 
[2026-09-23 20:45:47] local.INFO: Packet analysis {"connection_id":190903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:47] local.INFO: Extracted packet for processing {"connection_id":190903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced1"} 
[2026-09-23 20:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285040640001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790176241000,"timestamp_ms":1790176241000,"timestamp_seconds":1790176241,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced1a568"} 
[2026-09-23 20:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285040640001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285040640001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285040640001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":190903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:45:47] local.INFO: GPS data processed {"connection_id":190903,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:45:47] local.INFO: Acknowledgment sent {"connection_id":190903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:45:56] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:56] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:45:56] local.INFO: IMEI packet received {"connection_id":190720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":190720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:46:01] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:01] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:01] local.INFO: IMEI packet received {"connection_id":190720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":190720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:46:01] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:01] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:01] local.INFO: Packet analysis {"connection_id":190720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:46:01] local.INFO: Extracted packet for processing {"connection_id":190720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:46: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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:46: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-09-23 20: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-09-23 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":190720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:46:01] local.INFO: GPS data processed {"connection_id":190720,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:46:01] local.INFO: Acknowledgment sent {"connection_id":190720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:46:33] local.INFO: TCP Data received {"connection_id":190720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:33] local.INFO: Processing buffer {"connection_id":190720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:46:33] local.INFO: Packet analysis {"connection_id":190720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:46:33] local.INFO: Extracted packet for processing {"connection_id":190720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:46: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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:46:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":190720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:46:33] local.INFO: GPS data processed {"connection_id":190720,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:46:33] local.INFO: Acknowledgment sent {"connection_id":190720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:46:33] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:33] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:33] local.INFO: IMEI packet received {"connection_id":193599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":193599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:46:36] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:36] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:46:36] local.INFO: IMEI packet received {"connection_id":193599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":193599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:46:37] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:37] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:37] local.INFO: Packet analysis {"connection_id":193599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:46:37] local.INFO: Extracted packet for processing {"connection_id":193599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:46: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-09-23 20:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":193599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:46:37] local.INFO: GPS data processed {"connection_id":193599,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:46:37] local.INFO: Acknowledgment sent {"connection_id":193599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:46:42] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:42] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:46:42] local.INFO: Packet analysis {"connection_id":193599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:46:42] local.INFO: Extracted packet for processing {"connection_id":193599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:46: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-09-23 20:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":193599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:46:42] local.INFO: GPS data processed {"connection_id":193599,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:46:42] local.INFO: Acknowledgment sent {"connection_id":193599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:46:56] local.INFO: TCP Data received {"connection_id":193600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:56] local.INFO: Processing buffer {"connection_id":193600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:46:56] local.INFO: IMEI packet received {"connection_id":193600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":193600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:47:01] local.INFO: TCP Data received {"connection_id":193600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:47:01] local.INFO: Processing buffer {"connection_id":193600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:47:01] local.INFO: IMEI packet received {"connection_id":193600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":193600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:47:01] local.INFO: TCP Data received {"connection_id":193600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:01] local.INFO: Processing buffer {"connection_id":193600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:01] local.INFO: Packet analysis {"connection_id":193600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:47:01] local.INFO: Extracted packet for processing {"connection_id":193600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:47: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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:47: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-09-23 20: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-09-23 20:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:47:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":193600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:47:01] local.INFO: GPS data processed {"connection_id":193600,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:47:01] local.INFO: Acknowledgment sent {"connection_id":193600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:47:13] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:13] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:13] local.INFO: Packet analysis {"connection_id":193599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:47:13] local.INFO: Extracted packet for processing {"connection_id":193599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":193599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:47:13] local.INFO: GPS data processed {"connection_id":193599,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:47:13] local.INFO: Acknowledgment sent {"connection_id":193599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:47:30] local.INFO: TCP Data received {"connection_id":190721,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:30] local.INFO: Processing buffer {"connection_id":190721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:30] local.INFO: IMEI packet received {"connection_id":190721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":190721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:47:32] local.INFO: TCP Data received {"connection_id":193600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:32] local.INFO: Processing buffer {"connection_id":193600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:47:32] local.INFO: Packet analysis {"connection_id":193600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:47:32] local.INFO: Extracted packet for processing {"connection_id":193600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:47: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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:47: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-09-23 20: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-09-23 20:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":193600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:47:33] local.INFO: GPS data processed {"connection_id":193600,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:47:33] local.INFO: Acknowledgment sent {"connection_id":193600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:47:35] local.INFO: TCP Data received {"connection_id":190721,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:35] local.INFO: Processing buffer {"connection_id":190721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:47:35] local.INFO: IMEI packet received {"connection_id":190721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":190721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:47:37] local.INFO: TCP Data received {"connection_id":190721,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:37] local.INFO: Processing buffer {"connection_id":190721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:47:37] local.INFO: Packet analysis {"connection_id":190721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:47:37] local.INFO: Extracted packet for processing {"connection_id":190721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:47: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-09-23 20:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":190721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:47:37] local.INFO: GPS data processed {"connection_id":190721,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:47:37] local.INFO: Acknowledgment sent {"connection_id":190721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:48:01] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:01] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:01] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:48:06] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:06] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:06] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:48:07] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:07] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:07] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:48:07] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:48:07] 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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:48:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:48:07] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:48:07] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:48:09] local.INFO: TCP Data received {"connection_id":190721,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:09] local.INFO: Processing buffer {"connection_id":190721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:09] local.INFO: Packet analysis {"connection_id":190721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:48:09] local.INFO: Extracted packet for processing {"connection_id":190721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":190721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:48:09] local.INFO: GPS data processed {"connection_id":190721,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:48:09] local.INFO: Acknowledgment sent {"connection_id":190721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:48:11] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:11] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:48:11] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:48:11] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:48:11] 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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:48: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-09-23 20: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-09-23 20:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:48:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:48:11] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:48:11] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:48:30] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:30] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:30] local.INFO: IMEI packet received {"connection_id":190907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:48:37] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:37] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:48:37] local.INFO: IMEI packet received {"connection_id":190907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":190907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:48:38] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:38] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:48:38] local.INFO: Packet analysis {"connection_id":190907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:48:38] local.INFO: Extracted packet for processing {"connection_id":190907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":190907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:48:38] local.INFO: GPS data processed {"connection_id":190907,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:48:38] local.INFO: Acknowledgment sent {"connection_id":190907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:48:56] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:56] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:48:56] local.INFO: IMEI packet received {"connection_id":193601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":193601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:49:01] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:01] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:01] local.INFO: IMEI packet received {"connection_id":193601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":193601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:49:01] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:49:01] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced46870012d196940071fef900043015923..."} 
[2026-09-23 20:49:01] local.INFO: Packet analysis {"connection_id":193601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:49:01] local.INFO: Extracted packet for processing {"connection_id":193601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced4"} 
[2026-09-23 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":67,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285086976001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176422000,"timestamp_ms":1790176422000,"timestamp_seconds":1790176422,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced46870"} 
[2026-09-23 20:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:49: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-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:49: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-09-23 20: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-09-23 20:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285086976001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285086976001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285086976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":193601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:49:01] local.INFO: GPS data processed {"connection_id":193601,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:49:01] local.INFO: Acknowledgment sent {"connection_id":193601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:49:10] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:10] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:10] local.INFO: Packet analysis {"connection_id":190907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:10] local.INFO: Extracted packet for processing {"connection_id":190907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":190907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:49:10] local.INFO: GPS data processed {"connection_id":190907,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:49:10] local.INFO: Acknowledgment sent {"connection_id":190907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:49:32] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:49:32] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:49:32] local.INFO: Packet analysis {"connection_id":193601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:49:32] local.INFO: Extracted packet for processing {"connection_id":193601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:49: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-09-23 20:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:49: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-09-23 20:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":193601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:49:32] local.INFO: GPS data processed {"connection_id":193601,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:49:32] local.INFO: Acknowledgment sent {"connection_id":193601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:49:35] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:35] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:35] local.INFO: IMEI packet received {"connection_id":190722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":190722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:49:41] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:41] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:49:41] local.INFO: IMEI packet received {"connection_id":190722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":190722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:49:42] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:42] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:42] local.INFO: Packet analysis {"connection_id":190722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:42] local.INFO: Extracted packet for processing {"connection_id":190722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:49: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-09-23 20: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-09-23 20:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":190722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:49:42] local.INFO: GPS data processed {"connection_id":190722,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:49:42] local.INFO: Acknowledgment sent {"connection_id":190722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:49:46] local.INFO: TCP Data received {"connection_id":190722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:46] local.INFO: Processing buffer {"connection_id":190722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:49:46] local.INFO: Packet analysis {"connection_id":190722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:46] local.INFO: Extracted packet for processing {"connection_id":190722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":190722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:49:46] local.INFO: GPS data processed {"connection_id":190722,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:49:46] local.INFO: Acknowledgment sent {"connection_id":190722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:49:56] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:56] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:49:56] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:50:01] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:01] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:01] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:50:01] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:01] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:01] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:01] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:50: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:50: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-09-23 20: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-09-23 20:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:50:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:50:01] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:50:01] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:50:29] local.INFO: TCP Data received {"connection_id":190908,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:50:29] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:50:29] local.INFO: IMEI packet received {"connection_id":190908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":190908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:50:30] local.INFO: TCP Data received {"connection_id":190908,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90420012caf7180093475d002cd00bb2d..."} 
[2026-09-23 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90420012caf7180093475d002cd00bb2d..."} 
[2026-09-23 20:50:30] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90420012caf7180093475d002cd00bb2d..."} 
[2026-09-23 20:50:30] local.INFO: Packet analysis {"connection_id":190908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:30] local.INFO: Extracted packet for processing {"connection_id":190908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749695360,"raw_latitude":154432976,"longitude_deg":74.969536,"latitude_deg":15.4432976,"altitude":717,"angle":187,"satellites":45,"speed":34,"hex_longitude":"2caf7180","hex_latitude":"093475d0","is_valid_coordinates":true} 
[2026-09-23 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241344001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804717667680661502,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790176724000,"timestamp_ms":1790176724000,"timestamp_seconds":1790176724,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90420"} 
[2026-09-23 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:50: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-09-23 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 20:50:30] 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-09-23 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241344001,"66":27713,"60":206,"9":54784,"24":34,"16":3605341577150464,"44":-5804717667680661502},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16,44]} 
[2026-09-23 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241344001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5804717667680661502,"description":"Unknown IO ID 44"} 
[2026-09-23 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241344001,"power":27713,"unknown_60":206,"unknown_9":54784,"ignition":34,"odometer":null,"unknown_44":-5804717667680661502}} 
[2026-09-23 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":190908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:50:30] local.INFO: GPS data processed {"connection_id":190908,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:50:30] local.INFO: Acknowledgment sent {"connection_id":190908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:50:31] local.INFO: TCP Data received {"connection_id":193602,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:31] local.INFO: Processing buffer {"connection_id":193602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:31] local.INFO: IMEI packet received {"connection_id":193602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":193602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:50:32] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:32] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:50:32] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:32] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:50: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:50: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-09-23 20: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-09-23 20:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:50:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:50:32] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:50:32] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:50:36] local.INFO: TCP Data received {"connection_id":193602,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:36] local.INFO: Processing buffer {"connection_id":193602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:50:36] local.INFO: IMEI packet received {"connection_id":193602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":193602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:50:37] local.INFO: TCP Data received {"connection_id":193602,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:50:37] local.INFO: Processing buffer {"connection_id":193602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:50:37] local.INFO: Packet analysis {"connection_id":193602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:50:37] local.INFO: Extracted packet for processing {"connection_id":193602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:50: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-09-23 20: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-09-23 20:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":193602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:50:37] local.INFO: GPS data processed {"connection_id":193602,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:50:37] local.INFO: Acknowledgment sent {"connection_id":193602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:50:56] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:56] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:50:56] local.INFO: IMEI packet received {"connection_id":190909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":190909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:51:01] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:51:01] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:51:01] local.INFO: IMEI packet received {"connection_id":190909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":190909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:51:01] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:01] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:01] local.INFO: Packet analysis {"connection_id":190909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:01] local.INFO: Extracted packet for processing {"connection_id":190909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:51: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-09-23 20: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-09-23 20:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":190909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:51:01] local.INFO: GPS data processed {"connection_id":190909,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:51:01] local.INFO: Acknowledgment sent {"connection_id":190909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:51:09] local.INFO: TCP Data received {"connection_id":193602,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:51:09] local.INFO: Processing buffer {"connection_id":193602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced63d30012d34c58006aa47580012010522..."} 
[2026-09-23 20:51:09] local.INFO: Packet analysis {"connection_id":193602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:51:09] local.INFO: Extracted packet for processing {"connection_id":193602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced6"} 
[2026-09-23 20:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285117696001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790176542000,"timestamp_ms":1790176542000,"timestamp_seconds":1790176542,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced63d30"} 
[2026-09-23 20:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285117696001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285117696001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285117696001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":193602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:51:09] local.INFO: GPS data processed {"connection_id":193602,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:51:09] local.INFO: Acknowledgment sent {"connection_id":193602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:51:22] local.INFO: TCP Data received {"connection_id":193603,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: Processing buffer {"connection_id":193603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: IMEI packet received {"connection_id":193603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":193603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:51:22] local.INFO: TCP Data received {"connection_id":193603,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: Processing buffer {"connection_id":193603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:51:22] local.INFO: IMEI packet received {"connection_id":193603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":193603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:51:24] local.INFO: TCP Data received {"connection_id":193603,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced9e6b00100000000000000000000000000..."} 
[2026-09-23 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced9e6b00100000000000000000000000000..."} 
[2026-09-23 20:51:24] local.INFO: Processing buffer {"connection_id":193603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced9e6b00100000000000000000000000000..."} 
[2026-09-23 20:51:24] local.INFO: Packet analysis {"connection_id":193603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:24] local.INFO: Extracted packet for processing {"connection_id":193603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 20:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241344001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804717667680661502,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790176782000,"timestamp_ms":1790176782000,"timestamp_seconds":1790176782,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced9e6b0"} 
[2026-09-23 20:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-23 20:51:24] 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-09-23 20:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":193603,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:51:24] local.INFO: GPS data processed {"connection_id":193603,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:51:24] local.INFO: Acknowledgment sent {"connection_id":193603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:51:26] local.INFO: TCP Data received {"connection_id":193603,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced97950012caf6b000934414002ce00c02c..."} 
[2026-09-23 20:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced97950012caf6b000934414002ce00c02c..."} 
[2026-09-23 20:51:26] local.INFO: Processing buffer {"connection_id":193603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced97950012caf6b000934414002ce00c02c..."} 
[2026-09-23 20:51:26] local.INFO: Packet analysis {"connection_id":193603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:26] local.INFO: Extracted packet for processing {"connection_id":193603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:26] local.INFO: GPS Element Parsed {"raw_longitude":749693696,"raw_latitude":154419520,"longitude_deg":74.9693696,"latitude_deg":15.441952,"altitude":718,"angle":192,"satellites":44,"speed":24,"hex_longitude":"2caf6b00","hex_latitude":"09344140","is_valid_coordinates":true} 
[2026-09-23 20:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,60,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790176754000,"timestamp_ms":1790176754000,"timestamp_seconds":1790176754,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced97950"} 
[2026-09-23 20:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 20:51:26] 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-09-23 20:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"60":206,"9":54784,"24":24,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16]} 
[2026-09-23 20:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:51:26] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-23 20:51:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:51:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_60":206,"unknown_9":54784,"ignition":24,"odometer":null}} 
[2026-09-23 20:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":193603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:51:26] local.INFO: GPS data processed {"connection_id":193603,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:51:26] local.INFO: Acknowledgment sent {"connection_id":193603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:51:30] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:30] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:30] local.INFO: IMEI packet received {"connection_id":190910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":190910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:51:32] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:32] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:51:32] local.INFO: Packet analysis {"connection_id":190909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:32] local.INFO: Extracted packet for processing {"connection_id":190909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:51: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-09-23 20: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-09-23 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:51:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":190909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:51:32] local.INFO: GPS data processed {"connection_id":190909,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:51:32] local.INFO: Acknowledgment sent {"connection_id":190909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:51:36] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:36] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:51:36] local.INFO: IMEI packet received {"connection_id":190910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":190910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:51:37] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:51:37] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:51:37] local.INFO: Packet analysis {"connection_id":190910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:51:37] local.INFO: Extracted packet for processing {"connection_id":190910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20: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-09-23 20:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":190910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:51:37] local.INFO: GPS data processed {"connection_id":190910,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:51:37] local.INFO: Acknowledgment sent {"connection_id":190910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:01] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:01] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:01] local.INFO: IMEI packet received {"connection_id":193604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":193604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:52:06] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:06] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:06] local.INFO: IMEI packet received {"connection_id":193604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":193604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:52:07] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:07] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:07] local.INFO: Packet analysis {"connection_id":193604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:07] local.INFO: Extracted packet for processing {"connection_id":193604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:07] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":193604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:52:07] local.INFO: GPS data processed {"connection_id":193604,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:52:07] local.INFO: Acknowledgment sent {"connection_id":193604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:09] local.INFO: TCP Data received {"connection_id":190723,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:09] local.INFO: Processing buffer {"connection_id":190723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:09] local.INFO: IMEI packet received {"connection_id":190723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":190723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:52:09] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:09] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:09] local.INFO: Packet analysis {"connection_id":190910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52:09] local.INFO: Extracted packet for processing {"connection_id":190910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:52: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-09-23 20: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-09-23 20:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":190910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:52:09] local.INFO: GPS data processed {"connection_id":190910,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:52:09] local.INFO: Acknowledgment sent {"connection_id":190910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:11] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:11] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:52:11] local.INFO: Packet analysis {"connection_id":193604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:11] local.INFO: Extracted packet for processing {"connection_id":193604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:11] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:52: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-09-23 20: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-09-23 20:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":193604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:52:11] local.INFO: GPS data processed {"connection_id":193604,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:52:11] local.INFO: Acknowledgment sent {"connection_id":193604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:15] local.INFO: TCP Data received {"connection_id":190723,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:15] local.INFO: Processing buffer {"connection_id":190723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:52:15] local.INFO: IMEI packet received {"connection_id":190723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":190723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:52:16] local.INFO: TCP Data received {"connection_id":190723,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceda5be00100000000000000000000000000..."} 
[2026-09-23 20:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceda5be00100000000000000000000000000..."} 
[2026-09-23 20:52:16] local.INFO: Processing buffer {"connection_id":190723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceda5be00100000000000000000000000000..."} 
[2026-09-23 20:52:16] local.INFO: Packet analysis {"connection_id":190723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52:16] local.INFO: Extracted packet for processing {"connection_id":190723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52: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-09-23 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285249024001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5806547255032725502,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790176812000,"timestamp_ms":1790176812000,"timestamp_seconds":1790176812,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceda5be0"} 
[2026-09-23 20:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:52:16] 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-09-23 20:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":190723,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:52:16] local.INFO: GPS data processed {"connection_id":190723,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:52:16] local.INFO: Acknowledgment sent {"connection_id":190723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:30] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:30] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:30] local.INFO: IMEI packet received {"connection_id":192258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":192258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:52:35] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:35] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:52:35] local.INFO: IMEI packet received {"connection_id":192258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":192258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:52:37] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:37] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:52:37] local.INFO: Packet analysis {"connection_id":192258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52:37] local.INFO: Extracted packet for processing {"connection_id":192258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20: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-09-23 20:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":192258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:52:37] local.INFO: GPS data processed {"connection_id":192258,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:52:37] local.INFO: Acknowledgment sent {"connection_id":192258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:47] local.INFO: TCP Data received {"connection_id":190723,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced9d328012caf58c0093419a002ce00c52e..."} 
[2026-09-23 20:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced9d328012caf58c0093419a002ce00c52e..."} 
[2026-09-23 20:52:47] local.INFO: Processing buffer {"connection_id":190723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced9d328012caf58c0093419a002ce00c52e..."} 
[2026-09-23 20:52:47] local.INFO: Packet analysis {"connection_id":190723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:47] local.INFO: Extracted packet for processing {"connection_id":190723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:52:47] local.INFO: GPS Element Parsed {"raw_longitude":749689024,"raw_latitude":154409376,"longitude_deg":74.9689024,"latitude_deg":15.4409376,"altitude":718,"angle":197,"satellites":46,"speed":18,"hex_longitude":"2caf58c0","hex_latitude":"093419a0","is_valid_coordinates":true} 
[2026-09-23 20:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:52:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,60,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790176777000,"timestamp_ms":1790176777000,"timestamp_seconds":1790176777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced9d328"} 
[2026-09-23 20:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-23 20:52:47] 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-09-23 20:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"60":206,"9":54784,"24":18,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16]} 
[2026-09-23 20:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:52:47] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-23 20:52:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:52:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_60":206,"unknown_9":54784,"ignition":18,"odometer":null}} 
[2026-09-23 20:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":190723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:52:47] local.INFO: GPS data processed {"connection_id":190723,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:52:47] local.INFO: Acknowledgment sent {"connection_id":190723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:52:56] local.INFO: TCP Data received {"connection_id":193605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:56] local.INFO: Processing buffer {"connection_id":193605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:52:56] local.INFO: IMEI packet received {"connection_id":193605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":193605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:53:01] local.INFO: TCP Data received {"connection_id":193605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:01] local.INFO: Processing buffer {"connection_id":193605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:01] local.INFO: IMEI packet received {"connection_id":193605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":193605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:53:01] local.INFO: TCP Data received {"connection_id":193605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:01] local.INFO: Processing buffer {"connection_id":193605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:01] local.INFO: Packet analysis {"connection_id":193605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:53:01] local.INFO: Extracted packet for processing {"connection_id":193605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:53: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-09-23 20: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-09-23 20:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":193605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:01] local.INFO: GPS data processed {"connection_id":193605,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:01] local.INFO: Acknowledgment sent {"connection_id":193605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:09] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:09] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:09] local.INFO: Packet analysis {"connection_id":192258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:09] local.INFO: Extracted packet for processing {"connection_id":192258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:53: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-09-23 20: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-09-23 20:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":192258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:09] local.INFO: GPS data processed {"connection_id":192258,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:09] local.INFO: Acknowledgment sent {"connection_id":192258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:14] local.INFO: TCP Data received {"connection_id":190911,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:14] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:14] local.INFO: IMEI packet received {"connection_id":190911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":190911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:53:25] local.INFO: TCP Data received {"connection_id":190911,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:25] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:53:25] local.INFO: IMEI packet received {"connection_id":190911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":190911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:53:30] local.INFO: TCP Data received {"connection_id":190911,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedab5b80100000000000000000000000000..."} 
[2026-09-23 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedab5b80100000000000000000000000000..."} 
[2026-09-23 20:53:30] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedab5b80100000000000000000000000000..."} 
[2026-09-23 20:53:30] local.INFO: Packet analysis {"connection_id":190911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:30] local.INFO: Extracted packet for processing {"connection_id":190911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53: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-09-23 20: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-09-23 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285254912001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5811684173360291838,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790176835000,"timestamp_ms":1790176835000,"timestamp_seconds":1790176835,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedab5b8"} 
[2026-09-23 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53: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-09-23 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 20:53:30] 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-09-23 20: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-09-23 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":190911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":190911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":190911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":190911,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:53:30] local.INFO: GPS data processed {"connection_id":190911,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:53:30] local.INFO: Acknowledgment sent {"connection_id":190911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:32] local.INFO: TCP Data received {"connection_id":193605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:32] local.INFO: Processing buffer {"connection_id":193605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:53:32] local.INFO: Packet analysis {"connection_id":193605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:53:32] local.INFO: Extracted packet for processing {"connection_id":193605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:53: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-09-23 20: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-09-23 20:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":193605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:32] local.INFO: GPS data processed {"connection_id":193605,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:32] local.INFO: Acknowledgment sent {"connection_id":193605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:34] local.INFO: TCP Data received {"connection_id":190911,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceda2d00012caf3cc00933d71002ca00ca2c..."} 
[2026-09-23 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceda2d00012caf3cc00933d71002ca00ca2c..."} 
[2026-09-23 20:53:34] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceda2d00012caf3cc00933d71002ca00ca2c..."} 
[2026-09-23 20:53:34] local.INFO: Packet analysis {"connection_id":190911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:34] local.INFO: Extracted packet for processing {"connection_id":190911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":749681856,"raw_latitude":154392336,"longitude_deg":74.9681856,"latitude_deg":15.4392336,"altitude":714,"angle":202,"satellites":44,"speed":42,"hex_longitude":"2caf3cc0","hex_latitude":"0933d710","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 20:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790176800000,"timestamp_ms":1790176800000,"timestamp_seconds":1790176800,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceda2d00"} 
[2026-09-23 20:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 20:53: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-09-23 20: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-09-23 20:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":190911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":190911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":190911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"97":206,"9":54784,"24":42,"16":3605341577150464},"client_ip":"117.224.11.82","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16]} 
[2026-09-23 20:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 20:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 20:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_97":206,"unknown_9":54784,"ignition":42,"odometer":null}} 
[2026-09-23 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":190911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:35] local.INFO: GPS data processed {"connection_id":190911,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:35] local.INFO: Acknowledgment sent {"connection_id":190911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:35] local.INFO: TCP Data received {"connection_id":190724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:35] local.INFO: Processing buffer {"connection_id":190724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:35] local.INFO: IMEI packet received {"connection_id":190724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":190724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:53:41] local.INFO: TCP Data received {"connection_id":190724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:41] local.INFO: Processing buffer {"connection_id":190724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:53:41] local.INFO: IMEI packet received {"connection_id":190724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":190724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:53:42] local.INFO: TCP Data received {"connection_id":190724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:42] local.INFO: Processing buffer {"connection_id":190724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:42] local.INFO: Packet analysis {"connection_id":190724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:42] local.INFO: Extracted packet for processing {"connection_id":190724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 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-09-23 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:53: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-09-23 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-09-23 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-09-23 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":190724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:42] local.INFO: GPS data processed {"connection_id":190724,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:42] local.INFO: Acknowledgment sent {"connection_id":190724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:47] local.INFO: TCP Data received {"connection_id":190724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:47] local.INFO: Processing buffer {"connection_id":190724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:47] local.INFO: Packet analysis {"connection_id":190724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:47] local.INFO: Extracted packet for processing {"connection_id":190724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":190724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:47] local.INFO: GPS data processed {"connection_id":190724,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:47] local.INFO: Acknowledgment sent {"connection_id":190724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:51] local.INFO: TCP Data received {"connection_id":190724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:51] local.INFO: Processing buffer {"connection_id":190724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:53:51] local.INFO: Packet analysis {"connection_id":190724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:51] local.INFO: Extracted packet for processing {"connection_id":190724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:53:51] 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-09-23 20:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":190724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:53:51] local.INFO: GPS data processed {"connection_id":190724,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:53:51] local.INFO: Acknowledgment sent {"connection_id":190724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:53:56] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:56] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:53:56] local.INFO: IMEI packet received {"connection_id":192259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":192259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:54:01] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:01] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:01] local.INFO: IMEI packet received {"connection_id":192259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":192259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:54:02] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:54:02] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ced90038012d196940071fef900038015925..."} 
[2026-09-23 20:54:02] local.INFO: Packet analysis {"connection_id":192259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:54:02] local.INFO: Extracted packet for processing {"connection_id":192259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ced9"} 
[2026-09-23 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285164032001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790176723000,"timestamp_ms":1790176723000,"timestamp_seconds":1790176723,"priority":1,"record_length":96,"hex_timestamp":"000001a0ced90038"} 
[2026-09-23 20:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:54:02] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:54: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-09-23 20: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-09-23 20:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285164032001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285164032001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:54:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285164032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":192259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:54:02] local.INFO: GPS data processed {"connection_id":192259,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:54:02] local.INFO: Acknowledgment sent {"connection_id":192259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:54:09] local.INFO: TCP Data received {"connection_id":190912,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:09] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:09] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 20:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:54:13] local.INFO: TCP Data received {"connection_id":190912,"ip":"117.224.11.82","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:13] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 20:54:13] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:54:17] local.INFO: TCP Data received {"connection_id":190912,"ip":"117.224.11.82","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceddaf700100000000000000000000000000..."} 
[2026-09-23 20:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceddaf700100000000000000000000000000..."} 
[2026-09-23 20:54:17] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceddaf700100000000000000000000000000..."} 
[2026-09-23 20:54:17] local.INFO: Packet analysis {"connection_id":190912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:54:17] local.INFO: Extracted packet for processing {"connection_id":190912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:54:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 20:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285304832001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5806054673864826878,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790177030000,"timestamp_ms":1790177030000,"timestamp_seconds":1790177030,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceddaf70"} 
[2026-09-23 20:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 20:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 20:54:17] 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-09-23 20:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 20:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.11.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 20:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 20:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":190912,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 20:54:17] local.INFO: GPS data processed {"connection_id":190912,"processed":0,"errors":0,"total":1} 
[2026-09-23 20:54:17] local.INFO: Acknowledgment sent {"connection_id":190912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:54:31] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:31] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:31] local.INFO: IMEI packet received {"connection_id":193606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":193606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:54:33] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:54:33] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:54:33] local.INFO: Packet analysis {"connection_id":192259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:54:33] local.INFO: Extracted packet for processing {"connection_id":192259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:54: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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":192259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:54:33] local.INFO: GPS data processed {"connection_id":192259,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:54:33] local.INFO: Acknowledgment sent {"connection_id":192259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:54:36] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:36] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:54:36] local.INFO: IMEI packet received {"connection_id":193606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":193606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:54:38] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:54:38] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:54:38] local.INFO: Packet analysis {"connection_id":193606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:54:38] local.INFO: Extracted packet for processing {"connection_id":193606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 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-09-23 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:54: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-09-23 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-09-23 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-09-23 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":193606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:54:38] local.INFO: GPS data processed {"connection_id":193606,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:54:38] local.INFO: Acknowledgment sent {"connection_id":193606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:54:56] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:56] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:54:56] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:55:01] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:55:01] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:55:01] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:55:01] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:01] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:01] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:55:01] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:55: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:55: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-09-23 20: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-09-23 20:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:55:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:55:01] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:55:01] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:55:10] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:10] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:10] local.INFO: Packet analysis {"connection_id":193606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:55:10] local.INFO: Extracted packet for processing {"connection_id":193606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:55: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-09-23 20:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":193606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:55:10] local.INFO: GPS data processed {"connection_id":193606,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:55:10] local.INFO: Acknowledgment sent {"connection_id":193606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:55:31] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:31] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:31] local.INFO: IMEI packet received {"connection_id":190725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":190725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:55:32] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:32] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:55:32] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:55:32] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:55: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-09-23 20: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-09-23 20: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-09-23 20: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-09-23 20:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:55:32] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:55:32] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:55:36] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:36] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:55:36] local.INFO: IMEI packet received {"connection_id":190725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":190725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:55:37] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:37] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:55:37] local.INFO: Packet analysis {"connection_id":190725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:55:37] local.INFO: Extracted packet for processing {"connection_id":190725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:55: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-09-23 20: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-09-23 20:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":190725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:55:37] local.INFO: GPS data processed {"connection_id":190725,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:55:37] local.INFO: Acknowledgment sent {"connection_id":190725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:56:01] local.INFO: TCP Data received {"connection_id":193607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:01] local.INFO: Processing buffer {"connection_id":193607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:01] local.INFO: IMEI packet received {"connection_id":193607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":193607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:56:06] local.INFO: TCP Data received {"connection_id":193607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:06] local.INFO: Processing buffer {"connection_id":193607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:06] local.INFO: IMEI packet received {"connection_id":193607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":193607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:56:07] local.INFO: TCP Data received {"connection_id":193607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:07] local.INFO: Processing buffer {"connection_id":193607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:07] local.INFO: Packet analysis {"connection_id":193607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:56:07] local.INFO: Extracted packet for processing {"connection_id":193607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:56:07] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":193607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:56:07] local.INFO: GPS data processed {"connection_id":193607,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:56:07] local.INFO: Acknowledgment sent {"connection_id":193607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:56:08] local.INFO: TCP Data received {"connection_id":190725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:56:08] local.INFO: Processing buffer {"connection_id":190725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedad4f8012d34c58006aa47580012010521..."} 
[2026-09-23 20:56:08] local.INFO: Packet analysis {"connection_id":190725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:56:08] local.INFO: Extracted packet for processing {"connection_id":190725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceda"} 
[2026-09-23 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285194752001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790176843000,"timestamp_ms":1790176843000,"timestamp_seconds":1790176843,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedad4f8"} 
[2026-09-23 20:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 20:56: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-09-23 20: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-09-23 20:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285194752001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285194752001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285194752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":190725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:56:08] local.INFO: GPS data processed {"connection_id":190725,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:56:08] local.INFO: Acknowledgment sent {"connection_id":190725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:56:11] local.INFO: TCP Data received {"connection_id":193607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:11] local.INFO: Processing buffer {"connection_id":193607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:56:11] local.INFO: Packet analysis {"connection_id":193607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:56:11] local.INFO: Extracted packet for processing {"connection_id":193607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:56:11] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:56: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-09-23 20: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-09-23 20:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":193607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:56:11] local.INFO: GPS data processed {"connection_id":193607,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:56:11] local.INFO: Acknowledgment sent {"connection_id":193607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:56:30] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:30] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:30] local.INFO: IMEI packet received {"connection_id":190914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":190914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:56:36] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:36] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:56:36] local.INFO: IMEI packet received {"connection_id":190914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":190914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:56:37] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:56:37] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:56:37] local.INFO: Packet analysis {"connection_id":190914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:56:37] local.INFO: Extracted packet for processing {"connection_id":190914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:56: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-09-23 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":190914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:56:37] local.INFO: GPS data processed {"connection_id":190914,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:56:37] local.INFO: Acknowledgment sent {"connection_id":190914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:56:56] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:56] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:56:56] local.INFO: IMEI packet received {"connection_id":193608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":193608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:57:01] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:01] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:01] local.INFO: IMEI packet received {"connection_id":193608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":193608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:57:01] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:01] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:01] local.INFO: Packet analysis {"connection_id":193608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:57:01] local.INFO: Extracted packet for processing {"connection_id":193608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:57: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-09-23 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:57: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-09-23 20: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-09-23 20:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":193608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:57:01] local.INFO: GPS data processed {"connection_id":193608,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:57:01] local.INFO: Acknowledgment sent {"connection_id":193608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:57:08] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:08] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:08] local.INFO: Packet analysis {"connection_id":190914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:57:08] local.INFO: Extracted packet for processing {"connection_id":190914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:57: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-09-23 20: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-09-23 20:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:57:08] local.INFO: GPS data processed {"connection_id":190914,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:57:08] local.INFO: Acknowledgment sent {"connection_id":190914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:57:30] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:30] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:30] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:57:32] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:32] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:57:32] local.INFO: Packet analysis {"connection_id":193608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:57:32] local.INFO: Extracted packet for processing {"connection_id":193608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:57: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:57: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-09-23 20: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-09-23 20:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:57:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":193608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:57:32] local.INFO: GPS data processed {"connection_id":193608,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:57:32] local.INFO: Acknowledgment sent {"connection_id":193608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:57:36] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:36] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:57:36] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:57:37] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:37] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:57:37] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:57:37] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:57: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-09-23 20:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:57:37] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:57:37] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:57:56] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:56] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:57:56] local.INFO: IMEI packet received {"connection_id":192260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":192260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:58:01] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:01] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:01] local.INFO: IMEI packet received {"connection_id":192260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":192260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:58:02] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:02] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:02] local.INFO: Packet analysis {"connection_id":192260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:58:02] local.INFO: Extracted packet for processing {"connection_id":192260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:58:02] 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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:58: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-09-23 20: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-09-23 20:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":192260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:58:02] local.INFO: GPS data processed {"connection_id":192260,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:58:02] local.INFO: Acknowledgment sent {"connection_id":192260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:58:09] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:09] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:09] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:09] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 20:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 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-09-23 20:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 20:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:58:09] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:58:09] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:58:33] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:33] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:58:33] local.INFO: Packet analysis {"connection_id":192260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:58:33] local.INFO: Extracted packet for processing {"connection_id":192260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:58: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-09-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:58: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-09-23 20: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-09-23 20:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:58:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":192260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:58:33] local.INFO: GPS data processed {"connection_id":192260,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:58:33] local.INFO: Acknowledgment sent {"connection_id":192260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:58:35] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:35] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:35] local.INFO: IMEI packet received {"connection_id":190916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":190916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:58:40] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:40] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:58:40] local.INFO: IMEI packet received {"connection_id":190916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":190916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:58:41] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:41] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:41] local.INFO: Packet analysis {"connection_id":190916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:41] local.INFO: Extracted packet for processing {"connection_id":190916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:58: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-09-23 20: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-09-23 20:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":190916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:58:41] local.INFO: GPS data processed {"connection_id":190916,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:58:41] local.INFO: Acknowledgment sent {"connection_id":190916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:58:46] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:46] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:58:46] local.INFO: Packet analysis {"connection_id":190916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:46] local.INFO: Extracted packet for processing {"connection_id":190916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 20: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-09-23 20:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":190916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:58:46] local.INFO: GPS data processed {"connection_id":190916,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:58:46] local.INFO: Acknowledgment sent {"connection_id":190916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:58:56] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:56] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:58:56] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:59:01] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:01] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:01] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 20:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:59:01] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:59:01] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedd9800012d196940071fef900038015922..."} 
[2026-09-23 20:59:01] local.INFO: Packet analysis {"connection_id":192261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:59:01] local.INFO: Extracted packet for processing {"connection_id":192261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedd"} 
[2026-09-23 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285241088001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177024000,"timestamp_ms":1790177024000,"timestamp_seconds":1790177024,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedd9800"} 
[2026-09-23 20:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:59: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-09-23 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 20:59: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-09-23 20:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285241088001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285241088001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285241088001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":192261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:59:01] local.INFO: GPS data processed {"connection_id":192261,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:59:01] local.INFO: Acknowledgment sent {"connection_id":192261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:59:31] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:31] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:31] local.INFO: IMEI packet received {"connection_id":190726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 20:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":190726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 20:59:32] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 20:59:32] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 20:59:32] local.INFO: Packet analysis {"connection_id":192261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 20:59:32] local.INFO: Extracted packet for processing {"connection_id":192261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 20: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-09-23 20:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 20:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 20:59: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-09-23 20: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-09-23 20:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 20:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 20:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 20:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 20:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 20:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 20:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:59:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 20:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 20:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 20:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 20:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":192261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:59:32] local.INFO: GPS data processed {"connection_id":192261,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:59:32] local.INFO: Acknowledgment sent {"connection_id":192261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:59:35] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:35] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 20:59:35] local.INFO: IMEI packet received {"connection_id":190726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 20:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":190726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 20:59:37] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:37] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:37] local.INFO: Packet analysis {"connection_id":190726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:59:37] local.INFO: Extracted packet for processing {"connection_id":190726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:59: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-09-23 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":190726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:59:37] local.INFO: GPS data processed {"connection_id":190726,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:59:37] local.INFO: Acknowledgment sent {"connection_id":190726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:59:41] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:41] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 20:59:41] local.INFO: Packet analysis {"connection_id":190726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:59:41] local.INFO: Extracted packet for processing {"connection_id":190726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 20:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 20:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 20:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 20:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 20:59: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-09-23 20:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 20:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 20:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 20:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 20:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 20:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 20:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 20:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 20:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 20:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 20:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 20:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 20:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 20:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 20:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 20:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 20:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 20:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":190726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 20:59:41] local.INFO: GPS data processed {"connection_id":190726,"processed":1,"errors":0,"total":1} 
[2026-09-23 20:59:41] local.INFO: Acknowledgment sent {"connection_id":190726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 20:59:56] local.INFO: TCP Data received {"connection_id":192262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:56] local.INFO: Processing buffer {"connection_id":192262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 20:59:56] local.INFO: IMEI packet received {"connection_id":192262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 20:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":192262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:00:01] local.INFO: TCP Data received {"connection_id":192262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:00:01] local.INFO: Processing buffer {"connection_id":192262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:00:01] local.INFO: IMEI packet received {"connection_id":192262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":192262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:00:02] local.INFO: TCP Data received {"connection_id":192262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:02] local.INFO: Processing buffer {"connection_id":192262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:02] local.INFO: Packet analysis {"connection_id":192262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:00:02] local.INFO: Extracted packet for processing {"connection_id":192262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:00:02] 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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:00: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-09-23 21: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-09-23 21:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":192262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:00:02] local.INFO: GPS data processed {"connection_id":192262,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:00:02] local.INFO: Acknowledgment sent {"connection_id":192262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:00:13] local.INFO: TCP Data received {"connection_id":190726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:13] local.INFO: Processing buffer {"connection_id":190726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:13] local.INFO: Packet analysis {"connection_id":190726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:00:13] local.INFO: Extracted packet for processing {"connection_id":190726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 21:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":190726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:00:13] local.INFO: GPS data processed {"connection_id":190726,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:00:13] local.INFO: Acknowledgment sent {"connection_id":190726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:00:31] local.INFO: TCP Data received {"connection_id":193609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:31] local.INFO: Processing buffer {"connection_id":193609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:31] local.INFO: IMEI packet received {"connection_id":193609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":193609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:00:33] local.INFO: TCP Data received {"connection_id":192262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:33] local.INFO: Processing buffer {"connection_id":192262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:00:33] local.INFO: Packet analysis {"connection_id":192262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:00:33] local.INFO: Extracted packet for processing {"connection_id":192262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:00: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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":192262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:00:33] local.INFO: GPS data processed {"connection_id":192262,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:00:33] local.INFO: Acknowledgment sent {"connection_id":192262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:00:35] local.INFO: TCP Data received {"connection_id":193609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:35] local.INFO: Processing buffer {"connection_id":193609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:00:35] local.INFO: IMEI packet received {"connection_id":193609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":193609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:00:36] local.INFO: TCP Data received {"connection_id":193609,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:36] local.INFO: Processing buffer {"connection_id":193609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:00:36] local.INFO: Packet analysis {"connection_id":193609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:00:36] local.INFO: Extracted packet for processing {"connection_id":193609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 21:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:00:36] 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-09-23 21:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":193609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:00:36] local.INFO: GPS data processed {"connection_id":193609,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:00:36] local.INFO: Acknowledgment sent {"connection_id":193609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:01:01] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:01] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:01] local.INFO: IMEI packet received {"connection_id":190917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":190917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:01:06] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:06] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:06] local.INFO: IMEI packet received {"connection_id":190917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":190917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:01:07] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:07] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:07] local.INFO: Packet analysis {"connection_id":190917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:01:07] local.INFO: Extracted packet for processing {"connection_id":190917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:01:07] 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-09-23 21:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:01: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-09-23 21:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":190917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:01:07] local.INFO: GPS data processed {"connection_id":190917,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:01:07] local.INFO: Acknowledgment sent {"connection_id":190917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:01:08] local.INFO: TCP Data received {"connection_id":193609,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:01:08] local.INFO: Processing buffer {"connection_id":193609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cedf6cc0012d34c58006aa47580012010523..."} 
[2026-09-23 21:01:08] local.INFO: Packet analysis {"connection_id":193609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:01:08] local.INFO: Extracted packet for processing {"connection_id":193609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cedf"} 
[2026-09-23 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285271808001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177144000,"timestamp_ms":1790177144000,"timestamp_seconds":1790177144,"priority":1,"record_length":96,"hex_timestamp":"000001a0cedf6cc0"} 
[2026-09-23 21:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285271808001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285271808001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285271808001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":193609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:01:08] local.INFO: GPS data processed {"connection_id":193609,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:01:08] local.INFO: Acknowledgment sent {"connection_id":193609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:01:11] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:11] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:01:11] local.INFO: Packet analysis {"connection_id":190917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:01:11] local.INFO: Extracted packet for processing {"connection_id":190917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:01: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-09-23 21: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-09-23 21:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:01:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":190917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:01:11] local.INFO: GPS data processed {"connection_id":190917,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:01:11] local.INFO: Acknowledgment sent {"connection_id":190917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:01:30] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:30] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:30] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:01:35] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:35] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:01:35] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:01:36] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:01:36] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:01:36] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:01:36] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 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-09-23 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:01: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-09-23 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-09-23 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-09-23 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:01:36] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:01:36] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:01:56] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:56] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:01:56] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:02:01] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:01] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:01] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:02:02] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:02] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:02] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:02:02] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:02:02] 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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:02: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-09-23 21: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-09-23 21:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:02:02] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:02:02] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:02:08] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:08] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:08] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:02:08] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:02: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-09-23 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:02: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-09-23 21: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-09-23 21:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:02:08] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:02:08] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:02:30] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:30] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:30] local.INFO: IMEI packet received {"connection_id":190727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":190727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:02:33] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:33] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:02:33] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:02:33] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:02: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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:02: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-09-23 21: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-09-23 21:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:02:33] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:02:33] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:02:35] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:35] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:02:35] local.INFO: IMEI packet received {"connection_id":190727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":190727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:02:36] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:36] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:02:36] local.INFO: Packet analysis {"connection_id":190727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:02:36] local.INFO: Extracted packet for processing {"connection_id":190727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:02: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-09-23 21: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-09-23 21:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":190727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:02:36] local.INFO: GPS data processed {"connection_id":190727,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:02:36] local.INFO: Acknowledgment sent {"connection_id":190727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:02:56] local.INFO: TCP Data received {"connection_id":193610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:56] local.INFO: Processing buffer {"connection_id":193610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:02:56] local.INFO: IMEI packet received {"connection_id":193610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":193610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:03:01] local.INFO: TCP Data received {"connection_id":193610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:01] local.INFO: Processing buffer {"connection_id":193610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:01] local.INFO: IMEI packet received {"connection_id":193610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":193610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:03:01] local.INFO: TCP Data received {"connection_id":193610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:01] local.INFO: Processing buffer {"connection_id":193610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:01] local.INFO: Packet analysis {"connection_id":193610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:03:01] local.INFO: Extracted packet for processing {"connection_id":193610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:03:01] 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-09-23 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:03: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-09-23 21:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:03:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":193610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:03:01] local.INFO: GPS data processed {"connection_id":193610,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:03:01] local.INFO: Acknowledgment sent {"connection_id":193610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:03:08] local.INFO: TCP Data received {"connection_id":190727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:03:08] local.INFO: Processing buffer {"connection_id":190727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:03:08] local.INFO: Packet analysis {"connection_id":190727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:03:08] local.INFO: Extracted packet for processing {"connection_id":190727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:03: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-09-23 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:03: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-09-23 21: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-09-23 21:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":190727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:03:08] local.INFO: GPS data processed {"connection_id":190727,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:03:08] local.INFO: Acknowledgment sent {"connection_id":190727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:03:14] local.INFO: TCP Data received {"connection_id":190728,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:03:14] local.INFO: Processing buffer {"connection_id":190728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:03:14] local.INFO: IMEI packet received {"connection_id":190728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":190728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:03:32] local.INFO: TCP Data received {"connection_id":193610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:32] local.INFO: Processing buffer {"connection_id":193610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:03:32] local.INFO: Packet analysis {"connection_id":193610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:03:32] local.INFO: Extracted packet for processing {"connection_id":193610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:03: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-09-23 21: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-09-23 21:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:03:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":193610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:03:32] local.INFO: GPS data processed {"connection_id":193610,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:03:32] local.INFO: Acknowledgment sent {"connection_id":193610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:03:56] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:56] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:03:56] local.INFO: IMEI packet received {"connection_id":190729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":190729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:04:01] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:01] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:01] local.INFO: IMEI packet received {"connection_id":190729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":190729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:04:02] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:04:02] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee22fc8012d196940071fef900038015924..."} 
[2026-09-23 21:04:02] local.INFO: Packet analysis {"connection_id":190729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:04:02] local.INFO: Extracted packet for processing {"connection_id":190729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee2"} 
[2026-09-23 21:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285318144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177325000,"timestamp_ms":1790177325000,"timestamp_seconds":1790177325,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee22fc8"} 
[2026-09-23 21:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:04:02] 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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:04: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-09-23 21: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-09-23 21:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285318144001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285318144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:04:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285318144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":190729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:04:02] local.INFO: GPS data processed {"connection_id":190729,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:04:02] local.INFO: Acknowledgment sent {"connection_id":190729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:04:05] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:05] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:05] local.INFO: IMEI packet received {"connection_id":192264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":192264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:04:09] local.INFO: TCP Data received {"connection_id":193611,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:04:09] local.INFO: Processing buffer {"connection_id":193611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:04:09] local.INFO: IMEI packet received {"connection_id":193611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":193611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:04:11] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:11] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:11] local.INFO: IMEI packet received {"connection_id":192264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":192264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:04:13] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:13] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:13] local.INFO: Packet analysis {"connection_id":192264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:04:13] local.INFO: Extracted packet for processing {"connection_id":192264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":192264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:04:13] local.INFO: GPS data processed {"connection_id":192264,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:04:13] local.INFO: Acknowledgment sent {"connection_id":192264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:04:30] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:30] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:30] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:04:33] local.INFO: TCP Data received {"connection_id":190729,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:04:33] local.INFO: Processing buffer {"connection_id":190729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:04:33] local.INFO: Packet analysis {"connection_id":190729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:04:33] local.INFO: Extracted packet for processing {"connection_id":190729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:04:33] 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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:04: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-09-23 21: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-09-23 21:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":190729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:04:33] local.INFO: GPS data processed {"connection_id":190729,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:04:33] local.INFO: Acknowledgment sent {"connection_id":190729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:04:36] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:36] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:04:36] local.INFO: IMEI packet received {"connection_id":190730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":190730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:04:38] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:38] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:04:38] local.INFO: Packet analysis {"connection_id":190730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:04:38] local.INFO: Extracted packet for processing {"connection_id":190730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:04: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-09-23 21: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-09-23 21:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":190730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:04:38] local.INFO: GPS data processed {"connection_id":190730,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:04:38] local.INFO: Acknowledgment sent {"connection_id":190730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:04:56] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:56] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:04:56] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:05:01] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:05:01] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:05:01] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:05:01] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:01] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:01] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:05:01] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:05:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:05: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-09-23 21: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-09-23 21:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:05:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:05:01] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:05:01] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:05:11] local.INFO: TCP Data received {"connection_id":190730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:11] local.INFO: Processing buffer {"connection_id":190730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:11] local.INFO: Packet analysis {"connection_id":190730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:05:11] local.INFO: Extracted packet for processing {"connection_id":190730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:05: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-09-23 21: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-09-23 21:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":190730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:05:11] local.INFO: GPS data processed {"connection_id":190730,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:05:11] local.INFO: Acknowledgment sent {"connection_id":190730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:05:30] local.INFO: TCP Data received {"connection_id":193613,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:30] local.INFO: Processing buffer {"connection_id":193613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:30] local.INFO: IMEI packet received {"connection_id":193613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":193613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:05:32] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:32] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:05:32] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:05:32] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:05:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:05: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-09-23 21: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-09-23 21:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:05:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:05:32] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:05:32] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:05:36] local.INFO: TCP Data received {"connection_id":193613,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:36] local.INFO: Processing buffer {"connection_id":193613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:05:36] local.INFO: IMEI packet received {"connection_id":193613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":193613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:05:38] local.INFO: TCP Data received {"connection_id":193613,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:38] local.INFO: Processing buffer {"connection_id":193613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:05:38] local.INFO: Packet analysis {"connection_id":193613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:05:38] local.INFO: Extracted packet for processing {"connection_id":193613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 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-09-23 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:05: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-09-23 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-09-23 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-09-23 21:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":193613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:05:38] local.INFO: GPS data processed {"connection_id":193613,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:05:38] local.INFO: Acknowledgment sent {"connection_id":193613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:06:01] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:01] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:01] local.INFO: IMEI packet received {"connection_id":190920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":190920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:06:06] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:06] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:06] local.INFO: IMEI packet received {"connection_id":190920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":190920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:06:07] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:07] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:07] local.INFO: Packet analysis {"connection_id":190920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:06:07] local.INFO: Extracted packet for processing {"connection_id":190920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:06: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-09-23 21:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":190920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:06:07] local.INFO: GPS data processed {"connection_id":190920,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:06:07] local.INFO: Acknowledgment sent {"connection_id":190920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:06:10] local.INFO: TCP Data received {"connection_id":193613,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:06:10] local.INFO: Processing buffer {"connection_id":193613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee40488012d34c58006aa47580012010524..."} 
[2026-09-23 21:06:10] local.INFO: Packet analysis {"connection_id":193613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:06:10] local.INFO: Extracted packet for processing {"connection_id":193613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee4"} 
[2026-09-23 21:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285348864001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790177445000,"timestamp_ms":1790177445000,"timestamp_seconds":1790177445,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee40488"} 
[2026-09-23 21:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-23 21:06: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-09-23 21:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285348864001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285348864001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285348864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":193613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:06:10] local.INFO: GPS data processed {"connection_id":193613,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:06:10] local.INFO: Acknowledgment sent {"connection_id":193613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:06:11] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:11] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:06:11] local.INFO: Packet analysis {"connection_id":190920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:06:11] local.INFO: Extracted packet for processing {"connection_id":190920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:06: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:06: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-09-23 21:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:06:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":190920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:06:11] local.INFO: GPS data processed {"connection_id":190920,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:06:11] local.INFO: Acknowledgment sent {"connection_id":190920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:06:36] local.INFO: TCP Data received {"connection_id":193614,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:36] local.INFO: Processing buffer {"connection_id":193614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:36] local.INFO: IMEI packet received {"connection_id":193614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":193614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:06:41] local.INFO: TCP Data received {"connection_id":193614,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:41] local.INFO: Processing buffer {"connection_id":193614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:06:41] local.INFO: IMEI packet received {"connection_id":193614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":193614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:06:49] local.INFO: TCP Data received {"connection_id":193614,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:06:49] local.INFO: Processing buffer {"connection_id":193614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:06:49] local.INFO: Packet analysis {"connection_id":193614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:06:49] local.INFO: Extracted packet for processing {"connection_id":193614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":193614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:06:49] local.INFO: GPS data processed {"connection_id":193614,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:06:49] local.INFO: Acknowledgment sent {"connection_id":193614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:06:56] local.INFO: TCP Data received {"connection_id":190921,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:56] local.INFO: Processing buffer {"connection_id":190921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:06:56] local.INFO: IMEI packet received {"connection_id":190921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":190921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:07:01] local.INFO: TCP Data received {"connection_id":190921,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:01] local.INFO: Processing buffer {"connection_id":190921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:01] local.INFO: IMEI packet received {"connection_id":190921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":190921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:07:01] local.INFO: TCP Data received {"connection_id":190921,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:01] local.INFO: Processing buffer {"connection_id":190921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:01] local.INFO: Packet analysis {"connection_id":190921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:07:01] local.INFO: Extracted packet for processing {"connection_id":190921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:07:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:07: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-09-23 21: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-09-23 21:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":190921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:07:01] local.INFO: GPS data processed {"connection_id":190921,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:07:01] local.INFO: Acknowledgment sent {"connection_id":190921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:07:31] local.INFO: TCP Data received {"connection_id":193615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:31] local.INFO: Processing buffer {"connection_id":193615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:31] local.INFO: IMEI packet received {"connection_id":193615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":193615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:07:32] local.INFO: TCP Data received {"connection_id":190921,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:32] local.INFO: Processing buffer {"connection_id":190921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:07:32] local.INFO: Packet analysis {"connection_id":190921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:07:32] local.INFO: Extracted packet for processing {"connection_id":190921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:07:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:07: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-09-23 21: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-09-23 21:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":190921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:07:32] local.INFO: GPS data processed {"connection_id":190921,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:07:32] local.INFO: Acknowledgment sent {"connection_id":190921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:07:35] local.INFO: TCP Data received {"connection_id":193615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:35] local.INFO: Processing buffer {"connection_id":193615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:07:35] local.INFO: IMEI packet received {"connection_id":193615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:07:37] local.INFO: TCP Data received {"connection_id":193615,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:07:37] local.INFO: Processing buffer {"connection_id":193615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:07:37] local.INFO: Packet analysis {"connection_id":193615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:07:37] local.INFO: Extracted packet for processing {"connection_id":193615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:07: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-09-23 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":193615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:07:37] local.INFO: GPS data processed {"connection_id":193615,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:07:37] local.INFO: Acknowledgment sent {"connection_id":193615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:07:56] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:56] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:07:56] local.INFO: IMEI packet received {"connection_id":192265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":192265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:08:01] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:01] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:01] local.INFO: IMEI packet received {"connection_id":192265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":192265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:08:02] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:02] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:02] local.INFO: Packet analysis {"connection_id":192265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:08:02] local.INFO: Extracted packet for processing {"connection_id":192265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:08: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:08: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-09-23 21: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-09-23 21:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:08:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":192265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:08:02] local.INFO: GPS data processed {"connection_id":192265,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:08:02] local.INFO: Acknowledgment sent {"connection_id":192265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:08:09] local.INFO: TCP Data received {"connection_id":193615,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:09] local.INFO: Processing buffer {"connection_id":193615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:09] local.INFO: Packet analysis {"connection_id":193615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:08:09] local.INFO: Extracted packet for processing {"connection_id":193615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":193615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:08:09] local.INFO: GPS data processed {"connection_id":193615,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:08:09] local.INFO: Acknowledgment sent {"connection_id":193615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:08:30] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:30] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:30] local.INFO: IMEI packet received {"connection_id":190922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":190922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:08:33] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:33] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:08:33] local.INFO: Packet analysis {"connection_id":192265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:08:33] local.INFO: Extracted packet for processing {"connection_id":192265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:08:33] 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-09-23 21:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":192265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:08:33] local.INFO: GPS data processed {"connection_id":192265,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:08:33] local.INFO: Acknowledgment sent {"connection_id":192265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:08:36] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:36] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:08:36] local.INFO: IMEI packet received {"connection_id":190922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":190922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:08:37] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:37] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:08:37] local.INFO: Packet analysis {"connection_id":190922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:08:37] local.INFO: Extracted packet for processing {"connection_id":190922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:08: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-09-23 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":190922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:08:37] local.INFO: GPS data processed {"connection_id":190922,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:08:37] local.INFO: Acknowledgment sent {"connection_id":190922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:08:56] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:56] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:08:56] local.INFO: IMEI packet received {"connection_id":193617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":193617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:09:01] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:01] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:01] local.INFO: IMEI packet received {"connection_id":193617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":193617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:09:01] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:09:01] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee6c790012d196940071fef900038015924..."} 
[2026-09-23 21:09:01] local.INFO: Packet analysis {"connection_id":193617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:09:01] local.INFO: Extracted packet for processing {"connection_id":193617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee6"} 
[2026-09-23 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285395200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177626000,"timestamp_ms":1790177626000,"timestamp_seconds":1790177626,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee6c790"} 
[2026-09-23 21:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:09:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:09: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-09-23 21: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-09-23 21:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285395200001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285395200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:09:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285395200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":193617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:09:01] local.INFO: GPS data processed {"connection_id":193617,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:09:01] local.INFO: Acknowledgment sent {"connection_id":193617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:09:08] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:08] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:08] local.INFO: Packet analysis {"connection_id":190922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:09:08] local.INFO: Extracted packet for processing {"connection_id":190922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:09: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-09-23 21: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-09-23 21:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":190922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:09:08] local.INFO: GPS data processed {"connection_id":190922,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:09:08] local.INFO: Acknowledgment sent {"connection_id":190922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:09:14] local.INFO: TCP Data received {"connection_id":190733,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:09:14] local.INFO: Processing buffer {"connection_id":190733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:09:14] local.INFO: IMEI packet received {"connection_id":190733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":190733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:09:30] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:30] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:30] local.INFO: IMEI packet received {"connection_id":190734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":190734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:09:32] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:09:32] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:09:32] local.INFO: Packet analysis {"connection_id":193617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:09:32] local.INFO: Extracted packet for processing {"connection_id":193617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:09:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:09: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-09-23 21:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:09:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":193617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:09:32] local.INFO: GPS data processed {"connection_id":193617,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:09:32] local.INFO: Acknowledgment sent {"connection_id":193617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:09:35] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:35] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:09:35] local.INFO: IMEI packet received {"connection_id":190734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":190734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:09:37] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:37] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:09:37] local.INFO: Packet analysis {"connection_id":190734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:09:37] local.INFO: Extracted packet for processing {"connection_id":190734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 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-09-23 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:09: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-09-23 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-09-23 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-09-23 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":190734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:09:37] local.INFO: GPS data processed {"connection_id":190734,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:09:37] local.INFO: Acknowledgment sent {"connection_id":190734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:09:56] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:56] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:09:56] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:10:01] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:10:01] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:10:01] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:10:02] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:02] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:02] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:10:02] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:10: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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:10: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-09-23 21: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-09-23 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:10:02] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:10:02] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:10:09] local.INFO: TCP Data received {"connection_id":190734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:09] local.INFO: Processing buffer {"connection_id":190734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:09] local.INFO: Packet analysis {"connection_id":190734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:10:09] local.INFO: Extracted packet for processing {"connection_id":190734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":190734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:10:09] local.INFO: GPS data processed {"connection_id":190734,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:10:09] local.INFO: Acknowledgment sent {"connection_id":190734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:10:30] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:30] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:30] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:10:33] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:33] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:10:33] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:10:33] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:10:33] 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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:10:33] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:10:33] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:10:35] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:35] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:10:35] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:10:36] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:36] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:10:36] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:10:36] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:10:36] 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-09-23 21: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-09-23 21:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:10:36] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:10:36] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:01] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:01] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:01] local.INFO: IMEI packet received {"connection_id":190924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":190924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:11:06] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:06] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:06] local.INFO: IMEI packet received {"connection_id":190924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":190924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:11:07] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:07] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:07] local.INFO: Packet analysis {"connection_id":190924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:11:07] local.INFO: Extracted packet for processing {"connection_id":190924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:11: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":190924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:11:07] local.INFO: GPS data processed {"connection_id":190924,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:11:07] local.INFO: Acknowledgment sent {"connection_id":190924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:08] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:11:08] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cee89c50012d34c58006aa47580012010526..."} 
[2026-09-23 21:11:08] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:11:08] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cee8"} 
[2026-09-23 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285425920001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790177746000,"timestamp_ms":1790177746000,"timestamp_seconds":1790177746,"priority":1,"record_length":96,"hex_timestamp":"000001a0cee89c50"} 
[2026-09-23 21:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:11: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-09-23 21: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-09-23 21:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285425920001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285425920001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285425920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:11:08] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:11:08] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:35] local.INFO: TCP Data received {"connection_id":192267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:35] local.INFO: Processing buffer {"connection_id":192267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:35] local.INFO: IMEI packet received {"connection_id":192267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":192267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:11:38] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:38] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:11:38] local.INFO: Packet analysis {"connection_id":190924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:11:38] local.INFO: Extracted packet for processing {"connection_id":190924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:11: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:11: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-09-23 21: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-09-23 21:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:11:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":190924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:11:38] local.INFO: GPS data processed {"connection_id":190924,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:11:38] local.INFO: Acknowledgment sent {"connection_id":190924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:40] local.INFO: TCP Data received {"connection_id":192267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:40] local.INFO: Processing buffer {"connection_id":192267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:11:40] local.INFO: IMEI packet received {"connection_id":192267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":192267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:11:41] local.INFO: TCP Data received {"connection_id":192267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:41] local.INFO: Processing buffer {"connection_id":192267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:41] local.INFO: Packet analysis {"connection_id":192267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:11:41] local.INFO: Extracted packet for processing {"connection_id":192267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:11: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-09-23 21: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-09-23 21:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":192267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:11:41] local.INFO: GPS data processed {"connection_id":192267,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:11:41] local.INFO: Acknowledgment sent {"connection_id":192267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:46] local.INFO: TCP Data received {"connection_id":192267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:46] local.INFO: Processing buffer {"connection_id":192267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:11:46] local.INFO: Packet analysis {"connection_id":192267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:11:46] local.INFO: Extracted packet for processing {"connection_id":192267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":192267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:11:46] local.INFO: GPS data processed {"connection_id":192267,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:11:46] local.INFO: Acknowledgment sent {"connection_id":192267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:11:56] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:56] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:11:56] local.INFO: IMEI packet received {"connection_id":190737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:12:01] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:01] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:01] local.INFO: IMEI packet received {"connection_id":190737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":190737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:12:02] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:02] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:02] local.INFO: Packet analysis {"connection_id":190737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:12:02] local.INFO: Extracted packet for processing {"connection_id":190737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:12: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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":190737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:12:02] local.INFO: GPS data processed {"connection_id":190737,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:12:02] local.INFO: Acknowledgment sent {"connection_id":190737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:12:30] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:30] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:30] local.INFO: IMEI packet received {"connection_id":190739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":190739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:12:33] local.INFO: TCP Data received {"connection_id":190737,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:33] local.INFO: Processing buffer {"connection_id":190737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:12:33] local.INFO: Packet analysis {"connection_id":190737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:12:33] local.INFO: Extracted packet for processing {"connection_id":190737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:12:33] 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-09-23 21:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:12: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-09-23 21: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-09-23 21:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":190737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:12:33] local.INFO: GPS data processed {"connection_id":190737,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:12:33] local.INFO: Acknowledgment sent {"connection_id":190737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:12:35] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:35] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:12:35] local.INFO: IMEI packet received {"connection_id":190739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":190739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:12:36] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:12:36] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:12:36] local.INFO: Packet analysis {"connection_id":190739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:12:36] local.INFO: Extracted packet for processing {"connection_id":190739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:12:36] 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-09-23 21:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":190739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:12:36] local.INFO: GPS data processed {"connection_id":190739,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:12:36] local.INFO: Acknowledgment sent {"connection_id":190739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:12:56] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:56] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:12:56] local.INFO: IMEI packet received {"connection_id":192268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":192268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:13:01] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:01] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:01] local.INFO: IMEI packet received {"connection_id":192268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":192268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:13:01] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:01] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:01] local.INFO: Packet analysis {"connection_id":192268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:13:01] local.INFO: Extracted packet for processing {"connection_id":192268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:13:01] 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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:13:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":192268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:13:01] local.INFO: GPS data processed {"connection_id":192268,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:13:01] local.INFO: Acknowledgment sent {"connection_id":192268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:13:07] local.INFO: TCP Data received {"connection_id":190739,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:07] local.INFO: Processing buffer {"connection_id":190739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:07] local.INFO: Packet analysis {"connection_id":190739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:13:07] local.INFO: Extracted packet for processing {"connection_id":190739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:13:07] 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-09-23 21:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:13:08] local.INFO: GPS data processed {"connection_id":190739,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:13:08] local.INFO: Acknowledgment sent {"connection_id":190739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:13:30] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:30] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:30] local.INFO: IMEI packet received {"connection_id":193619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":193619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:13:33] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:33] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:13:33] local.INFO: Packet analysis {"connection_id":192268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:13:33] local.INFO: Extracted packet for processing {"connection_id":192268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:13:33] 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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:13:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":192268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:13:33] local.INFO: GPS data processed {"connection_id":192268,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:13:33] local.INFO: Acknowledgment sent {"connection_id":192268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:13:35] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:35] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:13:35] local.INFO: IMEI packet received {"connection_id":193619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":193619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:13:37] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:37] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:13:37] local.INFO: Packet analysis {"connection_id":193619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:13:37] local.INFO: Extracted packet for processing {"connection_id":193619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:13: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-09-23 21:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":193619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:13:37] local.INFO: GPS data processed {"connection_id":193619,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:13:37] local.INFO: Acknowledgment sent {"connection_id":193619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:13:56] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:56] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:13:56] local.INFO: IMEI packet received {"connection_id":190740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":190740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:14:01] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:14:01] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:14:01] local.INFO: IMEI packet received {"connection_id":190740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":190740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:14:02] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:14:02] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeb5f58012d196940071fef900038015925..."} 
[2026-09-23 21:14:02] local.INFO: Packet analysis {"connection_id":190740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:14:02] local.INFO: Extracted packet for processing {"connection_id":190740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceeb"} 
[2026-09-23 21:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285472256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790177927000,"timestamp_ms":1790177927000,"timestamp_seconds":1790177927,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeb5f58"} 
[2026-09-23 21:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:14: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:14: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-09-23 21: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-09-23 21:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285472256001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285472256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:14:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285472256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":190740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:14:02] local.INFO: GPS data processed {"connection_id":190740,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:14:02] local.INFO: Acknowledgment sent {"connection_id":190740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:14:08] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:08] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:08] local.INFO: Packet analysis {"connection_id":193619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:14:08] local.INFO: Extracted packet for processing {"connection_id":193619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 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-09-23 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:14: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-09-23 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-09-23 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-09-23 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":193619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:14:08] local.INFO: GPS data processed {"connection_id":193619,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:14:08] local.INFO: Acknowledgment sent {"connection_id":193619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:14:30] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:30] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:30] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:14:33] local.INFO: TCP Data received {"connection_id":190740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:14:33] local.INFO: Processing buffer {"connection_id":190740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:14:33] local.INFO: Packet analysis {"connection_id":190740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:14:33] local.INFO: Extracted packet for processing {"connection_id":190740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:14: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-09-23 21: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-09-23 21:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":190740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:14:33] local.INFO: GPS data processed {"connection_id":190740,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:14:33] local.INFO: Acknowledgment sent {"connection_id":190740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:14:35] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:35] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:14:35] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:14:37] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:37] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:14:37] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:14:37] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:14: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-09-23 21:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:14:37] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:14:37] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:14:49] local.INFO: TCP Data received {"connection_id":190741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:14:49] local.INFO: Processing buffer {"connection_id":190741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:14:49] local.INFO: IMEI packet received {"connection_id":190741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":190741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:15:01] local.INFO: TCP Data received {"connection_id":193620,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:01] local.INFO: Processing buffer {"connection_id":193620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:01] local.INFO: IMEI packet received {"connection_id":193620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":193620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:15:06] local.INFO: TCP Data received {"connection_id":193620,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:06] local.INFO: Processing buffer {"connection_id":193620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:06] local.INFO: IMEI packet received {"connection_id":193620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":193620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:15:07] local.INFO: TCP Data received {"connection_id":193620,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:07] local.INFO: Processing buffer {"connection_id":193620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:07] local.INFO: Packet analysis {"connection_id":193620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:15:07] local.INFO: Extracted packet for processing {"connection_id":193620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":193620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:15:07] local.INFO: GPS data processed {"connection_id":193620,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:15:07] local.INFO: Acknowledgment sent {"connection_id":193620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:15:08] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:08] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:08] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:15:08] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:15: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-09-23 21: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-09-23 21:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:15:08] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:15:08] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:15:08] local.INFO: TCP Data received {"connection_id":193621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:15:08] local.INFO: Processing buffer {"connection_id":193621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:15:08] local.INFO: IMEI packet received {"connection_id":193621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":193621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:15:30] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:30] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:30] local.INFO: IMEI packet received {"connection_id":190742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":190742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:15:36] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:36] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:15:36] local.INFO: IMEI packet received {"connection_id":190742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":190742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:15:37] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:37] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:15:37] local.INFO: Packet analysis {"connection_id":190742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:15:37] local.INFO: Extracted packet for processing {"connection_id":190742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:15: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-09-23 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":190742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:15:37] local.INFO: GPS data processed {"connection_id":190742,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:15:37] local.INFO: Acknowledgment sent {"connection_id":190742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:15:38] local.INFO: TCP Data received {"connection_id":193620,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:38] local.INFO: Processing buffer {"connection_id":193620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:15:38] local.INFO: Packet analysis {"connection_id":193620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:15:38] local.INFO: Extracted packet for processing {"connection_id":193620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:15: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-09-23 21: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-09-23 21:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:15:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":193620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:15:38] local.INFO: GPS data processed {"connection_id":193620,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:15:38] local.INFO: Acknowledgment sent {"connection_id":193620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:15:56] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:56] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:15:56] local.INFO: IMEI packet received {"connection_id":192270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":192270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:16:01] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:01] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:01] local.INFO: IMEI packet received {"connection_id":192270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":192270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:16:02] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:02] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:02] local.INFO: Packet analysis {"connection_id":192270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:16:02] local.INFO: Extracted packet for processing {"connection_id":192270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:16: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-09-23 21: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-09-23 21:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:16:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":192270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:16:02] local.INFO: GPS data processed {"connection_id":192270,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:16:02] local.INFO: Acknowledgment sent {"connection_id":192270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:16:09] local.INFO: TCP Data received {"connection_id":190742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:16:09] local.INFO: Processing buffer {"connection_id":190742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceed3418012d34c58006aa47580012010523..."} 
[2026-09-23 21:16:09] local.INFO: Packet analysis {"connection_id":190742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:16:09] local.INFO: Extracted packet for processing {"connection_id":190742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceed"} 
[2026-09-23 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285502976001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790178047000,"timestamp_ms":1790178047000,"timestamp_seconds":1790178047,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceed3418"} 
[2026-09-23 21:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285502976001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285502976001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285502976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":190742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:16:09] local.INFO: GPS data processed {"connection_id":190742,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:16:09] local.INFO: Acknowledgment sent {"connection_id":190742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:16:33] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:33] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:16:33] local.INFO: Packet analysis {"connection_id":192270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:16:33] local.INFO: Extracted packet for processing {"connection_id":192270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:16: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-09-23 21: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-09-23 21:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":192270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:16:33] local.INFO: GPS data processed {"connection_id":192270,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:16:33] local.INFO: Acknowledgment sent {"connection_id":192270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:16:36] local.INFO: TCP Data received {"connection_id":193622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:36] local.INFO: Processing buffer {"connection_id":193622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:36] local.INFO: IMEI packet received {"connection_id":193622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":193622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:16:41] local.INFO: TCP Data received {"connection_id":193622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:41] local.INFO: Processing buffer {"connection_id":193622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:16:41] local.INFO: IMEI packet received {"connection_id":193622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":193622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:16:42] local.INFO: TCP Data received {"connection_id":193622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:42] local.INFO: Processing buffer {"connection_id":193622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:42] local.INFO: Packet analysis {"connection_id":193622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:16:42] local.INFO: Extracted packet for processing {"connection_id":193622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:16: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-09-23 21:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":193622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:16:43] local.INFO: GPS data processed {"connection_id":193622,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:16:43] local.INFO: Acknowledgment sent {"connection_id":193622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:16:46] local.INFO: TCP Data received {"connection_id":193622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:46] local.INFO: Processing buffer {"connection_id":193622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:16:46] local.INFO: Packet analysis {"connection_id":193622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:16:46] local.INFO: Extracted packet for processing {"connection_id":193622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":193622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:16:46] local.INFO: GPS data processed {"connection_id":193622,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:16:46] local.INFO: Acknowledgment sent {"connection_id":193622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:16:56] local.INFO: TCP Data received {"connection_id":193623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:56] local.INFO: Processing buffer {"connection_id":193623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:16:56] local.INFO: IMEI packet received {"connection_id":193623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:17:00] local.INFO: TCP Data received {"connection_id":193623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:00] local.INFO: Processing buffer {"connection_id":193623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:00] local.INFO: IMEI packet received {"connection_id":193623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":193623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:17:01] local.INFO: TCP Data received {"connection_id":193623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:01] local.INFO: Processing buffer {"connection_id":193623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:01] local.INFO: Packet analysis {"connection_id":193623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:17:01] local.INFO: Extracted packet for processing {"connection_id":193623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:17: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-09-23 21:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:17: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-09-23 21:17: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-09-23 21:17: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-09-23 21:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":193623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:17:01] local.INFO: GPS data processed {"connection_id":193623,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:17:01] local.INFO: Acknowledgment sent {"connection_id":193623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:17:30] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:30] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:30] local.INFO: IMEI packet received {"connection_id":190925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":190925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:17:32] local.INFO: TCP Data received {"connection_id":193623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:32] local.INFO: Processing buffer {"connection_id":193623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:17:32] local.INFO: Packet analysis {"connection_id":193623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:17:32] local.INFO: Extracted packet for processing {"connection_id":193623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:17: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-09-23 21: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-09-23 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:17:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":193623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:17:33] local.INFO: GPS data processed {"connection_id":193623,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:17:33] local.INFO: Acknowledgment sent {"connection_id":193623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:17:35] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:35] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:17:35] local.INFO: IMEI packet received {"connection_id":190925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":190925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:17:37] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:17:37] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:17:37] local.INFO: Packet analysis {"connection_id":190925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:17:37] local.INFO: Extracted packet for processing {"connection_id":190925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":190925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:17:37] local.INFO: GPS data processed {"connection_id":190925,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:17:37] local.INFO: Acknowledgment sent {"connection_id":190925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:17:56] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:56] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:17:56] local.INFO: IMEI packet received {"connection_id":190926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":190926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:18:01] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:01] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:01] local.INFO: IMEI packet received {"connection_id":190926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":190926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:18:02] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:02] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:02] local.INFO: Packet analysis {"connection_id":190926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:18:02] local.INFO: Extracted packet for processing {"connection_id":190926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:18: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-09-23 21: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-09-23 21:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":190926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:18:02] local.INFO: GPS data processed {"connection_id":190926,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:18:02] local.INFO: Acknowledgment sent {"connection_id":190926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:18:09] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:09] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:09] local.INFO: Packet analysis {"connection_id":190925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:18:09] local.INFO: Extracted packet for processing {"connection_id":190925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":190925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:18:09] local.INFO: GPS data processed {"connection_id":190925,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:18:09] local.INFO: Acknowledgment sent {"connection_id":190925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:18:30] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:30] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:30] local.INFO: IMEI packet received {"connection_id":190744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":190744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:18:33] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:33] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:18:33] local.INFO: Packet analysis {"connection_id":190926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:18:33] local.INFO: Extracted packet for processing {"connection_id":190926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:18: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-09-23 21:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":190926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:18:33] local.INFO: GPS data processed {"connection_id":190926,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:18:33] local.INFO: Acknowledgment sent {"connection_id":190926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:18:35] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:35] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:18:35] local.INFO: IMEI packet received {"connection_id":190744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":190744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:18:37] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:37] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:18:37] local.INFO: Packet analysis {"connection_id":190744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:18:37] local.INFO: Extracted packet for processing {"connection_id":190744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:18: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-09-23 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":190744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:18:37] local.INFO: GPS data processed {"connection_id":190744,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:18:37] local.INFO: Acknowledgment sent {"connection_id":190744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:18:56] local.INFO: TCP Data received {"connection_id":190745,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:56] local.INFO: Processing buffer {"connection_id":190745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:18:56] local.INFO: IMEI packet received {"connection_id":190745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":190745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:19:00] local.INFO: TCP Data received {"connection_id":190745,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:19:00] local.INFO: Processing buffer {"connection_id":190745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:19:00] local.INFO: IMEI packet received {"connection_id":190745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":190745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:19:01] local.INFO: TCP Data received {"connection_id":190745,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:19:01] local.INFO: Processing buffer {"connection_id":190745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceeff720012d196940071fef900038015922..."} 
[2026-09-23 21:19:01] local.INFO: Packet analysis {"connection_id":190745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:19:01] local.INFO: Extracted packet for processing {"connection_id":190745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceef"} 
[2026-09-23 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285549312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178228000,"timestamp_ms":1790178228000,"timestamp_seconds":1790178228,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceeff720"} 
[2026-09-23 21:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:19: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-09-23 21: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-09-23 21:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285549312001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285549312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285549312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":190745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:19:01] local.INFO: GPS data processed {"connection_id":190745,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:19:01] local.INFO: Acknowledgment sent {"connection_id":190745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:19:08] local.INFO: TCP Data received {"connection_id":190744,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:08] local.INFO: Processing buffer {"connection_id":190744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:08] local.INFO: Packet analysis {"connection_id":190744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:08] local.INFO: Extracted packet for processing {"connection_id":190744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:19: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-09-23 21:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:19:08] local.INFO: GPS data processed {"connection_id":190744,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:19:08] local.INFO: Acknowledgment sent {"connection_id":190744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:19:32] local.INFO: TCP Data received {"connection_id":190745,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:19:32] local.INFO: Processing buffer {"connection_id":190745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:19:32] local.INFO: Packet analysis {"connection_id":190745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:19:32] local.INFO: Extracted packet for processing {"connection_id":190745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:19:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:19: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-09-23 21: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-09-23 21:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:19:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":190745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:19:33] local.INFO: GPS data processed {"connection_id":190745,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:19:33] local.INFO: Acknowledgment sent {"connection_id":190745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:19:35] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:35] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:35] local.INFO: IMEI packet received {"connection_id":193625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":193625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:19:40] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:40] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:19:40] local.INFO: IMEI packet received {"connection_id":193625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":193625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:19:41] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:41] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:41] local.INFO: Packet analysis {"connection_id":193625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:41] local.INFO: Extracted packet for processing {"connection_id":193625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:19: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-09-23 21:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":193625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:19:41] local.INFO: GPS data processed {"connection_id":193625,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:19:41] local.INFO: Acknowledgment sent {"connection_id":193625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:19:46] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:46] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:19:46] local.INFO: Packet analysis {"connection_id":193625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:46] local.INFO: Extracted packet for processing {"connection_id":193625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":193625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:19:46] local.INFO: GPS data processed {"connection_id":193625,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:19:46] local.INFO: Acknowledgment sent {"connection_id":193625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:20:01] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:01] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:01] local.INFO: IMEI packet received {"connection_id":190928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":190928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:20:06] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:06] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:06] local.INFO: IMEI packet received {"connection_id":190928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":190928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:20:07] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:07] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:07] local.INFO: Packet analysis {"connection_id":190928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:20:07] local.INFO: Extracted packet for processing {"connection_id":190928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:20: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":190928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:20:07] local.INFO: GPS data processed {"connection_id":190928,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:20:07] local.INFO: Acknowledgment sent {"connection_id":190928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:20:11] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:11] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:20:11] local.INFO: Packet analysis {"connection_id":190928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:20:11] local.INFO: Extracted packet for processing {"connection_id":190928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:20:11] 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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:20: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-09-23 21: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-09-23 21:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":190928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:20:11] local.INFO: GPS data processed {"connection_id":190928,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:20:11] local.INFO: Acknowledgment sent {"connection_id":190928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:20:31] local.INFO: TCP Data received {"connection_id":193626,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:31] local.INFO: Processing buffer {"connection_id":193626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:31] local.INFO: IMEI packet received {"connection_id":193626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":193626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:20:35] local.INFO: TCP Data received {"connection_id":193626,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:35] local.INFO: Processing buffer {"connection_id":193626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:20:35] local.INFO: IMEI packet received {"connection_id":193626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":193626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:20:36] local.INFO: TCP Data received {"connection_id":193626,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:36] local.INFO: Processing buffer {"connection_id":193626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:36] local.INFO: Packet analysis {"connection_id":193626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:20:36] local.INFO: Extracted packet for processing {"connection_id":193626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:20:36] 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-09-23 21: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-09-23 21:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":193626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:20:36] local.INFO: GPS data processed {"connection_id":193626,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:20:36] local.INFO: Acknowledgment sent {"connection_id":193626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:20:41] local.INFO: TCP Data received {"connection_id":193626,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:41] local.INFO: Processing buffer {"connection_id":193626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:20:41] local.INFO: Packet analysis {"connection_id":193626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:20:41] local.INFO: Extracted packet for processing {"connection_id":193626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":193626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:20:41] local.INFO: GPS data processed {"connection_id":193626,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:20:41] local.INFO: Acknowledgment sent {"connection_id":193626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:20:49] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:20:49] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:20:49] local.INFO: IMEI packet received {"connection_id":190929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":190929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:20:56] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:56] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:20:56] local.INFO: IMEI packet received {"connection_id":190930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":190930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:21:00] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:00] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:00] local.INFO: IMEI packet received {"connection_id":190930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":190930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:21:01] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:01] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:01] local.INFO: Packet analysis {"connection_id":190930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:21:01] local.INFO: Extracted packet for processing {"connection_id":190930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:21: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-09-23 21:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:21:01] 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-09-23 21:21: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-09-23 21:21: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-09-23 21:21: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-09-23 21:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:21:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":190930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:21:01] local.INFO: GPS data processed {"connection_id":190930,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:21:01] local.INFO: Acknowledgment sent {"connection_id":190930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:21:08] local.INFO: TCP Data received {"connection_id":193627,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:21:08] local.INFO: Processing buffer {"connection_id":193627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:21:08] local.INFO: IMEI packet received {"connection_id":193627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":193627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:21:13] local.INFO: TCP Data received {"connection_id":193626,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:21:13] local.INFO: Processing buffer {"connection_id":193626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef1cbe0012d34c58006aa47580012010525..."} 
[2026-09-23 21:21:13] local.INFO: Packet analysis {"connection_id":193626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:21:13] local.INFO: Extracted packet for processing {"connection_id":193626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef1"} 
[2026-09-23 21:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285580032001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790178348000,"timestamp_ms":1790178348000,"timestamp_seconds":1790178348,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef1cbe0"} 
[2026-09-23 21:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285580032001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285580032001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:21:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285580032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":193626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:21:13] local.INFO: GPS data processed {"connection_id":193626,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:21:13] local.INFO: Acknowledgment sent {"connection_id":193626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:21:31] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:31] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:31] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:21:32] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:32] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:21:32] local.INFO: Packet analysis {"connection_id":190930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:21:32] local.INFO: Extracted packet for processing {"connection_id":190930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:21:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:21: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-09-23 21: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-09-23 21:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:21:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":190930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:21:32] local.INFO: GPS data processed {"connection_id":190930,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:21:32] local.INFO: Acknowledgment sent {"connection_id":190930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:21:35] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:35] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:21:35] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:21:36] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:21:36] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:21:36] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:21:36] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:21:36] 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-09-23 21: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-09-23 21:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:21:36] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:21:36] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:21:56] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:56] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:21:56] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:22:01] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:01] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:01] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:22:02] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:02] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:02] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:22:02] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21: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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:22: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-09-23 21: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-09-23 21:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:22:02] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:22:02] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:22:08] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:08] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:08] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:08] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:22: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-09-23 21:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:22:08] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:22:08] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:22:33] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:33] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:22:33] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:22:33] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21: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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:22: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-09-23 21: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-09-23 21:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:22:34] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:22:34] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:22:36] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:36] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:36] local.INFO: IMEI packet received {"connection_id":192274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":192274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:22:40] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:40] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:22:40] local.INFO: IMEI packet received {"connection_id":192274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":192274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:22:42] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:42] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:42] local.INFO: Packet analysis {"connection_id":192274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:42] local.INFO: Extracted packet for processing {"connection_id":192274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:22: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-09-23 21:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":192274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:22:42] local.INFO: GPS data processed {"connection_id":192274,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:22:42] local.INFO: Acknowledgment sent {"connection_id":192274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:22:47] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:47] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:22:47] local.INFO: Packet analysis {"connection_id":192274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:47] local.INFO: Extracted packet for processing {"connection_id":192274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":192274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:22:47] local.INFO: GPS data processed {"connection_id":192274,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:22:47] local.INFO: Acknowledgment sent {"connection_id":192274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:22:56] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:56] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:22:56] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:23:01] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:23:01] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:23:01] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:23:01] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:01] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:01] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:23:01] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:23:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:23: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-09-23 21: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-09-23 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:23:01] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:23:01] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:23:30] local.INFO: TCP Data received {"connection_id":190747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:30] local.INFO: Processing buffer {"connection_id":190747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:30] local.INFO: IMEI packet received {"connection_id":190747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":190747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:23:33] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:33] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:23:33] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:23:33] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:23: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-09-23 21:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:23: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-09-23 21: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-09-23 21:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:23:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:23:33] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:23:33] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:23:35] local.INFO: TCP Data received {"connection_id":190747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:35] local.INFO: Processing buffer {"connection_id":190747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:23:35] local.INFO: IMEI packet received {"connection_id":190747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":190747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:23:37] local.INFO: TCP Data received {"connection_id":190747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:23:37] local.INFO: Processing buffer {"connection_id":190747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:23:37] local.INFO: Packet analysis {"connection_id":190747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:23:37] local.INFO: Extracted packet for processing {"connection_id":190747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:23: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-09-23 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":190747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:23:37] local.INFO: GPS data processed {"connection_id":190747,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:23:37] local.INFO: Acknowledgment sent {"connection_id":190747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:24:01] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:01] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:01] local.INFO: IMEI packet received {"connection_id":192275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":192275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:24:06] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:06] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:06] local.INFO: IMEI packet received {"connection_id":192275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":192275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:24:07] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:07] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:07] local.INFO: Packet analysis {"connection_id":192275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:24:07] local.INFO: Extracted packet for processing {"connection_id":192275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:24: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":192275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:24:07] local.INFO: GPS data processed {"connection_id":192275,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:24:07] local.INFO: Acknowledgment sent {"connection_id":192275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:24:08] local.INFO: TCP Data received {"connection_id":190747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:08] local.INFO: Processing buffer {"connection_id":190747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:08] local.INFO: Packet analysis {"connection_id":190747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:24:08] local.INFO: Extracted packet for processing {"connection_id":190747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:24: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-09-23 21: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-09-23 21:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:24:08] local.INFO: GPS data processed {"connection_id":190747,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:24:08] local.INFO: Acknowledgment sent {"connection_id":190747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:24:11] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:11] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef48ee8012d196940071fef900038015921..."} 
[2026-09-23 21:24:11] local.INFO: Packet analysis {"connection_id":192275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:24:11] local.INFO: Extracted packet for processing {"connection_id":192275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef4"} 
[2026-09-23 21:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285626368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790178529000,"timestamp_ms":1790178529000,"timestamp_seconds":1790178529,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef48ee8"} 
[2026-09-23 21:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:24:11] 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-09-23 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21: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-09-23 21:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285626368001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285626368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:24:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285626368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":192275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:24:11] local.INFO: GPS data processed {"connection_id":192275,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:24:11] local.INFO: Acknowledgment sent {"connection_id":192275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:24:31] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:31] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:31] local.INFO: IMEI packet received {"connection_id":193629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":193629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:24:35] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:35] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:24:35] local.INFO: IMEI packet received {"connection_id":193629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":193629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:24:36] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:36] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:24:36] local.INFO: Packet analysis {"connection_id":193629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:24:36] local.INFO: Extracted packet for processing {"connection_id":193629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 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-09-23 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:24:36] 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-09-23 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-09-23 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-09-23 21:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":193629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:24:36] local.INFO: GPS data processed {"connection_id":193629,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:24:36] local.INFO: Acknowledgment sent {"connection_id":193629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:24:56] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:56] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:24:56] local.INFO: IMEI packet received {"connection_id":192276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":192276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:25:01] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:01] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:01] local.INFO: IMEI packet received {"connection_id":192276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":192276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:25:01] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:01] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:01] local.INFO: Packet analysis {"connection_id":192276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:25:01] local.INFO: Extracted packet for processing {"connection_id":192276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:25: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-09-23 21: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-09-23 21:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":192276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:25:01] local.INFO: GPS data processed {"connection_id":192276,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:25:01] local.INFO: Acknowledgment sent {"connection_id":192276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:25:08] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:08] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:08] local.INFO: Packet analysis {"connection_id":193629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:25:08] local.INFO: Extracted packet for processing {"connection_id":193629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 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-09-23 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:25: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-09-23 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-09-23 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-09-23 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":193629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:25:08] local.INFO: GPS data processed {"connection_id":193629,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:25:08] local.INFO: Acknowledgment sent {"connection_id":193629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:25:30] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:30] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:30] local.INFO: IMEI packet received {"connection_id":190933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":190933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:25:33] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:33] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:25:33] local.INFO: Packet analysis {"connection_id":192276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:25:33] local.INFO: Extracted packet for processing {"connection_id":192276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:25: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-09-23 21: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-09-23 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:25:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":192276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:25:33] local.INFO: GPS data processed {"connection_id":192276,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:25:33] local.INFO: Acknowledgment sent {"connection_id":192276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:25:35] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:35] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:25:35] local.INFO: IMEI packet received {"connection_id":190933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":190933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:25:37] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:37] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:25:37] local.INFO: Packet analysis {"connection_id":190933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:25:37] local.INFO: Extracted packet for processing {"connection_id":190933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:25: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-09-23 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":190933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:25:37] local.INFO: GPS data processed {"connection_id":190933,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:25:37] local.INFO: Acknowledgment sent {"connection_id":190933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:25:56] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:56] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:25:56] local.INFO: IMEI packet received {"connection_id":190750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":190750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:26:01] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:01] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:01] local.INFO: IMEI packet received {"connection_id":190750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":190750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:26:02] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:02] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:02] local.INFO: Packet analysis {"connection_id":190750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:26:02] local.INFO: Extracted packet for processing {"connection_id":190750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:26: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-09-23 21: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-09-23 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":190750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:26:02] local.INFO: GPS data processed {"connection_id":190750,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:26:02] local.INFO: Acknowledgment sent {"connection_id":190750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:26:08] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:26:08] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef663a8012d34c58006aa47580012010524..."} 
[2026-09-23 21:26:08] local.INFO: Packet analysis {"connection_id":190933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:26:08] local.INFO: Extracted packet for processing {"connection_id":190933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef6"} 
[2026-09-23 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285657088001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178649000,"timestamp_ms":1790178649000,"timestamp_seconds":1790178649,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef663a8"} 
[2026-09-23 21:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:26: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-09-23 21: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-09-23 21:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285657088001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285657088001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285657088001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:26:08] local.INFO: GPS data processed {"connection_id":190933,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:26:08] local.INFO: Acknowledgment sent {"connection_id":190933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:26:30] local.INFO: TCP Data received {"connection_id":193630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:30] local.INFO: Processing buffer {"connection_id":193630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:30] local.INFO: IMEI packet received {"connection_id":193630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":193630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:26:33] local.INFO: TCP Data received {"connection_id":190750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:33] local.INFO: Processing buffer {"connection_id":190750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:26:33] local.INFO: Packet analysis {"connection_id":190750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:26:33] local.INFO: Extracted packet for processing {"connection_id":190750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:26: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-09-23 21: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-09-23 21:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":190750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:26:33] local.INFO: GPS data processed {"connection_id":190750,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:26:33] local.INFO: Acknowledgment sent {"connection_id":190750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:26:35] local.INFO: TCP Data received {"connection_id":193630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:35] local.INFO: Processing buffer {"connection_id":193630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:26:35] local.INFO: IMEI packet received {"connection_id":193630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":193630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:26:36] local.INFO: TCP Data received {"connection_id":193630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:26:36] local.INFO: Processing buffer {"connection_id":193630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:26:36] local.INFO: Packet analysis {"connection_id":193630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:26:36] local.INFO: Extracted packet for processing {"connection_id":193630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":193630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:26:36] local.INFO: GPS data processed {"connection_id":193630,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:26:36] local.INFO: Acknowledgment sent {"connection_id":193630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:26:39] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:26:39] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:26:39] local.INFO: IMEI packet received {"connection_id":190934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":190934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:26:56] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:56] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:26:56] local.INFO: IMEI packet received {"connection_id":192277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":192277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:27:00] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:00] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:00] local.INFO: IMEI packet received {"connection_id":192277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":192277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:27:01] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:01] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:01] local.INFO: Packet analysis {"connection_id":192277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:27:01] local.INFO: Extracted packet for processing {"connection_id":192277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:27: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-09-23 21:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":192277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:27:01] local.INFO: GPS data processed {"connection_id":192277,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:27:01] local.INFO: Acknowledgment sent {"connection_id":192277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:27:08] local.INFO: TCP Data received {"connection_id":193630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:08] local.INFO: Processing buffer {"connection_id":193630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:08] local.INFO: Packet analysis {"connection_id":193630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:08] local.INFO: Extracted packet for processing {"connection_id":193630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":193630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:27:08] local.INFO: GPS data processed {"connection_id":193630,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:27:08] local.INFO: Acknowledgment sent {"connection_id":193630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:27:09] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:27:09] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:27:09] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:27:32] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:32] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:27:32] local.INFO: Packet analysis {"connection_id":192277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:27:32] local.INFO: Extracted packet for processing {"connection_id":192277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:27: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-09-23 21: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-09-23 21:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":192277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:27:32] local.INFO: GPS data processed {"connection_id":192277,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:27:32] local.INFO: Acknowledgment sent {"connection_id":192277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:27:35] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:35] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:35] local.INFO: IMEI packet received {"connection_id":190936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":190936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:27:40] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:40] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:27:40] local.INFO: IMEI packet received {"connection_id":190936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":190936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:27:41] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:41] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:41] local.INFO: Packet analysis {"connection_id":190936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:41] local.INFO: Extracted packet for processing {"connection_id":190936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 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-09-23 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":190936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:27:41] local.INFO: GPS data processed {"connection_id":190936,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:27:41] local.INFO: Acknowledgment sent {"connection_id":190936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:27:46] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:46] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:27:46] local.INFO: Packet analysis {"connection_id":190936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:46] local.INFO: Extracted packet for processing {"connection_id":190936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":190936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:27:46] local.INFO: GPS data processed {"connection_id":190936,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:27:46] local.INFO: Acknowledgment sent {"connection_id":190936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:27:55] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:55] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:27:55] local.INFO: IMEI packet received {"connection_id":190751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":190751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:28:01] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:01] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:01] local.INFO: IMEI packet received {"connection_id":190751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":190751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:28:02] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:02] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:02] local.INFO: Packet analysis {"connection_id":190751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:28:02] local.INFO: Extracted packet for processing {"connection_id":190751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:28: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-09-23 21: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-09-23 21:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:28:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":190751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:28:02] local.INFO: GPS data processed {"connection_id":190751,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:28:02] local.INFO: Acknowledgment sent {"connection_id":190751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:28:30] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:30] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:30] local.INFO: IMEI packet received {"connection_id":192279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":192279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:28:33] local.INFO: TCP Data received {"connection_id":190751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:33] local.INFO: Processing buffer {"connection_id":190751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:28:33] local.INFO: Packet analysis {"connection_id":190751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:28:33] local.INFO: Extracted packet for processing {"connection_id":190751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:28: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-09-23 21: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-09-23 21:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":190751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:28:33] local.INFO: GPS data processed {"connection_id":190751,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:28:33] local.INFO: Acknowledgment sent {"connection_id":190751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:28:35] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:35] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:28:35] local.INFO: IMEI packet received {"connection_id":192279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":192279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:28:37] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:28:37] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:28:37] local.INFO: Packet analysis {"connection_id":192279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:28:37] local.INFO: Extracted packet for processing {"connection_id":192279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":192279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:28:37] local.INFO: GPS data processed {"connection_id":192279,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:28:37] local.INFO: Acknowledgment sent {"connection_id":192279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:28:55] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:55] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:28:55] local.INFO: IMEI packet received {"connection_id":192280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":192280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:29:00] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:29:00] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:29:00] local.INFO: IMEI packet received {"connection_id":192280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":192280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:29:01] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:29:01] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cef926b0012d196940071fef900038015926..."} 
[2026-09-23 21:29:01] local.INFO: Packet analysis {"connection_id":192280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:29:01] local.INFO: Extracted packet for processing {"connection_id":192280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cef9"} 
[2026-09-23 21:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285703424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790178830000,"timestamp_ms":1790178830000,"timestamp_seconds":1790178830,"priority":1,"record_length":96,"hex_timestamp":"000001a0cef926b0"} 
[2026-09-23 21:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:29: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-09-23 21:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285703424001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285703424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:29:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285703424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":192280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:29:01] local.INFO: GPS data processed {"connection_id":192280,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:29:01] local.INFO: Acknowledgment sent {"connection_id":192280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:29:08] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:08] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:08] local.INFO: Packet analysis {"connection_id":192279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:29:08] local.INFO: Extracted packet for processing {"connection_id":192279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":192279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:29:08] local.INFO: GPS data processed {"connection_id":192279,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:29:08] local.INFO: Acknowledgment sent {"connection_id":192279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:29:31] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:31] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:31] local.INFO: IMEI packet received {"connection_id":190752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":190752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:29:32] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:29:32] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:29:32] local.INFO: Packet analysis {"connection_id":192280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:29:32] local.INFO: Extracted packet for processing {"connection_id":192280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:29: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-09-23 21: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-09-23 21:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:29:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":192280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:29:32] local.INFO: GPS data processed {"connection_id":192280,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:29:32] local.INFO: Acknowledgment sent {"connection_id":192280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:29:35] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:35] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:29:35] local.INFO: IMEI packet received {"connection_id":190752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":190752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:29:37] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:37] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:29:37] local.INFO: Packet analysis {"connection_id":190752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:29:37] local.INFO: Extracted packet for processing {"connection_id":190752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":190752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:29:37] local.INFO: GPS data processed {"connection_id":190752,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:29:37] local.INFO: Acknowledgment sent {"connection_id":190752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:30:00] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:00] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:00] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:30:06] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:06] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:06] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:30:07] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:07] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:07] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:30:07] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 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-09-23 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 21:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:30:07] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:30:07] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:30:09] local.INFO: TCP Data received {"connection_id":190752,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:09] local.INFO: Processing buffer {"connection_id":190752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:09] local.INFO: Packet analysis {"connection_id":190752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:30:09] local.INFO: Extracted packet for processing {"connection_id":190752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":190752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:30:09] local.INFO: GPS data processed {"connection_id":190752,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:30:09] local.INFO: Acknowledgment sent {"connection_id":190752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:30:30] local.INFO: TCP Data received {"connection_id":193632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:30] local.INFO: Processing buffer {"connection_id":193632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:30] local.INFO: IMEI packet received {"connection_id":193632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":193632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:30:35] local.INFO: TCP Data received {"connection_id":193632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:35] local.INFO: Processing buffer {"connection_id":193632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:30:35] local.INFO: IMEI packet received {"connection_id":193632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":193632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:30:36] local.INFO: TCP Data received {"connection_id":193632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:36] local.INFO: Processing buffer {"connection_id":193632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:30:36] local.INFO: Packet analysis {"connection_id":193632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:30:36] local.INFO: Extracted packet for processing {"connection_id":193632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":193632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:30:36] local.INFO: GPS data processed {"connection_id":193632,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:30:36] local.INFO: Acknowledgment sent {"connection_id":193632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:30:38] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:38] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:30:38] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:30:38] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:30:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:30:38] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:30:38] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:30:56] local.INFO: TCP Data received {"connection_id":190753,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:56] local.INFO: Processing buffer {"connection_id":190753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:30:56] local.INFO: IMEI packet received {"connection_id":190753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":190753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:31:00] local.INFO: TCP Data received {"connection_id":190753,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:00] local.INFO: Processing buffer {"connection_id":190753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:00] local.INFO: IMEI packet received {"connection_id":190753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":190753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:31:01] local.INFO: TCP Data received {"connection_id":190753,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:01] local.INFO: Processing buffer {"connection_id":190753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:01] local.INFO: Packet analysis {"connection_id":190753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:31:01] local.INFO: Extracted packet for processing {"connection_id":190753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:31: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-09-23 21:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:31: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-09-23 21:31: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-09-23 21:31: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-09-23 21:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":190753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:31:01] local.INFO: GPS data processed {"connection_id":190753,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:31:01] local.INFO: Acknowledgment sent {"connection_id":190753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:31:07] local.INFO: TCP Data received {"connection_id":193632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:31:07] local.INFO: Processing buffer {"connection_id":193632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefafb70012d34c58006aa47580009010522..."} 
[2026-09-23 21:31:07] local.INFO: Packet analysis {"connection_id":193632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:31:07] local.INFO: Extracted packet for processing {"connection_id":193632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefa"} 
[2026-09-23 21:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285734144001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790178950000,"timestamp_ms":1790178950000,"timestamp_seconds":1790178950,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefafb70"} 
[2026-09-23 21:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 21:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285734144001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285734144001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285734144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":193632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:31:07] local.INFO: GPS data processed {"connection_id":193632,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:31:07] local.INFO: Acknowledgment sent {"connection_id":193632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:31:30] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:30] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:30] local.INFO: IMEI packet received {"connection_id":193633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":193633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:31:33] local.INFO: TCP Data received {"connection_id":190753,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:33] local.INFO: Processing buffer {"connection_id":190753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:31:33] local.INFO: Packet analysis {"connection_id":190753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:31:33] local.INFO: Extracted packet for processing {"connection_id":190753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":190753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:31:33] local.INFO: GPS data processed {"connection_id":190753,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:31:33] local.INFO: Acknowledgment sent {"connection_id":190753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:31:35] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:35] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:31:35] local.INFO: IMEI packet received {"connection_id":193633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":193633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:31:37] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:31:37] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:31:37] local.INFO: Packet analysis {"connection_id":193633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:31:37] local.INFO: Extracted packet for processing {"connection_id":193633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:31: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-09-23 21:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":193633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:31:37] local.INFO: GPS data processed {"connection_id":193633,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:31:37] local.INFO: Acknowledgment sent {"connection_id":193633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:31:56] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:56] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:31:56] local.INFO: IMEI packet received {"connection_id":192281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":192281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:32:01] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:01] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:01] local.INFO: IMEI packet received {"connection_id":192281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":192281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:32:02] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:02] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:02] local.INFO: Packet analysis {"connection_id":192281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:32:02] local.INFO: Extracted packet for processing {"connection_id":192281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:32: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-09-23 21: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-09-23 21:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":192281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:32:02] local.INFO: GPS data processed {"connection_id":192281,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:32:02] local.INFO: Acknowledgment sent {"connection_id":192281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:32:08] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:08] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:08] local.INFO: Packet analysis {"connection_id":193633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:32:08] local.INFO: Extracted packet for processing {"connection_id":193633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:32: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-09-23 21: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-09-23 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":193633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:32:08] local.INFO: GPS data processed {"connection_id":193633,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:32:08] local.INFO: Acknowledgment sent {"connection_id":193633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:32:30] local.INFO: TCP Data received {"connection_id":193634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:30] local.INFO: Processing buffer {"connection_id":193634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:30] local.INFO: IMEI packet received {"connection_id":193634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:32:33] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:33] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:32:33] local.INFO: Packet analysis {"connection_id":192281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:32:33] local.INFO: Extracted packet for processing {"connection_id":192281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:32: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-09-23 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:32: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-09-23 21:32: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-09-23 21:32: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-09-23 21:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":192281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:32:33] local.INFO: GPS data processed {"connection_id":192281,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:32:33] local.INFO: Acknowledgment sent {"connection_id":192281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:32:35] local.INFO: TCP Data received {"connection_id":193634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:35] local.INFO: Processing buffer {"connection_id":193634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:32:35] local.INFO: IMEI packet received {"connection_id":193634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:32:36] local.INFO: TCP Data received {"connection_id":193634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:36] local.INFO: Processing buffer {"connection_id":193634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:32:36] local.INFO: Packet analysis {"connection_id":193634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:32:36] local.INFO: Extracted packet for processing {"connection_id":193634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:32:36] 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-09-23 21: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-09-23 21:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":193634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:32:36] local.INFO: GPS data processed {"connection_id":193634,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:32:36] local.INFO: Acknowledgment sent {"connection_id":193634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:32:56] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:56] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:32:56] local.INFO: IMEI packet received {"connection_id":192282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":192282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:33:00] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:00] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:00] local.INFO: IMEI packet received {"connection_id":192282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":192282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:33:01] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:01] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:01] local.INFO: Packet analysis {"connection_id":192282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:33:01] local.INFO: Extracted packet for processing {"connection_id":192282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:33: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-09-23 21: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-09-23 21:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":192282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:33:01] local.INFO: GPS data processed {"connection_id":192282,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:33:01] local.INFO: Acknowledgment sent {"connection_id":192282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:33:07] local.INFO: TCP Data received {"connection_id":193634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:07] local.INFO: Processing buffer {"connection_id":193634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:07] local.INFO: Packet analysis {"connection_id":193634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:33:07] local.INFO: Extracted packet for processing {"connection_id":193634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:33:07] 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-09-23 21: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-09-23 21:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":193634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:33:07] local.INFO: GPS data processed {"connection_id":193634,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:33:07] local.INFO: Acknowledgment sent {"connection_id":193634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:33:31] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:31] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:31] local.INFO: IMEI packet received {"connection_id":190754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":190754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:33:32] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:32] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:33:32] local.INFO: Packet analysis {"connection_id":192282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:33:32] local.INFO: Extracted packet for processing {"connection_id":192282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:33: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-09-23 21: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-09-23 21:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":192282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:33:33] local.INFO: GPS data processed {"connection_id":192282,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:33:33] local.INFO: Acknowledgment sent {"connection_id":192282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:33:36] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:36] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:33:36] local.INFO: IMEI packet received {"connection_id":190754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":190754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:33:38] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:38] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:33:38] local.INFO: Packet analysis {"connection_id":190754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:33:38] local.INFO: Extracted packet for processing {"connection_id":190754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 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-09-23 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":190754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:33:38] local.INFO: GPS data processed {"connection_id":190754,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:33:38] local.INFO: Acknowledgment sent {"connection_id":190754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:33:55] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:55] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:33:55] local.INFO: IMEI packet received {"connection_id":192283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":192283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:34:01] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:34:01] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:34:01] local.INFO: IMEI packet received {"connection_id":192283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":192283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:34:01] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:34:01] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cefdbe78012d196940071fef900038015928..."} 
[2026-09-23 21:34:01] local.INFO: Packet analysis {"connection_id":192283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:34:01] local.INFO: Extracted packet for processing {"connection_id":192283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cefd"} 
[2026-09-23 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285780480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179131000,"timestamp_ms":1790179131000,"timestamp_seconds":1790179131,"priority":1,"record_length":96,"hex_timestamp":"000001a0cefdbe78"} 
[2026-09-23 21:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285780480001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285780480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285780480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":192283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:34:02] local.INFO: GPS data processed {"connection_id":192283,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:34:02] local.INFO: Acknowledgment sent {"connection_id":192283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:34:09] local.INFO: TCP Data received {"connection_id":190754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:09] local.INFO: Processing buffer {"connection_id":190754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:09] local.INFO: Packet analysis {"connection_id":190754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:34:09] local.INFO: Extracted packet for processing {"connection_id":190754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:34:09] local.INFO: GPS data processed {"connection_id":190754,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:34:09] local.INFO: Acknowledgment sent {"connection_id":190754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:34:30] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:30] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:30] local.INFO: IMEI packet received {"connection_id":193635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":193635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:34:33] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:34:33] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:34:33] local.INFO: Packet analysis {"connection_id":192283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:34:33] local.INFO: Extracted packet for processing {"connection_id":192283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:34: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-09-23 21: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:34: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-09-23 21: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-09-23 21:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":192283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:34:33] local.INFO: GPS data processed {"connection_id":192283,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:34:33] local.INFO: Acknowledgment sent {"connection_id":192283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:34:35] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:35] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:34:35] local.INFO: IMEI packet received {"connection_id":193635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":193635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:34:37] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:37] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:34:37] local.INFO: Packet analysis {"connection_id":193635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:34:37] local.INFO: Extracted packet for processing {"connection_id":193635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 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-09-23 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:34: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-09-23 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-09-23 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-09-23 21:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":193635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:34:37] local.INFO: GPS data processed {"connection_id":193635,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:34:37] local.INFO: Acknowledgment sent {"connection_id":193635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:35:00] local.INFO: TCP Data received {"connection_id":192284,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:00] local.INFO: Processing buffer {"connection_id":192284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:00] local.INFO: IMEI packet received {"connection_id":192284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":192284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:35:06] local.INFO: TCP Data received {"connection_id":192284,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:06] local.INFO: Processing buffer {"connection_id":192284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:06] local.INFO: IMEI packet received {"connection_id":192284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":192284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:35:07] local.INFO: TCP Data received {"connection_id":192284,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:07] local.INFO: Processing buffer {"connection_id":192284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:07] local.INFO: Packet analysis {"connection_id":192284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:35:07] local.INFO: Extracted packet for processing {"connection_id":192284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:35: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-09-23 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:35:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":192284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:35:07] local.INFO: GPS data processed {"connection_id":192284,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:35:07] local.INFO: Acknowledgment sent {"connection_id":192284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:35:08] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:08] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:08] local.INFO: Packet analysis {"connection_id":193635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:35:08] local.INFO: Extracted packet for processing {"connection_id":193635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 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-09-23 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:35: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-09-23 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-09-23 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-09-23 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":193635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:35:08] local.INFO: GPS data processed {"connection_id":193635,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:35:08] local.INFO: Acknowledgment sent {"connection_id":193635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:35:30] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:30] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:30] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:35:35] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:35] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:35:35] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:35:36] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:36] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:35:36] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:35:36] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:35:36] 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-09-23 21: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-09-23 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:35:36] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:35:36] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:35:38] local.INFO: TCP Data received {"connection_id":192284,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:38] local.INFO: Processing buffer {"connection_id":192284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:35:38] local.INFO: Packet analysis {"connection_id":192284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:35:38] local.INFO: Extracted packet for processing {"connection_id":192284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 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-09-23 21:35:38] 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-09-23 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:35: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-09-23 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-09-23 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-09-23 21:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:35:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":192284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:35:38] local.INFO: GPS data processed {"connection_id":192284,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:35:38] local.INFO: Acknowledgment sent {"connection_id":192284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:35:56] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:56] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:35:56] local.INFO: IMEI packet received {"connection_id":190938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":190938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:36:01] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:01] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:01] local.INFO: IMEI packet received {"connection_id":190938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":190938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:36:01] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:02] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:02] local.INFO: Packet analysis {"connection_id":190938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:36:02] local.INFO: Extracted packet for processing {"connection_id":190938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:36:02] 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-09-23 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:36: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-09-23 21: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-09-23 21:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:36:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:36:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":190938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:36:02] local.INFO: GPS data processed {"connection_id":190938,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:36:02] local.INFO: Acknowledgment sent {"connection_id":190938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:36:08] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:36:08] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ceff9338012d34c58006aa47580013010523..."} 
[2026-09-23 21:36:08] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:36:08] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ceff"} 
[2026-09-23 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285811200001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179251000,"timestamp_ms":1790179251000,"timestamp_seconds":1790179251,"priority":1,"record_length":96,"hex_timestamp":"000001a0ceff9338"} 
[2026-09-23 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-23 21:36: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-09-23 21: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-09-23 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285811200001,"66":25734,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285811200001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285811200001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:36:08] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:36:08] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:36:30] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:30] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:30] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:36:31] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:31] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:31] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:36:33] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:33] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:36:33] local.INFO: Packet analysis {"connection_id":190938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:36:33] local.INFO: Extracted packet for processing {"connection_id":190938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:36: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-09-23 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:36: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-09-23 21: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-09-23 21:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":190938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:36:33] local.INFO: GPS data processed {"connection_id":190938,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:36:33] local.INFO: Acknowledgment sent {"connection_id":190938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:36:35] local.INFO: TCP Data received {"connection_id":190755,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:35] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:35] local.INFO: IMEI packet received {"connection_id":190755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":190755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:36:35] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:35] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:36:35] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:36:36] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:36:36] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:36:36] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:36:36] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:36:36] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:36:36] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:36:38] local.INFO: TCP Data received {"connection_id":190755,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:38] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:36:38] local.INFO: IMEI packet received {"connection_id":190755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":190755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:36:40] local.INFO: TCP Data received {"connection_id":190755,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf032d18012cb5224009199790024900c02b..."} 
[2026-09-23 21:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf032d18012cb5224009199790024900c02b..."} 
[2026-09-23 21:36:40] local.INFO: Processing buffer {"connection_id":190755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf032d18012cb5224009199790024900c02b..."} 
[2026-09-23 21:36:40] local.INFO: Packet analysis {"connection_id":190755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf03"} 
[2026-09-23 21:36:40] local.INFO: Extracted packet for processing {"connection_id":190755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf03"} 
[2026-09-23 21:36:40] local.INFO: GPS Element Parsed {"raw_longitude":750068288,"raw_latitude":152672144,"longitude_deg":75.0068288,"latitude_deg":15.2672144,"altitude":585,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2cb52240","hex_latitude":"09199790","is_valid_coordinates":true} 
[2026-09-23 21:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285943296001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5390245764920406014,"note":"Value kept but may cause issues"} 
[2026-09-23 21:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790179487000,"timestamp_ms":1790179487000,"timestamp_seconds":1790179487,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf032d18"} 
[2026-09-23 21:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:36: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-09-23 21:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 21:36: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-09-23 21:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285943296001,"66":27908,"6":206,"85":5888,"24":0,"16":3605341577150464,"44":-5390245764920406014},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,44]} 
[2026-09-23 21:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285943296001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:36:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-23 21:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":5888,"description":"Unknown IO ID 85"} 
[2026-09-23 21:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5390245764920406014,"description":"Unknown IO ID 44"} 
[2026-09-23 21:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285943296001,"power":27908,"unknown_6":206,"unknown_85":5888,"ignition":0,"odometer":null,"unknown_44":-5390245764920406014}} 
[2026-09-23 21:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":190755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:36:40] local.INFO: GPS data processed {"connection_id":190755,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:36:40] local.INFO: Acknowledgment sent {"connection_id":190755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:36:56] local.INFO: TCP Data received {"connection_id":193636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:56] local.INFO: Processing buffer {"connection_id":193636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:36:56] local.INFO: IMEI packet received {"connection_id":193636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":193636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:37:00] local.INFO: TCP Data received {"connection_id":193636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:00] local.INFO: Processing buffer {"connection_id":193636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:00] local.INFO: IMEI packet received {"connection_id":193636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":193636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:37:01] local.INFO: TCP Data received {"connection_id":193636,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:01] local.INFO: Processing buffer {"connection_id":193636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:01] local.INFO: Packet analysis {"connection_id":193636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:37:01] local.INFO: Extracted packet for processing {"connection_id":193636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37:01] 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-09-23 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":193636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:37:01] local.INFO: GPS data processed {"connection_id":193636,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:37:01] local.INFO: Acknowledgment sent {"connection_id":193636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:07] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:07] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:07] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37:07] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:37:08] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:37:08] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:09] local.INFO: TCP Data received {"connection_id":192286,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:09] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:09] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:37:14] local.INFO: TCP Data received {"connection_id":192286,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:14] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:37:14] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:37:15] local.INFO: TCP Data received {"connection_id":192286,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf037f20012cb512c009195ee0025000c12a..."} 
[2026-09-23 21:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf037f20012cb512c009195ee0025000c12a..."} 
[2026-09-23 21:37:15] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf037f20012cb512c009195ee0025000c12a..."} 
[2026-09-23 21:37:15] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf03"} 
[2026-09-23 21:37:15] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf03"} 
[2026-09-23 21:37:15] local.INFO: GPS Element Parsed {"raw_longitude":750064320,"raw_latitude":152657632,"longitude_deg":75.006432,"latitude_deg":15.2657632,"altitude":592,"angle":193,"satellites":42,"speed":0,"hex_longitude":"2cb512c0","hex_latitude":"09195ee0","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285948672001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5394678995808186366,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790179508000,"timestamp_ms":1790179508000,"timestamp_seconds":1790179508,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf037f20"} 
[2026-09-23 21:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37: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-09-23 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 21:37: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-09-23 21: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-09-23 21:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285948672001,"66":27952,"211":206,"9":54784,"24":0,"16":3605341577150464,"44":-5394678995808186366},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-23 21:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285948672001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:37:15] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:37:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5394678995808186366,"description":"Unknown IO ID 44"} 
[2026-09-23 21:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285948672001,"power":27952,"unknown_211":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5394678995808186366}} 
[2026-09-23 21:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:37:15] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:37:15] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:30] local.INFO: TCP Data received {"connection_id":192287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:30] local.INFO: Processing buffer {"connection_id":192287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:30] local.INFO: IMEI packet received {"connection_id":192287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:37:32] local.INFO: TCP Data received {"connection_id":193636,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:32] local.INFO: Processing buffer {"connection_id":193636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:37:32] local.INFO: Packet analysis {"connection_id":193636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:37:32] local.INFO: Extracted packet for processing {"connection_id":193636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37: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-09-23 21:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":193636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:37:32] local.INFO: GPS data processed {"connection_id":193636,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:37:32] local.INFO: Acknowledgment sent {"connection_id":193636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:35] local.INFO: TCP Data received {"connection_id":192287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:35] local.INFO: Processing buffer {"connection_id":192287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:37:35] local.INFO: IMEI packet received {"connection_id":192287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":192287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:37:36] local.INFO: TCP Data received {"connection_id":192287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:36] local.INFO: Processing buffer {"connection_id":192287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:37:36] local.INFO: Packet analysis {"connection_id":192287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37:36] local.INFO: Extracted packet for processing {"connection_id":192287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":192287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:37:36] local.INFO: GPS data processed {"connection_id":192287,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:37:36] local.INFO: Acknowledgment sent {"connection_id":192287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:49] local.INFO: TCP Data received {"connection_id":192286,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf04a8000100000000000000000000000000..."} 
[2026-09-23 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf04a8000100000000000000000000000000..."} 
[2026-09-23 21:37:49] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf04a8000100000000000000000000000000..."} 
[2026-09-23 21:37:49] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37:49] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:37: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-09-23 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285954048001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5399041857950916606,"note":"Value kept but may cause issues"} 
[2026-09-23 21:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790179584000,"timestamp_ms":1790179584000,"timestamp_seconds":1790179584,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf04a800"} 
[2026-09-23 21:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:37:49] 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-09-23 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 21:37:49] 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-09-23 21:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 21:37:49] local.INFO: GPS data processed {"connection_id":192286,"processed":0,"errors":0,"total":1} 
[2026-09-23 21:37:49] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:37:56] local.INFO: TCP Data received {"connection_id":193637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:56] local.INFO: Processing buffer {"connection_id":193637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:37:56] local.INFO: IMEI packet received {"connection_id":193637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":193637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:38:01] local.INFO: TCP Data received {"connection_id":193637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:01] local.INFO: Processing buffer {"connection_id":193637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:01] local.INFO: IMEI packet received {"connection_id":193637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":193637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:38:02] local.INFO: TCP Data received {"connection_id":193637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:02] local.INFO: Processing buffer {"connection_id":193637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:02] local.INFO: Packet analysis {"connection_id":193637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:38:02] local.INFO: Extracted packet for processing {"connection_id":193637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38:02] 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-09-23 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:38: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-09-23 21: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-09-23 21:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":193637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:02] local.INFO: GPS data processed {"connection_id":193637,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:02] local.INFO: Acknowledgment sent {"connection_id":193637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:07] local.INFO: TCP Data received {"connection_id":192287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:07] local.INFO: Processing buffer {"connection_id":192287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:07] local.INFO: Packet analysis {"connection_id":192287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:07] local.INFO: Extracted packet for processing {"connection_id":192287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":192287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:08] local.INFO: GPS data processed {"connection_id":192287,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:08] local.INFO: Acknowledgment sent {"connection_id":192287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:14] local.INFO: TCP Data received {"connection_id":190756,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:14] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:14] local.INFO: IMEI packet received {"connection_id":190756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":190756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:38:19] local.INFO: TCP Data received {"connection_id":190756,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:19] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:38:19] local.INFO: IMEI packet received {"connection_id":190756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":190756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:38:20] local.INFO: TCP Data received {"connection_id":190756,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf041b60012cb4f4000918de80025300c229..."} 
[2026-09-23 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf041b60012cb4f4000918de80025300c229..."} 
[2026-09-23 21:38:20] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf041b60012cb4f4000918de80025300c229..."} 
[2026-09-23 21:38:20] local.INFO: Packet analysis {"connection_id":190756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:20] local.INFO: Extracted packet for processing {"connection_id":190756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":750056448,"raw_latitude":152624768,"longitude_deg":75.0056448,"latitude_deg":15.2624768,"altitude":595,"angle":194,"satellites":41,"speed":42,"hex_longitude":"2cb4f400","hex_latitude":"0918de80","is_valid_coordinates":true} 
[2026-09-23 21:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,211,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 21:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790179548000,"timestamp_ms":1790179548000,"timestamp_seconds":1790179548,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf041b60"} 
[2026-09-23 21:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 21:38: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-09-23 21:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"211":206,"9":54784,"24":42,"16":3605341577150464},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16]} 
[2026-09-23 21:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:20] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_211":206,"unknown_9":54784,"ignition":42,"odometer":null}} 
[2026-09-23 21:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":190756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:20] local.INFO: GPS data processed {"connection_id":190756,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:20] local.INFO: Acknowledgment sent {"connection_id":190756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:25] local.INFO: TCP Data received {"connection_id":190756,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf046d68012cb4e04009189070024e00c029..."} 
[2026-09-23 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf046d68012cb4e04009189070024e00c029..."} 
[2026-09-23 21:38:25] local.INFO: Processing buffer {"connection_id":190756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf046d68012cb4e04009189070024e00c029..."} 
[2026-09-23 21:38:25] local.INFO: Packet analysis {"connection_id":190756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:25] local.INFO: Extracted packet for processing {"connection_id":190756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750051392,"raw_latitude":152604784,"longitude_deg":75.0051392,"latitude_deg":15.2604784,"altitude":590,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2cb4e040","hex_latitude":"09189070","is_valid_coordinates":true} 
[2026-09-23 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285964288001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5407697213493182462,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790179569000,"timestamp_ms":1790179569000,"timestamp_seconds":1790179569,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf046d68"} 
[2026-09-23 21:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38: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-09-23 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 21:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":190756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":190756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":190756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285964288001,"66":27952,"211":206,"9":54784,"24":0,"16":3605341577150464,"44":-5407697213493182462},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-23 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285964288001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:25] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5407697213493182462,"description":"Unknown IO ID 44"} 
[2026-09-23 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285964288001,"power":27952,"unknown_211":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5407697213493182462}} 
[2026-09-23 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":190756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:25] local.INFO: GPS data processed {"connection_id":190756,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:25] local.INFO: Acknowledgment sent {"connection_id":190756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:30] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:30] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:30] local.INFO: IMEI packet received {"connection_id":193638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:38:33] local.INFO: TCP Data received {"connection_id":193637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:33] local.INFO: Processing buffer {"connection_id":193637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:38:33] local.INFO: Packet analysis {"connection_id":193637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:38:33] local.INFO: Extracted packet for processing {"connection_id":193637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38: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-09-23 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:38: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-09-23 21: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-09-23 21:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":193637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:33] local.INFO: GPS data processed {"connection_id":193637,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:33] local.INFO: Acknowledgment sent {"connection_id":193637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:35] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:35] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:38:35] local.INFO: IMEI packet received {"connection_id":193638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":193638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:38:36] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:36] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:38:36] local.INFO: Packet analysis {"connection_id":193638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:36] local.INFO: Extracted packet for processing {"connection_id":193638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":193638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:38:36] local.INFO: GPS data processed {"connection_id":193638,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:38:36] local.INFO: Acknowledgment sent {"connection_id":193638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:38:55] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:55] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:38:55] local.INFO: IMEI packet received {"connection_id":190757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":190757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:39:00] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:39:00] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:39:00] local.INFO: IMEI packet received {"connection_id":190757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":190757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:39:01] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:39:01] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf025640012d196940071fef900038015925..."} 
[2026-09-23 21:39:01] local.INFO: Packet analysis {"connection_id":190757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:39:01] local.INFO: Extracted packet for processing {"connection_id":190757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf02"} 
[2026-09-23 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:39: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-09-23 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285857536001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179432000,"timestamp_ms":1790179432000,"timestamp_seconds":1790179432,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf025640"} 
[2026-09-23 21:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39:01] 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-09-23 21:39: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 21:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:39: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-09-23 21:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285857536001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285857536001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285857536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":190757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:01] local.INFO: GPS data processed {"connection_id":190757,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:01] local.INFO: Acknowledgment sent {"connection_id":190757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:39:08] local.INFO: TCP Data received {"connection_id":192288,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:08] local.INFO: Processing buffer {"connection_id":192288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:08] local.INFO: IMEI packet received {"connection_id":192288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":192288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:39:10] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:10] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:10] local.INFO: Packet analysis {"connection_id":193638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:10] local.INFO: Extracted packet for processing {"connection_id":193638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":193638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:10] local.INFO: GPS data processed {"connection_id":193638,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:10] local.INFO: Acknowledgment sent {"connection_id":193638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:39:14] local.INFO: TCP Data received {"connection_id":192288,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:14] local.INFO: Processing buffer {"connection_id":192288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:39:14] local.INFO: IMEI packet received {"connection_id":192288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":192288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:39:15] local.INFO: TCP Data received {"connection_id":192288,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf04a030012cb4e640091836d0024500a62c..."} 
[2026-09-23 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf04a030012cb4e640091836d0024500a62c..."} 
[2026-09-23 21:39:15] local.INFO: Processing buffer {"connection_id":192288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf04a030012cb4e640091836d0024500a62c..."} 
[2026-09-23 21:39:15] local.INFO: Packet analysis {"connection_id":192288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:15] local.INFO: Extracted packet for processing {"connection_id":192288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":750052928,"raw_latitude":152581840,"longitude_deg":75.0052928,"latitude_deg":15.258184,"altitude":581,"angle":166,"satellites":44,"speed":56,"hex_longitude":"2cb4e640","hex_latitude":"091836d0","is_valid_coordinates":true} 
[2026-09-23 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285969664001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5413256344288333822,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790179582000,"timestamp_ms":1790179582000,"timestamp_seconds":1790179582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf04a030"} 
[2026-09-23 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39: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-09-23 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 21:39:15] 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-09-23 21:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285969664001,"66":27887,"211":206,"9":54784,"24":56,"16":3605341577150464,"44":-5413256344288333822},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-23 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285969664001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:15] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5413256344288333822,"description":"Unknown IO ID 44"} 
[2026-09-23 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285969664001,"power":27887,"unknown_211":206,"unknown_9":54784,"ignition":56,"odometer":null,"unknown_44":-5413256344288333822}} 
[2026-09-23 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":192288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:15] local.INFO: GPS data processed {"connection_id":192288,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:15] local.INFO: Acknowledgment sent {"connection_id":192288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:39:30] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:30] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:30] local.INFO: IMEI packet received {"connection_id":190940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":190940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:39:32] local.INFO: TCP Data received {"connection_id":190757,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:39:32] local.INFO: Processing buffer {"connection_id":190757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:39:32] local.INFO: Packet analysis {"connection_id":190757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:39:32] local.INFO: Extracted packet for processing {"connection_id":190757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39: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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:39: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-09-23 21: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-09-23 21:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":190757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:32] local.INFO: GPS data processed {"connection_id":190757,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:32] local.INFO: Acknowledgment sent {"connection_id":190757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:39:36] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:36] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:39:36] local.INFO: IMEI packet received {"connection_id":190940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":190940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:39:37] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:37] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:39:37] local.INFO: Packet analysis {"connection_id":190940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:37] local.INFO: Extracted packet for processing {"connection_id":190940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":190940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:37] local.INFO: GPS data processed {"connection_id":190940,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:37] local.INFO: Acknowledgment sent {"connection_id":190940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:39:47] local.INFO: TCP Data received {"connection_id":192288,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf04f238012cb4fb000917e080024000ae2b..."} 
[2026-09-23 21:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf04f238012cb4fb000917e080024000ae2b..."} 
[2026-09-23 21:39:47] local.INFO: Processing buffer {"connection_id":192288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf04f238012cb4fb000917e080024000ae2b..."} 
[2026-09-23 21:39:47] local.INFO: Packet analysis {"connection_id":192288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:47] local.INFO: Extracted packet for processing {"connection_id":192288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:39:47] local.INFO: GPS Element Parsed {"raw_longitude":750058240,"raw_latitude":152559744,"longitude_deg":75.005824,"latitude_deg":15.2559744,"altitude":576,"angle":174,"satellites":43,"speed":0,"hex_longitude":"2cb4fb00","hex_latitude":"0917e080","is_valid_coordinates":true} 
[2026-09-23 21:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285972992001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5411567494433943550,"note":"Value kept but may cause issues"} 
[2026-09-23 21:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790179603000,"timestamp_ms":1790179603000,"timestamp_seconds":1790179603,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf04f238"} 
[2026-09-23 21:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 21:39:47] 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-09-23 21:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285972992001,"66":27626,"211":206,"9":54784,"24":0,"16":3605341577150464,"44":-5411567494433943550},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-23 21:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285972992001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:39:47] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:39:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5411567494433943550,"description":"Unknown IO ID 44"} 
[2026-09-23 21:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285972992001,"power":27626,"unknown_211":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5411567494433943550}} 
[2026-09-23 21:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":192288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:39:47] local.INFO: GPS data processed {"connection_id":192288,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:39:47] local.INFO: Acknowledgment sent {"connection_id":192288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:01] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:01] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:01] local.INFO: IMEI packet received {"connection_id":192289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":192289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:40:06] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:06] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:06] local.INFO: IMEI packet received {"connection_id":192289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":192289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:40:07] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:07] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:07] local.INFO: Packet analysis {"connection_id":192289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:40:07] local.INFO: Extracted packet for processing {"connection_id":192289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40: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-09-23 21:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:40: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-09-23 21:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":192289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:07] local.INFO: GPS data processed {"connection_id":192289,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:07] local.INFO: Acknowledgment sent {"connection_id":192289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:08] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:08] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:08] local.INFO: Packet analysis {"connection_id":190940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:08] local.INFO: Extracted packet for processing {"connection_id":190940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:40:08] 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-09-23 21: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-09-23 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":190940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:08] local.INFO: GPS data processed {"connection_id":190940,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:08] local.INFO: Acknowledgment sent {"connection_id":190940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:11] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:11] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:40:11] local.INFO: Packet analysis {"connection_id":192289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:40:11] local.INFO: Extracted packet for processing {"connection_id":192289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:40: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-09-23 21: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-09-23 21:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":192289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:11] local.INFO: GPS data processed {"connection_id":192289,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:11] local.INFO: Acknowledgment sent {"connection_id":192289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:12] local.INFO: TCP Data received {"connection_id":193639,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:12] local.INFO: Processing buffer {"connection_id":193639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:12] local.INFO: IMEI packet received {"connection_id":193639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":193639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:40:13] local.INFO: TCP Data received {"connection_id":193639,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:13] local.INFO: Processing buffer {"connection_id":193639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:40:13] local.INFO: IMEI packet received {"connection_id":193639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":193639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:40:15] local.INFO: TCP Data received {"connection_id":193639,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf05d4c80100000000000000000000000000..."} 
[2026-09-23 21:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf05d4c80100000000000000000000000000..."} 
[2026-09-23 21:40:15] local.INFO: Processing buffer {"connection_id":193639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf05d4c80100000000000000000000000000..."} 
[2026-09-23 21:40:15] local.INFO: Packet analysis {"connection_id":193639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40:15] local.INFO: Extracted packet for processing {"connection_id":193639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40: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-09-23 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285978368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5405726888672854014,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790179661000,"timestamp_ms":1790179661000,"timestamp_seconds":1790179661,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf05d4c8"} 
[2026-09-23 21:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-23 21:40:15] 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-09-23 21:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":193639,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 21:40:15] local.INFO: GPS data processed {"connection_id":193639,"processed":0,"errors":0,"total":1} 
[2026-09-23 21:40:15] local.INFO: Acknowledgment sent {"connection_id":193639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:20] local.INFO: TCP Data received {"connection_id":193639,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf055bb0012cb4f04009172ef0023500b72a..."} 
[2026-09-23 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf055bb0012cb4f04009172ef0023500b72a..."} 
[2026-09-23 21:40:20] local.INFO: Processing buffer {"connection_id":193639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf055bb0012cb4f04009172ef0023500b72a..."} 
[2026-09-23 21:40:20] local.INFO: Packet analysis {"connection_id":193639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40:20] local.INFO: Extracted packet for processing {"connection_id":193639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":750055488,"raw_latitude":152514288,"longitude_deg":75.0055488,"latitude_deg":15.2514288,"altitude":565,"angle":183,"satellites":42,"speed":58,"hex_longitude":"2cb4f040","hex_latitude":"09172ef0","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,211,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 21:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790179630000,"timestamp_ms":1790179630000,"timestamp_seconds":1790179630,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf055bb0"} 
[2026-09-23 21:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"211":206,"9":54784,"24":58,"16":3605341577150464},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16]} 
[2026-09-23 21:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:20] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_211":206,"unknown_9":54784,"ignition":58,"odometer":null}} 
[2026-09-23 21:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":193639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:20] local.INFO: GPS data processed {"connection_id":193639,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:20] local.INFO: Acknowledgment sent {"connection_id":193639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:35] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:35] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:35] local.INFO: IMEI packet received {"connection_id":192290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":192290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:40:40] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:40] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:40:40] local.INFO: IMEI packet received {"connection_id":192290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":192290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:40:41] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:41] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:41] local.INFO: Packet analysis {"connection_id":192290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:41] local.INFO: Extracted packet for processing {"connection_id":192290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":192290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:41] local.INFO: GPS data processed {"connection_id":192290,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:41] local.INFO: Acknowledgment sent {"connection_id":192290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:46] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:46] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf042b00012d34c58006aa47580013010524..."} 
[2026-09-23 21:40:46] local.INFO: Packet analysis {"connection_id":192290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:46] local.INFO: Extracted packet for processing {"connection_id":192290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf04"} 
[2026-09-23 21:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285888256001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790179552000,"timestamp_ms":1790179552000,"timestamp_seconds":1790179552,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf042b00"} 
[2026-09-23 21:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-23 21:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285888256001,"66":25745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285888256001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285888256001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":192290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:46] local.INFO: GPS data processed {"connection_id":192290,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:46] local.INFO: Acknowledgment sent {"connection_id":192290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:51] local.INFO: TCP Data received {"connection_id":193639,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf05adb8012cb4e7800916d4c0023100bc2c..."} 
[2026-09-23 21:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf05adb8012cb4e7800916d4c0023100bc2c..."} 
[2026-09-23 21:40:51] local.INFO: Processing buffer {"connection_id":193639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf05adb8012cb4e7800916d4c0023100bc2c..."} 
[2026-09-23 21:40:51] local.INFO: Packet analysis {"connection_id":193639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40:51] local.INFO: Extracted packet for processing {"connection_id":193639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf05"} 
[2026-09-23 21:40:51] local.INFO: GPS Element Parsed {"raw_longitude":750053248,"raw_latitude":152491200,"longitude_deg":75.0053248,"latitude_deg":15.24912,"altitude":561,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2cb4e780","hex_latitude":"0916d4c0","is_valid_coordinates":true} 
[2026-09-23 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285985280001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5408752744684130302,"note":"Value kept but may cause issues"} 
[2026-09-23 21:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790179651000,"timestamp_ms":1790179651000,"timestamp_seconds":1790179651,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf05adb8"} 
[2026-09-23 21:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 21:40:51] 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-09-23 21:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285985280001,"66":27876,"211":206,"9":54784,"24":0,"16":3605341577150464,"44":-5408752744684130302},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-23 21:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285985280001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5408752744684130302,"description":"Unknown IO ID 44"} 
[2026-09-23 21:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285985280001,"power":27876,"unknown_211":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5408752744684130302}} 
[2026-09-23 21:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":193639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:40:51] local.INFO: GPS data processed {"connection_id":193639,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:40:51] local.INFO: Acknowledgment sent {"connection_id":193639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:40:56] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:56] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:40:56] local.INFO: IMEI packet received {"connection_id":190758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":190758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:41:00] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:00] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:00] local.INFO: IMEI packet received {"connection_id":190758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":190758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:41:01] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:01] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:01] local.INFO: Packet analysis {"connection_id":190758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41:01] local.INFO: Extracted packet for processing {"connection_id":190758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41:01] 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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:41: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-09-23 21: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-09-23 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:41:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":190758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:41:01] local.INFO: GPS data processed {"connection_id":190758,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:41:01] local.INFO: Acknowledgment sent {"connection_id":190758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:08] local.INFO: TCP Data received {"connection_id":190941,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:08] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:08] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:41:13] local.INFO: TCP Data received {"connection_id":190941,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:13] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:41:13] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:41:15] local.INFO: TCP Data received {"connection_id":190941,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0690480100000000000000000000000000..."} 
[2026-09-23 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0690480100000000000000000000000000..."} 
[2026-09-23 21:41:15] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0690480100000000000000000000000000..."} 
[2026-09-23 21:41:15] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41:15] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41: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-09-23 21: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-09-23 21:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285990656001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5411215650736259070,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790179709000,"timestamp_ms":1790179709000,"timestamp_seconds":1790179709,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf069048"} 
[2026-09-23 21:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21: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":228,"data_length":795,"current_offset":136} 
[2026-09-23 21:41: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-09-23 21: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-09-23 21:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 21:41:15] local.INFO: GPS data processed {"connection_id":190941,"processed":0,"errors":0,"total":1} 
[2026-09-23 21:41:15] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:30] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:30] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:30] local.INFO: IMEI packet received {"connection_id":193640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":193640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:41:31] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:31] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:31] local.INFO: IMEI packet received {"connection_id":193640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":193640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:41:32] local.INFO: TCP Data received {"connection_id":190758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:32] local.INFO: Processing buffer {"connection_id":190758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:41:32] local.INFO: Packet analysis {"connection_id":190758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41:32] local.INFO: Extracted packet for processing {"connection_id":190758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41: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-09-23 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:41: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-09-23 21:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":190758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:41:32] local.INFO: GPS data processed {"connection_id":190758,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:41:32] local.INFO: Acknowledgment sent {"connection_id":190758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:36] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:36] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:41:36] local.INFO: IMEI packet received {"connection_id":193640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":193640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:41:37] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:37] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:37] local.INFO: Packet analysis {"connection_id":193640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:37] local.INFO: Extracted packet for processing {"connection_id":193640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41: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-09-23 21:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:41:37] 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-09-23 21: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-09-23 21:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":193640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:41:37] local.INFO: GPS data processed {"connection_id":193640,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:41:37] local.INFO: Acknowledgment sent {"connection_id":193640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:41] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:41] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:41:41] local.INFO: Packet analysis {"connection_id":193640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:41] local.INFO: Extracted packet for processing {"connection_id":193640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:41:41] 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-09-23 21:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":193640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:41:41] local.INFO: GPS data processed {"connection_id":193640,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:41:41] local.INFO: Acknowledgment sent {"connection_id":193640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:47] local.INFO: TCP Data received {"connection_id":190941,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf088c18012cb480c0091489a0022e00b72c..."} 
[2026-09-23 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf088c18012cb480c0091489a0022e00b72c..."} 
[2026-09-23 21:41:47] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf088c18012cb480c0091489a0022e00b72c..."} 
[2026-09-23 21:41:47] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:47] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":750026944,"raw_latitude":152340896,"longitude_deg":75.0026944,"latitude_deg":15.2340896,"altitude":558,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2cb480c0","hex_latitude":"091489a0","is_valid_coordinates":true} 
[2026-09-23 21:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286033408001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5438659460999450622,"note":"Value kept but may cause issues"} 
[2026-09-23 21:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790179839000,"timestamp_ms":1790179839000,"timestamp_seconds":1790179839,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf088c18"} 
[2026-09-23 21:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 21:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286033408001,"66":27952,"212":206,"9":54784,"24":0,"16":3605341577150464,"44":-5438659460999450622},"client_ip":"117.224.123.224","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-23 21:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 21:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 21:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286033408001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:41:47] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-23 21:41:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 21:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5438659460999450622,"description":"Unknown IO ID 44"} 
[2026-09-23 21:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286033408001,"power":27952,"unknown_212":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5438659460999450622}} 
[2026-09-23 21:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:41:47] local.INFO: GPS data processed {"connection_id":190941,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:41:47] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:41:55] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:55] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:41:55] local.INFO: IMEI packet received {"connection_id":193641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":193641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:42:00] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:00] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:00] local.INFO: IMEI packet received {"connection_id":193641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":193641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:42:01] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:01] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:01] local.INFO: Packet analysis {"connection_id":193641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:42:01] local.INFO: Extracted packet for processing {"connection_id":193641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:42: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-09-23 21:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:42:01] 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-09-23 21:42: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-09-23 21:42: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-09-23 21:42: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-09-23 21:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":193641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:42:01] local.INFO: GPS data processed {"connection_id":193641,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:42:01] local.INFO: Acknowledgment sent {"connection_id":193641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:42:13] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:13] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:13] local.INFO: Packet analysis {"connection_id":193640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:42:13] local.INFO: Extracted packet for processing {"connection_id":193640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:42:13] 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-09-23 21:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":193640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:42:13] local.INFO: GPS data processed {"connection_id":193640,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:42:13] local.INFO: Acknowledgment sent {"connection_id":193640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:42:22] local.INFO: TCP Data received {"connection_id":192291,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:22] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:22] local.INFO: IMEI packet received {"connection_id":192291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":192291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:42:24] local.INFO: TCP Data received {"connection_id":192291,"ip":"117.224.123.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:24] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:42:24] local.INFO: IMEI packet received {"connection_id":192291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 21:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":192291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:42:26] local.INFO: TCP Data received {"connection_id":192291,"ip":"117.224.123.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf096ea80100000000000000000000000000..."} 
[2026-09-23 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf096ea80100000000000000000000000000..."} 
[2026-09-23 21:42:26] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf096ea80100000000000000000000000000..."} 
[2026-09-23 21:42:26] local.INFO: Packet analysis {"connection_id":192291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf09"} 
[2026-09-23 21:42:26] local.INFO: Extracted packet for processing {"connection_id":192291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf09"} 
[2026-09-23 21:42: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-09-23 21:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286038784001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440137204631756798,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790179897000,"timestamp_ms":1790179897000,"timestamp_seconds":1790179897,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf096ea8"} 
[2026-09-23 21:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 21:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 21:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 21:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 21:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 21:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":192291,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 21:42:26] local.INFO: GPS data processed {"connection_id":192291,"processed":0,"errors":0,"total":1} 
[2026-09-23 21:42:26] local.INFO: Acknowledgment sent {"connection_id":192291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:42:30] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:30] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:30] local.INFO: IMEI packet received {"connection_id":192292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:42:32] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:32] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:42:32] local.INFO: Packet analysis {"connection_id":193641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:42:32] local.INFO: Extracted packet for processing {"connection_id":193641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:42: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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:42: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-09-23 21: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-09-23 21:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:42:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":193641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:42:32] local.INFO: GPS data processed {"connection_id":193641,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:42:32] local.INFO: Acknowledgment sent {"connection_id":193641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:42:36] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:36] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:42:36] local.INFO: IMEI packet received {"connection_id":192292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":192292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:42:36] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:36] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:42:36] local.INFO: Packet analysis {"connection_id":192292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:42:36] local.INFO: Extracted packet for processing {"connection_id":192292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:42:36] 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-09-23 21: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-09-23 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":192292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:42:36] local.INFO: GPS data processed {"connection_id":192292,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:42:36] local.INFO: Acknowledgment sent {"connection_id":192292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:42:56] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:56] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:42:56] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:43:00] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:00] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:00] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:43:01] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:01] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:01] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:43:01] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:43: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-09-23 21:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:43:01] 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-09-23 21:43: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-09-23 21:43: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-09-23 21:43: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-09-23 21:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:43:01] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:43:01] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:43:08] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:08] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:08] local.INFO: Packet analysis {"connection_id":192292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:43:08] local.INFO: Extracted packet for processing {"connection_id":192292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 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-09-23 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:43:08] 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-09-23 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-09-23 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-09-23 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":192292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:43:08] local.INFO: GPS data processed {"connection_id":192292,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:43:08] local.INFO: Acknowledgment sent {"connection_id":192292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:43:30] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:30] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:30] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:43:32] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:32] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:43:32] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:43:32] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:43: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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:43: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-09-23 21: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-09-23 21:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:43:32] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:43:32] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:43:35] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:35] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:43:35] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:43:37] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:37] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:43:37] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:43:37] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:43: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-09-23 21: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":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:43:37] 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-09-23 21: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-09-23 21:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:43:37] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:43:37] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:43:55] local.INFO: TCP Data received {"connection_id":193642,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:55] local.INFO: Processing buffer {"connection_id":193642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:43:55] local.INFO: IMEI packet received {"connection_id":193642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":193642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:44:01] local.INFO: TCP Data received {"connection_id":193642,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:44:01] local.INFO: Processing buffer {"connection_id":193642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:44:01] local.INFO: IMEI packet received {"connection_id":193642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":193642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:44:01] local.INFO: TCP Data received {"connection_id":193642,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:44:01] local.INFO: Processing buffer {"connection_id":193642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf06ee08012d196940071fef900038015925..."} 
[2026-09-23 21:44:01] local.INFO: Packet analysis {"connection_id":193642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:44:01] local.INFO: Extracted packet for processing {"connection_id":193642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf06"} 
[2026-09-23 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285934592001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790179733000,"timestamp_ms":1790179733000,"timestamp_seconds":1790179733,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf06ee08"} 
[2026-09-23 21:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:44:01] 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-09-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 21:44: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-09-23 21: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-09-23 21:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285934592001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285934592001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285934592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":193642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:44:02] local.INFO: GPS data processed {"connection_id":193642,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:44:02] local.INFO: Acknowledgment sent {"connection_id":193642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:44:08] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:08] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:08] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:44:08] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:44:08] 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-09-23 21: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-09-23 21:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:44:08] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:44:08] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:44:30] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:30] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:30] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:44:33] local.INFO: TCP Data received {"connection_id":193642,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:44:33] local.INFO: Processing buffer {"connection_id":193642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:44:33] local.INFO: Packet analysis {"connection_id":193642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:44:33] local.INFO: Extracted packet for processing {"connection_id":193642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:44: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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:44: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-09-23 21: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-09-23 21:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":193642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:44:33] local.INFO: GPS data processed {"connection_id":193642,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:44:33] local.INFO: Acknowledgment sent {"connection_id":193642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:44:35] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:35] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:44:35] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:44:36] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:36] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:44:36] local.INFO: Packet analysis {"connection_id":192293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:44:36] local.INFO: Extracted packet for processing {"connection_id":192293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:44:36] 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-09-23 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":192293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:44:36] local.INFO: GPS data processed {"connection_id":192293,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:44:36] local.INFO: Acknowledgment sent {"connection_id":192293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:00] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:00] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:00] local.INFO: IMEI packet received {"connection_id":190944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":190944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:45:06] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:06] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:06] local.INFO: IMEI packet received {"connection_id":190944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":190944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:45:07] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:07] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:07] local.INFO: Packet analysis {"connection_id":190944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:45:07] local.INFO: Extracted packet for processing {"connection_id":190944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:45: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:45:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":190944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:45:07] local.INFO: GPS data processed {"connection_id":190944,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:45:07] local.INFO: Acknowledgment sent {"connection_id":190944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:08] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:08] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:08] local.INFO: Packet analysis {"connection_id":192293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:08] local.INFO: Extracted packet for processing {"connection_id":192293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:45:08] 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-09-23 21:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":192293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:45:08] local.INFO: GPS data processed {"connection_id":192293,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:45:08] local.INFO: Acknowledgment sent {"connection_id":192293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:35] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:35] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:35] local.INFO: IMEI packet received {"connection_id":190759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":190759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:45:38] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:38] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:45:38] local.INFO: Packet analysis {"connection_id":190944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:45:38] local.INFO: Extracted packet for processing {"connection_id":190944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:45:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":190944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:45:38] local.INFO: GPS data processed {"connection_id":190944,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:45:38] local.INFO: Acknowledgment sent {"connection_id":190944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:40] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:40] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:45:40] local.INFO: IMEI packet received {"connection_id":190759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":190759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:45:42] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:42] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:42] local.INFO: Packet analysis {"connection_id":190759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:42] local.INFO: Extracted packet for processing {"connection_id":190759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:45: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-09-23 21:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:45:42] 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-09-23 21:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":190759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:45:42] local.INFO: GPS data processed {"connection_id":190759,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:45:42] local.INFO: Acknowledgment sent {"connection_id":190759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:46] local.INFO: TCP Data received {"connection_id":190759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:46] local.INFO: Processing buffer {"connection_id":190759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf08c2c8012d34c58006aa47580013010524..."} 
[2026-09-23 21:45:46] local.INFO: Packet analysis {"connection_id":190759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:46] local.INFO: Extracted packet for processing {"connection_id":190759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf08"} 
[2026-09-23 21:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458285965312001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790179853000,"timestamp_ms":1790179853000,"timestamp_seconds":1790179853,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf08c2c8"} 
[2026-09-23 21:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-23 21:45:46] 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-09-23 21:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458285965312001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458285965312001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458285965312001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":190759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:45:46] local.INFO: GPS data processed {"connection_id":190759,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:45:46] local.INFO: Acknowledgment sent {"connection_id":190759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:45:56] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:56] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:45:56] local.INFO: IMEI packet received {"connection_id":190760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":190760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:46:01] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:01] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:01] local.INFO: IMEI packet received {"connection_id":190760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":190760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:46:01] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:01] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:01] local.INFO: Packet analysis {"connection_id":190760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:46:01] local.INFO: Extracted packet for processing {"connection_id":190760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:46:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:46: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-09-23 21: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-09-23 21:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":190760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:46:02] local.INFO: GPS data processed {"connection_id":190760,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:46:02] local.INFO: Acknowledgment sent {"connection_id":190760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:46:14] local.INFO: TCP Data received {"connection_id":190945,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:46:14] local.INFO: Processing buffer {"connection_id":190945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:46:14] local.INFO: IMEI packet received {"connection_id":190945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":190945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:46:30] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:30] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:30] local.INFO: IMEI packet received {"connection_id":190761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":190761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:46:32] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:32] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:46:32] local.INFO: IMEI packet received {"connection_id":190761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":190761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:46:33] local.INFO: TCP Data received {"connection_id":190760,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:33] local.INFO: Processing buffer {"connection_id":190760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:46:33] local.INFO: Packet analysis {"connection_id":190760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:46:33] local.INFO: Extracted packet for processing {"connection_id":190760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21: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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:46: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-09-23 21: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-09-23 21:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":190760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:46:33] local.INFO: GPS data processed {"connection_id":190760,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:46:33] local.INFO: Acknowledgment sent {"connection_id":190760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:46:33] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:46:33] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:46:33] local.INFO: Packet analysis {"connection_id":190761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:46:33] local.INFO: Extracted packet for processing {"connection_id":190761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":190761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:46:33] local.INFO: GPS data processed {"connection_id":190761,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:46:33] local.INFO: Acknowledgment sent {"connection_id":190761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:46:56] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:56] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:46:56] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:47:00] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:00] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:00] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:47:01] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:01] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:01] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:47:01] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:47:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:47: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-09-23 21: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-09-23 21:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:47:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:47:01] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:47:01] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:47:04] local.INFO: TCP Data received {"connection_id":190761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:04] local.INFO: Processing buffer {"connection_id":190761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:04] local.INFO: Packet analysis {"connection_id":190761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:47:04] local.INFO: Extracted packet for processing {"connection_id":190761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 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-09-23 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:47: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-09-23 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-09-23 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-09-23 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":190761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":190761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":190761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":190761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:47:04] local.INFO: GPS data processed {"connection_id":190761,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:47:04] local.INFO: Acknowledgment sent {"connection_id":190761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:47:30] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:30] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:30] local.INFO: IMEI packet received {"connection_id":192294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:47:32] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:32] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:47:32] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:47:32] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:47:32] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:47: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-09-23 21: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-09-23 21:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:47:32] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:47:32] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:47:35] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:35] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:47:35] local.INFO: IMEI packet received {"connection_id":192294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":192294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:47:36] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:36] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:47:36] local.INFO: Packet analysis {"connection_id":192294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:47:36] local.INFO: Extracted packet for processing {"connection_id":192294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:47: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-09-23 21: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-09-23 21:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":192294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:47:36] local.INFO: GPS data processed {"connection_id":192294,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:47:36] local.INFO: Acknowledgment sent {"connection_id":192294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:47:56] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:56] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:47:56] local.INFO: IMEI packet received {"connection_id":190762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":190762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:48:01] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:01] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:01] local.INFO: IMEI packet received {"connection_id":190762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":190762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:48:01] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:01] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:01] local.INFO: Packet analysis {"connection_id":190762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:48:01] local.INFO: Extracted packet for processing {"connection_id":190762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:48: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-09-23 21:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:48:01] 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-09-23 21:48: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-09-23 21:48: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-09-23 21:48: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-09-23 21:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:48:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":190762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:48:02] local.INFO: GPS data processed {"connection_id":190762,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:48:02] local.INFO: Acknowledgment sent {"connection_id":190762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:48:08] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:08] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:08] local.INFO: Packet analysis {"connection_id":192294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:48:08] local.INFO: Extracted packet for processing {"connection_id":192294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:48: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-09-23 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":192294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:48:08] local.INFO: GPS data processed {"connection_id":192294,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:48:08] local.INFO: Acknowledgment sent {"connection_id":192294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:48:30] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:30] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:30] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:48:33] local.INFO: TCP Data received {"connection_id":190762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:33] local.INFO: Processing buffer {"connection_id":190762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:48:33] local.INFO: Packet analysis {"connection_id":190762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:48:33] local.INFO: Extracted packet for processing {"connection_id":190762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:48: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:48: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-09-23 21: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-09-23 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":190762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:48:33] local.INFO: GPS data processed {"connection_id":190762,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:48:33] local.INFO: Acknowledgment sent {"connection_id":190762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:48:35] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:35] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:48:35] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:48:37] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:37] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:48:37] local.INFO: Packet analysis {"connection_id":190947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:48:37] local.INFO: Extracted packet for processing {"connection_id":190947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":190947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:48:37] local.INFO: GPS data processed {"connection_id":190947,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:48:37] local.INFO: Acknowledgment sent {"connection_id":190947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:48:55] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:55] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:48:55] local.INFO: IMEI packet received {"connection_id":193644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":193644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:49:00] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:49:00] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:49:00] local.INFO: IMEI packet received {"connection_id":193644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":193644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:49:01] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:01] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:01] local.INFO: Packet analysis {"connection_id":193644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:49:01] local.INFO: Extracted packet for processing {"connection_id":193644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:49:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:49: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-09-23 21: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-09-23 21:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":193644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:49:01] local.INFO: GPS data processed {"connection_id":193644,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:49:01] local.INFO: Acknowledgment sent {"connection_id":193644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:49:08] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:08] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:08] local.INFO: Packet analysis {"connection_id":190947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:08] local.INFO: Extracted packet for processing {"connection_id":190947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:49: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-09-23 21:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:49:08] local.INFO: GPS data processed {"connection_id":190947,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:49:08] local.INFO: Acknowledgment sent {"connection_id":190947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:49:32] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:32] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0b85d0012d196940071fef900038015925..."} 
[2026-09-23 21:49:32] local.INFO: Packet analysis {"connection_id":193644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:49:32] local.INFO: Extracted packet for processing {"connection_id":193644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0b"} 
[2026-09-23 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286011648001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180034000,"timestamp_ms":1790180034000,"timestamp_seconds":1790180034,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0b85d0"} 
[2026-09-23 21:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:49:32] 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-09-23 21:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:49: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-09-23 21:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286011648001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286011648001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286011648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":193644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:49:32] local.INFO: GPS data processed {"connection_id":193644,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:49:32] local.INFO: Acknowledgment sent {"connection_id":193644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:49:36] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:36] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:36] local.INFO: IMEI packet received {"connection_id":190948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":190948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:49:40] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:40] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:49:40] local.INFO: IMEI packet received {"connection_id":190948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":190948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:49:41] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:41] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:41] local.INFO: Packet analysis {"connection_id":190948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:41] local.INFO: Extracted packet for processing {"connection_id":190948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:49: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-09-23 21:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":190948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:49:41] local.INFO: GPS data processed {"connection_id":190948,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:49:41] local.INFO: Acknowledgment sent {"connection_id":190948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:49:46] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:46] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:49:46] local.INFO: Packet analysis {"connection_id":190948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:46] local.INFO: Extracted packet for processing {"connection_id":190948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":190948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:49:46] local.INFO: GPS data processed {"connection_id":190948,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:49:46] local.INFO: Acknowledgment sent {"connection_id":190948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:50:01] local.INFO: TCP Data received {"connection_id":190764,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:01] local.INFO: Processing buffer {"connection_id":190764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:01] local.INFO: IMEI packet received {"connection_id":190764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":190764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:50:06] local.INFO: TCP Data received {"connection_id":190764,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:06] local.INFO: Processing buffer {"connection_id":190764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:06] local.INFO: IMEI packet received {"connection_id":190764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":190764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:50:07] local.INFO: TCP Data received {"connection_id":190764,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:07] local.INFO: Processing buffer {"connection_id":190764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:07] local.INFO: Packet analysis {"connection_id":190764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:50:07] local.INFO: Extracted packet for processing {"connection_id":190764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:50:07] 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-09-23 21:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":190764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:50:07] local.INFO: GPS data processed {"connection_id":190764,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:50:07] local.INFO: Acknowledgment sent {"connection_id":190764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:50:30] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:30] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:30] local.INFO: IMEI packet received {"connection_id":193645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:50:35] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:35] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:50:35] local.INFO: IMEI packet received {"connection_id":193645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":193645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:50:36] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:50:36] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:50:36] local.INFO: Packet analysis {"connection_id":193645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:50:36] local.INFO: Extracted packet for processing {"connection_id":193645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:50: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-09-23 21: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-09-23 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":193645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:50:36] local.INFO: GPS data processed {"connection_id":193645,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:50:36] local.INFO: Acknowledgment sent {"connection_id":193645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:50:38] local.INFO: TCP Data received {"connection_id":190764,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:38] local.INFO: Processing buffer {"connection_id":190764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:50:38] local.INFO: Packet analysis {"connection_id":190764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:50:38] local.INFO: Extracted packet for processing {"connection_id":190764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 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-09-23 21:50:38] 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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 21:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:50:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":190764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:50:38] local.INFO: GPS data processed {"connection_id":190764,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:50:38] local.INFO: Acknowledgment sent {"connection_id":190764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:50:56] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:56] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:50:56] local.INFO: IMEI packet received {"connection_id":190765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":190765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:51:00] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:00] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:00] local.INFO: IMEI packet received {"connection_id":190765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":190765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:51:01] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:01] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:01] local.INFO: Packet analysis {"connection_id":190765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:51:01] local.INFO: Extracted packet for processing {"connection_id":190765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:51:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:51: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-09-23 21: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-09-23 21:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":190765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:51:01] local.INFO: GPS data processed {"connection_id":190765,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:51:01] local.INFO: Acknowledgment sent {"connection_id":190765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:51:08] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:51:08] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf0d5a90012d34c58006aa47580013010525..."} 
[2026-09-23 21:51:08] local.INFO: Packet analysis {"connection_id":193645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:51:08] local.INFO: Extracted packet for processing {"connection_id":193645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf0d"} 
[2026-09-23 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286042368001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180154000,"timestamp_ms":1790180154000,"timestamp_seconds":1790180154,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf0d5a90"} 
[2026-09-23 21:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:51: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-09-23 21:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286042368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286042368001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286042368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":193645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:51:08] local.INFO: GPS data processed {"connection_id":193645,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:51:08] local.INFO: Acknowledgment sent {"connection_id":193645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:51:30] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:30] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:30] local.INFO: IMEI packet received {"connection_id":190766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":190766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:51:32] local.INFO: TCP Data received {"connection_id":190765,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:32] local.INFO: Processing buffer {"connection_id":190765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:51:32] local.INFO: Packet analysis {"connection_id":190765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:51:32] local.INFO: Extracted packet for processing {"connection_id":190765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:51: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-09-23 21: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-09-23 21:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:51:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":190765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:51:32] local.INFO: GPS data processed {"connection_id":190765,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:51:32] local.INFO: Acknowledgment sent {"connection_id":190765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:51:34] local.INFO: TCP Data received {"connection_id":193646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:51:34] local.INFO: Processing buffer {"connection_id":193646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:51:34] local.INFO: IMEI packet received {"connection_id":193646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":193646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:51:34] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:34] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:51:34] local.INFO: IMEI packet received {"connection_id":190766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":190766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:51:35] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:51:35] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:51:35] local.INFO: Packet analysis {"connection_id":190766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:51:35] local.INFO: Extracted packet for processing {"connection_id":190766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 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-09-23 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:51: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-09-23 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-09-23 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-09-23 21:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":190766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:51:35] local.INFO: GPS data processed {"connection_id":190766,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:51:35] local.INFO: Acknowledgment sent {"connection_id":190766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:51:56] local.INFO: TCP Data received {"connection_id":193647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:56] local.INFO: Processing buffer {"connection_id":193647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:51:56] local.INFO: IMEI packet received {"connection_id":193647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":193647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:52:01] local.INFO: TCP Data received {"connection_id":193647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:01] local.INFO: Processing buffer {"connection_id":193647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:01] local.INFO: IMEI packet received {"connection_id":193647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":193647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:52:01] local.INFO: TCP Data received {"connection_id":193647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:01] local.INFO: Processing buffer {"connection_id":193647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:01] local.INFO: Packet analysis {"connection_id":193647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:52:01] local.INFO: Extracted packet for processing {"connection_id":193647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:52: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-09-23 21:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:52:01] 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-09-23 21:52: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-09-23 21:52: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-09-23 21:52: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-09-23 21:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:52:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":193647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:52:02] local.INFO: GPS data processed {"connection_id":193647,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:52:02] local.INFO: Acknowledgment sent {"connection_id":193647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:52:08] local.INFO: TCP Data received {"connection_id":190766,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:08] local.INFO: Processing buffer {"connection_id":190766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:08] local.INFO: Packet analysis {"connection_id":190766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:52:08] local.INFO: Extracted packet for processing {"connection_id":190766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:52: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-09-23 21:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":190766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:52:08] local.INFO: GPS data processed {"connection_id":190766,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:52:08] local.INFO: Acknowledgment sent {"connection_id":190766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:52:13] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:52:13] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 21:52:13] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:52:30] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:30] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:30] local.INFO: IMEI packet received {"connection_id":190767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":190767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:52:33] local.INFO: TCP Data received {"connection_id":193647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:33] local.INFO: Processing buffer {"connection_id":193647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:52:33] local.INFO: Packet analysis {"connection_id":193647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:52:33] local.INFO: Extracted packet for processing {"connection_id":193647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:52: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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":193647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:52:33] local.INFO: GPS data processed {"connection_id":193647,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:52:33] local.INFO: Acknowledgment sent {"connection_id":193647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:52:35] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:35] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:52:35] local.INFO: IMEI packet received {"connection_id":190767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":190767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:52:36] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:36] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:52:36] local.INFO: Packet analysis {"connection_id":190767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:52:36] local.INFO: Extracted packet for processing {"connection_id":190767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":190767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:52:36] local.INFO: GPS data processed {"connection_id":190767,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:52:36] local.INFO: Acknowledgment sent {"connection_id":190767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:52:55] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:55] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:52:55] local.INFO: IMEI packet received {"connection_id":190950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":190950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:53:00] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:00] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:00] local.INFO: IMEI packet received {"connection_id":190950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":190950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:53:01] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:01] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:01] local.INFO: Packet analysis {"connection_id":190950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:53:01] local.INFO: Extracted packet for processing {"connection_id":190950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:53:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:53: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-09-23 21: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-09-23 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":190950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:53:01] local.INFO: GPS data processed {"connection_id":190950,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:53:01] local.INFO: Acknowledgment sent {"connection_id":190950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:53:08] local.INFO: TCP Data received {"connection_id":190767,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:08] local.INFO: Processing buffer {"connection_id":190767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:08] local.INFO: Packet analysis {"connection_id":190767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:53:08] local.INFO: Extracted packet for processing {"connection_id":190767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:53: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-09-23 21: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-09-23 21:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":190767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:53:08] local.INFO: GPS data processed {"connection_id":190767,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:53:08] local.INFO: Acknowledgment sent {"connection_id":190767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:53:30] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:30] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:30] local.INFO: IMEI packet received {"connection_id":193648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":193648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:53:32] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:32] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:53:32] local.INFO: Packet analysis {"connection_id":190950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:53:32] local.INFO: Extracted packet for processing {"connection_id":190950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:53: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-09-23 21: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-09-23 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":190950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:53:32] local.INFO: GPS data processed {"connection_id":190950,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:53:32] local.INFO: Acknowledgment sent {"connection_id":190950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:53:35] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:35] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:53:35] local.INFO: IMEI packet received {"connection_id":193648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":193648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:53:36] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:36] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:53:36] local.INFO: Packet analysis {"connection_id":193648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:53:36] local.INFO: Extracted packet for processing {"connection_id":193648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:53: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-09-23 21:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":193648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:53:36] local.INFO: GPS data processed {"connection_id":193648,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:53:36] local.INFO: Acknowledgment sent {"connection_id":193648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:53:55] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:55] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:53:55] local.INFO: IMEI packet received {"connection_id":193649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":193649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:54:01] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:54:01] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:54:01] local.INFO: IMEI packet received {"connection_id":193649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":193649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:54:02] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:02] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:02] local.INFO: Packet analysis {"connection_id":193649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:54:02] local.INFO: Extracted packet for processing {"connection_id":193649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:54: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:54: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-09-23 21: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-09-23 21:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:54:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":193649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:54:02] local.INFO: GPS data processed {"connection_id":193649,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:54:02] local.INFO: Acknowledgment sent {"connection_id":193649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:54:08] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:08] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:08] local.INFO: Packet analysis {"connection_id":193648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:08] local.INFO: Extracted packet for processing {"connection_id":193648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:54: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-09-23 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:54:08] local.INFO: GPS data processed {"connection_id":193648,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:54:08] local.INFO: Acknowledgment sent {"connection_id":193648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:54:33] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:33] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf101d98012d196940071fef900038015926..."} 
[2026-09-23 21:54:33] local.INFO: Packet analysis {"connection_id":193649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:54:33] local.INFO: Extracted packet for processing {"connection_id":193649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf10"} 
[2026-09-23 21:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286088704001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180335000,"timestamp_ms":1790180335000,"timestamp_seconds":1790180335,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf101d98"} 
[2026-09-23 21:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:54: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-09-23 21: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-09-23 21: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-09-23 21: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-09-23 21:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286088704001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286088704001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286088704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":193649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:54:33] local.INFO: GPS data processed {"connection_id":193649,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:54:33] local.INFO: Acknowledgment sent {"connection_id":193649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:54:35] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:35] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:35] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:54:40] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:40] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:54:40] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:54:41] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:41] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:41] local.INFO: Packet analysis {"connection_id":190952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:41] local.INFO: Extracted packet for processing {"connection_id":190952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:54: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-09-23 21:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":190952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:54:41] local.INFO: GPS data processed {"connection_id":190952,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:54:41] local.INFO: Acknowledgment sent {"connection_id":190952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:54:46] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:46] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:54:46] local.INFO: Packet analysis {"connection_id":190952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:46] local.INFO: Extracted packet for processing {"connection_id":190952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":190952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:54:46] local.INFO: GPS data processed {"connection_id":190952,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:54:46] local.INFO: Acknowledgment sent {"connection_id":190952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:55:00] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:00] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:00] local.INFO: IMEI packet received {"connection_id":190953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":190953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:55:06] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:06] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:06] local.INFO: IMEI packet received {"connection_id":190953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":190953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:55:07] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:07] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:07] local.INFO: Packet analysis {"connection_id":190953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:55:07] local.INFO: Extracted packet for processing {"connection_id":190953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:55: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-09-23 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":190953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:55:07] local.INFO: GPS data processed {"connection_id":190953,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:55:07] local.INFO: Acknowledgment sent {"connection_id":190953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:55:30] local.INFO: TCP Data received {"connection_id":190769,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:30] local.INFO: Processing buffer {"connection_id":190769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:30] local.INFO: IMEI packet received {"connection_id":190769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":190769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:55:35] local.INFO: TCP Data received {"connection_id":190769,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:35] local.INFO: Processing buffer {"connection_id":190769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:55:35] local.INFO: IMEI packet received {"connection_id":190769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":190769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:55:36] local.INFO: TCP Data received {"connection_id":190769,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:55:36] local.INFO: Processing buffer {"connection_id":190769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:55:36] local.INFO: Packet analysis {"connection_id":190769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:55:36] local.INFO: Extracted packet for processing {"connection_id":190769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 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-09-23 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:55: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-09-23 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-09-23 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-09-23 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":190769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:55:36] local.INFO: GPS data processed {"connection_id":190769,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:55:36] local.INFO: Acknowledgment sent {"connection_id":190769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:55:38] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:38] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:55:38] local.INFO: Packet analysis {"connection_id":190953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:55:38] local.INFO: Extracted packet for processing {"connection_id":190953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:55: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-09-23 21:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:55:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":190953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:55:38] local.INFO: GPS data processed {"connection_id":190953,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:55:38] local.INFO: Acknowledgment sent {"connection_id":190953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:55:56] local.INFO: TCP Data received {"connection_id":192297,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:56] local.INFO: Processing buffer {"connection_id":192297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:55:56] local.INFO: IMEI packet received {"connection_id":192297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":192297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:56:01] local.INFO: TCP Data received {"connection_id":192297,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:01] local.INFO: Processing buffer {"connection_id":192297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:01] local.INFO: IMEI packet received {"connection_id":192297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":192297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:56:01] local.INFO: TCP Data received {"connection_id":192297,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:01] local.INFO: Processing buffer {"connection_id":192297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:01] local.INFO: Packet analysis {"connection_id":192297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:56:01] local.INFO: Extracted packet for processing {"connection_id":192297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:56:01] 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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:56: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-09-23 21: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-09-23 21:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:56:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":192297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:56:02] local.INFO: GPS data processed {"connection_id":192297,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:56:02] local.INFO: Acknowledgment sent {"connection_id":192297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:56:09] local.INFO: TCP Data received {"connection_id":190769,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:56:09] local.INFO: Processing buffer {"connection_id":190769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf11f258012d34c58006aa47580013010526..."} 
[2026-09-23 21:56:09] local.INFO: Packet analysis {"connection_id":190769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:56:09] local.INFO: Extracted packet for processing {"connection_id":190769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf11"} 
[2026-09-23 21:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286119424001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790180455000,"timestamp_ms":1790180455000,"timestamp_seconds":1790180455,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf11f258"} 
[2026-09-23 21:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 21:56: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-09-23 21:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286119424001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286119424001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286119424001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":190769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:56:09] local.INFO: GPS data processed {"connection_id":190769,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:56:09] local.INFO: Acknowledgment sent {"connection_id":190769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:56:30] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:30] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:30] local.INFO: IMEI packet received {"connection_id":193650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":193650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:56:33] local.INFO: TCP Data received {"connection_id":192297,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:33] local.INFO: Processing buffer {"connection_id":192297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:56:33] local.INFO: Packet analysis {"connection_id":192297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:56:33] local.INFO: Extracted packet for processing {"connection_id":192297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:56: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:56: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-09-23 21: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-09-23 21:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:56:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":192297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:56:33] local.INFO: GPS data processed {"connection_id":192297,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:56:33] local.INFO: Acknowledgment sent {"connection_id":192297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:56:34] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:34] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:56:34] local.INFO: IMEI packet received {"connection_id":193650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":193650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:56:35] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:56:35] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:56:35] local.INFO: Packet analysis {"connection_id":193650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:56:35] local.INFO: Extracted packet for processing {"connection_id":193650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":193650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:56:35] local.INFO: GPS data processed {"connection_id":193650,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:56:35] local.INFO: Acknowledgment sent {"connection_id":193650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:56:56] local.INFO: TCP Data received {"connection_id":190771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:56] local.INFO: Processing buffer {"connection_id":190771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:56:56] local.INFO: IMEI packet received {"connection_id":190771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":190771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:57:00] local.INFO: TCP Data received {"connection_id":190771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:00] local.INFO: Processing buffer {"connection_id":190771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:00] local.INFO: IMEI packet received {"connection_id":190771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":190771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:57:01] local.INFO: TCP Data received {"connection_id":190771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:01] local.INFO: Processing buffer {"connection_id":190771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:01] local.INFO: Packet analysis {"connection_id":190771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:57:01] local.INFO: Extracted packet for processing {"connection_id":190771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:57:01] 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-09-23 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:57: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-09-23 21: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-09-23 21:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:57:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":190771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:57:01] local.INFO: GPS data processed {"connection_id":190771,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:57:01] local.INFO: Acknowledgment sent {"connection_id":190771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:57:07] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:07] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:07] local.INFO: Packet analysis {"connection_id":193650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:57:07] local.INFO: Extracted packet for processing {"connection_id":193650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:57: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-09-23 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":193650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:57:07] local.INFO: GPS data processed {"connection_id":193650,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:57:07] local.INFO: Acknowledgment sent {"connection_id":193650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:57:30] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:30] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:30] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:57:32] local.INFO: TCP Data received {"connection_id":190771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:32] local.INFO: Processing buffer {"connection_id":190771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:57:32] local.INFO: Packet analysis {"connection_id":190771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:57:32] local.INFO: Extracted packet for processing {"connection_id":190771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:57: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-09-23 21: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-09-23 21:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:57:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":190771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:57:32] local.INFO: GPS data processed {"connection_id":190771,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:57:32] local.INFO: Acknowledgment sent {"connection_id":190771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:57:35] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:35] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:57:35] local.INFO: IMEI packet received {"connection_id":190772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":190772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:57:36] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:36] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:57:36] local.INFO: Packet analysis {"connection_id":190772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:57:36] local.INFO: Extracted packet for processing {"connection_id":190772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":190772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:57:36] local.INFO: GPS data processed {"connection_id":190772,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:57:36] local.INFO: Acknowledgment sent {"connection_id":190772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:57:55] local.INFO: TCP Data received {"connection_id":192298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:55] local.INFO: Processing buffer {"connection_id":192298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:57:55] local.INFO: IMEI packet received {"connection_id":192298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":192298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:58:01] local.INFO: TCP Data received {"connection_id":192298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:01] local.INFO: Processing buffer {"connection_id":192298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:01] local.INFO: IMEI packet received {"connection_id":192298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":192298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:58:02] local.INFO: TCP Data received {"connection_id":192298,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:02] local.INFO: Processing buffer {"connection_id":192298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:02] local.INFO: Packet analysis {"connection_id":192298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:58:02] local.INFO: Extracted packet for processing {"connection_id":192298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:58: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:58: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-09-23 21: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-09-23 21:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":192298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:58:02] local.INFO: GPS data processed {"connection_id":192298,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:58:02] local.INFO: Acknowledgment sent {"connection_id":192298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:58:08] local.INFO: TCP Data received {"connection_id":190772,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:08] local.INFO: Processing buffer {"connection_id":190772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:08] local.INFO: Packet analysis {"connection_id":190772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:08] local.INFO: Extracted packet for processing {"connection_id":190772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":190772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:58:08] local.INFO: GPS data processed {"connection_id":190772,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:58:08] local.INFO: Acknowledgment sent {"connection_id":190772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:58:33] local.INFO: TCP Data received {"connection_id":192298,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:33] local.INFO: Processing buffer {"connection_id":192298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:58:33] local.INFO: Packet analysis {"connection_id":192298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:58:33] local.INFO: Extracted packet for processing {"connection_id":192298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:58: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-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:58: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-09-23 21: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-09-23 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:58:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":192298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:58:33] local.INFO: GPS data processed {"connection_id":192298,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:58:33] local.INFO: Acknowledgment sent {"connection_id":192298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:58:35] local.INFO: TCP Data received {"connection_id":190954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:35] local.INFO: Processing buffer {"connection_id":190954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:35] local.INFO: IMEI packet received {"connection_id":190954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":190954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:58:40] local.INFO: TCP Data received {"connection_id":190954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:40] local.INFO: Processing buffer {"connection_id":190954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:58:40] local.INFO: IMEI packet received {"connection_id":190954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":190954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:58:41] local.INFO: TCP Data received {"connection_id":190954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:41] local.INFO: Processing buffer {"connection_id":190954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:41] local.INFO: Packet analysis {"connection_id":190954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:41] local.INFO: Extracted packet for processing {"connection_id":190954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":190954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:58:41] local.INFO: GPS data processed {"connection_id":190954,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:58:41] local.INFO: Acknowledgment sent {"connection_id":190954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:58:46] local.INFO: TCP Data received {"connection_id":190954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:46] local.INFO: Processing buffer {"connection_id":190954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:58:46] local.INFO: Packet analysis {"connection_id":190954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:46] local.INFO: Extracted packet for processing {"connection_id":190954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21: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-09-23 21:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":190954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:58:46] local.INFO: GPS data processed {"connection_id":190954,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:58:46] local.INFO: Acknowledgment sent {"connection_id":190954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:58:55] local.INFO: TCP Data received {"connection_id":190773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:55] local.INFO: Processing buffer {"connection_id":190773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:58:55] local.INFO: IMEI packet received {"connection_id":190773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":190773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:59:00] local.INFO: TCP Data received {"connection_id":190773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:59:00] local.INFO: Processing buffer {"connection_id":190773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 21:59:00] local.INFO: IMEI packet received {"connection_id":190773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 21:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":190773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:59:01] local.INFO: TCP Data received {"connection_id":190773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:01] local.INFO: Processing buffer {"connection_id":190773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:01] local.INFO: Packet analysis {"connection_id":190773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:59:01] local.INFO: Extracted packet for processing {"connection_id":190773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:59:01] 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-09-23 21:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:59: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-09-23 21:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":190773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:59:01] local.INFO: GPS data processed {"connection_id":190773,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:59:01] local.INFO: Acknowledgment sent {"connection_id":190773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:59:31] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:31] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:31] local.INFO: IMEI packet received {"connection_id":193651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":193651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 21:59:32] local.INFO: TCP Data received {"connection_id":190773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:32] local.INFO: Processing buffer {"connection_id":190773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf14b560012d196940071fef900038015924..."} 
[2026-09-23 21:59:32] local.INFO: Packet analysis {"connection_id":190773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:59:32] local.INFO: Extracted packet for processing {"connection_id":190773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf14"} 
[2026-09-23 21:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":56,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 21: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-09-23 21:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286165760001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180636000,"timestamp_ms":1790180636000,"timestamp_seconds":1790180636,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf14b560"} 
[2026-09-23 21:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 21:59: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-09-23 21: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-09-23 21:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 21:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 21:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 21:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286165760001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 21:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 21:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 21:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286165760001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:59:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 21:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 21:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 21:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286165760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 21:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":190773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:59:32] local.INFO: GPS data processed {"connection_id":190773,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:59:32] local.INFO: Acknowledgment sent {"connection_id":190773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 21:59:35] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:35] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 21:59:35] local.INFO: IMEI packet received {"connection_id":193651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 21:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":193651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 21:59:37] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:59:37] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 21:59:37] local.INFO: Packet analysis {"connection_id":193651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:59:37] local.INFO: Extracted packet for processing {"connection_id":193651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 21:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 21:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 21:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 21:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 21:59: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-09-23 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 21:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 21:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 21:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 21:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 21:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 21:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 21:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 21:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 21:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 21:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 21:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 21:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 21:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 21:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 21:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 21:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 21:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 21:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 21:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":193651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 21:59:37] local.INFO: GPS data processed {"connection_id":193651,"processed":1,"errors":0,"total":1} 
[2026-09-23 21:59:37] local.INFO: Acknowledgment sent {"connection_id":193651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:01] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:01] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:01] local.INFO: IMEI packet received {"connection_id":192299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":192299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:00:06] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:06] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:06] local.INFO: IMEI packet received {"connection_id":192299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":192299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:00:06] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:06] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:06] local.INFO: Packet analysis {"connection_id":192299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:00:06] local.INFO: Extracted packet for processing {"connection_id":192299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":192299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:00:06] local.INFO: GPS data processed {"connection_id":192299,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:00:06] local.INFO: Acknowledgment sent {"connection_id":192299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:08] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:08] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:08] local.INFO: Packet analysis {"connection_id":193651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:08] local.INFO: Extracted packet for processing {"connection_id":193651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 22:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":193651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:00:09] local.INFO: GPS data processed {"connection_id":193651,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:00:09] local.INFO: Acknowledgment sent {"connection_id":193651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:11] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:11] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:00:11] local.INFO: Packet analysis {"connection_id":192299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:00:11] local.INFO: Extracted packet for processing {"connection_id":192299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:00: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-09-23 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:00:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":192299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:00:11] local.INFO: GPS data processed {"connection_id":192299,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:00:11] local.INFO: Acknowledgment sent {"connection_id":192299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:13] local.INFO: TCP Data received {"connection_id":190774,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:13] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:13] local.INFO: IMEI packet received {"connection_id":190774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":190774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:00:25] local.INFO: TCP Data received {"connection_id":190774,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:25] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:00:25] local.INFO: IMEI packet received {"connection_id":190774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":190774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:00:30] local.INFO: TCP Data received {"connection_id":190775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:30] local.INFO: Processing buffer {"connection_id":190775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:30] local.INFO: IMEI packet received {"connection_id":190775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":190775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:00:31] local.INFO: TCP Data received {"connection_id":190774,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1699c0012cae7e800909c210020200e629..."} 
[2026-09-23 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1699c0012cae7e800909c210020200e629..."} 
[2026-09-23 22:00:31] local.INFO: Processing buffer {"connection_id":190774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1699c0012cae7e800909c210020200e629..."} 
[2026-09-23 22:00:31] local.INFO: Packet analysis {"connection_id":190774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:31] local.INFO: Extracted packet for processing {"connection_id":190774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749633152,"raw_latitude":151634448,"longitude_deg":74.9633152,"latitude_deg":15.1634448,"altitude":514,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cae7e80","hex_latitude":"0909c210","is_valid_coordinates":true} 
[2026-09-23 22:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286269184001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5855805376666931198,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,13,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790180760000,"timestamp_ms":1790180760000,"timestamp_seconds":1790180760,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1699c0"} 
[2026-09-23 22:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:00: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-09-23 22:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-23 22:00:31] 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-09-23 22:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":190774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":190774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":190774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286269184001,"66":27995,"36":206,"13":1280,"24":0,"16":3605341577150464,"44":-5855805376666931198},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,13,24,16,44]} 
[2026-09-23 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286269184001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":1280,"description":"Unknown IO ID 13"} 
[2026-09-23 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5855805376666931198,"description":"Unknown IO ID 44"} 
[2026-09-23 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286269184001,"power":27995,"unknown_36":206,"unknown_13":1280,"ignition":0,"odometer":null,"unknown_44":-5855805376666931198}} 
[2026-09-23 22:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":190774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:00:31] local.INFO: GPS data processed {"connection_id":190774,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:00:31] local.INFO: Acknowledgment sent {"connection_id":190774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:35] local.INFO: TCP Data received {"connection_id":190775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:35] local.INFO: Processing buffer {"connection_id":190775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:00:35] local.INFO: IMEI packet received {"connection_id":190775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":190775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:00:36] local.INFO: TCP Data received {"connection_id":190775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:36] local.INFO: Processing buffer {"connection_id":190775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:00:36] local.INFO: Packet analysis {"connection_id":190775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:36] local.INFO: Extracted packet for processing {"connection_id":190775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 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-09-23 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":190775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:00:36] local.INFO: GPS data processed {"connection_id":190775,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:00:36] local.INFO: Acknowledgment sent {"connection_id":190775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:00:56] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:56] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:00:56] local.INFO: IMEI packet received {"connection_id":190776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":190776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:01:00] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:00] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:00] local.INFO: IMEI packet received {"connection_id":190776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":190776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:01:01] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:01] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:01] local.INFO: Packet analysis {"connection_id":190776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:01:01] local.INFO: Extracted packet for processing {"connection_id":190776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:01:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:01: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-09-23 22: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-09-23 22:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:01:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":190776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:01:01] local.INFO: GPS data processed {"connection_id":190776,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:01:01] local.INFO: Acknowledgment sent {"connection_id":190776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:08] local.INFO: TCP Data received {"connection_id":190775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:01:08] local.INFO: Processing buffer {"connection_id":190775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf168a20012d34c58006aa47580013010521..."} 
[2026-09-23 22:01:08] local.INFO: Packet analysis {"connection_id":190775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:01:08] local.INFO: Extracted packet for processing {"connection_id":190775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf16"} 
[2026-09-23 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286196480001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790180756000,"timestamp_ms":1790180756000,"timestamp_seconds":1790180756,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf168a20"} 
[2026-09-23 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-09-23 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286196480001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286196480001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286196480001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":190775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:01:08] local.INFO: GPS data processed {"connection_id":190775,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:01:08] local.INFO: Acknowledgment sent {"connection_id":190775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:09] local.INFO: TCP Data received {"connection_id":193652,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:09] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:09] local.INFO: IMEI packet received {"connection_id":193652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":193652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:01:11] local.INFO: TCP Data received {"connection_id":193652,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:11] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:01:11] local.INFO: IMEI packet received {"connection_id":193652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":193652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:01:12] local.INFO: TCP Data received {"connection_id":193652,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1a1c30012cab958009076400021600fc29..."} 
[2026-09-23 22:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1a1c30012cab958009076400021600fc29..."} 
[2026-09-23 22:01:12] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1a1c30012cab958009076400021600fc29..."} 
[2026-09-23 22:01:12] local.INFO: Packet analysis {"connection_id":193652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:01:12] local.INFO: Extracted packet for processing {"connection_id":193652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749442432,"raw_latitude":151479296,"longitude_deg":74.9442432,"latitude_deg":15.1479296,"altitude":534,"angle":252,"satellites":41,"speed":26,"hex_longitude":"2cab9580","hex_latitude":"09076400","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 22:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790180990000,"timestamp_ms":1790180990000,"timestamp_seconds":1790180990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1a1c30"} 
[2026-09-23 22:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:01: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-09-23 22: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-09-23 22:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"77":206,"9":54784,"24":26,"16":3605341577150464},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,9,24,16]} 
[2026-09-23 22:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 22:01:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-23 22:01:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:01:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_77":206,"unknown_9":54784,"ignition":26,"odometer":null}} 
[2026-09-23 22:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":193652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:01:12] local.INFO: GPS data processed {"connection_id":193652,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:01:12] local.INFO: Acknowledgment sent {"connection_id":193652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:30] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:30] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:30] local.INFO: IMEI packet received {"connection_id":190955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:01:32] local.INFO: TCP Data received {"connection_id":190776,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:32] local.INFO: Processing buffer {"connection_id":190776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:01:32] local.INFO: Packet analysis {"connection_id":190776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:01:32] local.INFO: Extracted packet for processing {"connection_id":190776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:01: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-09-23 22: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-09-23 22:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:01:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":190776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:01:32] local.INFO: GPS data processed {"connection_id":190776,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:01:32] local.INFO: Acknowledgment sent {"connection_id":190776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:35] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:35] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:01:35] local.INFO: IMEI packet received {"connection_id":190955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":190955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:01:36] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:01:36] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:01:36] local.INFO: Packet analysis {"connection_id":190955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:01:36] local.INFO: Extracted packet for processing {"connection_id":190955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:01: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-09-23 22: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-09-23 22:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":190955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:01:36] local.INFO: GPS data processed {"connection_id":190955,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:01:36] local.INFO: Acknowledgment sent {"connection_id":190955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:44] local.INFO: TCP Data received {"connection_id":193652,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1afec00100000000000000000000000000..."} 
[2026-09-23 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1afec00100000000000000000000000000..."} 
[2026-09-23 22:01:44] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1afec00100000000000000000000000000..."} 
[2026-09-23 22:01:44] local.INFO: Packet analysis {"connection_id":193652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:01:44] local.INFO: Extracted packet for processing {"connection_id":193652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:01: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-09-23 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286333440001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6082814945426931710,"note":"Value kept but may cause issues"} 
[2026-09-23 22:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790181048000,"timestamp_ms":1790181048000,"timestamp_seconds":1790181048,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1afec0"} 
[2026-09-23 22:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-23 22:01: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-09-23 22:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":193652,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 22:01:44] local.INFO: GPS data processed {"connection_id":193652,"processed":0,"errors":0,"total":1} 
[2026-09-23 22:01:44] local.INFO: Acknowledgment sent {"connection_id":193652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:01:56] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:56] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:01:56] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:02:01] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:01] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:01] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:02:01] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:01] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:01] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:02:01] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 22: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-09-23 22:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:02] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:02] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:07] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:07] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:07] local.INFO: Packet analysis {"connection_id":190955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:07] local.INFO: Extracted packet for processing {"connection_id":190955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 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-09-23 22:02: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-09-23 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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 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-09-23 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-09-23 22:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":190955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:07] local.INFO: GPS data processed {"connection_id":190955,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:07] local.INFO: Acknowledgment sent {"connection_id":190955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:09] local.INFO: TCP Data received {"connection_id":192301,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:09] local.INFO: Processing buffer {"connection_id":192301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:09] local.INFO: IMEI packet received {"connection_id":192301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":192301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:02:14] local.INFO: TCP Data received {"connection_id":192301,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:14] local.INFO: Processing buffer {"connection_id":192301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:02:14] local.INFO: IMEI packet received {"connection_id":192301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":192301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:02:15] local.INFO: TCP Data received {"connection_id":192301,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1a7220012cab5f8009074920021700f32a..."} 
[2026-09-23 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1a7220012cab5f8009074920021700f32a..."} 
[2026-09-23 22:02:15] local.INFO: Processing buffer {"connection_id":192301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1a7220012cab5f8009074920021700f32a..."} 
[2026-09-23 22:02:15] local.INFO: Packet analysis {"connection_id":192301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:02:15] local.INFO: Extracted packet for processing {"connection_id":192301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749428608,"raw_latitude":151472416,"longitude_deg":74.9428608,"latitude_deg":15.1472416,"altitude":535,"angle":243,"satellites":42,"speed":29,"hex_longitude":"2cab5f80","hex_latitude":"09074920","is_valid_coordinates":true} 
[2026-09-23 22:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790181012000,"timestamp_ms":1790181012000,"timestamp_seconds":1790181012,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1a7220"} 
[2026-09-23 22:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 22:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"101":206,"9":54784,"24":29,"16":3605341577150464},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16]} 
[2026-09-23 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 22:02:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_101":206,"unknown_9":54784,"ignition":29,"odometer":null}} 
[2026-09-23 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":192301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:15] local.INFO: GPS data processed {"connection_id":192301,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:15] local.INFO: Acknowledgment sent {"connection_id":192301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:31] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:31] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:31] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:02:33] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:33] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:02:33] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:02:33] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 22: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-09-23 22:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:33] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:33] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:35] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:35] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:02:35] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:02:36] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:36] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:36] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:36] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 22:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:36] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:36] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:41] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:41] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:02:41] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:41] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:41] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:41] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:46] local.INFO: TCP Data received {"connection_id":192301,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1ac428012cab1f40090726e0021800f027..."} 
[2026-09-23 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1ac428012cab1f40090726e0021800f027..."} 
[2026-09-23 22:02:46] local.INFO: Processing buffer {"connection_id":192301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1ac428012cab1f40090726e0021800f027..."} 
[2026-09-23 22:02:46] local.INFO: Packet analysis {"connection_id":192301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:02:46] local.INFO: Extracted packet for processing {"connection_id":192301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1a"} 
[2026-09-23 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":749412160,"raw_latitude":151463648,"longitude_deg":74.941216,"latitude_deg":15.1463648,"altitude":536,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2cab1f40","hex_latitude":"090726e0","is_valid_coordinates":true} 
[2026-09-23 22:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286339072001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6098014594171068414,"note":"Value kept but may cause issues"} 
[2026-09-23 22:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790181033000,"timestamp_ms":1790181033000,"timestamp_seconds":1790181033,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1ac428"} 
[2026-09-23 22:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:02: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-09-23 22:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 22:02: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-09-23 22:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286339072001,"66":27517,"101":206,"9":54784,"24":0,"16":3605341577150464,"44":-6098014594171068414},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-23 22:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286339072001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:02:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 22:02:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6098014594171068414,"description":"Unknown IO ID 44"} 
[2026-09-23 22:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286339072001,"power":27517,"unknown_101":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6098014594171068414}} 
[2026-09-23 22:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":192301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:02:46] local.INFO: GPS data processed {"connection_id":192301,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:02:46] local.INFO: Acknowledgment sent {"connection_id":192301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:02:56] local.INFO: TCP Data received {"connection_id":193653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:56] local.INFO: Processing buffer {"connection_id":193653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:02:56] local.INFO: IMEI packet received {"connection_id":193653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":193653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:03:00] local.INFO: TCP Data received {"connection_id":193653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:00] local.INFO: Processing buffer {"connection_id":193653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:00] local.INFO: IMEI packet received {"connection_id":193653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":193653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:03:01] local.INFO: TCP Data received {"connection_id":193653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:01] local.INFO: Processing buffer {"connection_id":193653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:01] local.INFO: Packet analysis {"connection_id":193653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:03:01] local.INFO: Extracted packet for processing {"connection_id":193653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:03: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-09-23 22: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-09-23 22:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:03:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":193653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:03:01] local.INFO: GPS data processed {"connection_id":193653,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:03:01] local.INFO: Acknowledgment sent {"connection_id":193653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:09] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:09] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:09] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:03:12] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:12] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:12] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:12] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:03:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:03:12] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:03:12] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:15] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:15] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:15] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:03:17] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:17] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:17] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:03:18] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:18] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:03:18] local.INFO: IMEI packet received {"connection_id":190777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":190777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:03:20] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b1630012caad84009070460021800f42b..."} 
[2026-09-23 22:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b1630012caad84009070460021800f42b..."} 
[2026-09-23 22:03:20] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b1630012caad84009070460021800f42b..."} 
[2026-09-23 22:03:20] local.INFO: Packet analysis {"connection_id":190777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:20] local.INFO: Extracted packet for processing {"connection_id":190777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749393984,"raw_latitude":151454816,"longitude_deg":74.9393984,"latitude_deg":15.1454816,"altitude":536,"angle":244,"satellites":43,"speed":0,"hex_longitude":"2caad840","hex_latitude":"09070460","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286344448001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6116099361426972670,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790181054000,"timestamp_ms":1790181054000,"timestamp_seconds":1790181054,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b1630"} 
[2026-09-23 22:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-23 22:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286344448001,"66":27832,"101":206,"9":54784,"24":0,"16":3605341577150464,"44":-6116099361426972670},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-23 22:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286344448001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:03:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 22:03:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6116099361426972670,"description":"Unknown IO ID 44"} 
[2026-09-23 22:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286344448001,"power":27832,"unknown_101":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6116099361426972670}} 
[2026-09-23 22:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":190777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:03:20] local.INFO: GPS data processed {"connection_id":190777,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:03:20] local.INFO: Acknowledgment sent {"connection_id":190777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:24] local.INFO: TCP Data received {"connection_id":190777,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1bf8c00100000000000000000000000000..."} 
[2026-09-23 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1bf8c00100000000000000000000000000..."} 
[2026-09-23 22:03:24] local.INFO: Processing buffer {"connection_id":190777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1bf8c00100000000000000000000000000..."} 
[2026-09-23 22:03:24] local.INFO: Packet analysis {"connection_id":190777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:24] local.INFO: Extracted packet for processing {"connection_id":190777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286349824001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6136084084775690238,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790181112000,"timestamp_ms":1790181112000,"timestamp_seconds":1790181112,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1bf8c0"} 
[2026-09-23 22:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-23 22:03:24] 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-09-23 22:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":190777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 22:03:24] local.INFO: GPS data processed {"connection_id":190777,"processed":0,"errors":0,"total":1} 
[2026-09-23 22:03:24] local.INFO: Acknowledgment sent {"connection_id":190777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:30] local.INFO: TCP Data received {"connection_id":192303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:30] local.INFO: Processing buffer {"connection_id":192303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:30] local.INFO: IMEI packet received {"connection_id":192303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":192303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:03:32] local.INFO: TCP Data received {"connection_id":193653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:32] local.INFO: Processing buffer {"connection_id":193653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:03:32] local.INFO: Packet analysis {"connection_id":193653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:03:32] local.INFO: Extracted packet for processing {"connection_id":193653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:03: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-09-23 22: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-09-23 22:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:03:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":193653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:03:32] local.INFO: GPS data processed {"connection_id":193653,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:03:32] local.INFO: Acknowledgment sent {"connection_id":193653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:35] local.INFO: TCP Data received {"connection_id":192303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:35] local.INFO: Processing buffer {"connection_id":192303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:03:35] local.INFO: IMEI packet received {"connection_id":192303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":192303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:03:36] local.INFO: TCP Data received {"connection_id":192303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:36] local.INFO: Processing buffer {"connection_id":192303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:03:36] local.INFO: Packet analysis {"connection_id":192303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:36] local.INFO: Extracted packet for processing {"connection_id":192303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:03: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-09-23 22: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-09-23 22:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":192303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:03:37] local.INFO: GPS data processed {"connection_id":192303,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:03:37] local.INFO: Acknowledgment sent {"connection_id":192303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:03:55] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:55] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:03:55] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:04:01] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:04:01] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:04:01] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:04:01] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:01] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:01] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:04:01] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:04: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-09-23 22:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04:01] 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-09-23 22:04: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-09-23 22:04: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-09-23 22:04: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-09-23 22:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:02] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:02] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:04:08] local.INFO: TCP Data received {"connection_id":192303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:08] local.INFO: Processing buffer {"connection_id":192303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:08] local.INFO: Packet analysis {"connection_id":192303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:08] local.INFO: Extracted packet for processing {"connection_id":192303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":192303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:08] local.INFO: GPS data processed {"connection_id":192303,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:08] local.INFO: Acknowledgment sent {"connection_id":192303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:04:08] local.INFO: TCP Data received {"connection_id":192304,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:08] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:08] local.INFO: IMEI packet received {"connection_id":192304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":192304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:04:14] local.INFO: TCP Data received {"connection_id":192304,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:14] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:04:14] local.INFO: IMEI packet received {"connection_id":192304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":192304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:04:15] local.INFO: TCP Data received {"connection_id":192304,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b8b60012caa3c400906af20021100e02b..."} 
[2026-09-23 22:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b8b60012caa3c400906af20021100e02b..."} 
[2026-09-23 22:04:15] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b8b60012caa3c400906af20021100e02b..."} 
[2026-09-23 22:04:15] local.INFO: Packet analysis {"connection_id":192304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:15] local.INFO: Extracted packet for processing {"connection_id":192304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":749354048,"raw_latitude":151432992,"longitude_deg":74.9354048,"latitude_deg":15.1432992,"altitude":529,"angle":224,"satellites":43,"speed":52,"hex_longitude":"2caa3c40","hex_latitude":"0906af20","is_valid_coordinates":true} 
[2026-09-23 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 22:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790181084000,"timestamp_ms":1790181084000,"timestamp_seconds":1790181084,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b8b60"} 
[2026-09-23 22:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-23 22:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"101":206,"9":54784,"24":52,"16":3605341577150464},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16]} 
[2026-09-23 22:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 22:04:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_101":206,"unknown_9":54784,"ignition":52,"odometer":null}} 
[2026-09-23 22:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":192304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:15] local.INFO: GPS data processed {"connection_id":192304,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:15] local.INFO: Acknowledgment sent {"connection_id":192304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:04:31] local.INFO: TCP Data received {"connection_id":190778,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:31] local.INFO: Processing buffer {"connection_id":190778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:31] local.INFO: IMEI packet received {"connection_id":190778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":190778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:04:33] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:33] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf194d28012d196940071fef900042015925..."} 
[2026-09-23 22:04:33] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:04:33] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf19"} 
[2026-09-23 22:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286242816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790180937000,"timestamp_ms":1790180937000,"timestamp_seconds":1790180937,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf194d28"} 
[2026-09-23 22:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04: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-09-23 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:04: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-09-23 22: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-09-23 22:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286242816001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286242816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286242816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:33] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:33] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:04:35] local.INFO: TCP Data received {"connection_id":190778,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:35] local.INFO: Processing buffer {"connection_id":190778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:04:35] local.INFO: IMEI packet received {"connection_id":190778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":190778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:04:37] local.INFO: TCP Data received {"connection_id":190778,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:37] local.INFO: Processing buffer {"connection_id":190778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:04:37] local.INFO: Packet analysis {"connection_id":190778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:37] local.INFO: Extracted packet for processing {"connection_id":190778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04: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-09-23 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22: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-09-23 22:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":190778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:37] local.INFO: GPS data processed {"connection_id":190778,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:37] local.INFO: Acknowledgment sent {"connection_id":190778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:04:48] local.INFO: TCP Data received {"connection_id":192304,"ip":"117.225.153.164","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1bdd68012caa0cc009068020021000e02a..."} 
[2026-09-23 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1bdd68012caa0cc009068020021000e02a..."} 
[2026-09-23 22:04:48] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1bdd68012caa0cc009068020021000e02a..."} 
[2026-09-23 22:04:48] local.INFO: Packet analysis {"connection_id":192304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:48] local.INFO: Extracted packet for processing {"connection_id":192304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:04:48] local.INFO: GPS Element Parsed {"raw_longitude":749341888,"raw_latitude":151420960,"longitude_deg":74.9341888,"latitude_deg":15.142096,"altitude":528,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2caa0cc0","hex_latitude":"09068020","is_valid_coordinates":true} 
[2026-09-23 22:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286357504001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6179994181148139518,"note":"Value kept but may cause issues"} 
[2026-09-23 22:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790181105000,"timestamp_ms":1790181105000,"timestamp_seconds":1790181105,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1bdd68"} 
[2026-09-23 22:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 22:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-23 22:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 22:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.153.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 22:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 22:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286357504001,"66":27995,"101":206,"9":54784,"24":0,"16":3605341577150464,"44":-6179994181148139518},"client_ip":"117.225.153.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-23 22:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 22:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 22:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286357504001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:04:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-23 22:04:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-23 22:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6179994181148139518,"description":"Unknown IO ID 44"} 
[2026-09-23 22:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286357504001,"power":27995,"unknown_101":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-6179994181148139518}} 
[2026-09-23 22:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":192304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:04:48] local.INFO: GPS data processed {"connection_id":192304,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:04:48] local.INFO: Acknowledgment sent {"connection_id":192304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:05:00] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:00] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:00] local.INFO: IMEI packet received {"connection_id":190779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":190779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:05:06] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:06] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:06] local.INFO: IMEI packet received {"connection_id":190779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":190779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:05:06] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:06] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:06] local.INFO: Packet analysis {"connection_id":190779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:05:06] local.INFO: Extracted packet for processing {"connection_id":190779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":190779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:05:07] local.INFO: GPS data processed {"connection_id":190779,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:05:07] local.INFO: Acknowledgment sent {"connection_id":190779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:05:08] local.INFO: TCP Data received {"connection_id":190778,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:08] local.INFO: Processing buffer {"connection_id":190778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:08] local.INFO: Packet analysis {"connection_id":190778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:05:08] local.INFO: Extracted packet for processing {"connection_id":190778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":190778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:05:08] local.INFO: GPS data processed {"connection_id":190778,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:05:08] local.INFO: Acknowledgment sent {"connection_id":190778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:05:14] local.INFO: TCP Data received {"connection_id":193654,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: Processing buffer {"connection_id":193654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: IMEI packet received {"connection_id":193654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":193654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:05:14] local.INFO: TCP Data received {"connection_id":193654,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: Processing buffer {"connection_id":193654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:14] local.INFO: IMEI packet received {"connection_id":193654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":193654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:05:19] local.INFO: TCP Data received {"connection_id":193654,"ip":"117.225.153.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:19] local.INFO: Processing buffer {"connection_id":193654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:05:19] local.INFO: IMEI packet received {"connection_id":193654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":193654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:05:30] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:30] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:30] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:05:35] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:35] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:05:35] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:05:38] local.INFO: TCP Data received {"connection_id":190779,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:38] local.INFO: Processing buffer {"connection_id":190779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:05:38] local.INFO: Packet analysis {"connection_id":190779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:05:38] local.INFO: Extracted packet for processing {"connection_id":190779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:05: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-09-23 22: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-09-23 22:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":190779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:05:38] local.INFO: GPS data processed {"connection_id":190779,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:05:38] local.INFO: Acknowledgment sent {"connection_id":190779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:05:38] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:38] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:05:38] local.INFO: Packet analysis {"connection_id":192305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:05:38] local.INFO: Extracted packet for processing {"connection_id":192305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:05: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-09-23 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:05: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-09-23 22: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-09-23 22:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":192305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:05:38] local.INFO: GPS data processed {"connection_id":192305,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:05:38] local.INFO: Acknowledgment sent {"connection_id":192305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:05:56] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:56] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:05:56] local.INFO: IMEI packet received {"connection_id":190957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":190957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:06:01] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:01] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:01] local.INFO: IMEI packet received {"connection_id":190957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":190957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:06:01] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:01] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:01] local.INFO: Packet analysis {"connection_id":190957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:06:01] local.INFO: Extracted packet for processing {"connection_id":190957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:06: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-09-23 22: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-09-23 22:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:06:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":190957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:06:02] local.INFO: GPS data processed {"connection_id":190957,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:06:02] local.INFO: Acknowledgment sent {"connection_id":190957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:06:09] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:09] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:09] local.INFO: Packet analysis {"connection_id":192305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:06:09] local.INFO: Extracted packet for processing {"connection_id":192305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:06: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-09-23 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:06: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-09-23 22:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":192305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:06:09] local.INFO: GPS data processed {"connection_id":192305,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:06:09] local.INFO: Acknowledgment sent {"connection_id":192305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:06:30] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:30] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:30] local.INFO: IMEI packet received {"connection_id":190958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":190958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:06:33] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:33] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:06:33] local.INFO: Packet analysis {"connection_id":190957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:06:33] local.INFO: Extracted packet for processing {"connection_id":190957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:06: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-09-23 22: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-09-23 22:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":190957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:06:33] local.INFO: GPS data processed {"connection_id":190957,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:06:33] local.INFO: Acknowledgment sent {"connection_id":190957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:06:35] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:35] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:06:35] local.INFO: IMEI packet received {"connection_id":190958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":190958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:06:36] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:36] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1b21e8012d34c58006aa47580013010525..."} 
[2026-09-23 22:06:36] local.INFO: Packet analysis {"connection_id":190958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:06:36] local.INFO: Extracted packet for processing {"connection_id":190958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1b"} 
[2026-09-23 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286273536001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181057000,"timestamp_ms":1790181057000,"timestamp_seconds":1790181057,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1b21e8"} 
[2026-09-23 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:06: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-09-23 22:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286273536001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286273536001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286273536001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":190958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:06:36] local.INFO: GPS data processed {"connection_id":190958,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:06:36] local.INFO: Acknowledgment sent {"connection_id":190958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:06:56] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:56] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:06:56] local.INFO: IMEI packet received {"connection_id":193655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":193655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:07:00] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:00] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:00] local.INFO: IMEI packet received {"connection_id":193655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":193655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:07:01] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:01] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:01] local.INFO: Packet analysis {"connection_id":193655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:07:01] local.INFO: Extracted packet for processing {"connection_id":193655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:07: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-09-23 22: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-09-23 22:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":193655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:07:01] local.INFO: GPS data processed {"connection_id":193655,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:07:01] local.INFO: Acknowledgment sent {"connection_id":193655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:07:07] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:07] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:07] local.INFO: Packet analysis {"connection_id":190958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:07:07] local.INFO: Extracted packet for processing {"connection_id":190958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22: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-09-23 22:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":190958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:07:07] local.INFO: GPS data processed {"connection_id":190958,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:07:07] local.INFO: Acknowledgment sent {"connection_id":190958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:07:30] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:30] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:30] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:07:32] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:32] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:07:32] local.INFO: Packet analysis {"connection_id":193655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:07:32] local.INFO: Extracted packet for processing {"connection_id":193655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:07: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-09-23 22: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-09-23 22:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":193655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:07:32] local.INFO: GPS data processed {"connection_id":193655,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:07:32] local.INFO: Acknowledgment sent {"connection_id":193655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:07:35] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:35] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:07:35] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:07:37] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:37] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:07:37] local.INFO: Packet analysis {"connection_id":192306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:07:37] local.INFO: Extracted packet for processing {"connection_id":192306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:07: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-09-23 22:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":192306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:07:37] local.INFO: GPS data processed {"connection_id":192306,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:07:37] local.INFO: Acknowledgment sent {"connection_id":192306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:07:55] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:55] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:07:55] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:08:01] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:01] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:01] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:08:02] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:02] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:02] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:08:02] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:08: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-09-23 22: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-09-23 22:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:08:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:08:02] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:08:02] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:08:09] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:09] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:09] local.INFO: Packet analysis {"connection_id":192306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:08:09] local.INFO: Extracted packet for processing {"connection_id":192306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:08: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-09-23 22: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-09-23 22:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":192306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:08:09] local.INFO: GPS data processed {"connection_id":192306,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:08:09] local.INFO: Acknowledgment sent {"connection_id":192306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:08:30] local.INFO: TCP Data received {"connection_id":193656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:30] local.INFO: Processing buffer {"connection_id":193656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:30] local.INFO: IMEI packet received {"connection_id":193656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":193656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:08:33] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:33] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:08:33] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:08:33] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:08:33] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:08:33] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:08:35] local.INFO: TCP Data received {"connection_id":193656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:35] local.INFO: Processing buffer {"connection_id":193656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:08:35] local.INFO: IMEI packet received {"connection_id":193656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":193656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:08:36] local.INFO: TCP Data received {"connection_id":193656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:36] local.INFO: Processing buffer {"connection_id":193656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:08:36] local.INFO: Packet analysis {"connection_id":193656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:08:36] local.INFO: Extracted packet for processing {"connection_id":193656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 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-09-23 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:08: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-09-23 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-09-23 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-09-23 22:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":193656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:08:36] local.INFO: GPS data processed {"connection_id":193656,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:08:36] local.INFO: Acknowledgment sent {"connection_id":193656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:08:55] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:55] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:08:55] local.INFO: IMEI packet received {"connection_id":190780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":190780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:09:00] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:00] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:00] local.INFO: IMEI packet received {"connection_id":190780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":190780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:09:01] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:01] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:01] local.INFO: Packet analysis {"connection_id":190780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:09:01] local.INFO: Extracted packet for processing {"connection_id":190780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:09: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-09-23 22: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-09-23 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:09:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":190780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:09:01] local.INFO: GPS data processed {"connection_id":190780,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:09:01] local.INFO: Acknowledgment sent {"connection_id":190780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:09:08] local.INFO: TCP Data received {"connection_id":193656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:08] local.INFO: Processing buffer {"connection_id":193656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:08] local.INFO: Packet analysis {"connection_id":193656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:09:08] local.INFO: Extracted packet for processing {"connection_id":193656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":193656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:09:08] local.INFO: GPS data processed {"connection_id":193656,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:09:08] local.INFO: Acknowledgment sent {"connection_id":193656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:09:31] local.INFO: TCP Data received {"connection_id":192307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:31] local.INFO: Processing buffer {"connection_id":192307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:31] local.INFO: IMEI packet received {"connection_id":192307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:09:32] local.INFO: TCP Data received {"connection_id":190780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:32] local.INFO: Processing buffer {"connection_id":190780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1de4f0012d196940071fef900042015925..."} 
[2026-09-23 22:09:32] local.INFO: Packet analysis {"connection_id":190780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:09:32] local.INFO: Extracted packet for processing {"connection_id":190780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1d"} 
[2026-09-23 22:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286319872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790181238000,"timestamp_ms":1790181238000,"timestamp_seconds":1790181238,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1de4f0"} 
[2026-09-23 22:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:09: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-09-23 22:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286319872001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286319872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:09:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286319872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":190780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:09:32] local.INFO: GPS data processed {"connection_id":190780,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:09:32] local.INFO: Acknowledgment sent {"connection_id":190780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:09:35] local.INFO: TCP Data received {"connection_id":192307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:35] local.INFO: Processing buffer {"connection_id":192307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:09:35] local.INFO: IMEI packet received {"connection_id":192307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":192307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:09:36] local.INFO: TCP Data received {"connection_id":192307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:36] local.INFO: Processing buffer {"connection_id":192307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:09:36] local.INFO: Packet analysis {"connection_id":192307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:09:36] local.INFO: Extracted packet for processing {"connection_id":192307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:09: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-09-23 22: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-09-23 22:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":192307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:09:36] local.INFO: GPS data processed {"connection_id":192307,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:09:36] local.INFO: Acknowledgment sent {"connection_id":192307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:09:56] local.INFO: TCP Data received {"connection_id":190781,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:56] local.INFO: Processing buffer {"connection_id":190781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:09:56] local.INFO: IMEI packet received {"connection_id":190781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":190781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:10:01] local.INFO: TCP Data received {"connection_id":190781,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:01] local.INFO: Processing buffer {"connection_id":190781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:01] local.INFO: IMEI packet received {"connection_id":190781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":190781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:10:01] local.INFO: TCP Data received {"connection_id":190781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:01] local.INFO: Processing buffer {"connection_id":190781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:01] local.INFO: Packet analysis {"connection_id":190781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:01] local.INFO: Extracted packet for processing {"connection_id":190781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:10:01] 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-09-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:10: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-09-23 22: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-09-23 22:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:10:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":190781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:10:02] local.INFO: GPS data processed {"connection_id":190781,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:10:02] local.INFO: Acknowledgment sent {"connection_id":190781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:10:06] local.INFO: TCP Data received {"connection_id":190781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:06] local.INFO: Processing buffer {"connection_id":190781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:06] local.INFO: Packet analysis {"connection_id":190781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:06] local.INFO: Extracted packet for processing {"connection_id":190781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":190781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:10:06] local.INFO: GPS data processed {"connection_id":190781,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:10:06] local.INFO: Acknowledgment sent {"connection_id":190781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:10:08] local.INFO: TCP Data received {"connection_id":192307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:08] local.INFO: Processing buffer {"connection_id":192307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:08] local.INFO: Packet analysis {"connection_id":192307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:10:08] local.INFO: Extracted packet for processing {"connection_id":192307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":192307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:10:08] local.INFO: GPS data processed {"connection_id":192307,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:10:08] local.INFO: Acknowledgment sent {"connection_id":192307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:10:30] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:30] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:30] local.INFO: IMEI packet received {"connection_id":190960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:10:35] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:35] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:10:35] local.INFO: IMEI packet received {"connection_id":190960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":190960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:10:36] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:36] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:10:36] local.INFO: Packet analysis {"connection_id":190960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:10:36] local.INFO: Extracted packet for processing {"connection_id":190960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 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-09-23 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:10: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-09-23 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-09-23 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-09-23 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":190960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:10:36] local.INFO: GPS data processed {"connection_id":190960,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:10:36] local.INFO: Acknowledgment sent {"connection_id":190960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:10:37] local.INFO: TCP Data received {"connection_id":190781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:37] local.INFO: Processing buffer {"connection_id":190781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:10:37] local.INFO: Packet analysis {"connection_id":190781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:37] local.INFO: Extracted packet for processing {"connection_id":190781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:10: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-09-23 22:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":190781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:10:37] local.INFO: GPS data processed {"connection_id":190781,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:10:37] local.INFO: Acknowledgment sent {"connection_id":190781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:10:56] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:56] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:10:56] local.INFO: IMEI packet received {"connection_id":192308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":192308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:11:00] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:00] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:00] local.INFO: IMEI packet received {"connection_id":192308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":192308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:11:01] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:01] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:01] local.INFO: Packet analysis {"connection_id":192308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:11:01] local.INFO: Extracted packet for processing {"connection_id":192308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:11:01] 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-09-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:11: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-09-23 22: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-09-23 22:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:11:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":192308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:11:01] local.INFO: GPS data processed {"connection_id":192308,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:11:01] local.INFO: Acknowledgment sent {"connection_id":192308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:11:08] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:08] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:08] local.INFO: Packet analysis {"connection_id":190960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:11:08] local.INFO: Extracted packet for processing {"connection_id":190960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:11:08] local.INFO: GPS data processed {"connection_id":190960,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:11:08] local.INFO: Acknowledgment sent {"connection_id":190960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:11:30] local.INFO: TCP Data received {"connection_id":190961,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:30] local.INFO: Processing buffer {"connection_id":190961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:30] local.INFO: IMEI packet received {"connection_id":190961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":190961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:11:32] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:32] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:11:32] local.INFO: Packet analysis {"connection_id":192308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:11:32] local.INFO: Extracted packet for processing {"connection_id":192308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:11: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-09-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:11: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-09-23 22: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-09-23 22:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":192308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:11:33] local.INFO: GPS data processed {"connection_id":192308,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:11:33] local.INFO: Acknowledgment sent {"connection_id":192308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:11:35] local.INFO: TCP Data received {"connection_id":190961,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:35] local.INFO: Processing buffer {"connection_id":190961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:11:35] local.INFO: IMEI packet received {"connection_id":190961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":190961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:11:36] local.INFO: TCP Data received {"connection_id":190961,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:36] local.INFO: Processing buffer {"connection_id":190961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf1fb9b0012d34c58006aa47580013010526..."} 
[2026-09-23 22:11:36] local.INFO: Packet analysis {"connection_id":190961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:11:36] local.INFO: Extracted packet for processing {"connection_id":190961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf1f"} 
[2026-09-23 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286350592001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181358000,"timestamp_ms":1790181358000,"timestamp_seconds":1790181358,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf1fb9b0"} 
[2026-09-23 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:11: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-09-23 22: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-09-23 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286350592001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286350592001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286350592001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":190961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:11:37] local.INFO: GPS data processed {"connection_id":190961,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:11:37] local.INFO: Acknowledgment sent {"connection_id":190961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:11:56] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:56] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:11:56] local.INFO: IMEI packet received {"connection_id":190962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":190962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:12:01] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:01] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:01] local.INFO: IMEI packet received {"connection_id":190962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":190962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:12:02] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:02] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:02] local.INFO: Packet analysis {"connection_id":190962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:12:02] local.INFO: Extracted packet for processing {"connection_id":190962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:12: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-09-23 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:12: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-09-23 22: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-09-23 22:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":190962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:12:02] local.INFO: GPS data processed {"connection_id":190962,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:12:02] local.INFO: Acknowledgment sent {"connection_id":190962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:12:08] local.INFO: TCP Data received {"connection_id":190961,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:08] local.INFO: Processing buffer {"connection_id":190961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:08] local.INFO: Packet analysis {"connection_id":190961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:12:08] local.INFO: Extracted packet for processing {"connection_id":190961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":190961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:12:08] local.INFO: GPS data processed {"connection_id":190961,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:12:08] local.INFO: Acknowledgment sent {"connection_id":190961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:12:30] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:30] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:30] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:12:33] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:33] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:12:33] local.INFO: Packet analysis {"connection_id":190962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:12:33] local.INFO: Extracted packet for processing {"connection_id":190962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:12: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-09-23 22:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:12: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-09-23 22: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-09-23 22:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":190962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:12:33] local.INFO: GPS data processed {"connection_id":190962,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:12:33] local.INFO: Acknowledgment sent {"connection_id":190962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:12:35] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:35] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:12:35] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:12:36] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:36] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:12:36] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:12:36] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 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-09-23 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:12: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-09-23 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-09-23 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-09-23 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:12:36] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:12:36] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:12:55] local.INFO: TCP Data received {"connection_id":190782,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:55] local.INFO: Processing buffer {"connection_id":190782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:12:55] local.INFO: IMEI packet received {"connection_id":190782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":190782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:13:00] local.INFO: TCP Data received {"connection_id":190782,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:13:00] local.INFO: Processing buffer {"connection_id":190782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:13:00] local.INFO: IMEI packet received {"connection_id":190782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":190782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:13:01] local.INFO: TCP Data received {"connection_id":190782,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:01] local.INFO: Processing buffer {"connection_id":190782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:01] local.INFO: Packet analysis {"connection_id":190782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:13:01] local.INFO: Extracted packet for processing {"connection_id":190782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:13:01] 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-09-23 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:13: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-09-23 22: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-09-23 22:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:13:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":190782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:13:01] local.INFO: GPS data processed {"connection_id":190782,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:13:01] local.INFO: Acknowledgment sent {"connection_id":190782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:13:08] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:08] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:08] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:13:08] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:13:08] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:13:08] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:13:30] local.INFO: TCP Data received {"connection_id":192309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:30] local.INFO: Processing buffer {"connection_id":192309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:30] local.INFO: IMEI packet received {"connection_id":192309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":192309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:13:33] local.INFO: TCP Data received {"connection_id":190782,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:33] local.INFO: Processing buffer {"connection_id":190782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:13:33] local.INFO: Packet analysis {"connection_id":190782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:13:33] local.INFO: Extracted packet for processing {"connection_id":190782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:13: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-09-23 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:13: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-09-23 22: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-09-23 22:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:13:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":190782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:13:33] local.INFO: GPS data processed {"connection_id":190782,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:13:33] local.INFO: Acknowledgment sent {"connection_id":190782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:13:35] local.INFO: TCP Data received {"connection_id":192309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:35] local.INFO: Processing buffer {"connection_id":192309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:13:35] local.INFO: IMEI packet received {"connection_id":192309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":192309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:13:36] local.INFO: TCP Data received {"connection_id":192309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:36] local.INFO: Processing buffer {"connection_id":192309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:13:36] local.INFO: Packet analysis {"connection_id":192309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:13:36] local.INFO: Extracted packet for processing {"connection_id":192309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:13: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-09-23 22: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-09-23 22:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":192309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:13:36] local.INFO: GPS data processed {"connection_id":192309,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:13:36] local.INFO: Acknowledgment sent {"connection_id":192309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:01] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:01] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:01] local.INFO: IMEI packet received {"connection_id":190783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":190783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:14:06] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:06] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:06] local.INFO: IMEI packet received {"connection_id":190783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":190783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:14:07] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:07] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:07] local.INFO: Packet analysis {"connection_id":190783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:14:07] local.INFO: Extracted packet for processing {"connection_id":190783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:14:07] 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-09-23 22:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:14: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-09-23 22:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:14:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":190783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:14:07] local.INFO: GPS data processed {"connection_id":190783,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:14:07] local.INFO: Acknowledgment sent {"connection_id":190783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:08] local.INFO: TCP Data received {"connection_id":192309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:08] local.INFO: Processing buffer {"connection_id":192309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:08] local.INFO: Packet analysis {"connection_id":192309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:08] local.INFO: Extracted packet for processing {"connection_id":192309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":192309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:14:08] local.INFO: GPS data processed {"connection_id":192309,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:14:08] local.INFO: Acknowledgment sent {"connection_id":192309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:11] local.INFO: TCP Data received {"connection_id":190783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:11] local.INFO: Processing buffer {"connection_id":190783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf227cb8012d196940071fef900042015927..."} 
[2026-09-23 22:14:11] local.INFO: Packet analysis {"connection_id":190783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:14:11] local.INFO: Extracted packet for processing {"connection_id":190783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf22"} 
[2026-09-23 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":66,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286396928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790181539000,"timestamp_ms":1790181539000,"timestamp_seconds":1790181539,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf227cb8"} 
[2026-09-23 22:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:14: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-09-23 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 22:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286396928001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286396928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:14:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286396928001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":190783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:14:11] local.INFO: GPS data processed {"connection_id":190783,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:14:11] local.INFO: Acknowledgment sent {"connection_id":190783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:35] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:35] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:35] local.INFO: IMEI packet received {"connection_id":190964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":190964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:14:40] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:40] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:14:40] local.INFO: IMEI packet received {"connection_id":190964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":190964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:14:41] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:41] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:41] local.INFO: Packet analysis {"connection_id":190964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:41] local.INFO: Extracted packet for processing {"connection_id":190964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":190964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:14:41] local.INFO: GPS data processed {"connection_id":190964,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:14:41] local.INFO: Acknowledgment sent {"connection_id":190964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:46] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:46] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:14:46] local.INFO: Packet analysis {"connection_id":190964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:46] local.INFO: Extracted packet for processing {"connection_id":190964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":190964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:14:46] local.INFO: GPS data processed {"connection_id":190964,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:14:46] local.INFO: Acknowledgment sent {"connection_id":190964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:14:56] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:56] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:14:56] local.INFO: IMEI packet received {"connection_id":192310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":192310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:15:00] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:00] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:00] local.INFO: IMEI packet received {"connection_id":192310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":192310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:15:01] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:01] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:01] local.INFO: Packet analysis {"connection_id":192310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:15:01] local.INFO: Extracted packet for processing {"connection_id":192310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:15: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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:15:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":192310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:15:01] local.INFO: GPS data processed {"connection_id":192310,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:15:01] local.INFO: Acknowledgment sent {"connection_id":192310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:15:30] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:30] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:30] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:15:32] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:32] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:15:32] local.INFO: Packet analysis {"connection_id":192310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:15:32] local.INFO: Extracted packet for processing {"connection_id":192310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:15:32] 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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:15:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":192310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:15:32] local.INFO: GPS data processed {"connection_id":192310,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:15:32] local.INFO: Acknowledgment sent {"connection_id":192310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:15:35] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:35] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:15:35] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:15:36] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:15:36] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:15:36] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:15:36] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 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-09-23 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:15: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-09-23 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-09-23 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-09-23 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:15:36] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:15:36] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:15:56] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:56] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:15:56] local.INFO: IMEI packet received {"connection_id":190784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":190784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:16:01] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:01] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:01] local.INFO: IMEI packet received {"connection_id":190784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":190784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:16:01] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:01] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:01] local.INFO: Packet analysis {"connection_id":190784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:16:01] local.INFO: Extracted packet for processing {"connection_id":190784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:16: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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":190784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:16:02] local.INFO: GPS data processed {"connection_id":190784,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:16:02] local.INFO: Acknowledgment sent {"connection_id":190784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:16:08] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:08] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:08] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:16:08] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:16:08] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:16:08] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:16:31] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:31] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:31] local.INFO: IMEI packet received {"connection_id":193657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":193657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:16:33] local.INFO: TCP Data received {"connection_id":190784,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:33] local.INFO: Processing buffer {"connection_id":190784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:16:33] local.INFO: Packet analysis {"connection_id":190784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:16:33] local.INFO: Extracted packet for processing {"connection_id":190784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:16: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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:16: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-09-23 22: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-09-23 22:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":190784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:16:33] local.INFO: GPS data processed {"connection_id":190784,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:16:33] local.INFO: Acknowledgment sent {"connection_id":190784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:16:35] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:35] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:16:35] local.INFO: IMEI packet received {"connection_id":193657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":193657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:16:36] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:36] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf245178012d34c58006aa4758000f010523..."} 
[2026-09-23 22:16:36] local.INFO: Packet analysis {"connection_id":193657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:16:36] local.INFO: Extracted packet for processing {"connection_id":193657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf24"} 
[2026-09-23 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286427648001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181659000,"timestamp_ms":1790181659000,"timestamp_seconds":1790181659,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf245178"} 
[2026-09-23 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-09-23 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:16: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-09-23 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-09-23 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-09-23 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286427648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286427648001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286427648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":193657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:16:36] local.INFO: GPS data processed {"connection_id":193657,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:16:36] local.INFO: Acknowledgment sent {"connection_id":193657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:16:56] local.INFO: TCP Data received {"connection_id":193658,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:56] local.INFO: Processing buffer {"connection_id":193658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:16:56] local.INFO: IMEI packet received {"connection_id":193658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:17:00] local.INFO: TCP Data received {"connection_id":193658,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:00] local.INFO: Processing buffer {"connection_id":193658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:00] local.INFO: IMEI packet received {"connection_id":193658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":193658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:17:01] local.INFO: TCP Data received {"connection_id":193658,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:01] local.INFO: Processing buffer {"connection_id":193658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:01] local.INFO: Packet analysis {"connection_id":193658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:17:01] local.INFO: Extracted packet for processing {"connection_id":193658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:17: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-09-23 22:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:17: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-09-23 22:17: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:17: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-09-23 22:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:17:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":193658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:17:01] local.INFO: GPS data processed {"connection_id":193658,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:17:01] local.INFO: Acknowledgment sent {"connection_id":193658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:17:08] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:08] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:08] local.INFO: Packet analysis {"connection_id":193657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:08] local.INFO: Extracted packet for processing {"connection_id":193657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:17:08] 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-09-23 22:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":193657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:17:08] local.INFO: GPS data processed {"connection_id":193657,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:17:08] local.INFO: Acknowledgment sent {"connection_id":193657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:17:33] local.INFO: TCP Data received {"connection_id":193658,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:33] local.INFO: Processing buffer {"connection_id":193658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:17:33] local.INFO: Packet analysis {"connection_id":193658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:17:33] local.INFO: Extracted packet for processing {"connection_id":193658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:17: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-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:17: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-09-23 22: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-09-23 22:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:17:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":193658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:17:33] local.INFO: GPS data processed {"connection_id":193658,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:17:33] local.INFO: Acknowledgment sent {"connection_id":193658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:17:35] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:35] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:35] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:17:40] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:40] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:17:40] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:17:41] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:41] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:41] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:41] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:17:41] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:17:41] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:17:46] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:46] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:17:46] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:46] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:17:46] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:17:46] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:17:56] local.INFO: TCP Data received {"connection_id":190785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:56] local.INFO: Processing buffer {"connection_id":190785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:17:56] local.INFO: IMEI packet received {"connection_id":190785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":190785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:18:01] local.INFO: TCP Data received {"connection_id":190785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:01] local.INFO: Processing buffer {"connection_id":190785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:01] local.INFO: IMEI packet received {"connection_id":190785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":190785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:18:02] local.INFO: TCP Data received {"connection_id":190785,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:02] local.INFO: Processing buffer {"connection_id":190785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:02] local.INFO: Packet analysis {"connection_id":190785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:18:02] local.INFO: Extracted packet for processing {"connection_id":190785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:18: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-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:18: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-09-23 22: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-09-23 22:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":190785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:18:02] local.INFO: GPS data processed {"connection_id":190785,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:18:02] local.INFO: Acknowledgment sent {"connection_id":190785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:18:30] local.INFO: TCP Data received {"connection_id":193659,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:30] local.INFO: Processing buffer {"connection_id":193659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:30] local.INFO: IMEI packet received {"connection_id":193659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":193659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:18:33] local.INFO: TCP Data received {"connection_id":190785,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:33] local.INFO: Processing buffer {"connection_id":190785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:18:33] local.INFO: Packet analysis {"connection_id":190785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:18:33] local.INFO: Extracted packet for processing {"connection_id":190785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:18: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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:18: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-09-23 22:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":190785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:18:33] local.INFO: GPS data processed {"connection_id":190785,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:18:33] local.INFO: Acknowledgment sent {"connection_id":190785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:18:35] local.INFO: TCP Data received {"connection_id":193659,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:35] local.INFO: Processing buffer {"connection_id":193659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:18:35] local.INFO: IMEI packet received {"connection_id":193659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":193659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:18:37] local.INFO: TCP Data received {"connection_id":193659,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:18:37] local.INFO: Processing buffer {"connection_id":193659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:18:37] local.INFO: Packet analysis {"connection_id":193659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:18:37] local.INFO: Extracted packet for processing {"connection_id":193659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:18: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-09-23 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":193659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:18:37] local.INFO: GPS data processed {"connection_id":193659,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:18:37] local.INFO: Acknowledgment sent {"connection_id":193659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:18:55] local.INFO: TCP Data received {"connection_id":190786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:55] local.INFO: Processing buffer {"connection_id":190786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:18:55] local.INFO: IMEI packet received {"connection_id":190786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":190786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:19:00] local.INFO: TCP Data received {"connection_id":190786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:19:00] local.INFO: Processing buffer {"connection_id":190786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:19:00] local.INFO: IMEI packet received {"connection_id":190786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":190786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:19:01] local.INFO: TCP Data received {"connection_id":190786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:01] local.INFO: Processing buffer {"connection_id":190786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:01] local.INFO: Packet analysis {"connection_id":190786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:19:01] local.INFO: Extracted packet for processing {"connection_id":190786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:19: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-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":190786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:19:01] local.INFO: GPS data processed {"connection_id":190786,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:19:01] local.INFO: Acknowledgment sent {"connection_id":190786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:19:09] local.INFO: TCP Data received {"connection_id":193659,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:09] local.INFO: Processing buffer {"connection_id":193659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:09] local.INFO: Packet analysis {"connection_id":193659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:19:09] local.INFO: Extracted packet for processing {"connection_id":193659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 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-09-23 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":193659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:19:09] local.INFO: GPS data processed {"connection_id":193659,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:19:09] local.INFO: Acknowledgment sent {"connection_id":193659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:19:30] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:30] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:30] local.INFO: IMEI packet received {"connection_id":190966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":190966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:19:32] local.INFO: TCP Data received {"connection_id":190786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:33] local.INFO: Processing buffer {"connection_id":190786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf271480012d196940071fef900046015923..."} 
[2026-09-23 22:19:33] local.INFO: Packet analysis {"connection_id":190786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:19:33] local.INFO: Extracted packet for processing {"connection_id":190786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf27"} 
[2026-09-23 22:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286473984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790181840000,"timestamp_ms":1790181840000,"timestamp_seconds":1790181840,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf271480"} 
[2026-09-23 22:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:19: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-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:19: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-09-23 22: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-09-23 22:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286473984001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286473984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:19:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286473984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":190786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:19:33] local.INFO: GPS data processed {"connection_id":190786,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:19:33] local.INFO: Acknowledgment sent {"connection_id":190786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:19:35] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:35] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:19:35] local.INFO: IMEI packet received {"connection_id":190966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":190966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:19:36] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:36] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:19:36] local.INFO: Packet analysis {"connection_id":190966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:19:36] local.INFO: Extracted packet for processing {"connection_id":190966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":190966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:19:36] local.INFO: GPS data processed {"connection_id":190966,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:19:36] local.INFO: Acknowledgment sent {"connection_id":190966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:20:01] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:01] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:01] local.INFO: IMEI packet received {"connection_id":192312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":192312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:20:06] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:06] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:06] local.INFO: IMEI packet received {"connection_id":192312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":192312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:20:06] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:06] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:06] local.INFO: Packet analysis {"connection_id":192312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:20:06] local.INFO: Extracted packet for processing {"connection_id":192312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":192312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:20:07] local.INFO: GPS data processed {"connection_id":192312,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:20:07] local.INFO: Acknowledgment sent {"connection_id":192312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:20:08] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:08] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:08] local.INFO: Packet analysis {"connection_id":190966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:20:08] local.INFO: Extracted packet for processing {"connection_id":190966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:20:08] 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-09-23 22:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":190966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:20:08] local.INFO: GPS data processed {"connection_id":190966,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:20:08] local.INFO: Acknowledgment sent {"connection_id":190966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:20:19] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:20:19] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:20:19] local.INFO: IMEI packet received {"connection_id":192313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":192313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:20:30] local.INFO: TCP Data received {"connection_id":190967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:30] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:30] local.INFO: IMEI packet received {"connection_id":190967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":190967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:20:35] local.INFO: TCP Data received {"connection_id":190967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:35] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:20:35] local.INFO: IMEI packet received {"connection_id":190967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":190967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:20:37] local.INFO: TCP Data received {"connection_id":190967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:37] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:20:37] local.INFO: Packet analysis {"connection_id":190967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:20:37] local.INFO: Extracted packet for processing {"connection_id":190967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:20: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-09-23 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":190967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:20:37] local.INFO: GPS data processed {"connection_id":190967,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:20:37] local.INFO: Acknowledgment sent {"connection_id":190967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:20:38] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:38] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:20:38] local.INFO: Packet analysis {"connection_id":192312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:20:38] local.INFO: Extracted packet for processing {"connection_id":192312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:20: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:20: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-09-23 22: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-09-23 22:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":192312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:20:38] local.INFO: GPS data processed {"connection_id":192312,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:20:38] local.INFO: Acknowledgment sent {"connection_id":192312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:20:56] local.INFO: TCP Data received {"connection_id":192314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:56] local.INFO: Processing buffer {"connection_id":192314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:20:56] local.INFO: IMEI packet received {"connection_id":192314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":192314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:21:00] local.INFO: TCP Data received {"connection_id":192314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:00] local.INFO: Processing buffer {"connection_id":192314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:00] local.INFO: IMEI packet received {"connection_id":192314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":192314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:21:01] local.INFO: TCP Data received {"connection_id":192314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:01] local.INFO: Processing buffer {"connection_id":192314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:01] local.INFO: Packet analysis {"connection_id":192314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:21:01] local.INFO: Extracted packet for processing {"connection_id":192314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:21: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-09-23 22:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:21: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-09-23 22:21: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-09-23 22:21: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-09-23 22:21: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-09-23 22:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":192314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:21:01] local.INFO: GPS data processed {"connection_id":192314,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:21:01] local.INFO: Acknowledgment sent {"connection_id":192314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:21:08] local.INFO: TCP Data received {"connection_id":190967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:08] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:08] local.INFO: Packet analysis {"connection_id":190967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:21:08] local.INFO: Extracted packet for processing {"connection_id":190967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 22:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:21:08] 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-09-23 22:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":190967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:21:08] local.INFO: GPS data processed {"connection_id":190967,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:21:08] local.INFO: Acknowledgment sent {"connection_id":190967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:21:30] local.INFO: TCP Data received {"connection_id":193661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:30] local.INFO: Processing buffer {"connection_id":193661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:30] local.INFO: IMEI packet received {"connection_id":193661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":193661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:21:32] local.INFO: TCP Data received {"connection_id":192314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:33] local.INFO: Processing buffer {"connection_id":192314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:21:33] local.INFO: Packet analysis {"connection_id":192314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:21:33] local.INFO: Extracted packet for processing {"connection_id":192314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:21: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-09-23 22:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:21: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-09-23 22:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:21:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":192314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:21:33] local.INFO: GPS data processed {"connection_id":192314,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:21:33] local.INFO: Acknowledgment sent {"connection_id":192314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:21:35] local.INFO: TCP Data received {"connection_id":193661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:35] local.INFO: Processing buffer {"connection_id":193661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:21:35] local.INFO: IMEI packet received {"connection_id":193661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":193661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:21:37] local.INFO: TCP Data received {"connection_id":193661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:37] local.INFO: Processing buffer {"connection_id":193661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf28e940012d34c58006aa4758000f010524..."} 
[2026-09-23 22:21:37] local.INFO: Packet analysis {"connection_id":193661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:21:37] local.INFO: Extracted packet for processing {"connection_id":193661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf28"} 
[2026-09-23 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286504704001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790181960000,"timestamp_ms":1790181960000,"timestamp_seconds":1790181960,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf28e940"} 
[2026-09-23 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-09-23 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-23 22:21: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-09-23 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-09-23 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-09-23 22:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286504704001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286504704001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286504704001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":193661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:21:37] local.INFO: GPS data processed {"connection_id":193661,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:21:37] local.INFO: Acknowledgment sent {"connection_id":193661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:21:56] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:56] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:21:56] local.INFO: IMEI packet received {"connection_id":193662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":193662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:22:01] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:01] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:01] local.INFO: IMEI packet received {"connection_id":193662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":193662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:22:02] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:02] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:02] local.INFO: Packet analysis {"connection_id":193662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:22:02] local.INFO: Extracted packet for processing {"connection_id":193662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:22: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-09-23 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:22: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-09-23 22: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-09-23 22:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:22:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":193662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:22:02] local.INFO: GPS data processed {"connection_id":193662,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:22:02] local.INFO: Acknowledgment sent {"connection_id":193662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:22:09] local.INFO: TCP Data received {"connection_id":193661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:09] local.INFO: Processing buffer {"connection_id":193661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:09] local.INFO: Packet analysis {"connection_id":193661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:22:09] local.INFO: Extracted packet for processing {"connection_id":193661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:22: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-09-23 22:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":193661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:22:09] local.INFO: GPS data processed {"connection_id":193661,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:22:09] local.INFO: Acknowledgment sent {"connection_id":193661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:22:30] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:30] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:30] local.INFO: IMEI packet received {"connection_id":192315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:22:33] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:33] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:22:33] local.INFO: Packet analysis {"connection_id":193662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:22:33] local.INFO: Extracted packet for processing {"connection_id":193662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 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-09-23 22:22: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:22: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-09-23 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-09-23 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-09-23 22:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":193662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:22:33] local.INFO: GPS data processed {"connection_id":193662,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:22:33] local.INFO: Acknowledgment sent {"connection_id":193662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:22:35] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:35] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:22:35] local.INFO: IMEI packet received {"connection_id":192315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":192315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:22:36] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:36] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:22:36] local.INFO: Packet analysis {"connection_id":192315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:22:36] local.INFO: Extracted packet for processing {"connection_id":192315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":192315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:22:36] local.INFO: GPS data processed {"connection_id":192315,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:22:36] local.INFO: Acknowledgment sent {"connection_id":192315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:22:56] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:56] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:22:56] local.INFO: IMEI packet received {"connection_id":190968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":190968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:23:00] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:23:00] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:23:00] local.INFO: IMEI packet received {"connection_id":190968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":190968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:23:01] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:01] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:01] local.INFO: Packet analysis {"connection_id":190968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:23:01] local.INFO: Extracted packet for processing {"connection_id":190968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:23: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:23: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-09-23 22: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-09-23 22:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:23:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":190968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:23:01] local.INFO: GPS data processed {"connection_id":190968,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:23:01] local.INFO: Acknowledgment sent {"connection_id":190968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:23:08] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:08] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:08] local.INFO: Packet analysis {"connection_id":192315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:23:08] local.INFO: Extracted packet for processing {"connection_id":192315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:23: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-09-23 22:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":192315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:23:08] local.INFO: GPS data processed {"connection_id":192315,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:23:08] local.INFO: Acknowledgment sent {"connection_id":192315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:23:30] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:30] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:30] local.INFO: IMEI packet received {"connection_id":190969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":190969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:23:32] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:32] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:23:32] local.INFO: Packet analysis {"connection_id":190968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:23:32] local.INFO: Extracted packet for processing {"connection_id":190968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:23:32] 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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:23:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":190968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:23:32] local.INFO: GPS data processed {"connection_id":190968,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:23:32] local.INFO: Acknowledgment sent {"connection_id":190968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:23:35] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:35] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:23:35] local.INFO: IMEI packet received {"connection_id":190969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":190969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:23:36] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:36] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:23:36] local.INFO: Packet analysis {"connection_id":190969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:23:36] local.INFO: Extracted packet for processing {"connection_id":190969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":190969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:23:36] local.INFO: GPS data processed {"connection_id":190969,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:23:36] local.INFO: Acknowledgment sent {"connection_id":190969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:24:01] local.INFO: TCP Data received {"connection_id":193665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:01] local.INFO: Processing buffer {"connection_id":193665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:01] local.INFO: IMEI packet received {"connection_id":193665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":193665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:24:06] local.INFO: TCP Data received {"connection_id":193665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:06] local.INFO: Processing buffer {"connection_id":193665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:06] local.INFO: IMEI packet received {"connection_id":193665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":193665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:24:07] local.INFO: TCP Data received {"connection_id":193665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:07] local.INFO: Processing buffer {"connection_id":193665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:07] local.INFO: Packet analysis {"connection_id":193665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:24:07] local.INFO: Extracted packet for processing {"connection_id":193665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:24: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":193665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:24:07] local.INFO: GPS data processed {"connection_id":193665,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:24:07] local.INFO: Acknowledgment sent {"connection_id":193665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:24:08] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:08] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:08] local.INFO: Packet analysis {"connection_id":190969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:24:08] local.INFO: Extracted packet for processing {"connection_id":190969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:24: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-09-23 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:24:08] local.INFO: GPS data processed {"connection_id":190969,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:24:08] local.INFO: Acknowledgment sent {"connection_id":190969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:24:11] local.INFO: TCP Data received {"connection_id":193665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:11] local.INFO: Processing buffer {"connection_id":193665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2bac48012d196940071fef900046015922..."} 
[2026-09-23 22:24:11] local.INFO: Packet analysis {"connection_id":193665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:24:11] local.INFO: Extracted packet for processing {"connection_id":193665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2b"} 
[2026-09-23 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286551040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790182141000,"timestamp_ms":1790182141000,"timestamp_seconds":1790182141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2bac48"} 
[2026-09-23 22:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:24: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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286551040001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286551040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:24:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286551040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":193665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:24:11] local.INFO: GPS data processed {"connection_id":193665,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:24:11] local.INFO: Acknowledgment sent {"connection_id":193665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:24:30] local.INFO: TCP Data received {"connection_id":190788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:30] local.INFO: Processing buffer {"connection_id":190788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:30] local.INFO: IMEI packet received {"connection_id":190788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":190788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:24:35] local.INFO: TCP Data received {"connection_id":190788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:35] local.INFO: Processing buffer {"connection_id":190788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:24:35] local.INFO: IMEI packet received {"connection_id":190788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":190788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:24:36] local.INFO: TCP Data received {"connection_id":190788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:36] local.INFO: Processing buffer {"connection_id":190788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:24:36] local.INFO: Packet analysis {"connection_id":190788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:24:36] local.INFO: Extracted packet for processing {"connection_id":190788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":190788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:24:36] local.INFO: GPS data processed {"connection_id":190788,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:24:36] local.INFO: Acknowledgment sent {"connection_id":190788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:24:56] local.INFO: TCP Data received {"connection_id":190970,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:56] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:24:56] local.INFO: IMEI packet received {"connection_id":190970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":190970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:25:00] local.INFO: TCP Data received {"connection_id":190970,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:00] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:00] local.INFO: IMEI packet received {"connection_id":190970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":190970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:25:01] local.INFO: TCP Data received {"connection_id":190970,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:01] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:01] local.INFO: Packet analysis {"connection_id":190970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:25:01] local.INFO: Extracted packet for processing {"connection_id":190970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:25:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":190970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:25:01] local.INFO: GPS data processed {"connection_id":190970,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:25:01] local.INFO: Acknowledgment sent {"connection_id":190970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:25:08] local.INFO: TCP Data received {"connection_id":190788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:08] local.INFO: Processing buffer {"connection_id":190788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:08] local.INFO: Packet analysis {"connection_id":190788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:25:08] local.INFO: Extracted packet for processing {"connection_id":190788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:25: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-09-23 22: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-09-23 22:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":190788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:25:08] local.INFO: GPS data processed {"connection_id":190788,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:25:08] local.INFO: Acknowledgment sent {"connection_id":190788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:25:30] local.INFO: TCP Data received {"connection_id":190972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:30] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:30] local.INFO: IMEI packet received {"connection_id":190972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":190972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:25:32] local.INFO: TCP Data received {"connection_id":190970,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:32] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:25:32] local.INFO: Packet analysis {"connection_id":190970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:25:32] local.INFO: Extracted packet for processing {"connection_id":190970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:25: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-09-23 22:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:25:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":190970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:25:32] local.INFO: GPS data processed {"connection_id":190970,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:25:32] local.INFO: Acknowledgment sent {"connection_id":190970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:25:35] local.INFO: TCP Data received {"connection_id":190972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:35] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:25:35] local.INFO: IMEI packet received {"connection_id":190972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":190972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:25:36] local.INFO: TCP Data received {"connection_id":190972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:36] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:25:36] local.INFO: Packet analysis {"connection_id":190972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:25:36] local.INFO: Extracted packet for processing {"connection_id":190972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":190972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:25:36] local.INFO: GPS data processed {"connection_id":190972,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:25:36] local.INFO: Acknowledgment sent {"connection_id":190972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:25:43] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:25:43] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:25:43] local.INFO: IMEI packet received {"connection_id":190971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":190971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:25:56] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:56] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:25:56] local.INFO: IMEI packet received {"connection_id":193666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":193666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:26:01] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:01] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:01] local.INFO: IMEI packet received {"connection_id":193666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":193666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:26:01] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:02] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:02] local.INFO: Packet analysis {"connection_id":193666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:26:02] local.INFO: Extracted packet for processing {"connection_id":193666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:26: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-09-23 22: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-09-23 22:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":193666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:26:02] local.INFO: GPS data processed {"connection_id":193666,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:26:02] local.INFO: Acknowledgment sent {"connection_id":193666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:26:08] local.INFO: TCP Data received {"connection_id":190972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:08] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:08] local.INFO: Packet analysis {"connection_id":190972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:26:08] local.INFO: Extracted packet for processing {"connection_id":190972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:26: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-09-23 22: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-09-23 22:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:26:08] local.INFO: GPS data processed {"connection_id":190972,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:26:08] local.INFO: Acknowledgment sent {"connection_id":190972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:26:08] local.INFO: TCP Data received {"connection_id":190789,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:26:08] local.INFO: Processing buffer {"connection_id":190789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:26:08] local.INFO: IMEI packet received {"connection_id":190789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":190789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:26:30] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:30] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:30] local.INFO: IMEI packet received {"connection_id":190790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":190790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:26:33] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:33] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:26:33] local.INFO: Packet analysis {"connection_id":193666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:26:33] local.INFO: Extracted packet for processing {"connection_id":193666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:26: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-09-23 22: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-09-23 22:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":193666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:26:33] local.INFO: GPS data processed {"connection_id":193666,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:26:33] local.INFO: Acknowledgment sent {"connection_id":193666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:26:35] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:35] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:26:35] local.INFO: IMEI packet received {"connection_id":190790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":190790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:26:37] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:37] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf2d8108012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:26:37] local.INFO: Packet analysis {"connection_id":190790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:26:37] local.INFO: Extracted packet for processing {"connection_id":190790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf2d"} 
[2026-09-23 22:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286581760001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790182261000,"timestamp_ms":1790182261000,"timestamp_seconds":1790182261,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf2d8108"} 
[2026-09-23 22:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-23 22:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286581760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286581760001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286581760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":190790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:26:37] local.INFO: GPS data processed {"connection_id":190790,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:26:37] local.INFO: Acknowledgment sent {"connection_id":190790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:26:55] local.INFO: TCP Data received {"connection_id":190791,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:55] local.INFO: Processing buffer {"connection_id":190791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:26:55] local.INFO: IMEI packet received {"connection_id":190791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":190791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:27:00] local.INFO: TCP Data received {"connection_id":190791,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:00] local.INFO: Processing buffer {"connection_id":190791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:00] local.INFO: IMEI packet received {"connection_id":190791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":190791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:27:01] local.INFO: TCP Data received {"connection_id":190791,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:01] local.INFO: Processing buffer {"connection_id":190791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:01] local.INFO: Packet analysis {"connection_id":190791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:27:01] local.INFO: Extracted packet for processing {"connection_id":190791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:27:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":190791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:27:01] local.INFO: GPS data processed {"connection_id":190791,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:27:01] local.INFO: Acknowledgment sent {"connection_id":190791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:27:08] local.INFO: TCP Data received {"connection_id":190790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:08] local.INFO: Processing buffer {"connection_id":190790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:08] local.INFO: Packet analysis {"connection_id":190790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:08] local.INFO: Extracted packet for processing {"connection_id":190790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:27: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-09-23 22:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":190790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:27:08] local.INFO: GPS data processed {"connection_id":190790,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:27:08] local.INFO: Acknowledgment sent {"connection_id":190790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:27:30] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:30] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:30] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:27:32] local.INFO: TCP Data received {"connection_id":190791,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:32] local.INFO: Processing buffer {"connection_id":190791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:27:32] local.INFO: Packet analysis {"connection_id":190791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:27:32] local.INFO: Extracted packet for processing {"connection_id":190791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":190791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:27:32] local.INFO: GPS data processed {"connection_id":190791,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:27:32] local.INFO: Acknowledgment sent {"connection_id":190791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:27:42] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:27:42] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:42] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:27:45] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:45] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:27:45] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:27:46] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:46] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:46] local.INFO: Packet analysis {"connection_id":190974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:46] local.INFO: Extracted packet for processing {"connection_id":190974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":190974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:27:46] local.INFO: GPS data processed {"connection_id":190974,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:27:46] local.INFO: Acknowledgment sent {"connection_id":190974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:27:51] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:51] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:27:51] local.INFO: Packet analysis {"connection_id":190974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:51] local.INFO: Extracted packet for processing {"connection_id":190974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:27: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-09-23 22:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":190974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:27:51] local.INFO: GPS data processed {"connection_id":190974,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:27:51] local.INFO: Acknowledgment sent {"connection_id":190974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:27:55] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:55] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:27:55] local.INFO: IMEI packet received {"connection_id":190975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":190975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:28:01] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:28:01] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:28:01] local.INFO: IMEI packet received {"connection_id":190975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":190975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:28:01] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:01] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:01] local.INFO: Packet analysis {"connection_id":190975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:28:01] local.INFO: Extracted packet for processing {"connection_id":190975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:28: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-09-23 22:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:28: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-09-23 22: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-09-23 22:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":190975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":190975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":190975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:28:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":190975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:28:02] local.INFO: GPS data processed {"connection_id":190975,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:28:02] local.INFO: Acknowledgment sent {"connection_id":190975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:28:31] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:31] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:31] local.INFO: IMEI packet received {"connection_id":193667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:28:33] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:33] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:28:33] local.INFO: Packet analysis {"connection_id":190975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:28:33] local.INFO: Extracted packet for processing {"connection_id":190975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:28: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-09-23 22: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-09-23 22:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":190975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:28:33] local.INFO: GPS data processed {"connection_id":190975,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:28:33] local.INFO: Acknowledgment sent {"connection_id":190975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:28:35] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:35] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:28:35] local.INFO: IMEI packet received {"connection_id":193667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":193667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:28:36] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:28:36] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:28:36] local.INFO: Packet analysis {"connection_id":193667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:28:36] local.INFO: Extracted packet for processing {"connection_id":193667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:28: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-09-23 22: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-09-23 22:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":193667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:28:36] local.INFO: GPS data processed {"connection_id":193667,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:28:36] local.INFO: Acknowledgment sent {"connection_id":193667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:29:00] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:00] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:00] local.INFO: IMEI packet received {"connection_id":190792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":190792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:29:05] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:05] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:05] local.INFO: IMEI packet received {"connection_id":190792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":190792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:29:06] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:06] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:06] local.INFO: Packet analysis {"connection_id":190792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:29:06] local.INFO: Extracted packet for processing {"connection_id":190792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:29:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":190792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:29:06] local.INFO: GPS data processed {"connection_id":190792,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:29:06] local.INFO: Acknowledgment sent {"connection_id":190792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:29:08] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:08] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:08] local.INFO: Packet analysis {"connection_id":193667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:29:08] local.INFO: Extracted packet for processing {"connection_id":193667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:29: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-09-23 22:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":193667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:29:08] local.INFO: GPS data processed {"connection_id":193667,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:29:08] local.INFO: Acknowledgment sent {"connection_id":193667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:29:30] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:30] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:30] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:29:35] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:35] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:29:35] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:29:37] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:37] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:29:37] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:29:37] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:29: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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:29:37] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:29:37] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:29:37] local.INFO: TCP Data received {"connection_id":190792,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:37] local.INFO: Processing buffer {"connection_id":190792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf304410012d196940071fef900046015925..."} 
[2026-09-23 22:29:37] local.INFO: Packet analysis {"connection_id":190792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:29:37] local.INFO: Extracted packet for processing {"connection_id":190792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf30"} 
[2026-09-23 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286628096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790182442000,"timestamp_ms":1790182442000,"timestamp_seconds":1790182442,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf304410"} 
[2026-09-23 22:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:29: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-09-23 22: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-09-23 22:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286628096001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286628096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286628096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":190792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:29:37] local.INFO: GPS data processed {"connection_id":190792,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:29:37] local.INFO: Acknowledgment sent {"connection_id":190792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:29:56] local.INFO: TCP Data received {"connection_id":192317,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:56] local.INFO: Processing buffer {"connection_id":192317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:29:56] local.INFO: IMEI packet received {"connection_id":192317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":192317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:30:01] local.INFO: TCP Data received {"connection_id":192317,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:01] local.INFO: Processing buffer {"connection_id":192317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:01] local.INFO: IMEI packet received {"connection_id":192317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":192317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:30:01] local.INFO: TCP Data received {"connection_id":192317,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:01] local.INFO: Processing buffer {"connection_id":192317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:01] local.INFO: Packet analysis {"connection_id":192317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:30:01] local.INFO: Extracted packet for processing {"connection_id":192317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:30:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:30:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:30: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-09-23 22: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-09-23 22:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:30:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":192317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:30:02] local.INFO: GPS data processed {"connection_id":192317,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:30:02] local.INFO: Acknowledgment sent {"connection_id":192317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:30:08] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:08] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:08] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:08] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:30: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-09-23 22: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-09-23 22:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:30:08] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:30:08] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:30:33] local.INFO: TCP Data received {"connection_id":192317,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:33] local.INFO: Processing buffer {"connection_id":192317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:30:33] local.INFO: Packet analysis {"connection_id":192317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:30:33] local.INFO: Extracted packet for processing {"connection_id":192317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:30: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:30: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-09-23 22: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-09-23 22:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":192317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:30:33] local.INFO: GPS data processed {"connection_id":192317,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:30:33] local.INFO: Acknowledgment sent {"connection_id":192317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:30:35] local.INFO: TCP Data received {"connection_id":193668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:35] local.INFO: Processing buffer {"connection_id":193668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:35] local.INFO: IMEI packet received {"connection_id":193668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":193668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:30:40] local.INFO: TCP Data received {"connection_id":193668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:40] local.INFO: Processing buffer {"connection_id":193668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:30:40] local.INFO: IMEI packet received {"connection_id":193668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":193668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:30:41] local.INFO: TCP Data received {"connection_id":193668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:41] local.INFO: Processing buffer {"connection_id":193668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:41] local.INFO: Packet analysis {"connection_id":193668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:41] local.INFO: Extracted packet for processing {"connection_id":193668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":193668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:30:41] local.INFO: GPS data processed {"connection_id":193668,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:30:41] local.INFO: Acknowledgment sent {"connection_id":193668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:30:46] local.INFO: TCP Data received {"connection_id":193668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:46] local.INFO: Processing buffer {"connection_id":193668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:30:46] local.INFO: Packet analysis {"connection_id":193668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:46] local.INFO: Extracted packet for processing {"connection_id":193668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":193668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:30:46] local.INFO: GPS data processed {"connection_id":193668,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:30:46] local.INFO: Acknowledgment sent {"connection_id":193668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:30:56] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:56] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:30:56] local.INFO: IMEI packet received {"connection_id":193669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":193669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:31:00] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:00] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:00] local.INFO: IMEI packet received {"connection_id":193669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":193669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:31:01] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:01] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:01] local.INFO: Packet analysis {"connection_id":193669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:31:01] local.INFO: Extracted packet for processing {"connection_id":193669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:31: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-09-23 22:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:31:01] 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-09-23 22:31: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-09-23 22:31: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-09-23 22:31: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-09-23 22:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":193669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:31:01] local.INFO: GPS data processed {"connection_id":193669,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:31:01] local.INFO: Acknowledgment sent {"connection_id":193669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:31:30] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:30] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:30] local.INFO: IMEI packet received {"connection_id":190979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":190979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:31:33] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:33] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:31:33] local.INFO: Packet analysis {"connection_id":193669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:31:33] local.INFO: Extracted packet for processing {"connection_id":193669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:31: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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":193669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:31:33] local.INFO: GPS data processed {"connection_id":193669,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:31:33] local.INFO: Acknowledgment sent {"connection_id":193669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:31:34] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:31:34] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:31:34] local.INFO: IMEI packet received {"connection_id":190978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":190978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:31:35] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:35] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:31:35] local.INFO: IMEI packet received {"connection_id":190979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":190979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:31:36] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:31:36] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3218d0012d34c58006aa4758000f01051f..."} 
[2026-09-23 22:31:36] local.INFO: Packet analysis {"connection_id":190979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:31:36] local.INFO: Extracted packet for processing {"connection_id":190979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf32"} 
[2026-09-23 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286658816001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182562000,"timestamp_ms":1790182562000,"timestamp_seconds":1790182562,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3218d0"} 
[2026-09-23 22:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 22:31: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-09-23 22: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-09-23 22:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286658816001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286658816001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286658816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":190979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:31:36] local.INFO: GPS data processed {"connection_id":190979,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:31:36] local.INFO: Acknowledgment sent {"connection_id":190979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:31:55] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:55] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:31:55] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:32:01] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:01] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:01] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:32:02] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:02] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:02] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:32:02] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:32: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:32: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-09-23 22: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-09-23 22:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:32:02] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:32:02] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:32:07] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:07] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:07] local.INFO: Packet analysis {"connection_id":190979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:32:07] local.INFO: Extracted packet for processing {"connection_id":190979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:32: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-09-23 22:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:32: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-09-23 22:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":190979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:32:07] local.INFO: GPS data processed {"connection_id":190979,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:32:07] local.INFO: Acknowledgment sent {"connection_id":190979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:32:08] local.INFO: TCP Data received {"connection_id":190794,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:32:08] local.INFO: Processing buffer {"connection_id":190794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:32:08] local.INFO: IMEI packet received {"connection_id":190794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":190794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:32:30] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:30] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:30] local.INFO: IMEI packet received {"connection_id":193670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:32:33] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:33] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:32:33] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:32:33] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:32: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-09-23 22:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:32: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-09-23 22:32: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-09-23 22:32: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-09-23 22:32: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-09-23 22:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:32:33] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:32:33] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:32:35] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:35] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:32:35] local.INFO: IMEI packet received {"connection_id":193670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:32:37] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:37] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:32:37] local.INFO: Packet analysis {"connection_id":193670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:32:37] local.INFO: Extracted packet for processing {"connection_id":193670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:32: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-09-23 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:32: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-09-23 22: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-09-23 22:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":193670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:32:37] local.INFO: GPS data processed {"connection_id":193670,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:32:37] local.INFO: Acknowledgment sent {"connection_id":193670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:32:55] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:55] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:32:55] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:33:00] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:00] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:00] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:33:01] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:01] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:01] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:33:01] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:33:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:33: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-09-23 22: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-09-23 22:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:33:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:33:01] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:33:01] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:33:08] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:08] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:08] local.INFO: Packet analysis {"connection_id":193670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:33:08] local.INFO: Extracted packet for processing {"connection_id":193670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":193670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:33:09] local.INFO: GPS data processed {"connection_id":193670,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:33:09] local.INFO: Acknowledgment sent {"connection_id":193670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:33:30] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:30] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:30] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:33:32] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:32] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:33:32] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:33:32] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:33:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:33: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-09-23 22: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-09-23 22:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:33:32] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:33:32] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:33:35] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:35] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:33:35] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:33:37] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:37] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:33:37] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:33:37] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:33: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-09-23 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:33: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-09-23 22: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-09-23 22:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:33:37] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:33:37] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:33:55] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:55] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:33:55] local.INFO: IMEI packet received {"connection_id":190796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":190796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:34:00] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:34:00] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:34:00] local.INFO: IMEI packet received {"connection_id":190796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":190796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:34:01] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:01] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:01] local.INFO: Packet analysis {"connection_id":190796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:34:01] local.INFO: Extracted packet for processing {"connection_id":190796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:34:01] 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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":190796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:34:01] local.INFO: GPS data processed {"connection_id":190796,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:34:01] local.INFO: Acknowledgment sent {"connection_id":190796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:34:08] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:08] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:08] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:34:08] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:34:08] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:34:08] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:34:30] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:30] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:30] local.INFO: IMEI packet received {"connection_id":190980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":190980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:34:32] local.INFO: TCP Data received {"connection_id":190796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:32] local.INFO: Processing buffer {"connection_id":190796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf34dbd8012d196940071fef900046015926..."} 
[2026-09-23 22:34:32] local.INFO: Packet analysis {"connection_id":190796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:34:32] local.INFO: Extracted packet for processing {"connection_id":190796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf34"} 
[2026-09-23 22:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286705152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790182743000,"timestamp_ms":1790182743000,"timestamp_seconds":1790182743,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf34dbd8"} 
[2026-09-23 22:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:34:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:34: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-09-23 22: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-09-23 22:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286705152001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286705152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:34:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286705152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":190796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:34:32] local.INFO: GPS data processed {"connection_id":190796,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:34:32] local.INFO: Acknowledgment sent {"connection_id":190796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:34:35] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:35] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:34:35] local.INFO: IMEI packet received {"connection_id":190980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":190980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:34:36] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:36] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:34:36] local.INFO: Packet analysis {"connection_id":190980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:34:36] local.INFO: Extracted packet for processing {"connection_id":190980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:34: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-09-23 22: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-09-23 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":190980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:34:36] local.INFO: GPS data processed {"connection_id":190980,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:34:36] local.INFO: Acknowledgment sent {"connection_id":190980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:00] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:00] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:00] local.INFO: IMEI packet received {"connection_id":192322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":192322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:35:06] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:06] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:06] local.INFO: IMEI packet received {"connection_id":192322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":192322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:35:06] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:06] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:06] local.INFO: Packet analysis {"connection_id":192322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:35:06] local.INFO: Extracted packet for processing {"connection_id":192322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":192322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:35:06] local.INFO: GPS data processed {"connection_id":192322,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:35:06] local.INFO: Acknowledgment sent {"connection_id":192322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:08] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:08] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:08] local.INFO: Packet analysis {"connection_id":190980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:08] local.INFO: Extracted packet for processing {"connection_id":190980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":190980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:35:08] local.INFO: GPS data processed {"connection_id":190980,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:35:08] local.INFO: Acknowledgment sent {"connection_id":190980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:35] local.INFO: TCP Data received {"connection_id":193671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:35] local.INFO: Processing buffer {"connection_id":193671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:35] local.INFO: IMEI packet received {"connection_id":193671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":193671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:35:37] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:38] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:35:38] local.INFO: Packet analysis {"connection_id":192322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:35:38] local.INFO: Extracted packet for processing {"connection_id":192322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:35: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-09-23 22: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-09-23 22:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:35:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":192322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:35:38] local.INFO: GPS data processed {"connection_id":192322,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:35:38] local.INFO: Acknowledgment sent {"connection_id":192322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:40] local.INFO: TCP Data received {"connection_id":193671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:40] local.INFO: Processing buffer {"connection_id":193671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:35:40] local.INFO: IMEI packet received {"connection_id":193671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":193671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:35:41] local.INFO: TCP Data received {"connection_id":193671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:41] local.INFO: Processing buffer {"connection_id":193671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:41] local.INFO: Packet analysis {"connection_id":193671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:41] local.INFO: Extracted packet for processing {"connection_id":193671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":193671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:35:41] local.INFO: GPS data processed {"connection_id":193671,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:35:41] local.INFO: Acknowledgment sent {"connection_id":193671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:46] local.INFO: TCP Data received {"connection_id":193671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:46] local.INFO: Processing buffer {"connection_id":193671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:35:46] local.INFO: Packet analysis {"connection_id":193671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:46] local.INFO: Extracted packet for processing {"connection_id":193671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":193671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:35:46] local.INFO: GPS data processed {"connection_id":193671,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:35:46] local.INFO: Acknowledgment sent {"connection_id":193671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:35:56] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:56] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:35:56] local.INFO: IMEI packet received {"connection_id":190982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":190982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:36:01] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:01] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:01] local.INFO: IMEI packet received {"connection_id":190982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":190982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:36:01] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:01] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:01] local.INFO: Packet analysis {"connection_id":190982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:36:01] local.INFO: Extracted packet for processing {"connection_id":190982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:36:01] 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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:36:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":190982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:36:01] local.INFO: GPS data processed {"connection_id":190982,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:36:01] local.INFO: Acknowledgment sent {"connection_id":190982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:36:30] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:30] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:30] local.INFO: IMEI packet received {"connection_id":192323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:36:33] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:33] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:36:33] local.INFO: Packet analysis {"connection_id":190982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:36:33] local.INFO: Extracted packet for processing {"connection_id":190982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:36: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-09-23 22:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":190982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:36:33] local.INFO: GPS data processed {"connection_id":190982,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:36:33] local.INFO: Acknowledgment sent {"connection_id":190982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:36:35] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:35] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:36:35] local.INFO: IMEI packet received {"connection_id":192323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":192323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:36:36] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:36:36] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf36b098012d34c58006aa4758000f01051e..."} 
[2026-09-23 22:36:36] local.INFO: Packet analysis {"connection_id":192323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:36:36] local.INFO: Extracted packet for processing {"connection_id":192323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf36"} 
[2026-09-23 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":15,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286735872001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790182863000,"timestamp_ms":1790182863000,"timestamp_seconds":1790182863,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf36b098"} 
[2026-09-23 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:36: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-09-23 22: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-09-23 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286735872001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286735872001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286735872001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":192323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:36:36] local.INFO: GPS data processed {"connection_id":192323,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:36:36] local.INFO: Acknowledgment sent {"connection_id":192323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:36:56] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:56] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:36:56] local.INFO: IMEI packet received {"connection_id":193672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":193672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:37:00] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:00] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:00] local.INFO: IMEI packet received {"connection_id":193672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":193672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:37:01] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:01] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:01] local.INFO: Packet analysis {"connection_id":193672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:37:01] local.INFO: Extracted packet for processing {"connection_id":193672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:37:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:37: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-09-23 22: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-09-23 22:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":193672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:37:01] local.INFO: GPS data processed {"connection_id":193672,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:37:01] local.INFO: Acknowledgment sent {"connection_id":193672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:37:08] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:08] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:08] local.INFO: Packet analysis {"connection_id":192323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:37:08] local.INFO: Extracted packet for processing {"connection_id":192323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":192323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:37:08] local.INFO: GPS data processed {"connection_id":192323,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:37:08] local.INFO: Acknowledgment sent {"connection_id":192323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:37:30] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:30] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:30] local.INFO: IMEI packet received {"connection_id":190984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":190984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:37:32] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:32] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:37:32] local.INFO: Packet analysis {"connection_id":193672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:37:32] local.INFO: Extracted packet for processing {"connection_id":193672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:37:32] 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-09-23 22:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:37: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-09-23 22: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-09-23 22:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":193672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:37:32] local.INFO: GPS data processed {"connection_id":193672,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:37:32] local.INFO: Acknowledgment sent {"connection_id":193672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:37:34] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:37:34] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:37:34] local.INFO: IMEI packet received {"connection_id":190983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":190983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:37:35] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:35] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:37:35] local.INFO: IMEI packet received {"connection_id":190984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":190984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:37:37] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:37] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:37:37] local.INFO: Packet analysis {"connection_id":190984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:37:37] local.INFO: Extracted packet for processing {"connection_id":190984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:37: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-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:37: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-09-23 22: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-09-23 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":190984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:37:37] local.INFO: GPS data processed {"connection_id":190984,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:37:37] local.INFO: Acknowledgment sent {"connection_id":190984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:37:55] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:55] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:37:55] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:38:01] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:01] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:01] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:38:01] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:01] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:01] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:38:01] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:38:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:38: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-09-23 22: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-09-23 22:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:38:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:38:01] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:38:01] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:38:08] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:08] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:08] local.INFO: Packet analysis {"connection_id":190984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:38:08] local.INFO: Extracted packet for processing {"connection_id":190984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":190984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:38:08] local.INFO: GPS data processed {"connection_id":190984,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:38:08] local.INFO: Acknowledgment sent {"connection_id":190984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:38:14] local.INFO: TCP Data received {"connection_id":190798,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:38:14] local.INFO: Processing buffer {"connection_id":190798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:38:14] local.INFO: IMEI packet received {"connection_id":190798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":190798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:38:30] local.INFO: TCP Data received {"connection_id":193673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:30] local.INFO: Processing buffer {"connection_id":193673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:30] local.INFO: IMEI packet received {"connection_id":193673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:38:33] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:33] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:38:33] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:38:33] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:38: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:38: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-09-23 22: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-09-23 22:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:38:33] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:38:33] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:38:35] local.INFO: TCP Data received {"connection_id":193673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:35] local.INFO: Processing buffer {"connection_id":193673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:38:35] local.INFO: IMEI packet received {"connection_id":193673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":193673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:38:36] local.INFO: TCP Data received {"connection_id":193673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:36] local.INFO: Processing buffer {"connection_id":193673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:38:36] local.INFO: Packet analysis {"connection_id":193673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:38:36] local.INFO: Extracted packet for processing {"connection_id":193673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:38: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-09-23 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":193673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:38:36] local.INFO: GPS data processed {"connection_id":193673,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:38:36] local.INFO: Acknowledgment sent {"connection_id":193673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:38:55] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:55] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:38:55] local.INFO: IMEI packet received {"connection_id":193674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":193674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:39:00] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:39:00] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:39:00] local.INFO: IMEI packet received {"connection_id":193674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":193674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:39:01] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:01] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:01] local.INFO: Packet analysis {"connection_id":193674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:39:01] local.INFO: Extracted packet for processing {"connection_id":193674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:39: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-09-23 22:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:39:01] 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-09-23 22:39: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-09-23 22:39: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-09-23 22:39: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-09-23 22:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:39:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":193674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:39:01] local.INFO: GPS data processed {"connection_id":193674,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:39:01] local.INFO: Acknowledgment sent {"connection_id":193674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:39:08] local.INFO: TCP Data received {"connection_id":193673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:08] local.INFO: Processing buffer {"connection_id":193673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:08] local.INFO: Packet analysis {"connection_id":193673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:08] local.INFO: Extracted packet for processing {"connection_id":193673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 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-09-23 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":193673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:39:08] local.INFO: GPS data processed {"connection_id":193673,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:39:08] local.INFO: Acknowledgment sent {"connection_id":193673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:39:32] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:32] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3973a0012d196940071fef900046015925..."} 
[2026-09-23 22:39:32] local.INFO: Packet analysis {"connection_id":193674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:39:32] local.INFO: Extracted packet for processing {"connection_id":193674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf39"} 
[2026-09-23 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286782208001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183044000,"timestamp_ms":1790183044000,"timestamp_seconds":1790183044,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3973a0"} 
[2026-09-23 22:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:39:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:39: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-09-23 22: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-09-23 22:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286782208001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286782208001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286782208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":193674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:39:32] local.INFO: GPS data processed {"connection_id":193674,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:39:32] local.INFO: Acknowledgment sent {"connection_id":193674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:39:35] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:35] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:35] local.INFO: IMEI packet received {"connection_id":190799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":190799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:39:41] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:41] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:39:41] local.INFO: IMEI packet received {"connection_id":190799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":190799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:39:42] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:42] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:42] local.INFO: Packet analysis {"connection_id":190799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:42] local.INFO: Extracted packet for processing {"connection_id":190799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:39: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-09-23 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":190799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:39:42] local.INFO: GPS data processed {"connection_id":190799,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:39:42] local.INFO: Acknowledgment sent {"connection_id":190799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:39:46] local.INFO: TCP Data received {"connection_id":190799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:46] local.INFO: Processing buffer {"connection_id":190799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:39:46] local.INFO: Packet analysis {"connection_id":190799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:46] local.INFO: Extracted packet for processing {"connection_id":190799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":190799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:39:46] local.INFO: GPS data processed {"connection_id":190799,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:39:46] local.INFO: Acknowledgment sent {"connection_id":190799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:40:01] local.INFO: TCP Data received {"connection_id":190986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:01] local.INFO: Processing buffer {"connection_id":190986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:01] local.INFO: IMEI packet received {"connection_id":190986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":190986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:40:06] local.INFO: TCP Data received {"connection_id":190986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:06] local.INFO: Processing buffer {"connection_id":190986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:06] local.INFO: IMEI packet received {"connection_id":190986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":190986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:40:07] local.INFO: TCP Data received {"connection_id":190986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:07] local.INFO: Processing buffer {"connection_id":190986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:07] local.INFO: Packet analysis {"connection_id":190986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:40:07] local.INFO: Extracted packet for processing {"connection_id":190986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":190986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:40:07] local.INFO: GPS data processed {"connection_id":190986,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:40:07] local.INFO: Acknowledgment sent {"connection_id":190986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:40:30] local.INFO: TCP Data received {"connection_id":190800,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:30] local.INFO: Processing buffer {"connection_id":190800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:30] local.INFO: IMEI packet received {"connection_id":190800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":190800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:40:35] local.INFO: TCP Data received {"connection_id":190800,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:35] local.INFO: Processing buffer {"connection_id":190800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:40:35] local.INFO: IMEI packet received {"connection_id":190800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":190800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:40:36] local.INFO: TCP Data received {"connection_id":190800,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:36] local.INFO: Processing buffer {"connection_id":190800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:36] local.INFO: Packet analysis {"connection_id":190800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:40:36] local.INFO: Extracted packet for processing {"connection_id":190800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:40: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-09-23 22: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-09-23 22:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":190800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:40:36] local.INFO: GPS data processed {"connection_id":190800,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:40:36] local.INFO: Acknowledgment sent {"connection_id":190800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:40:38] local.INFO: TCP Data received {"connection_id":190986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:38] local.INFO: Processing buffer {"connection_id":190986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:40:38] local.INFO: Packet analysis {"connection_id":190986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:40:38] local.INFO: Extracted packet for processing {"connection_id":190986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:40: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-09-23 22: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-09-23 22:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":190986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:40:38] local.INFO: GPS data processed {"connection_id":190986,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:40:38] local.INFO: Acknowledgment sent {"connection_id":190986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:40:41] local.INFO: TCP Data received {"connection_id":190800,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:41] local.INFO: Processing buffer {"connection_id":190800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:40:41] local.INFO: Packet analysis {"connection_id":190800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:40:41] local.INFO: Extracted packet for processing {"connection_id":190800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":190800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:40:41] local.INFO: GPS data processed {"connection_id":190800,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:40:41] local.INFO: Acknowledgment sent {"connection_id":190800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:40:56] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:56] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:40:56] local.INFO: IMEI packet received {"connection_id":190801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":190801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:41:00] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:00] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:00] local.INFO: IMEI packet received {"connection_id":190801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":190801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:41:01] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:01] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:01] local.INFO: Packet analysis {"connection_id":190801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:41:01] local.INFO: Extracted packet for processing {"connection_id":190801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:41: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-09-23 22: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-09-23 22:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:41:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":190801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:41:01] local.INFO: GPS data processed {"connection_id":190801,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:41:01] local.INFO: Acknowledgment sent {"connection_id":190801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:41:12] local.INFO: TCP Data received {"connection_id":190800,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:12] local.INFO: Processing buffer {"connection_id":190800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:12] local.INFO: Packet analysis {"connection_id":190800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:41:12] local.INFO: Extracted packet for processing {"connection_id":190800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 22:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:41:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:41:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":190800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:41:12] local.INFO: GPS data processed {"connection_id":190800,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:41:12] local.INFO: Acknowledgment sent {"connection_id":190800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:41:30] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:30] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:30] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:41:32] local.INFO: TCP Data received {"connection_id":190801,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:32] local.INFO: Processing buffer {"connection_id":190801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:41:32] local.INFO: Packet analysis {"connection_id":190801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:41:32] local.INFO: Extracted packet for processing {"connection_id":190801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:41: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-09-23 22:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":190801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:41:32] local.INFO: GPS data processed {"connection_id":190801,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:41:32] local.INFO: Acknowledgment sent {"connection_id":190801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:41:35] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:35] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:41:35] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:41:36] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:36] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3b4860012d34c58006aa4758000701051e..."} 
[2026-09-23 22:41:36] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:41:36] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3b"} 
[2026-09-23 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286812928001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790183164000,"timestamp_ms":1790183164000,"timestamp_seconds":1790183164,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3b4860"} 
[2026-09-23 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-09-23 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:41: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-09-23 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-09-23 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-09-23 22:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286812928001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286812928001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286812928001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:41:36] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:41:36] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:41:56] local.INFO: TCP Data received {"connection_id":192324,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:56] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:41:56] local.INFO: IMEI packet received {"connection_id":192324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":192324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:42:01] local.INFO: TCP Data received {"connection_id":192324,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:01] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:01] local.INFO: IMEI packet received {"connection_id":192324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":192324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:42:01] local.INFO: TCP Data received {"connection_id":192324,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:01] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:01] local.INFO: Packet analysis {"connection_id":192324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:42:01] local.INFO: Extracted packet for processing {"connection_id":192324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:42: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-09-23 22:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:42: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-09-23 22:42: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-09-23 22:42: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-09-23 22:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":192324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:42:01] local.INFO: GPS data processed {"connection_id":192324,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:42:01] local.INFO: Acknowledgment sent {"connection_id":192324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:42:07] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:07] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:07] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:42:07] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:42: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-09-23 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:42:07] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:42:07] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:42:30] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:30] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:30] local.INFO: IMEI packet received {"connection_id":190988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":190988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:42:33] local.INFO: TCP Data received {"connection_id":192324,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:33] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:42:33] local.INFO: Packet analysis {"connection_id":192324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:42:33] local.INFO: Extracted packet for processing {"connection_id":192324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:42: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-09-23 22: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-09-23 22:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:42:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":192324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:42:33] local.INFO: GPS data processed {"connection_id":192324,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:42:33] local.INFO: Acknowledgment sent {"connection_id":192324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:42:35] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:35] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:42:35] local.INFO: IMEI packet received {"connection_id":190988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":190988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:42:37] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:37] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:42:37] local.INFO: Packet analysis {"connection_id":190988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:42:37] local.INFO: Extracted packet for processing {"connection_id":190988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:42: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-09-23 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":190988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:42:37] local.INFO: GPS data processed {"connection_id":190988,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:42:37] local.INFO: Acknowledgment sent {"connection_id":190988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:42:56] local.INFO: TCP Data received {"connection_id":193679,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:56] local.INFO: Processing buffer {"connection_id":193679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:42:56] local.INFO: IMEI packet received {"connection_id":193679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":193679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:43:00] local.INFO: TCP Data received {"connection_id":193679,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:00] local.INFO: Processing buffer {"connection_id":193679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:00] local.INFO: IMEI packet received {"connection_id":193679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":193679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:43:01] local.INFO: TCP Data received {"connection_id":193679,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:01] local.INFO: Processing buffer {"connection_id":193679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:01] local.INFO: Packet analysis {"connection_id":193679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:43:01] local.INFO: Extracted packet for processing {"connection_id":193679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:43: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-09-23 22:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:43: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-09-23 22:43: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-09-23 22:43: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-09-23 22:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":193679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:43:01] local.INFO: GPS data processed {"connection_id":193679,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:43:01] local.INFO: Acknowledgment sent {"connection_id":193679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:43:09] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:09] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:09] local.INFO: Packet analysis {"connection_id":190988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:43:09] local.INFO: Extracted packet for processing {"connection_id":190988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 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-09-23 22:43: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-09-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":190988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:43:09] local.INFO: GPS data processed {"connection_id":190988,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:43:09] local.INFO: Acknowledgment sent {"connection_id":190988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:43:30] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:30] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:30] local.INFO: IMEI packet received {"connection_id":192325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:43:32] local.INFO: TCP Data received {"connection_id":193679,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:32] local.INFO: Processing buffer {"connection_id":193679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:43:32] local.INFO: Packet analysis {"connection_id":193679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:43:32] local.INFO: Extracted packet for processing {"connection_id":193679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:43: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-09-23 22: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-09-23 22:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":193679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:43:33] local.INFO: GPS data processed {"connection_id":193679,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:43:33] local.INFO: Acknowledgment sent {"connection_id":193679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:43:35] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:35] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:43:35] local.INFO: IMEI packet received {"connection_id":192325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":192325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:43:37] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:37] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:43:37] local.INFO: Packet analysis {"connection_id":192325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:43:37] local.INFO: Extracted packet for processing {"connection_id":192325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:43: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-09-23 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":192325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:43:37] local.INFO: GPS data processed {"connection_id":192325,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:43:37] local.INFO: Acknowledgment sent {"connection_id":192325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:43:43] local.INFO: TCP Data received {"connection_id":190802,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:43:43] local.INFO: Processing buffer {"connection_id":190802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:43:43] local.INFO: IMEI packet received {"connection_id":190802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":190802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:43:55] local.INFO: TCP Data received {"connection_id":192326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:55] local.INFO: Processing buffer {"connection_id":192326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:43:55] local.INFO: IMEI packet received {"connection_id":192326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":192326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:44:01] local.INFO: TCP Data received {"connection_id":192326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:44:01] local.INFO: Processing buffer {"connection_id":192326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:44:01] local.INFO: IMEI packet received {"connection_id":192326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":192326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:44:01] local.INFO: TCP Data received {"connection_id":192326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:01] local.INFO: Processing buffer {"connection_id":192326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:01] local.INFO: Packet analysis {"connection_id":192326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:44:01] local.INFO: Extracted packet for processing {"connection_id":192326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:44:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:44: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-09-23 22: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-09-23 22:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":192326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:44:01] local.INFO: GPS data processed {"connection_id":192326,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:44:01] local.INFO: Acknowledgment sent {"connection_id":192326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:44:09] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:09] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:09] local.INFO: Packet analysis {"connection_id":192325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:44:09] local.INFO: Extracted packet for processing {"connection_id":192325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:44: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-09-23 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":192325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:44:09] local.INFO: GPS data processed {"connection_id":192325,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:44:09] local.INFO: Acknowledgment sent {"connection_id":192325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:44:09] local.INFO: TCP Data received {"connection_id":190803,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:44:09] local.INFO: Processing buffer {"connection_id":190803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:44:09] local.INFO: IMEI packet received {"connection_id":190803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":190803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:44:32] local.INFO: TCP Data received {"connection_id":192326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:32] local.INFO: Processing buffer {"connection_id":192326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3e0b68012d196940071fef900046015924..."} 
[2026-09-23 22:44:32] local.INFO: Packet analysis {"connection_id":192326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:44:32] local.INFO: Extracted packet for processing {"connection_id":192326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3e"} 
[2026-09-23 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286859264001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183345000,"timestamp_ms":1790183345000,"timestamp_seconds":1790183345,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3e0b68"} 
[2026-09-23 22:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:44: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-09-23 22: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-09-23 22:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286859264001,"66":2144,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286859264001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286859264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":192326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:44:33] local.INFO: GPS data processed {"connection_id":192326,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:44:33] local.INFO: Acknowledgment sent {"connection_id":192326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:44:35] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:35] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:35] local.INFO: IMEI packet received {"connection_id":190804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":190804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:44:40] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:40] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:44:40] local.INFO: IMEI packet received {"connection_id":190804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":190804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:44:42] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:42] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:44:42] local.INFO: Packet analysis {"connection_id":190804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:44:42] local.INFO: Extracted packet for processing {"connection_id":190804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:44: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-09-23 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":190804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:44:42] local.INFO: GPS data processed {"connection_id":190804,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:44:42] local.INFO: Acknowledgment sent {"connection_id":190804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:45:00] local.INFO: TCP Data received {"connection_id":193680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:00] local.INFO: Processing buffer {"connection_id":193680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:00] local.INFO: IMEI packet received {"connection_id":193680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":193680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:45:06] local.INFO: TCP Data received {"connection_id":193680,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:06] local.INFO: Processing buffer {"connection_id":193680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:06] local.INFO: IMEI packet received {"connection_id":193680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":193680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:45:06] local.INFO: TCP Data received {"connection_id":193680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:06] local.INFO: Processing buffer {"connection_id":193680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:06] local.INFO: Packet analysis {"connection_id":193680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:45:06] local.INFO: Extracted packet for processing {"connection_id":193680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":193680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:45:07] local.INFO: GPS data processed {"connection_id":193680,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:45:07] local.INFO: Acknowledgment sent {"connection_id":193680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:45:11] local.INFO: TCP Data received {"connection_id":193680,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:11] local.INFO: Processing buffer {"connection_id":193680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:45:11] local.INFO: Packet analysis {"connection_id":193680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:45:11] local.INFO: Extracted packet for processing {"connection_id":193680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:45: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-09-23 22: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-09-23 22:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":193680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:45:11] local.INFO: GPS data processed {"connection_id":193680,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:45:11] local.INFO: Acknowledgment sent {"connection_id":193680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:45:13] local.INFO: TCP Data received {"connection_id":190804,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:13] local.INFO: Processing buffer {"connection_id":190804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:13] local.INFO: Packet analysis {"connection_id":190804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:45:13] local.INFO: Extracted packet for processing {"connection_id":190804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":190804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:45:13] local.INFO: GPS data processed {"connection_id":190804,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:45:13] local.INFO: Acknowledgment sent {"connection_id":190804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:45:30] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:30] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:30] local.INFO: IMEI packet received {"connection_id":190989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":190989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:45:36] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:36] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:45:36] local.INFO: IMEI packet received {"connection_id":190989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":190989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:45:37] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:37] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:45:37] local.INFO: Packet analysis {"connection_id":190989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:45:37] local.INFO: Extracted packet for processing {"connection_id":190989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:45: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-09-23 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":190989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:45:37] local.INFO: GPS data processed {"connection_id":190989,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:45:37] local.INFO: Acknowledgment sent {"connection_id":190989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:45:56] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:56] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:45:56] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:46:01] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:01] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:01] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:46:01] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:01] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:01] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:46:01] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:46:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:46:02] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:46:02] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:46:08] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:08] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:08] local.INFO: Packet analysis {"connection_id":190989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:46:08] local.INFO: Extracted packet for processing {"connection_id":190989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":190989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:46:08] local.INFO: GPS data processed {"connection_id":190989,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:46:08] local.INFO: Acknowledgment sent {"connection_id":190989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:46:30] local.INFO: TCP Data received {"connection_id":192329,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:30] local.INFO: Processing buffer {"connection_id":192329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:30] local.INFO: IMEI packet received {"connection_id":192329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":192329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:46:32] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:32] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:46:32] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:46:32] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:46:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:46:32] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:46:32] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:46:35] local.INFO: TCP Data received {"connection_id":192329,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:35] local.INFO: Processing buffer {"connection_id":192329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:46:35] local.INFO: IMEI packet received {"connection_id":192329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":192329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:46:36] local.INFO: TCP Data received {"connection_id":192329,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:36] local.INFO: Processing buffer {"connection_id":192329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf3fe028012d34c58006aa4758000701051f..."} 
[2026-09-23 22:46:36] local.INFO: Packet analysis {"connection_id":192329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:46:36] local.INFO: Extracted packet for processing {"connection_id":192329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf3f"} 
[2026-09-23 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286889984001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790183465000,"timestamp_ms":1790183465000,"timestamp_seconds":1790183465,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf3fe028"} 
[2026-09-23 22:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 22:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286889984001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286889984001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286889984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":192329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:46:36] local.INFO: GPS data processed {"connection_id":192329,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:46:36] local.INFO: Acknowledgment sent {"connection_id":192329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:46:56] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:56] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:46:56] local.INFO: IMEI packet received {"connection_id":193681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":193681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:47:00] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:00] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:00] local.INFO: IMEI packet received {"connection_id":193681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":193681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:47:01] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:01] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:01] local.INFO: Packet analysis {"connection_id":193681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:47:01] local.INFO: Extracted packet for processing {"connection_id":193681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:47:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":193681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:47:01] local.INFO: GPS data processed {"connection_id":193681,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:47:01] local.INFO: Acknowledgment sent {"connection_id":193681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:47:08] local.INFO: TCP Data received {"connection_id":192329,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:08] local.INFO: Processing buffer {"connection_id":192329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:08] local.INFO: Packet analysis {"connection_id":192329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:47:08] local.INFO: Extracted packet for processing {"connection_id":192329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":192329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:47:08] local.INFO: GPS data processed {"connection_id":192329,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:47:08] local.INFO: Acknowledgment sent {"connection_id":192329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:47:30] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:30] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:30] local.INFO: IMEI packet received {"connection_id":193682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":193682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:47:32] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:32] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:47:32] local.INFO: Packet analysis {"connection_id":193681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:47:32] local.INFO: Extracted packet for processing {"connection_id":193681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":193681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:47:32] local.INFO: GPS data processed {"connection_id":193681,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:47:32] local.INFO: Acknowledgment sent {"connection_id":193681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:47:35] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:35] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:47:35] local.INFO: IMEI packet received {"connection_id":193682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":193682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:47:37] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:37] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:47:37] local.INFO: Packet analysis {"connection_id":193682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:47:37] local.INFO: Extracted packet for processing {"connection_id":193682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:47: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-09-23 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":193682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:47:37] local.INFO: GPS data processed {"connection_id":193682,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:47:37] local.INFO: Acknowledgment sent {"connection_id":193682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:47:56] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:56] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:47:56] local.INFO: IMEI packet received {"connection_id":190991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":190991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:48:01] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:01] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:01] local.INFO: IMEI packet received {"connection_id":190991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":190991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:48:01] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:01] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:01] local.INFO: Packet analysis {"connection_id":190991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:48:01] local.INFO: Extracted packet for processing {"connection_id":190991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:48: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-09-23 22:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:48: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":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:48: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-09-23 22:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":190991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:48:02] local.INFO: GPS data processed {"connection_id":190991,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:48:02] local.INFO: Acknowledgment sent {"connection_id":190991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:48:08] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:08] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:08] local.INFO: Packet analysis {"connection_id":193682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:48:08] local.INFO: Extracted packet for processing {"connection_id":193682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":193682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:48:08] local.INFO: GPS data processed {"connection_id":193682,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:48:08] local.INFO: Acknowledgment sent {"connection_id":193682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:48:32] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:32] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:48:32] local.INFO: Packet analysis {"connection_id":190991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:48:32] local.INFO: Extracted packet for processing {"connection_id":190991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:48:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":190991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:48:32] local.INFO: GPS data processed {"connection_id":190991,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:48:32] local.INFO: Acknowledgment sent {"connection_id":190991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:48:35] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:35] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:35] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:48:40] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:40] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:48:40] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:48:41] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:41] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:48:41] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:48:41] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:48:41] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:48:41] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:48:55] local.INFO: TCP Data received {"connection_id":193683,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:55] local.INFO: Processing buffer {"connection_id":193683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:48:55] local.INFO: IMEI packet received {"connection_id":193683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":193683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:49:00] local.INFO: TCP Data received {"connection_id":193683,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:00] local.INFO: Processing buffer {"connection_id":193683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:00] local.INFO: IMEI packet received {"connection_id":193683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":193683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:49:01] local.INFO: TCP Data received {"connection_id":193683,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:01] local.INFO: Processing buffer {"connection_id":193683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:01] local.INFO: Packet analysis {"connection_id":193683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:49:01] local.INFO: Extracted packet for processing {"connection_id":193683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":193683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:49:01] local.INFO: GPS data processed {"connection_id":193683,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:49:01] local.INFO: Acknowledgment sent {"connection_id":193683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:49:13] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:13] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:13] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:13] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:49:13] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:49:13] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:49:29] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:49:29] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:49:29] local.INFO: IMEI packet received {"connection_id":192331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":192331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:49:30] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:30] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:30] local.INFO: IMEI packet received {"connection_id":192332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:49:32] local.INFO: TCP Data received {"connection_id":193683,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:32] local.INFO: Processing buffer {"connection_id":193683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf42a330012d196940071fef900046015925..."} 
[2026-09-23 22:49:32] local.INFO: Packet analysis {"connection_id":193683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:49:32] local.INFO: Extracted packet for processing {"connection_id":193683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf42"} 
[2026-09-23 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286936320001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183646000,"timestamp_ms":1790183646000,"timestamp_seconds":1790183646,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf42a330"} 
[2026-09-23 22:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-23 22:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286936320001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286936320001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286936320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":193683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:49:32] local.INFO: GPS data processed {"connection_id":193683,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:49:32] local.INFO: Acknowledgment sent {"connection_id":193683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:49:35] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:35] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:49:35] local.INFO: IMEI packet received {"connection_id":192332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":192332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:49:37] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:37] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:37] local.INFO: Packet analysis {"connection_id":192332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:37] local.INFO: Extracted packet for processing {"connection_id":192332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22: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-09-23 22:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:49: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-09-23 22:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":192332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:49:37] local.INFO: GPS data processed {"connection_id":192332,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:49:37] local.INFO: Acknowledgment sent {"connection_id":192332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:49:41] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:41] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:49:41] local.INFO: Packet analysis {"connection_id":192332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:41] local.INFO: Extracted packet for processing {"connection_id":192332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":192332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:49:41] local.INFO: GPS data processed {"connection_id":192332,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:49:41] local.INFO: Acknowledgment sent {"connection_id":192332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:49:55] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:55] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:49:55] local.INFO: IMEI packet received {"connection_id":193684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":193684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:50:00] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:00] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:00] local.INFO: IMEI packet received {"connection_id":193684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":193684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:50:01] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:01] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:01] local.INFO: Packet analysis {"connection_id":193684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:50:01] local.INFO: Extracted packet for processing {"connection_id":193684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:50:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:50: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-09-23 22: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-09-23 22:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":193684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:50:01] local.INFO: GPS data processed {"connection_id":193684,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:50:01] local.INFO: Acknowledgment sent {"connection_id":193684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:50:09] local.INFO: TCP Data received {"connection_id":190806,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:50:09] local.INFO: Processing buffer {"connection_id":190806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:50:09] local.INFO: IMEI packet received {"connection_id":190806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":190806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:50:13] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:13] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:13] local.INFO: Packet analysis {"connection_id":192332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:50:13] local.INFO: Extracted packet for processing {"connection_id":192332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":192332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:50:13] local.INFO: GPS data processed {"connection_id":192332,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:50:13] local.INFO: Acknowledgment sent {"connection_id":192332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:50:31] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:31] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:31] local.INFO: IMEI packet received {"connection_id":190993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":190993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:50:32] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:32] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:50:32] local.INFO: Packet analysis {"connection_id":193684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:50:32] local.INFO: Extracted packet for processing {"connection_id":193684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:50:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:50: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-09-23 22: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-09-23 22:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:50:32] local.INFO: GPS data processed {"connection_id":193684,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:50:32] local.INFO: Acknowledgment sent {"connection_id":193684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:50:35] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:35] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:50:35] local.INFO: IMEI packet received {"connection_id":190993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":190993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:50:36] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:36] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:50:36] local.INFO: Packet analysis {"connection_id":190993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:50:36] local.INFO: Extracted packet for processing {"connection_id":190993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:50: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-09-23 22:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":190993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:50:36] local.INFO: GPS data processed {"connection_id":190993,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:50:36] local.INFO: Acknowledgment sent {"connection_id":190993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:50:55] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:55] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:50:55] local.INFO: IMEI packet received {"connection_id":193685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":193685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:51:00] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:00] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:00] local.INFO: IMEI packet received {"connection_id":193685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":193685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:51:01] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:01] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:01] local.INFO: Packet analysis {"connection_id":193685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:51:01] local.INFO: Extracted packet for processing {"connection_id":193685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:51:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:51: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-09-23 22: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-09-23 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:51:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":193685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:51:01] local.INFO: GPS data processed {"connection_id":193685,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:51:01] local.INFO: Acknowledgment sent {"connection_id":193685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:51:08] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:08] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:08] local.INFO: Packet analysis {"connection_id":190993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:51:08] local.INFO: Extracted packet for processing {"connection_id":190993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:51:08] local.INFO: GPS data processed {"connection_id":190993,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:51:08] local.INFO: Acknowledgment sent {"connection_id":190993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:51:30] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:30] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:30] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:51:32] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:32] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:51:32] local.INFO: Packet analysis {"connection_id":193685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:51:32] local.INFO: Extracted packet for processing {"connection_id":193685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:51:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:51: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-09-23 22: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-09-23 22:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:51:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":193685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:51:32] local.INFO: GPS data processed {"connection_id":193685,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:51:32] local.INFO: Acknowledgment sent {"connection_id":193685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:51:35] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:35] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:51:35] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:51:37] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:37] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4477f0012d34c58006aa47580007010520..."} 
[2026-09-23 22:51:37] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:51:37] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf44"} 
[2026-09-23 22:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458286967040001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790183766000,"timestamp_ms":1790183766000,"timestamp_seconds":1790183766,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4477f0"} 
[2026-09-23 22:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:51: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-09-23 22:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458286967040001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458286967040001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458286967040001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:51:37] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:51:37] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:51:55] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:55] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:51:55] local.INFO: IMEI packet received {"connection_id":190808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":190808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:52:01] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:52:01] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:52:01] local.INFO: IMEI packet received {"connection_id":190808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":190808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:52:01] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:01] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:01] local.INFO: Packet analysis {"connection_id":190808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:52:01] local.INFO: Extracted packet for processing {"connection_id":190808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:52: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-09-23 22:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:52:01] 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-09-23 22:52: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-09-23 22:52: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-09-23 22:52: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-09-23 22:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:52:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":190808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:52:01] local.INFO: GPS data processed {"connection_id":190808,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:52:01] local.INFO: Acknowledgment sent {"connection_id":190808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:52:08] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:08] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:08] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:52:08] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:52:08] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:52:08] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:52:30] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:30] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:30] local.INFO: IMEI packet received {"connection_id":190809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":190809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:52:32] local.INFO: TCP Data received {"connection_id":190808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:32] local.INFO: Processing buffer {"connection_id":190808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:52:32] local.INFO: Packet analysis {"connection_id":190808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:52:32] local.INFO: Extracted packet for processing {"connection_id":190808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:52:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:52: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-09-23 22: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-09-23 22:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:52:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":190808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:52:32] local.INFO: GPS data processed {"connection_id":190808,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:52:32] local.INFO: Acknowledgment sent {"connection_id":190808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:52:35] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:35] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:52:35] local.INFO: IMEI packet received {"connection_id":190809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":190809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:52:36] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:36] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:52:36] local.INFO: Packet analysis {"connection_id":190809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:52:36] local.INFO: Extracted packet for processing {"connection_id":190809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 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-09-23 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:52: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-09-23 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-09-23 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-09-23 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":190809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:52:36] local.INFO: GPS data processed {"connection_id":190809,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:52:36] local.INFO: Acknowledgment sent {"connection_id":190809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:53:00] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:00] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:00] local.INFO: IMEI packet received {"connection_id":190810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":190810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:53:06] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:06] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:06] local.INFO: IMEI packet received {"connection_id":190810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":190810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:53:06] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:06] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:06] local.INFO: Packet analysis {"connection_id":190810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:53:06] local.INFO: Extracted packet for processing {"connection_id":190810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 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-09-23 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":190810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:53:06] local.INFO: GPS data processed {"connection_id":190810,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:53:06] local.INFO: Acknowledgment sent {"connection_id":190810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:53:08] local.INFO: TCP Data received {"connection_id":190809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:08] local.INFO: Processing buffer {"connection_id":190809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:08] local.INFO: Packet analysis {"connection_id":190809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:53:08] local.INFO: Extracted packet for processing {"connection_id":190809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":190809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:53:08] local.INFO: GPS data processed {"connection_id":190809,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:53:08] local.INFO: Acknowledgment sent {"connection_id":190809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:53:31] local.INFO: TCP Data received {"connection_id":193686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:31] local.INFO: Processing buffer {"connection_id":193686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:31] local.INFO: IMEI packet received {"connection_id":193686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:53:36] local.INFO: TCP Data received {"connection_id":193686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:36] local.INFO: Processing buffer {"connection_id":193686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:53:36] local.INFO: IMEI packet received {"connection_id":193686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":193686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:53:37] local.INFO: TCP Data received {"connection_id":193686,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:37] local.INFO: Processing buffer {"connection_id":193686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:53:37] local.INFO: Packet analysis {"connection_id":193686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:53:37] local.INFO: Extracted packet for processing {"connection_id":193686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:53: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-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:53: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-09-23 22: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-09-23 22:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":193686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:53:37] local.INFO: GPS data processed {"connection_id":193686,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:53:37] local.INFO: Acknowledgment sent {"connection_id":193686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:53:38] local.INFO: TCP Data received {"connection_id":190810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:38] local.INFO: Processing buffer {"connection_id":190810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:53:38] local.INFO: Packet analysis {"connection_id":190810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:53:38] local.INFO: Extracted packet for processing {"connection_id":190810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 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-09-23 22:53: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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:53: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-09-23 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-09-23 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-09-23 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":190810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:53:38] local.INFO: GPS data processed {"connection_id":190810,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:53:38] local.INFO: Acknowledgment sent {"connection_id":190810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:53:56] local.INFO: TCP Data received {"connection_id":193687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:56] local.INFO: Processing buffer {"connection_id":193687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:53:56] local.INFO: IMEI packet received {"connection_id":193687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":193687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:54:01] local.INFO: TCP Data received {"connection_id":193687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:01] local.INFO: Processing buffer {"connection_id":193687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:01] local.INFO: IMEI packet received {"connection_id":193687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":193687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:54:02] local.INFO: TCP Data received {"connection_id":193687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:02] local.INFO: Processing buffer {"connection_id":193687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:02] local.INFO: Packet analysis {"connection_id":193687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:54:02] local.INFO: Extracted packet for processing {"connection_id":193687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:54: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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:54: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-09-23 22: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-09-23 22:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:54:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:54:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":193687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:54:02] local.INFO: GPS data processed {"connection_id":193687,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:54:02] local.INFO: Acknowledgment sent {"connection_id":193687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:54:08] local.INFO: TCP Data received {"connection_id":193686,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:08] local.INFO: Processing buffer {"connection_id":193686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:08] local.INFO: Packet analysis {"connection_id":193686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:54:08] local.INFO: Extracted packet for processing {"connection_id":193686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":193686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:54:08] local.INFO: GPS data processed {"connection_id":193686,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:54:08] local.INFO: Acknowledgment sent {"connection_id":193686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:54:30] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:30] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:30] local.INFO: IMEI packet received {"connection_id":192335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:54:33] local.INFO: TCP Data received {"connection_id":193687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:33] local.INFO: Processing buffer {"connection_id":193687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf473af8012d196940071fef900046015923..."} 
[2026-09-23 22:54:33] local.INFO: Packet analysis {"connection_id":193687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:54:33] local.INFO: Extracted packet for processing {"connection_id":193687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf47"} 
[2026-09-23 22:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287013376001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790183947000,"timestamp_ms":1790183947000,"timestamp_seconds":1790183947,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf473af8"} 
[2026-09-23 22:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22: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-09-23 22:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287013376001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287013376001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287013376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":193687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:54:33] local.INFO: GPS data processed {"connection_id":193687,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:54:33] local.INFO: Acknowledgment sent {"connection_id":193687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:54:35] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:35] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:54:35] local.INFO: IMEI packet received {"connection_id":192335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":192335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:54:36] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:36] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:54:36] local.INFO: Packet analysis {"connection_id":192335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:54:36] local.INFO: Extracted packet for processing {"connection_id":192335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 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-09-23 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:54: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-09-23 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-09-23 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-09-23 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":192335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:54:36] local.INFO: GPS data processed {"connection_id":192335,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:54:36] local.INFO: Acknowledgment sent {"connection_id":192335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:54:56] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:56] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:54:56] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:55:00] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:00] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:00] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:55:01] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:01] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:01] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:55:01] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:55:01] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:55: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-09-23 22: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-09-23 22:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:55:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:55:01] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:55:01] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:55:08] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:08] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:08] local.INFO: Packet analysis {"connection_id":192335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:55:08] local.INFO: Extracted packet for processing {"connection_id":192335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":192335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:55:08] local.INFO: GPS data processed {"connection_id":192335,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:55:08] local.INFO: Acknowledgment sent {"connection_id":192335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:55:28] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:55:28] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:55:28] local.INFO: IMEI packet received {"connection_id":190996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":190996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:55:30] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:30] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:30] local.INFO: IMEI packet received {"connection_id":193689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":193689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:55:32] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:32] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:55:32] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:55:32] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:55:32] 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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:55:32] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:55:32] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:55:35] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:35] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:55:35] local.INFO: IMEI packet received {"connection_id":193689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":193689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:55:37] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:37] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:55:37] local.INFO: Packet analysis {"connection_id":193689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:55:37] local.INFO: Extracted packet for processing {"connection_id":193689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:55: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-09-23 22: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-09-23 22: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-09-23 22: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-09-23 22:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":193689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:55:37] local.INFO: GPS data processed {"connection_id":193689,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:55:37] local.INFO: Acknowledgment sent {"connection_id":193689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:55:55] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:55] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:55:55] local.INFO: IMEI packet received {"connection_id":192336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":192336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:56:01] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:56:01] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:56:01] local.INFO: IMEI packet received {"connection_id":192336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":192336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:56:01] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:01] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:01] local.INFO: Packet analysis {"connection_id":192336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:56:01] local.INFO: Extracted packet for processing {"connection_id":192336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 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-09-23 22:56:01] 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-09-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:56: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-09-23 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-09-23 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-09-23 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:56:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":192336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:56:02] local.INFO: GPS data processed {"connection_id":192336,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:56:02] local.INFO: Acknowledgment sent {"connection_id":192336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:56:08] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:08] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:08] local.INFO: Packet analysis {"connection_id":193689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:56:08] local.INFO: Extracted packet for processing {"connection_id":193689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 22:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":193689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:56:08] local.INFO: GPS data processed {"connection_id":193689,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:56:08] local.INFO: Acknowledgment sent {"connection_id":193689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:56:08] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:56:08] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 22:56:08] local.INFO: IMEI packet received {"connection_id":192337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 22:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":192337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:56:30] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:30] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:30] local.INFO: IMEI packet received {"connection_id":193690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":193690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:56:33] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:33] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:56:33] local.INFO: Packet analysis {"connection_id":192336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:56:33] local.INFO: Extracted packet for processing {"connection_id":192336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:56: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-09-23 22: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-09-23 22:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:56:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":192336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:56:33] local.INFO: GPS data processed {"connection_id":192336,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:56:33] local.INFO: Acknowledgment sent {"connection_id":192336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:56:35] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:35] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:56:35] local.INFO: IMEI packet received {"connection_id":193690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":193690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:56:36] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:36] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf490fb8012d34c58006aa47580014010523..."} 
[2026-09-23 22:56:36] local.INFO: Packet analysis {"connection_id":193690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:56:36] local.INFO: Extracted packet for processing {"connection_id":193690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf49"} 
[2026-09-23 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287044096001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184067000,"timestamp_ms":1790184067000,"timestamp_seconds":1790184067,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf490fb8"} 
[2026-09-23 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-09-23 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287044096001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287044096001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287044096001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":193690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:56:36] local.INFO: GPS data processed {"connection_id":193690,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:56:36] local.INFO: Acknowledgment sent {"connection_id":193690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:00] local.INFO: TCP Data received {"connection_id":193691,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:00] local.INFO: Processing buffer {"connection_id":193691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:00] local.INFO: IMEI packet received {"connection_id":193691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":193691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:57:06] local.INFO: TCP Data received {"connection_id":193691,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:06] local.INFO: Processing buffer {"connection_id":193691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:06] local.INFO: IMEI packet received {"connection_id":193691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":193691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:57:06] local.INFO: TCP Data received {"connection_id":193691,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:06] local.INFO: Processing buffer {"connection_id":193691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:06] local.INFO: Packet analysis {"connection_id":193691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:57:06] local.INFO: Extracted packet for processing {"connection_id":193691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22: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-09-23 22:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":193691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:57:07] local.INFO: GPS data processed {"connection_id":193691,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:57:07] local.INFO: Acknowledgment sent {"connection_id":193691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:07] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:07] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:07] local.INFO: Packet analysis {"connection_id":193690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:07] local.INFO: Extracted packet for processing {"connection_id":193690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:57: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-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:57: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-09-23 22: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-09-23 22:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":193690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:57:07] local.INFO: GPS data processed {"connection_id":193690,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:57:07] local.INFO: Acknowledgment sent {"connection_id":193690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:31] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:31] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:31] local.INFO: IMEI packet received {"connection_id":190811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":190811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:57:36] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:36] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:57:36] local.INFO: IMEI packet received {"connection_id":190811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":190811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:57:37] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:37] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:37] local.INFO: Packet analysis {"connection_id":190811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:37] local.INFO: Extracted packet for processing {"connection_id":190811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:57: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-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:57: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-09-23 22: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-09-23 22:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":190811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:57:37] local.INFO: GPS data processed {"connection_id":190811,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:57:37] local.INFO: Acknowledgment sent {"connection_id":190811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:38] local.INFO: TCP Data received {"connection_id":193691,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:38] local.INFO: Processing buffer {"connection_id":193691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:57:38] local.INFO: Packet analysis {"connection_id":193691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:57:38] local.INFO: Extracted packet for processing {"connection_id":193691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:57: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-09-23 22: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-09-23 22:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:57:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":193691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:57:38] local.INFO: GPS data processed {"connection_id":193691,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:57:38] local.INFO: Acknowledgment sent {"connection_id":193691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:41] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:41] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:57:41] local.INFO: Packet analysis {"connection_id":190811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:41] local.INFO: Extracted packet for processing {"connection_id":190811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 22:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 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-09-23 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 22:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":190811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:57:41] local.INFO: GPS data processed {"connection_id":190811,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:57:41] local.INFO: Acknowledgment sent {"connection_id":190811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:57:56] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:56] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:57:56] local.INFO: IMEI packet received {"connection_id":190812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":190812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:58:01] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:01] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:01] local.INFO: IMEI packet received {"connection_id":190812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":190812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:58:01] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:01] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:01] local.INFO: Packet analysis {"connection_id":190812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:58:01] local.INFO: Extracted packet for processing {"connection_id":190812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:58: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-09-23 22:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:58:01] 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-09-23 22:58: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-09-23 22:58: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-09-23 22:58: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-09-23 22:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:58:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":190812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:58:02] local.INFO: GPS data processed {"connection_id":190812,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:58:02] local.INFO: Acknowledgment sent {"connection_id":190812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:58:12] local.INFO: TCP Data received {"connection_id":190811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:12] local.INFO: Processing buffer {"connection_id":190811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:12] local.INFO: Packet analysis {"connection_id":190811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:58:12] local.INFO: Extracted packet for processing {"connection_id":190811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:58:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:58:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":190811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:58:12] local.INFO: GPS data processed {"connection_id":190811,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:58:12] local.INFO: Acknowledgment sent {"connection_id":190811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:58:30] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:30] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:30] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:58:33] local.INFO: TCP Data received {"connection_id":190812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:33] local.INFO: Processing buffer {"connection_id":190812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:58:33] local.INFO: Packet analysis {"connection_id":190812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:58:33] local.INFO: Extracted packet for processing {"connection_id":190812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:58: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-09-23 22: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-09-23 22:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:58:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":190812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:58:33] local.INFO: GPS data processed {"connection_id":190812,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:58:33] local.INFO: Acknowledgment sent {"connection_id":190812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:58:35] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:35] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:58:35] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:58:36] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:36] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:58:36] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:58:36] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:58: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-09-23 22: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-09-23 22:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:58:36] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:58:36] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:58:56] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:56] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:58:56] local.INFO: IMEI packet received {"connection_id":192339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":192339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:59:00] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:00] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:00] local.INFO: IMEI packet received {"connection_id":192339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 22:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":192339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:59:01] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:01] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:01] local.INFO: Packet analysis {"connection_id":192339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:59:01] local.INFO: Extracted packet for processing {"connection_id":192339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:59:01] 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-09-23 22:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:59: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-09-23 22:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":192339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:59:01] local.INFO: GPS data processed {"connection_id":192339,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:59:01] local.INFO: Acknowledgment sent {"connection_id":192339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:59:08] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:08] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:08] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:59:08] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 22:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 22:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 22:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 22:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:59:08] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:59:08] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:59:30] local.INFO: TCP Data received {"connection_id":193692,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:30] local.INFO: Processing buffer {"connection_id":193692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:30] local.INFO: IMEI packet received {"connection_id":193692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 22:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":193692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 22:59:32] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:32] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4bd2c0012d196940071fef900046015921..."} 
[2026-09-23 22:59:32] local.INFO: Packet analysis {"connection_id":192339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:59:32] local.INFO: Extracted packet for processing {"connection_id":192339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4b"} 
[2026-09-23 22:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287090432001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184248000,"timestamp_ms":1790184248000,"timestamp_seconds":1790184248,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4bd2c0"} 
[2026-09-23 22:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:59:32] 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-09-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 22:59: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-09-23 22: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-09-23 22:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 22:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 22:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 22:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287090432001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 22:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 22:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 22:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287090432001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:59:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 22:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 22:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 22:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287090432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 22:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":192339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:59:32] local.INFO: GPS data processed {"connection_id":192339,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:59:32] local.INFO: Acknowledgment sent {"connection_id":192339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:59:35] local.INFO: TCP Data received {"connection_id":193692,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:35] local.INFO: Processing buffer {"connection_id":193692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 22:59:35] local.INFO: IMEI packet received {"connection_id":193692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 22:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":193692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 22:59:37] local.INFO: TCP Data received {"connection_id":193692,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:37] local.INFO: Processing buffer {"connection_id":193692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 22:59:37] local.INFO: Packet analysis {"connection_id":193692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:59:37] local.INFO: Extracted packet for processing {"connection_id":193692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 22: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-09-23 22:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 22:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 22:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 22:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 22:59: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-09-23 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 22:59: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-09-23 22: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-09-23 22:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 22:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 22:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 22:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 22:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 22:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 22:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 22:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 22:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 22:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 22:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 22:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 22:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 22:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 22:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 22:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":193692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 22:59:37] local.INFO: GPS data processed {"connection_id":193692,"processed":1,"errors":0,"total":1} 
[2026-09-23 22:59:37] local.INFO: Acknowledgment sent {"connection_id":193692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 22:59:56] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:56] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 22:59:56] local.INFO: IMEI packet received {"connection_id":190998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 22:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":190998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:00:01] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:00:01] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:00:01] local.INFO: IMEI packet received {"connection_id":190998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":190998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:00:01] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:01] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:01] local.INFO: Packet analysis {"connection_id":190998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:00:01] local.INFO: Extracted packet for processing {"connection_id":190998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:00: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-09-23 23: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-09-23 23:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:00:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":190998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:00:01] local.INFO: GPS data processed {"connection_id":190998,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:00:01] local.INFO: Acknowledgment sent {"connection_id":190998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:00:08] local.INFO: TCP Data received {"connection_id":193692,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:08] local.INFO: Processing buffer {"connection_id":193692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:08] local.INFO: Packet analysis {"connection_id":193692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:00:08] local.INFO: Extracted packet for processing {"connection_id":193692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 23:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":193692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:00:08] local.INFO: GPS data processed {"connection_id":193692,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:00:08] local.INFO: Acknowledgment sent {"connection_id":193692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:00:30] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:30] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:30] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:00:32] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:32] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:00:32] local.INFO: Packet analysis {"connection_id":190998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:00:32] local.INFO: Extracted packet for processing {"connection_id":190998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:00: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-09-23 23: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-09-23 23:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:00:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":190998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:00:33] local.INFO: GPS data processed {"connection_id":190998,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:00:33] local.INFO: Acknowledgment sent {"connection_id":190998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:00:35] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:35] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:00:35] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:00:36] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:36] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:00:36] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:00:36] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-23 23:00: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-09-23 23: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-09-23 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:00:36] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:00:36] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:01:00] local.INFO: TCP Data received {"connection_id":193693,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:00] local.INFO: Processing buffer {"connection_id":193693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:00] local.INFO: IMEI packet received {"connection_id":193693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":193693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:01:06] local.INFO: TCP Data received {"connection_id":193693,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:06] local.INFO: Processing buffer {"connection_id":193693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:06] local.INFO: IMEI packet received {"connection_id":193693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":193693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:01:06] local.INFO: TCP Data received {"connection_id":193693,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:06] local.INFO: Processing buffer {"connection_id":193693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:06] local.INFO: Packet analysis {"connection_id":193693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:01:06] local.INFO: Extracted packet for processing {"connection_id":193693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":193693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:01:06] local.INFO: GPS data processed {"connection_id":193693,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:01:06] local.INFO: Acknowledgment sent {"connection_id":193693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:01:09] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:09] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:09] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:01:09] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 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-09-23 23:01: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-09-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 23:01: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-09-23 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-09-23 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-09-23 23:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:01:09] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:01:09] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:01:11] local.INFO: TCP Data received {"connection_id":193693,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:11] local.INFO: Processing buffer {"connection_id":193693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:01:11] local.INFO: Packet analysis {"connection_id":193693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:01:11] local.INFO: Extracted packet for processing {"connection_id":193693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:01: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-09-23 23: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-09-23 23:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:01:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":193693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:01:11] local.INFO: GPS data processed {"connection_id":193693,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:01:11] local.INFO: Acknowledgment sent {"connection_id":193693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:01:30] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:30] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:30] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:01:35] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:35] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:01:35] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:01:36] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:36] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf4da780012d34c58006aa4758001a01051e..."} 
[2026-09-23 23:01:36] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:01:36] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf4d"} 
[2026-09-23 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287121152001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184368000,"timestamp_ms":1790184368000,"timestamp_seconds":1790184368,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf4da780"} 
[2026-09-23 23:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-23 23:01: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-09-23 23: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-09-23 23:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287121152001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287121152001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287121152001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:01:36] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:01:36] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:01:56] local.INFO: TCP Data received {"connection_id":193694,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:56] local.INFO: Processing buffer {"connection_id":193694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:01:56] local.INFO: IMEI packet received {"connection_id":193694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":193694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:02:01] local.INFO: TCP Data received {"connection_id":193694,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:01] local.INFO: Processing buffer {"connection_id":193694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:01] local.INFO: IMEI packet received {"connection_id":193694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":193694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:02:01] local.INFO: TCP Data received {"connection_id":193694,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:01] local.INFO: Processing buffer {"connection_id":193694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:01] local.INFO: Packet analysis {"connection_id":193694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:02:01] local.INFO: Extracted packet for processing {"connection_id":193694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:02: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-09-23 23: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-09-23 23:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:02:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":193694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:02:01] local.INFO: GPS data processed {"connection_id":193694,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:02:01] local.INFO: Acknowledgment sent {"connection_id":193694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:02:07] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:07] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:07] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:02:07] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:02: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-09-23 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:02:07] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:02:07] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:02:30] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:30] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:30] local.INFO: IMEI packet received {"connection_id":190813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":190813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:02:33] local.INFO: TCP Data received {"connection_id":193694,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:33] local.INFO: Processing buffer {"connection_id":193694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:02:33] local.INFO: Packet analysis {"connection_id":193694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:02:33] local.INFO: Extracted packet for processing {"connection_id":193694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:02: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-09-23 23: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-09-23 23:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":193694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:02:33] local.INFO: GPS data processed {"connection_id":193694,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:02:33] local.INFO: Acknowledgment sent {"connection_id":193694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:02:35] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:35] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:02:35] local.INFO: IMEI packet received {"connection_id":190813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":190813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:02:36] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:36] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:02:36] local.INFO: Packet analysis {"connection_id":190813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:02:36] local.INFO: Extracted packet for processing {"connection_id":190813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":190813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:02:36] local.INFO: GPS data processed {"connection_id":190813,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:02:36] local.INFO: Acknowledgment sent {"connection_id":190813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:02:56] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:56] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:02:56] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:03:00] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:00] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:00] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:03:01] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:01] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:01] local.INFO: Packet analysis {"connection_id":192341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:03:01] local.INFO: Extracted packet for processing {"connection_id":192341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:03: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-09-23 23: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-09-23 23:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":192341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:03:01] local.INFO: GPS data processed {"connection_id":192341,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:03:01] local.INFO: Acknowledgment sent {"connection_id":192341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:03:08] local.INFO: TCP Data received {"connection_id":190813,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:08] local.INFO: Processing buffer {"connection_id":190813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:08] local.INFO: Packet analysis {"connection_id":190813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:08] local.INFO: Extracted packet for processing {"connection_id":190813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 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-09-23 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":190813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:03:08] local.INFO: GPS data processed {"connection_id":190813,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:03:08] local.INFO: Acknowledgment sent {"connection_id":190813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:03:32] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:32] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:03:32] local.INFO: Packet analysis {"connection_id":192341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:03:32] local.INFO: Extracted packet for processing {"connection_id":192341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:03: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-09-23 23: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-09-23 23:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:03:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":192341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:03:32] local.INFO: GPS data processed {"connection_id":192341,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:03:32] local.INFO: Acknowledgment sent {"connection_id":192341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:03:35] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:35] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:35] local.INFO: IMEI packet received {"connection_id":192342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":192342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:03:40] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:40] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:03:40] local.INFO: IMEI packet received {"connection_id":192342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":192342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:03:41] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:41] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:41] local.INFO: Packet analysis {"connection_id":192342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:41] local.INFO: Extracted packet for processing {"connection_id":192342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":192342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:03:41] local.INFO: GPS data processed {"connection_id":192342,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:03:41] local.INFO: Acknowledgment sent {"connection_id":192342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:03:46] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:46] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:03:46] local.INFO: Packet analysis {"connection_id":192342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:46] local.INFO: Extracted packet for processing {"connection_id":192342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":192342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:03:46] local.INFO: GPS data processed {"connection_id":192342,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:03:46] local.INFO: Acknowledgment sent {"connection_id":192342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:03:56] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:56] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:03:56] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:04:01] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:01] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:01] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:04:02] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:02] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:02] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:04:02] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:04: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-09-23 23: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-09-23 23:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:04:02] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:04:02] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:04:30] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:30] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:30] local.INFO: IMEI packet received {"connection_id":191000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":191000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:04:33] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:33] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf506a88012d196940071fef900046015925..."} 
[2026-09-23 23:04:33] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:04:33] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf50"} 
[2026-09-23 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287167488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790184549000,"timestamp_ms":1790184549000,"timestamp_seconds":1790184549,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf506a88"} 
[2026-09-23 23:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-23 23:04: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-09-23 23: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-09-23 23:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287167488001,"66":2155,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287167488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:04:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287167488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:04:33] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:04:33] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:04:35] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:35] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:04:35] local.INFO: IMEI packet received {"connection_id":191000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":191000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:04:36] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:04:36] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:04:36] local.INFO: Packet analysis {"connection_id":191000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:04:36] local.INFO: Extracted packet for processing {"connection_id":191000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":191000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:04:36] local.INFO: GPS data processed {"connection_id":191000,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:04:36] local.INFO: Acknowledgment sent {"connection_id":191000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:04:55] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:55] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:04:55] local.INFO: IMEI packet received {"connection_id":190814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":190814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:05:00] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:00] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:00] local.INFO: IMEI packet received {"connection_id":190814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":190814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:05:01] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:01] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:01] local.INFO: Packet analysis {"connection_id":190814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:05:01] local.INFO: Extracted packet for processing {"connection_id":190814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:05: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-09-23 23: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-09-23 23:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":190814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:05:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":190814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:05:01] local.INFO: GPS data processed {"connection_id":190814,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:05:01] local.INFO: Acknowledgment sent {"connection_id":190814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:05:08] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:08] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:08] local.INFO: Packet analysis {"connection_id":191000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:05:08] local.INFO: Extracted packet for processing {"connection_id":191000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":191000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:05:08] local.INFO: GPS data processed {"connection_id":191000,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:05:08] local.INFO: Acknowledgment sent {"connection_id":191000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:05:30] local.INFO: TCP Data received {"connection_id":190815,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:30] local.INFO: Processing buffer {"connection_id":190815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:30] local.INFO: IMEI packet received {"connection_id":190815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":190815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:05:32] local.INFO: TCP Data received {"connection_id":190814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:32] local.INFO: Processing buffer {"connection_id":190814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:05:32] local.INFO: Packet analysis {"connection_id":190814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:05:32] local.INFO: Extracted packet for processing {"connection_id":190814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:05: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-09-23 23: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-09-23 23:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":190814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":190814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:05:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":190814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:05:32] local.INFO: GPS data processed {"connection_id":190814,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:05:32] local.INFO: Acknowledgment sent {"connection_id":190814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:05:35] local.INFO: TCP Data received {"connection_id":190815,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:35] local.INFO: Processing buffer {"connection_id":190815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:05:35] local.INFO: IMEI packet received {"connection_id":190815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":190815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:05:36] local.INFO: TCP Data received {"connection_id":190815,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:36] local.INFO: Processing buffer {"connection_id":190815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:05:36] local.INFO: Packet analysis {"connection_id":190815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:05:36] local.INFO: Extracted packet for processing {"connection_id":190815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 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-09-23 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":190815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:05:36] local.INFO: GPS data processed {"connection_id":190815,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:05:36] local.INFO: Acknowledgment sent {"connection_id":190815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:05:56] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:56] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:05:56] local.INFO: IMEI packet received {"connection_id":193695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":193695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:06:01] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:01] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:01] local.INFO: IMEI packet received {"connection_id":193695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":193695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:06:01] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:01] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:01] local.INFO: Packet analysis {"connection_id":193695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:06:01] local.INFO: Extracted packet for processing {"connection_id":193695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:06: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-09-23 23: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-09-23 23:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":193695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:06:01] local.INFO: GPS data processed {"connection_id":193695,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:06:01] local.INFO: Acknowledgment sent {"connection_id":193695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:06:07] local.INFO: TCP Data received {"connection_id":190815,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:07] local.INFO: Processing buffer {"connection_id":190815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:07] local.INFO: Packet analysis {"connection_id":190815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:06:07] local.INFO: Extracted packet for processing {"connection_id":190815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:06: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-09-23 23:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":190815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:06:07] local.INFO: GPS data processed {"connection_id":190815,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:06:07] local.INFO: Acknowledgment sent {"connection_id":190815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:06:31] local.INFO: TCP Data received {"connection_id":190816,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:31] local.INFO: Processing buffer {"connection_id":190816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:31] local.INFO: IMEI packet received {"connection_id":190816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":190816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:06:33] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:33] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:06:33] local.INFO: Packet analysis {"connection_id":193695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:06:33] local.INFO: Extracted packet for processing {"connection_id":193695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:06: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-09-23 23: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-09-23 23:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:06:33] local.INFO: GPS data processed {"connection_id":193695,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:06:33] local.INFO: Acknowledgment sent {"connection_id":193695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:06:35] local.INFO: TCP Data received {"connection_id":190816,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:35] local.INFO: Processing buffer {"connection_id":190816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:06:35] local.INFO: IMEI packet received {"connection_id":190816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":190816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:06:36] local.INFO: TCP Data received {"connection_id":190816,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:36] local.INFO: Processing buffer {"connection_id":190816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf523f48012d34c58006aa4758001a010523..."} 
[2026-09-23 23:06:36] local.INFO: Packet analysis {"connection_id":190816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:06:36] local.INFO: Extracted packet for processing {"connection_id":190816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf52"} 
[2026-09-23 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287198208001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184669000,"timestamp_ms":1790184669000,"timestamp_seconds":1790184669,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf523f48"} 
[2026-09-23 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287198208001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287198208001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287198208001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":190816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:06:36] local.INFO: GPS data processed {"connection_id":190816,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:06:36] local.INFO: Acknowledgment sent {"connection_id":190816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:06:56] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:56] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:06:56] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:07:00] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:00] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:00] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:07:01] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:01] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:01] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:07:01] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:07: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-09-23 23: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-09-23 23:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:07:01] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:07:01] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:07:07] local.INFO: TCP Data received {"connection_id":190816,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:07] local.INFO: Processing buffer {"connection_id":190816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:07] local.INFO: Packet analysis {"connection_id":190816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:07:07] local.INFO: Extracted packet for processing {"connection_id":190816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:07: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-09-23 23:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":190816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:07:07] local.INFO: GPS data processed {"connection_id":190816,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:07:07] local.INFO: Acknowledgment sent {"connection_id":190816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:07:30] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:30] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:30] local.INFO: IMEI packet received {"connection_id":193696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:07:32] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:32] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:07:32] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:07:32] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:07: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-09-23 23: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-09-23 23:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:07:32] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:07:32] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:07:35] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:35] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:07:35] local.INFO: IMEI packet received {"connection_id":193696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:07:36] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:36] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:07:36] local.INFO: Packet analysis {"connection_id":193696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:07:36] local.INFO: Extracted packet for processing {"connection_id":193696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":193696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:07:36] local.INFO: GPS data processed {"connection_id":193696,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:07:36] local.INFO: Acknowledgment sent {"connection_id":193696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:07:56] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:56] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:07:56] local.INFO: IMEI packet received {"connection_id":191002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-23 23:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":191002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:08:01] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:08:01] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-23 23:08:01] local.INFO: IMEI packet received {"connection_id":191002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-23 23:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":191002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:08:02] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:08:02] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf550250012d196940071fef900046015925..."} 
[2026-09-23 23:08:02] local.INFO: Packet analysis {"connection_id":191002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:08:02] local.INFO: Extracted packet for processing {"connection_id":191002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf55"} 
[2026-09-23 23:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533456,"longitude_deg":75.6640064,"latitude_deg":11.9533456,"altitude":70,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287244544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847559680,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790184850000,"timestamp_ms":1790184850000,"timestamp_seconds":1790184850,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf550250"} 
[2026-09-23 23:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-23 23:08: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-09-23 23: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-09-23 23:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-23 23:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-23 23:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-23 23:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287244544001,"66":2166,"102":206,"83":41984,"24":0,"16":22826488457854976,"45":1831065122847559680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-23 23:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-23 23:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-23 23:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287244544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:08:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-23 23:08:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-23 23:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826488457854976,"km_value":22826488457854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847559680,"description":"Unknown IO ID 45"} 
[2026-09-23 23:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287244544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847559680}} 
[2026-09-23 23:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":191002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:08:02] local.INFO: GPS data processed {"connection_id":191002,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:08:02] local.INFO: Acknowledgment sent {"connection_id":191002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:08:07] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:07] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:07] local.INFO: Packet analysis {"connection_id":193696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:07] local.INFO: Extracted packet for processing {"connection_id":193696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":193696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:08:07] local.INFO: GPS data processed {"connection_id":193696,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:08:07] local.INFO: Acknowledgment sent {"connection_id":193696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:08:35] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:35] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:35] local.INFO: IMEI packet received {"connection_id":190817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":190817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:08:40] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:40] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:08:40] local.INFO: IMEI packet received {"connection_id":190817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":190817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:08:42] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:42] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:42] local.INFO: Packet analysis {"connection_id":190817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:42] local.INFO: Extracted packet for processing {"connection_id":190817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:08: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-09-23 23:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":190817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:08:42] local.INFO: GPS data processed {"connection_id":190817,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:08:42] local.INFO: Acknowledgment sent {"connection_id":190817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:08:46] local.INFO: TCP Data received {"connection_id":190817,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:46] local.INFO: Processing buffer {"connection_id":190817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:08:46] local.INFO: Packet analysis {"connection_id":190817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:46] local.INFO: Extracted packet for processing {"connection_id":190817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":190817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:08:46] local.INFO: GPS data processed {"connection_id":190817,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:08:46] local.INFO: Acknowledgment sent {"connection_id":190817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:09:31] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:31] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:31] local.INFO: IMEI packet received {"connection_id":193697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:09:35] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:35] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:09:35] local.INFO: IMEI packet received {"connection_id":193697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":193697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:09:36] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:36] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:36] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:09:36] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:09:36] local.INFO: GPS data processed {"connection_id":193697,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:09:36] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:09:41] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:41] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:09:41] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:09:41] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:09:41] local.INFO: GPS data processed {"connection_id":193697,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:09:41] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:10:12] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:12] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:12] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:10:12] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:10:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:10:12] local.INFO: GPS data processed {"connection_id":193697,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:10:12] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:10:30] local.INFO: TCP Data received {"connection_id":193698,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:30] local.INFO: Processing buffer {"connection_id":193698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:30] local.INFO: IMEI packet received {"connection_id":193698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":193698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:10:35] local.INFO: TCP Data received {"connection_id":193698,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:35] local.INFO: Processing buffer {"connection_id":193698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:10:35] local.INFO: IMEI packet received {"connection_id":193698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":193698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:10:36] local.INFO: TCP Data received {"connection_id":193698,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:36] local.INFO: Processing buffer {"connection_id":193698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:10:36] local.INFO: Packet analysis {"connection_id":193698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:10:36] local.INFO: Extracted packet for processing {"connection_id":193698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":193698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:10:36] local.INFO: GPS data processed {"connection_id":193698,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:10:36] local.INFO: Acknowledgment sent {"connection_id":193698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:11:08] local.INFO: TCP Data received {"connection_id":193698,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:08] local.INFO: Processing buffer {"connection_id":193698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:08] local.INFO: Packet analysis {"connection_id":193698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:11:08] local.INFO: Extracted packet for processing {"connection_id":193698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":193698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:11:08] local.INFO: GPS data processed {"connection_id":193698,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:11:08] local.INFO: Acknowledgment sent {"connection_id":193698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:11:30] local.INFO: TCP Data received {"connection_id":192344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:30] local.INFO: Processing buffer {"connection_id":192344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:30] local.INFO: IMEI packet received {"connection_id":192344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:11:35] local.INFO: TCP Data received {"connection_id":192344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:35] local.INFO: Processing buffer {"connection_id":192344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:11:35] local.INFO: IMEI packet received {"connection_id":192344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":192344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:11:36] local.INFO: TCP Data received {"connection_id":192344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:36] local.INFO: Processing buffer {"connection_id":192344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf56d710012d34c58006aa4758001a010524..."} 
[2026-09-23 23:11:36] local.INFO: Packet analysis {"connection_id":192344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:11:36] local.INFO: Extracted packet for processing {"connection_id":192344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf56"} 
[2026-09-23 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287275264001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790184970000,"timestamp_ms":1790184970000,"timestamp_seconds":1790184970,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf56d710"} 
[2026-09-23 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-23 23:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287275264001,"66":25712,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287275264001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287275264001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":192344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:11:36] local.INFO: GPS data processed {"connection_id":192344,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:11:36] local.INFO: Acknowledgment sent {"connection_id":192344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:12:07] local.INFO: TCP Data received {"connection_id":192344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:07] local.INFO: Processing buffer {"connection_id":192344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:07] local.INFO: Packet analysis {"connection_id":192344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:12:07] local.INFO: Extracted packet for processing {"connection_id":192344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:12: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-09-23 23:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:12:07] local.INFO: GPS data processed {"connection_id":192344,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:12:07] local.INFO: Acknowledgment sent {"connection_id":192344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:12:30] local.INFO: TCP Data received {"connection_id":193699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:30] local.INFO: Processing buffer {"connection_id":193699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:30] local.INFO: IMEI packet received {"connection_id":193699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":193699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:12:35] local.INFO: TCP Data received {"connection_id":193699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:35] local.INFO: Processing buffer {"connection_id":193699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:12:35] local.INFO: IMEI packet received {"connection_id":193699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":193699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:12:36] local.INFO: TCP Data received {"connection_id":193699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:36] local.INFO: Processing buffer {"connection_id":193699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:12:36] local.INFO: Packet analysis {"connection_id":193699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:12:36] local.INFO: Extracted packet for processing {"connection_id":193699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 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-09-23 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":193699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:12:36] local.INFO: GPS data processed {"connection_id":193699,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:12:36] local.INFO: Acknowledgment sent {"connection_id":193699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:13:08] local.INFO: TCP Data received {"connection_id":193699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:08] local.INFO: Processing buffer {"connection_id":193699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:08] local.INFO: Packet analysis {"connection_id":193699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:13:08] local.INFO: Extracted packet for processing {"connection_id":193699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":193699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:13:08] local.INFO: GPS data processed {"connection_id":193699,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:13:08] local.INFO: Acknowledgment sent {"connection_id":193699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:13:30] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:30] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:30] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:13:35] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:35] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:13:35] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:13:36] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:36] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:13:36] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:13:36] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:13:36] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:13:36] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:14:08] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:08] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:08] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:14:08] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:14:08] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:14:08] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:14:30] local.INFO: TCP Data received {"connection_id":191004,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:30] local.INFO: Processing buffer {"connection_id":191004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:30] local.INFO: IMEI packet received {"connection_id":191004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":191004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:14:36] local.INFO: TCP Data received {"connection_id":191004,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:36] local.INFO: Processing buffer {"connection_id":191004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:14:36] local.INFO: IMEI packet received {"connection_id":191004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":191004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:14:37] local.INFO: TCP Data received {"connection_id":191004,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:37] local.INFO: Processing buffer {"connection_id":191004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:14:37] local.INFO: Packet analysis {"connection_id":191004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:14:37] local.INFO: Extracted packet for processing {"connection_id":191004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:14: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-09-23 23: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":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":191004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:14:37] local.INFO: GPS data processed {"connection_id":191004,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:14:37] local.INFO: Acknowledgment sent {"connection_id":191004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:15:09] local.INFO: TCP Data received {"connection_id":191004,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:09] local.INFO: Processing buffer {"connection_id":191004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:09] local.INFO: Packet analysis {"connection_id":191004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:15:09] local.INFO: Extracted packet for processing {"connection_id":191004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":191004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:15:09] local.INFO: GPS data processed {"connection_id":191004,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:15:09] local.INFO: Acknowledgment sent {"connection_id":191004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:15:30] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:30] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:30] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:15:35] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:35] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:15:35] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:15:36] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:36] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:15:36] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:15:36] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 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-09-23 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:15:36] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:15:36] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:16:08] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:08] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:08] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:16:08] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:16:08] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:16:08] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:16:30] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:30] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:30] local.INFO: IMEI packet received {"connection_id":192346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:16:35] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:35] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:16:35] local.INFO: IMEI packet received {"connection_id":192346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":192346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:16:36] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:36] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf5b6ed8012d34c58006aa4758001a010524..."} 
[2026-09-23 23:16:36] local.INFO: Packet analysis {"connection_id":192346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:16:36] local.INFO: Extracted packet for processing {"connection_id":192346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf5b"} 
[2026-09-23 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287352320001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185271000,"timestamp_ms":1790185271000,"timestamp_seconds":1790185271,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf5b6ed8"} 
[2026-09-23 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-23 23:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287352320001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287352320001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287352320001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:16:36] local.INFO: GPS data processed {"connection_id":192346,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:16:36] local.INFO: Acknowledgment sent {"connection_id":192346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:17:08] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:08] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:08] local.INFO: Packet analysis {"connection_id":192346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:17:08] local.INFO: Extracted packet for processing {"connection_id":192346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:17: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-09-23 23:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":192346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:17:08] local.INFO: GPS data processed {"connection_id":192346,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:17:08] local.INFO: Acknowledgment sent {"connection_id":192346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:17:30] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:30] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:30] local.INFO: IMEI packet received {"connection_id":191005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":191005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:17:35] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:35] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:17:35] local.INFO: IMEI packet received {"connection_id":191005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":191005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:17:36] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:36] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:17:36] local.INFO: Packet analysis {"connection_id":191005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:17:36] local.INFO: Extracted packet for processing {"connection_id":191005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:17: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-09-23 23: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-09-23 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":191005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:17:36] local.INFO: GPS data processed {"connection_id":191005,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:17:36] local.INFO: Acknowledgment sent {"connection_id":191005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:18:08] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:08] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:08] local.INFO: Packet analysis {"connection_id":191005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:18:08] local.INFO: Extracted packet for processing {"connection_id":191005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:18: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-09-23 23: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-09-23 23:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":191005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:18:08] local.INFO: GPS data processed {"connection_id":191005,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:18:08] local.INFO: Acknowledgment sent {"connection_id":191005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:18:30] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:30] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:30] local.INFO: IMEI packet received {"connection_id":190818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":190818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:18:35] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:35] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:18:35] local.INFO: IMEI packet received {"connection_id":190818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":190818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:18:36] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:36] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:18:36] local.INFO: Packet analysis {"connection_id":190818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:18:36] local.INFO: Extracted packet for processing {"connection_id":190818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 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-09-23 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:18: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-09-23 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-09-23 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-09-23 23:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":190818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:18:36] local.INFO: GPS data processed {"connection_id":190818,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:18:36] local.INFO: Acknowledgment sent {"connection_id":190818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:19:08] local.INFO: TCP Data received {"connection_id":190818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:08] local.INFO: Processing buffer {"connection_id":190818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:08] local.INFO: Packet analysis {"connection_id":190818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:19:08] local.INFO: Extracted packet for processing {"connection_id":190818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:19: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-09-23 23:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:19:08] local.INFO: GPS data processed {"connection_id":190818,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:19:08] local.INFO: Acknowledgment sent {"connection_id":190818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:19:30] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:30] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:30] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:19:35] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:35] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:19:35] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:19:36] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:36] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:19:36] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:19:36] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 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-09-23 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:19: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-09-23 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-09-23 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-09-23 23:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:19:36] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:19:36] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:20:07] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:07] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:07] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:20:07] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:20: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-09-23 23:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:20:07] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:20:07] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:20:30] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:30] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:30] local.INFO: IMEI packet received {"connection_id":191007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":191007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:20:35] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:35] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:20:35] local.INFO: IMEI packet received {"connection_id":191007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":191007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:20:36] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:36] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:20:36] local.INFO: Packet analysis {"connection_id":191007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:20:36] local.INFO: Extracted packet for processing {"connection_id":191007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:20: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-09-23 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":191007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:20:36] local.INFO: GPS data processed {"connection_id":191007,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:20:36] local.INFO: Acknowledgment sent {"connection_id":191007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:21:07] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:07] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:07] local.INFO: Packet analysis {"connection_id":191007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:07] local.INFO: Extracted packet for processing {"connection_id":191007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:21: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-09-23 23:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":191007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:21:07] local.INFO: GPS data processed {"connection_id":191007,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:21:07] local.INFO: Acknowledgment sent {"connection_id":191007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:21:34] local.INFO: TCP Data received {"connection_id":193700,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:34] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:34] local.INFO: IMEI packet received {"connection_id":193700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":193700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:21:35] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:35] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:35] local.INFO: IMEI packet received {"connection_id":193701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":193701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:21:36] local.INFO: TCP Data received {"connection_id":193700,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:36] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:36] local.INFO: IMEI packet received {"connection_id":193700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":193700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:21:38] local.INFO: TCP Data received {"connection_id":193700,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:38] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:21:38] local.INFO: IMEI packet received {"connection_id":193700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":193700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:21:40] local.INFO: TCP Data received {"connection_id":193700,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf62cd90012c88724008edafd0021000d223..."} 
[2026-09-23 23:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf62cd90012c88724008edafd0021000d223..."} 
[2026-09-23 23:21:40] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf62cd90012c88724008edafd0021000d223..."} 
[2026-09-23 23:21:40] local.INFO: Packet analysis {"connection_id":193700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf62"} 
[2026-09-23 23:21:40] local.INFO: Extracted packet for processing {"connection_id":193700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf62"} 
[2026-09-23 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":747139648,"raw_latitude":149794768,"longitude_deg":74.7139648,"latitude_deg":14.9794768,"altitude":528,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2c887240","hex_latitude":"08edafd0","is_valid_coordinates":true} 
[2026-09-23 23:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287547648001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8603212256064933886,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790185754000,"timestamp_ms":1790185754000,"timestamp_seconds":1790185754,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf62cd90"} 
[2026-09-23 23:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-23 23:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287547648001,"66":27930,"235":206,"195":44544,"24":0,"16":3605341577150464,"44":-8603212256064933886},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,195,24,16,44]} 
[2026-09-23 23:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287547648001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:21:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 23:21:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-23 23:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8603212256064933886,"description":"Unknown IO ID 44"} 
[2026-09-23 23:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287547648001,"power":27930,"unknown_235":206,"unknown_195":44544,"ignition":0,"odometer":null,"unknown_44":-8603212256064933886}} 
[2026-09-23 23:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":193700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:21:40] local.INFO: GPS data processed {"connection_id":193700,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:21:40] local.INFO: Acknowledgment sent {"connection_id":193700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:21:40] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:40] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:21:40] local.INFO: IMEI packet received {"connection_id":193701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":193701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:21:42] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:42] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:42] local.INFO: Packet analysis {"connection_id":193701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:42] local.INFO: Extracted packet for processing {"connection_id":193701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:21: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-09-23 23:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":193701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:21:42] local.INFO: GPS data processed {"connection_id":193701,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:21:42] local.INFO: Acknowledgment sent {"connection_id":193701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:21:46] local.INFO: TCP Data received {"connection_id":193700,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf630058012c885c4008ed65e0021300ac23..."} 
[2026-09-23 23:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf630058012c885c4008ed65e0021300ac23..."} 
[2026-09-23 23:21:46] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf630058012c885c4008ed65e0021300ac23..."} 
[2026-09-23 23:21:46] local.INFO: Packet analysis {"connection_id":193700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:21:46] local.INFO: Extracted packet for processing {"connection_id":193700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":747134016,"raw_latitude":149775840,"longitude_deg":74.7134016,"latitude_deg":14.977584,"altitude":531,"angle":172,"satellites":35,"speed":55,"hex_longitude":"2c885c40","hex_latitude":"08ed65e0","is_valid_coordinates":true} 
[2026-09-23 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287553024001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8614752730114699262,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790185767000,"timestamp_ms":1790185767000,"timestamp_seconds":1790185767,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf630058"} 
[2026-09-23 23:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-23 23:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287553024001,"66":27887,"235":206,"195":44544,"24":55,"16":3605341577150464,"44":-8614752730114699262},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,195,24,16,44]} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287553024001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-23 23:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8614752730114699262,"description":"Unknown IO ID 44"} 
[2026-09-23 23:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287553024001,"power":27887,"unknown_235":206,"unknown_195":44544,"ignition":55,"odometer":null,"unknown_44":-8614752730114699262}} 
[2026-09-23 23:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":193700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:21:46] local.INFO: GPS data processed {"connection_id":193700,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:21:46] local.INFO: Acknowledgment sent {"connection_id":193700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:21:46] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:46] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6006a0012d34c58006aa4758001a010528..."} 
[2026-09-23 23:21:46] local.INFO: Packet analysis {"connection_id":193701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:46] local.INFO: Extracted packet for processing {"connection_id":193701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf60"} 
[2026-09-23 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287429376001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790185572000,"timestamp_ms":1790185572000,"timestamp_seconds":1790185572,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6006a0"} 
[2026-09-23 23:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287429376001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287429376001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287429376001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":193701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:21:46] local.INFO: GPS data processed {"connection_id":193701,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:21:46] local.INFO: Acknowledgment sent {"connection_id":193701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:22:07] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:07] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:07] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:22:08] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:08] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:08] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:22:09] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:09] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:09] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:22:14] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:14] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:22:14] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:22:15] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf633ed8012c8868c008ed1050020b00be24..."} 
[2026-09-23 23:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf633ed8012c8868c008ed1050020b00be24..."} 
[2026-09-23 23:22:15] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf633ed8012c8868c008ed1050020b00be24..."} 
[2026-09-23 23:22:15] local.INFO: Packet analysis {"connection_id":191008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:22:15] local.INFO: Extracted packet for processing {"connection_id":191008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:22:15] local.INFO: GPS Element Parsed {"raw_longitude":747137216,"raw_latitude":149753936,"longitude_deg":74.7137216,"latitude_deg":14.9753936,"altitude":523,"angle":190,"satellites":36,"speed":52,"hex_longitude":"2c8868c0","hex_latitude":"08ed1050","is_valid_coordinates":true} 
[2026-09-23 23:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287556352001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8620945179607179262,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790185783000,"timestamp_ms":1790185783000,"timestamp_seconds":1790185783,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf633ed8"} 
[2026-09-23 23:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:22: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-09-23 23:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 23:22: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-09-23 23:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287556352001,"66":27887,"235":206,"195":44544,"24":52,"16":3605341577150464,"44":-8620945179607179262},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,195,24,16,44]} 
[2026-09-23 23:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287556352001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:22:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 23:22:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-23 23:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8620945179607179262,"description":"Unknown IO ID 44"} 
[2026-09-23 23:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287556352001,"power":27887,"unknown_235":206,"unknown_195":44544,"ignition":52,"odometer":null,"unknown_44":-8620945179607179262}} 
[2026-09-23 23:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":191008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:22:15] local.INFO: GPS data processed {"connection_id":191008,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:22:15] local.INFO: Acknowledgment sent {"connection_id":191008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:22:30] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:30] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:30] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:22:35] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:35] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:22:35] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:22:37] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:22:37] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:22:37] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:22:37] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 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-09-23 23:22: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-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:22: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-09-23 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-09-23 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-09-23 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:22:37] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:22:37] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:22:47] local.INFO: TCP Data received {"connection_id":191008,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf637d58012c883e8008ecc7a0020500d326..."} 
[2026-09-23 23:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf637d58012c883e8008ecc7a0020500d326..."} 
[2026-09-23 23:22:47] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf637d58012c883e8008ecc7a0020500d326..."} 
[2026-09-23 23:22:47] local.INFO: Packet analysis {"connection_id":191008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:22:47] local.INFO: Extracted packet for processing {"connection_id":191008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:22:47] local.INFO: GPS Element Parsed {"raw_longitude":747126400,"raw_latitude":149735328,"longitude_deg":74.71264,"latitude_deg":14.9735328,"altitude":517,"angle":211,"satellites":38,"speed":51,"hex_longitude":"2c883e80","hex_latitude":"08ecc7a0","is_valid_coordinates":true} 
[2026-09-23 23:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287560448001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8617426742403903486,"note":"Value kept but may cause issues"} 
[2026-09-23 23:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790185799000,"timestamp_ms":1790185799000,"timestamp_seconds":1790185799,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf637d58"} 
[2026-09-23 23:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:22: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-09-23 23:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-23 23:22:47] 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-09-23 23:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287560448001,"66":27821,"235":206,"195":44544,"24":51,"16":3605341577150464,"44":-8617426742403903486},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,195,24,16,44]} 
[2026-09-23 23:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287560448001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:22:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 23:22:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-23 23:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:22:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8617426742403903486,"description":"Unknown IO ID 44"} 
[2026-09-23 23:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287560448001,"power":27821,"unknown_235":206,"unknown_195":44544,"ignition":51,"odometer":null,"unknown_44":-8617426742403903486}} 
[2026-09-23 23:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":191008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:22:47] local.INFO: GPS data processed {"connection_id":191008,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:22:47] local.INFO: Acknowledgment sent {"connection_id":191008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:23:08] local.INFO: TCP Data received {"connection_id":193702,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:08] local.INFO: Processing buffer {"connection_id":193702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:08] local.INFO: IMEI packet received {"connection_id":193702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":193702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:23:08] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:08] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:08] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:08] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:23: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-09-23 23: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-09-23 23:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:23:08] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:23:08] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:23:14] local.INFO: TCP Data received {"connection_id":193702,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:14] local.INFO: Processing buffer {"connection_id":193702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:23:14] local.INFO: IMEI packet received {"connection_id":193702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":193702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:23:15] local.INFO: TCP Data received {"connection_id":193702,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf63bfc0012c8835c008ec7b40020800a926..."} 
[2026-09-23 23:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf63bfc0012c8835c008ec7b40020800a926..."} 
[2026-09-23 23:23:15] local.INFO: Processing buffer {"connection_id":193702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf63bfc0012c8835c008ec7b40020800a926..."} 
[2026-09-23 23:23:15] local.INFO: Packet analysis {"connection_id":193702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:23:15] local.INFO: Extracted packet for processing {"connection_id":193702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf63"} 
[2026-09-23 23:23:15] local.INFO: GPS Element Parsed {"raw_longitude":747124160,"raw_latitude":149715776,"longitude_deg":74.712416,"latitude_deg":14.9715776,"altitude":520,"angle":169,"satellites":38,"speed":39,"hex_longitude":"2c8835c0","hex_latitude":"08ec7b40","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287564544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8629319060174692350,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790185816000,"timestamp_ms":1790185816000,"timestamp_seconds":1790185816,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf63bfc0"} 
[2026-09-23 23:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-23 23:23: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-09-23 23: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-09-23 23:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287564544001,"66":27952,"235":206,"195":44544,"24":39,"16":3605341577150464,"44":-8629319060174692350},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,195,24,16,44]} 
[2026-09-23 23:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287564544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:23:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-23 23:23:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-23 23:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8629319060174692350,"description":"Unknown IO ID 44"} 
[2026-09-23 23:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287564544001,"power":27952,"unknown_235":206,"unknown_195":44544,"ignition":39,"odometer":null,"unknown_44":-8629319060174692350}} 
[2026-09-23 23:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":193702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:23:15] local.INFO: GPS data processed {"connection_id":193702,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:23:15] local.INFO: Acknowledgment sent {"connection_id":193702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:23:30] local.INFO: TCP Data received {"connection_id":191009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:30] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:30] local.INFO: IMEI packet received {"connection_id":191009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":191009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:23:35] local.INFO: TCP Data received {"connection_id":191009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:35] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:23:35] local.INFO: IMEI packet received {"connection_id":191009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":191009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:23:36] local.INFO: TCP Data received {"connection_id":191009,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:36] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:23:36] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:36] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 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-09-23 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:23: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-09-23 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-09-23 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-09-23 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:23:36] local.INFO: GPS data processed {"connection_id":191009,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:23:36] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:23:46] local.INFO: TCP Data received {"connection_id":193702,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf640de0012c88550008ec47d0020d009326..."} 
[2026-09-23 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf640de0012c88550008ec47d0020d009326..."} 
[2026-09-23 23:23:46] local.INFO: Processing buffer {"connection_id":193702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf640de0012c88550008ec47d0020d009326..."} 
[2026-09-23 23:23:46] local.INFO: Packet analysis {"connection_id":193702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:46] local.INFO: Extracted packet for processing {"connection_id":193702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:23:46] local.INFO: GPS Element Parsed {"raw_longitude":747132160,"raw_latitude":149702608,"longitude_deg":74.713216,"latitude_deg":14.9702608,"altitude":525,"angle":147,"satellites":38,"speed":0,"hex_longitude":"2c885500","hex_latitude":"08ec47d0","is_valid_coordinates":true} 
[2026-09-23 23:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287568896001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8631781966225915902,"note":"Value kept but may cause issues"} 
[2026-09-23 23:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790185836000,"timestamp_ms":1790185836000,"timestamp_seconds":1790185836,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf640de0"} 
[2026-09-23 23:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 23:23:46] 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-09-23 23:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287568896001,"66":27876,"45":206,"9":56576,"24":0,"16":3605341577150464,"44":-8631781966225915902},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-23 23:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287568896001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-23 23:23:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8631781966225915902,"description":"Unknown IO ID 44"} 
[2026-09-23 23:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287568896001,"power":27876,"unknown_45":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":-8631781966225915902}} 
[2026-09-23 23:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":193702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:23:46] local.INFO: GPS data processed {"connection_id":193702,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:23:46] local.INFO: Acknowledgment sent {"connection_id":193702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:24:08] local.INFO: TCP Data received {"connection_id":191009,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:08] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:08] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:24:08] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:24: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-09-23 23: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-09-23 23:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:24:08] local.INFO: GPS data processed {"connection_id":191009,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:24:08] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:24:08] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:08] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:08] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:24:09] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:09] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:09] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:24:11] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:11] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:11] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:24:13] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:13] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:24:13] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:24:14] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf66dca00100000000000000000000000000..."} 
[2026-09-23 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf66dca00100000000000000000000000000..."} 
[2026-09-23 23:24:14] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf66dca00100000000000000000000000000..."} 
[2026-09-23 23:24:14] local.INFO: Packet analysis {"connection_id":191010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:24:14] local.INFO: Extracted packet for processing {"connection_id":191010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:24: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-09-23 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-09-23 23:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287606016001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8645503871359619070,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790186020000,"timestamp_ms":1790186020000,"timestamp_seconds":1790186020,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf66dca0"} 
[2026-09-23 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-09-23 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 23:24: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-09-23 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-09-23 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-09-23 23:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":191010,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 23:24:14] local.INFO: GPS data processed {"connection_id":191010,"processed":0,"errors":0,"total":1} 
[2026-09-23 23:24:14] local.INFO: Acknowledgment sent {"connection_id":191010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:24:19] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf666770012c87d98008eb3580022c00e526..."} 
[2026-09-23 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf666770012c87d98008eb3580022c00e526..."} 
[2026-09-23 23:24:19] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf666770012c87d98008eb3580022c00e526..."} 
[2026-09-23 23:24:19] local.INFO: Packet analysis {"connection_id":191010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:24:19] local.INFO: Extracted packet for processing {"connection_id":191010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":747100544,"raw_latitude":149632384,"longitude_deg":74.7100544,"latitude_deg":14.9632384,"altitude":556,"angle":229,"satellites":38,"speed":25,"hex_longitude":"2c87d980","hex_latitude":"08eb3580","is_valid_coordinates":true} 
[2026-09-23 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790185990000,"timestamp_ms":1790185990000,"timestamp_seconds":1790185990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf666770"} 
[2026-09-23 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:24: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-23 23:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"54":206,"9":56576,"24":25,"16":3605341577150464},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-23 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_54":206,"unknown_9":56576,"ignition":25,"odometer":null}} 
[2026-09-23 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":191010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:24:19] local.INFO: GPS data processed {"connection_id":191010,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:24:19] local.INFO: Acknowledgment sent {"connection_id":191010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:24:30] local.INFO: TCP Data received {"connection_id":190819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:30] local.INFO: Processing buffer {"connection_id":190819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:30] local.INFO: IMEI packet received {"connection_id":190819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":190819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:24:35] local.INFO: TCP Data received {"connection_id":190819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:35] local.INFO: Processing buffer {"connection_id":190819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:24:35] local.INFO: IMEI packet received {"connection_id":190819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":190819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:24:37] local.INFO: TCP Data received {"connection_id":190819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:37] local.INFO: Processing buffer {"connection_id":190819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:24:37] local.INFO: Packet analysis {"connection_id":190819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:24:37] local.INFO: Extracted packet for processing {"connection_id":190819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:24: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-09-23 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:24: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-09-23 23: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-09-23 23:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":190819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:24:37] local.INFO: GPS data processed {"connection_id":190819,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:24:37] local.INFO: Acknowledgment sent {"connection_id":190819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:24:51] local.INFO: TCP Data received {"connection_id":191010,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf674de80100000000000000000000000000..."} 
[2026-09-23 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf674de80100000000000000000000000000..."} 
[2026-09-23 23:24:51] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf674de80100000000000000000000000000..."} 
[2026-09-23 23:24:51] local.INFO: Packet analysis {"connection_id":191010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:24:51] local.INFO: Extracted packet for processing {"connection_id":191010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:24: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-09-23 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287613440001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8657748032848822270,"note":"Value kept but may cause issues"} 
[2026-09-23 23:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790186049000,"timestamp_ms":1790186049000,"timestamp_seconds":1790186049,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf674de8"} 
[2026-09-23 23:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-23 23:24:51] 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-09-23 23:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":191010,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 23:24:51] local.INFO: GPS data processed {"connection_id":191010,"processed":0,"errors":0,"total":1} 
[2026-09-23 23:24:51] local.INFO: Acknowledgment sent {"connection_id":191010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:25:08] local.INFO: TCP Data received {"connection_id":192348,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:08] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:08] local.INFO: IMEI packet received {"connection_id":192348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":192348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:25:08] local.INFO: TCP Data received {"connection_id":190819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:08] local.INFO: Processing buffer {"connection_id":190819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:08] local.INFO: Packet analysis {"connection_id":190819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:08] local.INFO: Extracted packet for processing {"connection_id":190819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:25: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-09-23 23: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-09-23 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":190819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:25:08] local.INFO: GPS data processed {"connection_id":190819,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:25:08] local.INFO: Acknowledgment sent {"connection_id":190819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:25:14] local.INFO: TCP Data received {"connection_id":192348,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:14] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:25:14] local.INFO: IMEI packet received {"connection_id":192348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":192348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:25:15] local.INFO: TCP Data received {"connection_id":192348,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf66c148012c87ae4008eb0e90023100ea2b..."} 
[2026-09-23 23:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf66c148012c87ae4008eb0e90023100ea2b..."} 
[2026-09-23 23:25:15] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf66c148012c87ae4008eb0e90023100ea2b..."} 
[2026-09-23 23:25:15] local.INFO: Packet analysis {"connection_id":192348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:25:15] local.INFO: Extracted packet for processing {"connection_id":192348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf66"} 
[2026-09-23 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":747089472,"raw_latitude":149622416,"longitude_deg":74.7089472,"latitude_deg":14.9622416,"altitude":561,"angle":234,"satellites":43,"speed":24,"hex_longitude":"2c87ae40","hex_latitude":"08eb0e90","is_valid_coordinates":true} 
[2026-09-23 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 23:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790186013000,"timestamp_ms":1790186013000,"timestamp_seconds":1790186013,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf66c148"} 
[2026-09-23 23:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-23 23:25:15] 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-09-23 23:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"54":206,"9":56576,"24":24,"16":3605341577150464},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-23 23:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 23:25:15] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-23 23:25:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:25:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_54":206,"unknown_9":56576,"ignition":24,"odometer":null}} 
[2026-09-23 23:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":192348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:25:15] local.INFO: GPS data processed {"connection_id":192348,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:25:15] local.INFO: Acknowledgment sent {"connection_id":192348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:25:35] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:35] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:35] local.INFO: IMEI packet received {"connection_id":193703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":193703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:25:40] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:40] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:25:40] local.INFO: IMEI packet received {"connection_id":193703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":193703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:25:41] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:41] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:41] local.INFO: Packet analysis {"connection_id":193703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:41] local.INFO: Extracted packet for processing {"connection_id":193703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:25: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-09-23 23: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-09-23 23:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":193703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:25:41] local.INFO: GPS data processed {"connection_id":193703,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:25:41] local.INFO: Acknowledgment sent {"connection_id":193703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:25:46] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:46] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:25:46] local.INFO: Packet analysis {"connection_id":193703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:46] local.INFO: Extracted packet for processing {"connection_id":193703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 23:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":193703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:25:46] local.INFO: GPS data processed {"connection_id":193703,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:25:46] local.INFO: Acknowledgment sent {"connection_id":193703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:25:47] local.INFO: TCP Data received {"connection_id":192348,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf670f68012c877f0008eadcc0022c00d828..."} 
[2026-09-23 23:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf670f68012c877f0008eadcc0022c00d828..."} 
[2026-09-23 23:25:47] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf670f68012c877f0008eadcc0022c00d828..."} 
[2026-09-23 23:25:47] local.INFO: Packet analysis {"connection_id":192348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:25:47] local.INFO: Extracted packet for processing {"connection_id":192348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:25:47] local.INFO: GPS Element Parsed {"raw_longitude":747077376,"raw_latitude":149609664,"longitude_deg":74.7077376,"latitude_deg":14.9609664,"altitude":556,"angle":216,"satellites":40,"speed":24,"hex_longitude":"2c877f00","hex_latitude":"08eadcc0","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287619328001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8669921825594109950,"note":"Value kept but may cause issues"} 
[2026-09-23 23:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790186033000,"timestamp_ms":1790186033000,"timestamp_seconds":1790186033,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf670f68"} 
[2026-09-23 23:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23: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":26,"data_length":795,"current_offset":136} 
[2026-09-23 23:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287619328001,"66":27952,"54":206,"9":56576,"24":24,"16":3605341577150464,"44":-8669921825594109950},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16,44]} 
[2026-09-23 23:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287619328001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:25:47] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-23 23:25:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8669921825594109950,"description":"Unknown IO ID 44"} 
[2026-09-23 23:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287619328001,"power":27952,"unknown_54":206,"unknown_9":56576,"ignition":24,"odometer":null,"unknown_44":-8669921825594109950}} 
[2026-09-23 23:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":192348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:25:47] local.INFO: GPS data processed {"connection_id":192348,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:25:47] local.INFO: Acknowledgment sent {"connection_id":192348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:26:14] local.INFO: TCP Data received {"connection_id":193704,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:14] local.INFO: Processing buffer {"connection_id":193704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:14] local.INFO: IMEI packet received {"connection_id":193704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":193704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:26:19] local.INFO: TCP Data received {"connection_id":193704,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:19] local.INFO: Processing buffer {"connection_id":193704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:26:19] local.INFO: IMEI packet received {"connection_id":193704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":193704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:26:20] local.INFO: TCP Data received {"connection_id":193704,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf67f5e00100000000000000000000000000..."} 
[2026-09-23 23:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf67f5e00100000000000000000000000000..."} 
[2026-09-23 23:26:20] local.INFO: Processing buffer {"connection_id":193704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf67f5e00100000000000000000000000000..."} 
[2026-09-23 23:26:20] local.INFO: Packet analysis {"connection_id":193704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:26:20] local.INFO: Extracted packet for processing {"connection_id":193704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-23 23:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287624448001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8683221518246952958,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790186092000,"timestamp_ms":1790186092000,"timestamp_seconds":1790186092,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf67f5e0"} 
[2026-09-23 23:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 23:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":193704,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 23:26:20] local.INFO: GPS data processed {"connection_id":193704,"processed":0,"errors":0,"total":1} 
[2026-09-23 23:26:20] local.INFO: Acknowledgment sent {"connection_id":193704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:26:24] local.INFO: TCP Data received {"connection_id":193704,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf677110012c875a8008eab430022c00de2a..."} 
[2026-09-23 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf677110012c875a8008eab430022c00de2a..."} 
[2026-09-23 23:26:24] local.INFO: Processing buffer {"connection_id":193704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf677110012c875a8008eab430022c00de2a..."} 
[2026-09-23 23:26:24] local.INFO: Packet analysis {"connection_id":193704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:26:24] local.INFO: Extracted packet for processing {"connection_id":193704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":747068032,"raw_latitude":149599280,"longitude_deg":74.7068032,"latitude_deg":14.959928,"altitude":556,"angle":222,"satellites":42,"speed":17,"hex_longitude":"2c875a80","hex_latitude":"08eab430","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 23:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790186058000,"timestamp_ms":1790186058000,"timestamp_seconds":1790186058,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf677110"} 
[2026-09-23 23:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-23 23:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"54":206,"9":56576,"24":17,"16":3605341577150464},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-23 23:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 23:26:24] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-23 23:26:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:26:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_54":206,"unknown_9":56576,"ignition":17,"odometer":null}} 
[2026-09-23 23:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":193704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:26:25] local.INFO: GPS data processed {"connection_id":193704,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:26:25] local.INFO: Acknowledgment sent {"connection_id":193704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:26:30] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:30] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:30] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:26:35] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:35] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:26:35] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:26:36] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:26:36] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf649e68012d34c58006aa4758001a010527..."} 
[2026-09-23 23:26:36] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:26:36] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf64"} 
[2026-09-23 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287506432001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790185873000,"timestamp_ms":1790185873000,"timestamp_seconds":1790185873,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf649e68"} 
[2026-09-23 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-09-23 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":80,"data_length":795,"current_offset":136} 
[2026-09-23 23: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-09-23 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-09-23 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-09-23 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287506432001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287506432001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287506432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:26:36] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:26:36] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:27:07] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:07] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:07] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:27:07] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:27: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-09-23 23:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:27:07] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:27:07] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:27:07] local.INFO: TCP Data received {"connection_id":191011,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:07] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:07] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:27:08] local.INFO: TCP Data received {"connection_id":191011,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:08] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:08] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:27:14] local.INFO: TCP Data received {"connection_id":191011,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:14] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:27:14] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:27:15] local.INFO: TCP Data received {"connection_id":191011,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6857880100000000000000000000000000..."} 
[2026-09-23 23:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6857880100000000000000000000000000..."} 
[2026-09-23 23:27:15] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6857880100000000000000000000000000..."} 
[2026-09-23 23:27:15] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:27:15] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:27: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-09-23 23: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-09-23 23:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287630848001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8693495354899550206,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790186117000,"timestamp_ms":1790186117000,"timestamp_seconds":1790186117,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf685788"} 
[2026-09-23 23:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-23 23:27:15] 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-09-23 23: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-09-23 23:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 23:27:15] local.INFO: GPS data processed {"connection_id":191011,"processed":0,"errors":0,"total":1} 
[2026-09-23 23:27:15] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:27:30] local.INFO: TCP Data received {"connection_id":193705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:30] local.INFO: Processing buffer {"connection_id":193705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:30] local.INFO: IMEI packet received {"connection_id":193705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:27:36] local.INFO: TCP Data received {"connection_id":193705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:36] local.INFO: Processing buffer {"connection_id":193705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:27:36] local.INFO: IMEI packet received {"connection_id":193705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":193705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:27:36] local.INFO: TCP Data received {"connection_id":193705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:36] local.INFO: Processing buffer {"connection_id":193705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:27:36] local.INFO: Packet analysis {"connection_id":193705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:27:36] local.INFO: Extracted packet for processing {"connection_id":193705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23: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-09-23 23: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-09-23 23:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":193705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:27:36] local.INFO: GPS data processed {"connection_id":193705,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:27:36] local.INFO: Acknowledgment sent {"connection_id":193705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:27:46] local.INFO: TCP Data received {"connection_id":191011,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf67ced0012c87308008ea8cb0022a00e629..."} 
[2026-09-23 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf67ced0012c87308008ea8cb0022a00e629..."} 
[2026-09-23 23:27:46] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf67ced0012c87308008ea8cb0022a00e629..."} 
[2026-09-23 23:27:46] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:27:46] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf67"} 
[2026-09-23 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":747057280,"raw_latitude":149589168,"longitude_deg":74.705728,"latitude_deg":14.9589168,"altitude":554,"angle":230,"satellites":41,"speed":17,"hex_longitude":"2c873080","hex_latitude":"08ea8cb0","is_valid_coordinates":true} 
[2026-09-23 23:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:27:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 23:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790186082000,"timestamp_ms":1790186082000,"timestamp_seconds":1790186082,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf67ced0"} 
[2026-09-23 23:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-23 23:27:46] 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-09-23 23:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"54":206,"9":56576,"24":17,"16":3605341577150464},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-23 23:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 23:27:46] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-23 23:27:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:27:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_54":206,"unknown_9":56576,"ignition":17,"odometer":null}} 
[2026-09-23 23:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:27:46] local.INFO: GPS data processed {"connection_id":191011,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:27:46] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:28:08] local.INFO: TCP Data received {"connection_id":193705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:08] local.INFO: Processing buffer {"connection_id":193705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:08] local.INFO: Packet analysis {"connection_id":193705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:28:08] local.INFO: Extracted packet for processing {"connection_id":193705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:28: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-09-23 23:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:28:08] local.INFO: GPS data processed {"connection_id":193705,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:28:08] local.INFO: Acknowledgment sent {"connection_id":193705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:28:09] local.INFO: TCP Data received {"connection_id":192350,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:09] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:09] local.INFO: IMEI packet received {"connection_id":192350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-23 23:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":192350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:28:10] local.INFO: TCP Data received {"connection_id":192350,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:10] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:10] local.INFO: IMEI packet received {"connection_id":192350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":192350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:28:14] local.INFO: TCP Data received {"connection_id":192350,"ip":"117.225.135.145","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:14] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-23 23:28:14] local.INFO: IMEI packet received {"connection_id":192350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-23 23:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":192350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:28:15] local.INFO: TCP Data received {"connection_id":192350,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf68b5480100000000000000000000000000..."} 
[2026-09-23 23:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf68b5480100000000000000000000000000..."} 
[2026-09-23 23:28:15] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf68b5480100000000000000000000000000..."} 
[2026-09-23 23:28:15] local.INFO: Packet analysis {"connection_id":192350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:28:15] local.INFO: Extracted packet for processing {"connection_id":192350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:28: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-09-23 23: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-09-23 23:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287636992001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8705317303923986430,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790186141000,"timestamp_ms":1790186141000,"timestamp_seconds":1790186141,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf68b548"} 
[2026-09-23 23:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":192350,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-23 23:28:15] local.INFO: GPS data processed {"connection_id":192350,"processed":0,"errors":0,"total":1} 
[2026-09-23 23:28:15] local.INFO: Acknowledgment sent {"connection_id":192350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:28:19] local.INFO: TCP Data received {"connection_id":192350,"ip":"117.225.135.145","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6828a8012c86f4c008ea60c0022700eb29..."} 
[2026-09-23 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6828a8012c86f4c008ea60c0022700eb29..."} 
[2026-09-23 23:28:19] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6828a8012c86f4c008ea60c0022700eb29..."} 
[2026-09-23 23:28:19] local.INFO: Packet analysis {"connection_id":192350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:28:19] local.INFO: Extracted packet for processing {"connection_id":192350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf68"} 
[2026-09-23 23:28:19] local.INFO: GPS Element Parsed {"raw_longitude":747041984,"raw_latitude":149577920,"longitude_deg":74.7041984,"latitude_deg":14.957792,"altitude":551,"angle":235,"satellites":41,"speed":40,"hex_longitude":"2c86f4c0","hex_latitude":"08ea60c0","is_valid_coordinates":true} 
[2026-09-23 23:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-23 23:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790186105000,"timestamp_ms":1790186105000,"timestamp_seconds":1790186105,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6828a8"} 
[2026-09-23 23:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-23 23:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-23 23:28:19] 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-09-23 23:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-23 23:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.135.145","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-23 23:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-23 23:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"55":206,"9":56576,"24":40,"16":3605341577150464},"client_ip":"117.225.135.145","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16]} 
[2026-09-23 23:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-23 23:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-23 23:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-23 23:28:19] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-23 23:28:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-23 23:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:28:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_55":206,"unknown_9":56576,"ignition":40,"odometer":null}} 
[2026-09-23 23:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":192350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:28:19] local.INFO: GPS data processed {"connection_id":192350,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:28:19] local.INFO: Acknowledgment sent {"connection_id":192350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:28:30] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:30] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:30] local.INFO: IMEI packet received {"connection_id":191012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":191012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:28:35] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:35] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:28:35] local.INFO: IMEI packet received {"connection_id":191012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":191012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:28:36] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:36] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:28:36] local.INFO: Packet analysis {"connection_id":191012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:28:36] local.INFO: Extracted packet for processing {"connection_id":191012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23: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-09-23 23: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-09-23 23:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":191012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:28:36] local.INFO: GPS data processed {"connection_id":191012,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:28:36] local.INFO: Acknowledgment sent {"connection_id":191012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:29:08] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:08] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:08] local.INFO: Packet analysis {"connection_id":191012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:08] local.INFO: Extracted packet for processing {"connection_id":191012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23: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-09-23 23: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-09-23 23:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":191012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:29:08] local.INFO: GPS data processed {"connection_id":191012,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:29:08] local.INFO: Acknowledgment sent {"connection_id":191012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:29:35] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:35] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:35] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:29:40] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:40] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:29:40] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:29:41] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:41] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:41] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:41] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:29: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-09-23 23: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-09-23 23:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:29:41] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:29:41] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:29:46] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:46] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:29:46] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:46] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:29:46] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:29:46] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:30:31] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:31] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:31] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:30:35] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:35] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:30:35] local.INFO: IMEI packet received {"connection_id":190820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":190820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:30:37] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:30:37] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:30:37] local.INFO: Packet analysis {"connection_id":190820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:30:37] local.INFO: Extracted packet for processing {"connection_id":190820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:30: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-09-23 23: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-09-23 23:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":190820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:30:37] local.INFO: GPS data processed {"connection_id":190820,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:30:37] local.INFO: Acknowledgment sent {"connection_id":190820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:31:08] local.INFO: TCP Data received {"connection_id":190820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:08] local.INFO: Processing buffer {"connection_id":190820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:08] local.INFO: Packet analysis {"connection_id":190820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:31:08] local.INFO: Extracted packet for processing {"connection_id":190820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:31: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-09-23 23: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-09-23 23:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":190820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:31:08] local.INFO: GPS data processed {"connection_id":190820,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:31:08] local.INFO: Acknowledgment sent {"connection_id":190820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:31:30] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:30] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:30] local.INFO: IMEI packet received {"connection_id":192351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:31:35] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:35] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:31:35] local.INFO: IMEI packet received {"connection_id":192351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:31:37] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:37] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf693630012d34c58006aa4758001a010528..."} 
[2026-09-23 23:31:37] local.INFO: Packet analysis {"connection_id":192351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:31:37] local.INFO: Extracted packet for processing {"connection_id":192351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf69"} 
[2026-09-23 23:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287583488001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790186174000,"timestamp_ms":1790186174000,"timestamp_seconds":1790186174,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf693630"} 
[2026-09-23 23:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:31: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-09-23 23: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-09-23 23:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287583488001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287583488001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287583488001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":192351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:31:37] local.INFO: GPS data processed {"connection_id":192351,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:31:37] local.INFO: Acknowledgment sent {"connection_id":192351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:32:09] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:09] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:09] local.INFO: Packet analysis {"connection_id":192351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:32:09] local.INFO: Extracted packet for processing {"connection_id":192351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:32: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-09-23 23:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:32:09] 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-09-23 23:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":192351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:32:09] local.INFO: GPS data processed {"connection_id":192351,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:32:09] local.INFO: Acknowledgment sent {"connection_id":192351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:32:30] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:30] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:30] local.INFO: IMEI packet received {"connection_id":190821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":190821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:32:35] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:35] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:32:35] local.INFO: IMEI packet received {"connection_id":190821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":190821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:32:36] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:36] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:32:36] local.INFO: Packet analysis {"connection_id":190821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:32:36] local.INFO: Extracted packet for processing {"connection_id":190821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:32: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-09-23 23:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":190821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:32:36] local.INFO: GPS data processed {"connection_id":190821,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:32:36] local.INFO: Acknowledgment sent {"connection_id":190821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:33:08] local.INFO: TCP Data received {"connection_id":190821,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:08] local.INFO: Processing buffer {"connection_id":190821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:08] local.INFO: Packet analysis {"connection_id":190821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:33:08] local.INFO: Extracted packet for processing {"connection_id":190821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:33: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-09-23 23: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-09-23 23:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":190821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:33:08] local.INFO: GPS data processed {"connection_id":190821,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:33:08] local.INFO: Acknowledgment sent {"connection_id":190821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:33:30] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:30] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:30] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:33:35] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:35] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:33:35] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:33:36] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:36] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:33:36] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:33:36] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:33: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-09-23 23: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-09-23 23:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:33:36] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:33:36] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:34:07] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:07] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:07] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:34:07] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:34: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-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:34:07] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:34:07] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:34:30] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:30] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:30] local.INFO: IMEI packet received {"connection_id":190822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":190822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:34:35] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:35] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:34:35] local.INFO: IMEI packet received {"connection_id":190822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":190822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:34:37] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:37] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:34:37] local.INFO: Packet analysis {"connection_id":190822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:34:37] local.INFO: Extracted packet for processing {"connection_id":190822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:34: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-09-23 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:34: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-09-23 23: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-09-23 23:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":190822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:34:37] local.INFO: GPS data processed {"connection_id":190822,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:34:37] local.INFO: Acknowledgment sent {"connection_id":190822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:35:09] local.INFO: TCP Data received {"connection_id":190822,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:09] local.INFO: Processing buffer {"connection_id":190822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:09] local.INFO: Packet analysis {"connection_id":190822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:35:09] local.INFO: Extracted packet for processing {"connection_id":190822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:35: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-09-23 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:35:09] 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-09-23 23:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":190822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:35:09] local.INFO: GPS data processed {"connection_id":190822,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:35:09] local.INFO: Acknowledgment sent {"connection_id":190822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:35:30] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:30] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:30] local.INFO: IMEI packet received {"connection_id":191014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":191014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:35:35] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:35] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:35:35] local.INFO: IMEI packet received {"connection_id":191014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":191014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:35:36] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:36] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:35:36] local.INFO: Packet analysis {"connection_id":191014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:35:36] local.INFO: Extracted packet for processing {"connection_id":191014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:35: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-09-23 23: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-09-23 23:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":191014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:35:36] local.INFO: GPS data processed {"connection_id":191014,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:35:36] local.INFO: Acknowledgment sent {"connection_id":191014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:36:08] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:08] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:08] local.INFO: Packet analysis {"connection_id":191014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:36:08] local.INFO: Extracted packet for processing {"connection_id":191014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:36: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-09-23 23: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-09-23 23:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":191014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:36:08] local.INFO: GPS data processed {"connection_id":191014,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:36:08] local.INFO: Acknowledgment sent {"connection_id":191014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:36:30] local.INFO: TCP Data received {"connection_id":193706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:30] local.INFO: Processing buffer {"connection_id":193706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:30] local.INFO: IMEI packet received {"connection_id":193706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":193706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:36:35] local.INFO: TCP Data received {"connection_id":193706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:35] local.INFO: Processing buffer {"connection_id":193706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:36:35] local.INFO: IMEI packet received {"connection_id":193706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":193706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:36:36] local.INFO: TCP Data received {"connection_id":193706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:36] local.INFO: Processing buffer {"connection_id":193706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf6dcdf8012d34c58006aa4758001a010526..."} 
[2026-09-23 23:36:36] local.INFO: Packet analysis {"connection_id":193706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:36:36] local.INFO: Extracted packet for processing {"connection_id":193706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf6d"} 
[2026-09-23 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":26,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287660544001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186475000,"timestamp_ms":1790186475000,"timestamp_seconds":1790186475,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf6dcdf8"} 
[2026-09-23 23:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:36: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-09-23 23: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-09-23 23:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287660544001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287660544001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287660544001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":193706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:36:36] local.INFO: GPS data processed {"connection_id":193706,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:36:36] local.INFO: Acknowledgment sent {"connection_id":193706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:37:08] local.INFO: TCP Data received {"connection_id":193706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:08] local.INFO: Processing buffer {"connection_id":193706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:08] local.INFO: Packet analysis {"connection_id":193706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:37:08] local.INFO: Extracted packet for processing {"connection_id":193706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:37: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-09-23 23: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-09-23 23:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":193706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:37:08] local.INFO: GPS data processed {"connection_id":193706,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:37:08] local.INFO: Acknowledgment sent {"connection_id":193706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:37:30] local.INFO: TCP Data received {"connection_id":192353,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:30] local.INFO: Processing buffer {"connection_id":192353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:30] local.INFO: IMEI packet received {"connection_id":192353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:37:35] local.INFO: TCP Data received {"connection_id":192353,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:35] local.INFO: Processing buffer {"connection_id":192353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:37:35] local.INFO: IMEI packet received {"connection_id":192353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":192353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:37:36] local.INFO: TCP Data received {"connection_id":192353,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:36] local.INFO: Processing buffer {"connection_id":192353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:37:36] local.INFO: Packet analysis {"connection_id":192353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:37:36] local.INFO: Extracted packet for processing {"connection_id":192353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:37: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-09-23 23: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-09-23 23:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":192353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:37:36] local.INFO: GPS data processed {"connection_id":192353,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:37:36] local.INFO: Acknowledgment sent {"connection_id":192353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:38:08] local.INFO: TCP Data received {"connection_id":192353,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:08] local.INFO: Processing buffer {"connection_id":192353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:08] local.INFO: Packet analysis {"connection_id":192353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:38:08] local.INFO: Extracted packet for processing {"connection_id":192353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:38: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-09-23 23:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":192353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:38:08] local.INFO: GPS data processed {"connection_id":192353,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:38:08] local.INFO: Acknowledgment sent {"connection_id":192353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:38:30] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:30] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:30] local.INFO: IMEI packet received {"connection_id":192354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":192354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:38:35] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:35] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:38:35] local.INFO: IMEI packet received {"connection_id":192354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":192354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:38:36] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:36] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:38:36] local.INFO: Packet analysis {"connection_id":192354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:38:36] local.INFO: Extracted packet for processing {"connection_id":192354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:38: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-09-23 23: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-09-23 23:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":192354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:38:36] local.INFO: GPS data processed {"connection_id":192354,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:38:36] local.INFO: Acknowledgment sent {"connection_id":192354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:39:07] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:07] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:07] local.INFO: Packet analysis {"connection_id":192354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:39:07] local.INFO: Extracted packet for processing {"connection_id":192354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":192354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:39:07] local.INFO: GPS data processed {"connection_id":192354,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:39:07] local.INFO: Acknowledgment sent {"connection_id":192354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:39:30] local.INFO: TCP Data received {"connection_id":190823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:30] local.INFO: Processing buffer {"connection_id":190823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:30] local.INFO: IMEI packet received {"connection_id":190823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":190823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:39:35] local.INFO: TCP Data received {"connection_id":190823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:35] local.INFO: Processing buffer {"connection_id":190823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:39:35] local.INFO: IMEI packet received {"connection_id":190823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":190823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:39:36] local.INFO: TCP Data received {"connection_id":190823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:36] local.INFO: Processing buffer {"connection_id":190823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:39:36] local.INFO: Packet analysis {"connection_id":190823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:39:36] local.INFO: Extracted packet for processing {"connection_id":190823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:39: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-09-23 23:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":190823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:39:36] local.INFO: GPS data processed {"connection_id":190823,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:39:36] local.INFO: Acknowledgment sent {"connection_id":190823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:40:08] local.INFO: TCP Data received {"connection_id":190823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:08] local.INFO: Processing buffer {"connection_id":190823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:08] local.INFO: Packet analysis {"connection_id":190823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:40:08] local.INFO: Extracted packet for processing {"connection_id":190823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:40: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-09-23 23: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-09-23 23:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":190823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:40:08] local.INFO: GPS data processed {"connection_id":190823,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:40:08] local.INFO: Acknowledgment sent {"connection_id":190823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:40:30] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:30] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:30] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:40:35] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:35] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:40:35] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:40:36] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:36] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:40:36] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:40:36] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:40: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-09-23 23:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:40:36] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:40:36] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:41:09] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:09] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:09] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:09] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:41: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-09-23 23: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-09-23 23:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:41:09] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:41:09] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:41:35] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:35] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:35] local.INFO: IMEI packet received {"connection_id":193707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":193707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:41:40] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:40] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:41:40] local.INFO: IMEI packet received {"connection_id":193707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":193707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:41:41] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:41] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:41] local.INFO: Packet analysis {"connection_id":193707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:41] local.INFO: Extracted packet for processing {"connection_id":193707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:41: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-09-23 23:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":193707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:41:41] local.INFO: GPS data processed {"connection_id":193707,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:41:41] local.INFO: Acknowledgment sent {"connection_id":193707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:41:46] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:46] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7265c0012d34c58006aa47580007010527..."} 
[2026-09-23 23:41:46] local.INFO: Packet analysis {"connection_id":193707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:46] local.INFO: Extracted packet for processing {"connection_id":193707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf72"} 
[2026-09-23 23:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":7,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287737600001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790186776000,"timestamp_ms":1790186776000,"timestamp_seconds":1790186776,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7265c0"} 
[2026-09-23 23:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287737600001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287737600001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287737600001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":193707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:41:46] local.INFO: GPS data processed {"connection_id":193707,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:41:46] local.INFO: Acknowledgment sent {"connection_id":193707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:42:30] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:30] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:30] local.INFO: IMEI packet received {"connection_id":192356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:42:35] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:35] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:42:35] local.INFO: IMEI packet received {"connection_id":192356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":192356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:42:36] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:42:36] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:42:36] local.INFO: Packet analysis {"connection_id":192356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:42:36] local.INFO: Extracted packet for processing {"connection_id":192356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:42: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-09-23 23:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":192356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:42:36] local.INFO: GPS data processed {"connection_id":192356,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:42:36] local.INFO: Acknowledgment sent {"connection_id":192356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:43:07] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:07] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:07] local.INFO: Packet analysis {"connection_id":192356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:43:07] local.INFO: Extracted packet for processing {"connection_id":192356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":192356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:43:07] local.INFO: GPS data processed {"connection_id":192356,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:43:07] local.INFO: Acknowledgment sent {"connection_id":192356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:43:30] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:30] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:30] local.INFO: IMEI packet received {"connection_id":190824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":190824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:43:35] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:35] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:43:35] local.INFO: IMEI packet received {"connection_id":190824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":190824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:43:38] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:38] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:43:38] local.INFO: Packet analysis {"connection_id":190824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:43:38] local.INFO: Extracted packet for processing {"connection_id":190824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:43: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-09-23 23:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":190824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:43:38] local.INFO: GPS data processed {"connection_id":190824,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:43:38] local.INFO: Acknowledgment sent {"connection_id":190824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:44:13] local.INFO: TCP Data received {"connection_id":190824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:13] local.INFO: Processing buffer {"connection_id":190824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:13] local.INFO: Packet analysis {"connection_id":190824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:13] local.INFO: Extracted packet for processing {"connection_id":190824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":190824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:44:13] local.INFO: GPS data processed {"connection_id":190824,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:44:13] local.INFO: Acknowledgment sent {"connection_id":190824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:44:35] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:35] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:35] local.INFO: IMEI packet received {"connection_id":191015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":191015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:44:40] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:40] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:44:40] local.INFO: IMEI packet received {"connection_id":191015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":191015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:44:41] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:41] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:41] local.INFO: Packet analysis {"connection_id":191015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:41] local.INFO: Extracted packet for processing {"connection_id":191015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:44: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-09-23 23: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-09-23 23:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":191015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:44:41] local.INFO: GPS data processed {"connection_id":191015,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:44:41] local.INFO: Acknowledgment sent {"connection_id":191015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:44:46] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:46] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:44:46] local.INFO: Packet analysis {"connection_id":191015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:46] local.INFO: Extracted packet for processing {"connection_id":191015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":191015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:44:46] local.INFO: GPS data processed {"connection_id":191015,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:44:46] local.INFO: Acknowledgment sent {"connection_id":191015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:45:30] local.INFO: TCP Data received {"connection_id":193708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:30] local.INFO: Processing buffer {"connection_id":193708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:30] local.INFO: IMEI packet received {"connection_id":193708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:45:35] local.INFO: TCP Data received {"connection_id":193708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:35] local.INFO: Processing buffer {"connection_id":193708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:45:35] local.INFO: IMEI packet received {"connection_id":193708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":193708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:45:36] local.INFO: TCP Data received {"connection_id":193708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:36] local.INFO: Processing buffer {"connection_id":193708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:36] local.INFO: Packet analysis {"connection_id":193708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:45:36] local.INFO: Extracted packet for processing {"connection_id":193708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:45: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-09-23 23:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":193708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:45:36] local.INFO: GPS data processed {"connection_id":193708,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:45:36] local.INFO: Acknowledgment sent {"connection_id":193708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:45:41] local.INFO: TCP Data received {"connection_id":193708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:41] local.INFO: Processing buffer {"connection_id":193708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:45:41] local.INFO: Packet analysis {"connection_id":193708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:45:41] local.INFO: Extracted packet for processing {"connection_id":193708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:45: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-09-23 23: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-09-23 23:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":193708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:45:41] local.INFO: GPS data processed {"connection_id":193708,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:45:41] local.INFO: Acknowledgment sent {"connection_id":193708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:46:12] local.INFO: TCP Data received {"connection_id":193708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:12] local.INFO: Processing buffer {"connection_id":193708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:12] local.INFO: Packet analysis {"connection_id":193708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:46:12] local.INFO: Extracted packet for processing {"connection_id":193708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:46:12] 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-09-23 23: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-09-23 23:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:46:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:46:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":193708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:46:12] local.INFO: GPS data processed {"connection_id":193708,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:46:12] local.INFO: Acknowledgment sent {"connection_id":193708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:46:30] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:30] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:30] local.INFO: IMEI packet received {"connection_id":193709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":193709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:46:35] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:35] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:46:35] local.INFO: IMEI packet received {"connection_id":193709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":193709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:46:36] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:36] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf76fd88012d34c58006aa4758000e010526..."} 
[2026-09-23 23:46:36] local.INFO: Packet analysis {"connection_id":193709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:46:36] local.INFO: Extracted packet for processing {"connection_id":193709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf76"} 
[2026-09-23 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287814656001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187077000,"timestamp_ms":1790187077000,"timestamp_seconds":1790187077,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf76fd88"} 
[2026-09-23 23:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:46: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-09-23 23:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287814656001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287814656001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287814656001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":193709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:46:36] local.INFO: GPS data processed {"connection_id":193709,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:46:36] local.INFO: Acknowledgment sent {"connection_id":193709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:47:08] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:08] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:08] local.INFO: Packet analysis {"connection_id":193709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:47:08] local.INFO: Extracted packet for processing {"connection_id":193709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:47: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-09-23 23: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-09-23 23:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":193709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:47:08] local.INFO: GPS data processed {"connection_id":193709,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:47:08] local.INFO: Acknowledgment sent {"connection_id":193709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:47:30] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:30] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:30] local.INFO: IMEI packet received {"connection_id":191016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":191016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:47:35] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:35] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:47:35] local.INFO: IMEI packet received {"connection_id":191016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":191016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:47:36] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:36] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:47:36] local.INFO: Packet analysis {"connection_id":191016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:47:36] local.INFO: Extracted packet for processing {"connection_id":191016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:47: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-09-23 23: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-09-23 23:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":191016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:47:36] local.INFO: GPS data processed {"connection_id":191016,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:47:36] local.INFO: Acknowledgment sent {"connection_id":191016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:48:08] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:08] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:08] local.INFO: Packet analysis {"connection_id":191016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:08] local.INFO: Extracted packet for processing {"connection_id":191016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:48: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-09-23 23: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-09-23 23:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":191016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:48:08] local.INFO: GPS data processed {"connection_id":191016,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:48:08] local.INFO: Acknowledgment sent {"connection_id":191016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:48:35] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:35] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:35] local.INFO: IMEI packet received {"connection_id":190825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":190825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:48:40] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:40] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:48:40] local.INFO: IMEI packet received {"connection_id":190825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":190825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:48:41] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:41] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:41] local.INFO: Packet analysis {"connection_id":190825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:41] local.INFO: Extracted packet for processing {"connection_id":190825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:48: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-09-23 23:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":190825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:48:41] local.INFO: GPS data processed {"connection_id":190825,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:48:41] local.INFO: Acknowledgment sent {"connection_id":190825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:48:46] local.INFO: TCP Data received {"connection_id":190825,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:46] local.INFO: Processing buffer {"connection_id":190825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:48:46] local.INFO: Packet analysis {"connection_id":190825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:46] local.INFO: Extracted packet for processing {"connection_id":190825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":190825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:48:46] local.INFO: GPS data processed {"connection_id":190825,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:48:46] local.INFO: Acknowledgment sent {"connection_id":190825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:49:30] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:30] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:30] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:49:35] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:35] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:49:35] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:49:36] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:49:36] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:49:36] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:49:36] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:49: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-09-23 23:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:49:36] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:49:36] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:50:08] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:08] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:08] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:50:08] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:50: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-09-23 23: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-09-23 23:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:50:08] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:50:08] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:50:30] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:30] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:30] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:50:35] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:35] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:50:35] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:50:36] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:36] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:50:36] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:50:36] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:50: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-09-23 23: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-09-23 23:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:50:36] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:50:36] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:51:08] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:08] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:08] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:51:08] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:51: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-09-23 23: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-09-23 23:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:51:08] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:51:08] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:51:31] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:31] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:31] local.INFO: IMEI packet received {"connection_id":192358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":192358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:51:35] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:35] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:51:35] local.INFO: IMEI packet received {"connection_id":192358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":192358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:51:36] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:36] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf7b9550012d34c58006aa4758000e010526..."} 
[2026-09-23 23:51:36] local.INFO: Packet analysis {"connection_id":192358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:51:36] local.INFO: Extracted packet for processing {"connection_id":192358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf7b"} 
[2026-09-23 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287891712001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187378000,"timestamp_ms":1790187378000,"timestamp_seconds":1790187378,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf7b9550"} 
[2026-09-23 23:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-23 23:51: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-09-23 23: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-09-23 23:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287891712001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287891712001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287891712001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":192358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:51:36] local.INFO: GPS data processed {"connection_id":192358,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:51:36] local.INFO: Acknowledgment sent {"connection_id":192358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:52:07] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:07] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:07] local.INFO: Packet analysis {"connection_id":192358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:07] local.INFO: Extracted packet for processing {"connection_id":192358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":192358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:52:07] local.INFO: GPS data processed {"connection_id":192358,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:52:07] local.INFO: Acknowledgment sent {"connection_id":192358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:52:35] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:35] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:35] local.INFO: IMEI packet received {"connection_id":193710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":193710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:52:40] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:40] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:52:40] local.INFO: IMEI packet received {"connection_id":193710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":193710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:52:41] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:41] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:41] local.INFO: Packet analysis {"connection_id":193710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:41] local.INFO: Extracted packet for processing {"connection_id":193710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:52: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-09-23 23: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-09-23 23:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":193710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:52:41] local.INFO: GPS data processed {"connection_id":193710,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:52:41] local.INFO: Acknowledgment sent {"connection_id":193710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:52:45] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:45] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:52:45] local.INFO: Packet analysis {"connection_id":193710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:45] local.INFO: Extracted packet for processing {"connection_id":193710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":193710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:52:45] local.INFO: GPS data processed {"connection_id":193710,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:52:45] local.INFO: Acknowledgment sent {"connection_id":193710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:53:30] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:30] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:30] local.INFO: IMEI packet received {"connection_id":190826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":190826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:53:35] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:35] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:53:35] local.INFO: IMEI packet received {"connection_id":190826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":190826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:53:36] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:53:36] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:53:36] local.INFO: Packet analysis {"connection_id":190826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:53:36] local.INFO: Extracted packet for processing {"connection_id":190826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 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-09-23 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:53: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-09-23 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-09-23 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-09-23 23:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":190826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:53:36] local.INFO: GPS data processed {"connection_id":190826,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:53:36] local.INFO: Acknowledgment sent {"connection_id":190826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:54:08] local.INFO: TCP Data received {"connection_id":190826,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:08] local.INFO: Processing buffer {"connection_id":190826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:08] local.INFO: Packet analysis {"connection_id":190826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:54:08] local.INFO: Extracted packet for processing {"connection_id":190826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:54: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-09-23 23: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-09-23 23:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":190826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:54:08] local.INFO: GPS data processed {"connection_id":190826,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:54:08] local.INFO: Acknowledgment sent {"connection_id":190826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:54:30] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:30] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:30] local.INFO: IMEI packet received {"connection_id":191018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":191018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:54:35] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:35] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:54:35] local.INFO: IMEI packet received {"connection_id":191018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":191018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:54:36] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:36] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:54:36] local.INFO: Packet analysis {"connection_id":191018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:54:36] local.INFO: Extracted packet for processing {"connection_id":191018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:54: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-09-23 23:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":191018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:54:36] local.INFO: GPS data processed {"connection_id":191018,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:54:36] local.INFO: Acknowledgment sent {"connection_id":191018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:55:07] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:07] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:07] local.INFO: Packet analysis {"connection_id":191018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:55:07] local.INFO: Extracted packet for processing {"connection_id":191018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 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-09-23 23:55: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-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 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-09-23 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-09-23 23:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:55:08] local.INFO: GPS data processed {"connection_id":191018,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:55:08] local.INFO: Acknowledgment sent {"connection_id":191018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:55:30] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:30] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:30] local.INFO: IMEI packet received {"connection_id":190827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":190827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:55:35] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:35] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:55:35] local.INFO: IMEI packet received {"connection_id":190827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":190827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:55:36] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:36] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:55:36] local.INFO: Packet analysis {"connection_id":190827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:55:36] local.INFO: Extracted packet for processing {"connection_id":190827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:55: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-09-23 23:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":190827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:55:36] local.INFO: GPS data processed {"connection_id":190827,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:55:36] local.INFO: Acknowledgment sent {"connection_id":190827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:56:08] local.INFO: TCP Data received {"connection_id":190827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:08] local.INFO: Processing buffer {"connection_id":190827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:08] local.INFO: Packet analysis {"connection_id":190827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:56:08] local.INFO: Extracted packet for processing {"connection_id":190827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:56: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-09-23 23:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":190827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:56:08] local.INFO: GPS data processed {"connection_id":190827,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:56:08] local.INFO: Acknowledgment sent {"connection_id":190827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:56:30] local.INFO: TCP Data received {"connection_id":190828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:30] local.INFO: Processing buffer {"connection_id":190828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:30] local.INFO: IMEI packet received {"connection_id":190828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":190828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:56:35] local.INFO: TCP Data received {"connection_id":190828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:35] local.INFO: Processing buffer {"connection_id":190828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:56:35] local.INFO: IMEI packet received {"connection_id":190828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":190828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:56:36] local.INFO: TCP Data received {"connection_id":190828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:36] local.INFO: Processing buffer {"connection_id":190828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf802d18012d34c58006aa4758000a010527..."} 
[2026-09-23 23:56:36] local.INFO: Packet analysis {"connection_id":190828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:56:36] local.INFO: Extracted packet for processing {"connection_id":190828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf80"} 
[2026-09-23 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458287968768001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187679000,"timestamp_ms":1790187679000,"timestamp_seconds":1790187679,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf802d18"} 
[2026-09-23 23:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:56: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-09-23 23: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-09-23 23:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458287968768001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458287968768001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458287968768001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":190828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:56:36] local.INFO: GPS data processed {"connection_id":190828,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:56:36] local.INFO: Acknowledgment sent {"connection_id":190828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:57:08] local.INFO: TCP Data received {"connection_id":190828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:08] local.INFO: Processing buffer {"connection_id":190828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:08] local.INFO: Packet analysis {"connection_id":190828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:08] local.INFO: Extracted packet for processing {"connection_id":190828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 23:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:57: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-09-23 23: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-09-23 23:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:57:08] local.INFO: GPS data processed {"connection_id":190828,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:57:08] local.INFO: Acknowledgment sent {"connection_id":190828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:57:35] local.INFO: TCP Data received {"connection_id":191019,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:35] local.INFO: Processing buffer {"connection_id":191019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:35] local.INFO: IMEI packet received {"connection_id":191019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":191019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:57:40] local.INFO: TCP Data received {"connection_id":191019,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:40] local.INFO: Processing buffer {"connection_id":191019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:57:40] local.INFO: IMEI packet received {"connection_id":191019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":191019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:57:42] local.INFO: TCP Data received {"connection_id":191019,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:42] local.INFO: Processing buffer {"connection_id":191019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:42] local.INFO: Packet analysis {"connection_id":191019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:42] local.INFO: Extracted packet for processing {"connection_id":191019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 23:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:57: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-09-23 23:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":191019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:57:42] local.INFO: GPS data processed {"connection_id":191019,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:57:42] local.INFO: Acknowledgment sent {"connection_id":191019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:57:46] local.INFO: TCP Data received {"connection_id":191019,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:46] local.INFO: Processing buffer {"connection_id":191019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:57:46] local.INFO: Packet analysis {"connection_id":191019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:46] local.INFO: Extracted packet for processing {"connection_id":191019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 23:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":191019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:57:46] local.INFO: GPS data processed {"connection_id":191019,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:57:46] local.INFO: Acknowledgment sent {"connection_id":191019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:58:30] local.INFO: TCP Data received {"connection_id":191020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:30] local.INFO: Processing buffer {"connection_id":191020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:30] local.INFO: IMEI packet received {"connection_id":191020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":191020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:58:35] local.INFO: TCP Data received {"connection_id":191020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:35] local.INFO: Processing buffer {"connection_id":191020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:58:35] local.INFO: IMEI packet received {"connection_id":191020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":191020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:58:36] local.INFO: TCP Data received {"connection_id":191020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:58:36] local.INFO: Processing buffer {"connection_id":191020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:58:36] local.INFO: Packet analysis {"connection_id":191020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:58:36] local.INFO: Extracted packet for processing {"connection_id":191020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-23 23:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 23:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 23:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:58: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-09-23 23:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-23 23:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":191020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:58:36] local.INFO: GPS data processed {"connection_id":191020,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:58:36] local.INFO: Acknowledgment sent {"connection_id":191020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:59:07] local.INFO: TCP Data received {"connection_id":191020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:07] local.INFO: Processing buffer {"connection_id":191020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:07] local.INFO: Packet analysis {"connection_id":191020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:59:07] local.INFO: Extracted packet for processing {"connection_id":191020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 23: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-09-23 23:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 23:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-23 23: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-09-23 23:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-23 23: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-09-23 23:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-23 23:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":191020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:59:08] local.INFO: GPS data processed {"connection_id":191020,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:59:08] local.INFO: Acknowledgment sent {"connection_id":191020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-23 23:59:30] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:30] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:30] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-23 23:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-23 23:59:35] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:35] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-23 23:59:35] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-23 23:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-23 23:59:36] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:36] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-23 23:59:36] local.INFO: Packet analysis {"connection_id":192359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:59:36] local.INFO: Extracted packet for processing {"connection_id":192359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-23 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-23 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-09-23 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-23 23:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-23 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-23 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-09-23 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-23 23:59: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-09-23 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-09-23 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-09-23 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-23 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-23 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-23 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-23 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-23 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-23 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-23 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-23 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-23 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-23 23:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-23 23:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-23 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-23 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-23 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-23 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":192359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-23 23:59:36] local.INFO: GPS data processed {"connection_id":192359,"processed":1,"errors":0,"total":1} 
[2026-09-23 23:59:36] local.INFO: Acknowledgment sent {"connection_id":192359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
